Function at 0x404670
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov dword [ebp - 8], 0x208b29de
mov dword [ebp - 0x18], 0x7029ed91
mov dword [ebp - 0x50], 0x59e5ed41
mov dword [ebp - 0x68], 0x2cb52566
mov dword [ebp - 0x6c], 0x6e6d48cb
mov dword [ebp - 0x70], 0x4225fb0b
mov dword [ebp - 0x48], 0x5278363d
mov dword [ebp - 0x58], 0xc5ee05f
mov dword [ebp - 0x28], 0x7d420ce4
mov dword [ebp - 0x64], 0x4179811
mov dword [ebp - 0x4c], 0x264aaf89
mov dword [ebp - 0x14], 0x5a1aa970
mov dword [ebp - 0x24], 0x2ade2f12
mov dword [ebp - 0x30], 0x7ea895c7
mov dword [ebp - 0x5c], 0x34c660f
mov dword [ebp - 0x1c], 0x5259268f
mov dword [ebp - 0xc], 0x60128516
mov dword [ebp - 4], 0x322bce85
mov dword [ebp - 0x10], 0x7f1f6ac0
mov dword [ebp - 0x40], 0x506d7f0
mov dword [ebp - 0x34], 0x7c1034b4
mov dword [ebp - 0x44], 0x62187257
mov dword [ebp - 0x54], 0x3f559392
mov dword [ebp - 0x3c], 0x19718351
mov dword [ebp - 0x60], 0x47e0dad1
mov dword [ebp - 0x38], 0x11886278
mov dword [ebp - 0x2c], 0x12534b87
mov dword [ebp - 0x20], 0x64cd6c93
add dword [ebp - 0x50], 0x538d2cff
mov eax, 0x1417f43b
mul dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
mov eax, 0x7f63a159
mul dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
mov eax, 0x57ee3d80
mul dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
mov eax, 0x7d4b2cfa
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x6c], 0xc257fd2
sub dword [ebp - 0x18], 0x53e8702
sub dword [ebp - 0x70], 0x73de84f2
add dword [ebp - 0x18], 0x60dd1dfb
add dword [ebp - 0x18], 0x41b75f41
mov eax, 0x10e4217a
mul dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
sub dword [ebp - 0x70], 0x4c7542c5
mov eax, 0x35d4ce5e
mul dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
mov eax, 0x4bf69c18
mul dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
mov eax, 0x4454782a
mul dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
sub dword [ebp - 0x48], 0x6a781b13
sub dword [ebp - 0x58], 0x5a442b9d
sub dword [ebp - 0x48], 0x504575e6
mov eax, 0x4addbfda
mul dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
mov eax, 0x1ea9ca39
mul dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov eax, 0x5f22cb32
mul dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, 0x4137a104
mul dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
mov eax, 0x50c81b40
mul dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
sub dword [ebp - 0x28], 0x12bb9a6b
add dword [ebp - 0x50], 0x1f7a923a
add dword [ebp - 0x6c], 0x399a2b5d
mov eax, 0x13334d14
mul dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
add dword [ebp - 0x14], 0x2e3c8bd5
sub dword [ebp - 8], 0x483cbb46
add dword [ebp - 0x70], 0x6230e9e6
add dword [ebp - 0x28], 0x56b5cde8
add dword [ebp - 0x4c], 0x156b79dc
sub dword [ebp - 0x28], 0x680212a3
mov eax, 0x2db0ad4f
mul dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, 0x152a3882
mul dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
mov eax, 0x71e037ea
mul dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
add dword [ebp - 0x28], 0x34f96182
add dword [ebp - 0x28], 0x58210dbd
sub dword [ebp - 0x70], 0x6de2944e
mov eax, 0x2f5763e0
mul dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x30], 0x100ce1b2
mov eax, 0x276fbba1
mul dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
add dword [ebp - 0x14], 0x6c3ff12a
sub dword [ebp - 0x6c], 0xecc0fb9
sub dword [ebp - 0x30], 0x22e2a40c
mov eax, 0x125d39aa
mul dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
sub dword [ebp - 0x70], 0x9a1b2c6
mov eax, 0x226c1ef5
mul dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
mov eax, 0x3cd4880e
mul dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, 0x3a560211
mul dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov eax, 0x48e4351e
mul dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
sub dword [ebp - 0x58], 0x1f14f565
add dword [ebp - 0x64], 0x2ac7f7cf
mov eax, 0x52eb881c
mul dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
sub dword [ebp - 0x1c], 0x7cd2beed
add dword [ebp - 0x24], 0xbbbbedc
add dword [ebp - 0x28], 0x66cce8c8
add dword [ebp - 0x18], 0x25fab812
mov eax, 0x56626a5f
mul dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
sub dword [ebp - 4], 0x7cd0e958
sub dword [ebp - 0x18], 0x174788c9
mov eax, 0x35e2b40
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x58], 0x9bf4133
add dword [ebp - 0x58], 0x2e63638a
sub dword [ebp - 0x18], 0x65ef8e91
add dword [ebp - 0x1c], 0x3fab6049
mov eax, 0x310813ca
mul dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
add dword [ebp - 0x6c], 0x5a696d43
add dword [ebp - 0x5c], 0x1fe25668
mov eax, 0x52b175df
mul dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
add dword [ebp - 0x38], 0x4e0acac3
add dword [ebp - 0x1c], 0x93873c4
xor eax, eax
jmp 0x4049b0
cmp eax, 0x166c480
jg 0x4049bf
inc eax
cmp eax, 0x37e3fd1
jl 0x4049b0
mov eax, dword [0x496c3c]
push esi
push edi
mov dword [0x49ba74], eax
call fcn.004043d0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x2ec37
jmp 0x4049e0
cmp dword [0x49ba74], 0x51f
jne 0x4049f7
lea ecx, [ebp - 0x470]
push ecx
push 0
call esi
sub edi, 1
jne 0x4049e0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10