Function at 0x402df0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov dword [ebp - 0x1c], 0x18bf041d
mov dword [ebp - 0x58], 0x5ceca450
mov dword [ebp - 0x6c], 0x4a1d66a
mov dword [ebp - 4], 0x2c7cb039
mov dword [ebp - 8], 0x2916f522
mov dword [ebp - 0x30], 0x3d3f467b
mov dword [ebp - 0x64], 0x6b48a777
mov dword [ebp - 0x74], 0x312ffa68
mov dword [ebp - 0x54], 0x3528ec4b
mov dword [ebp - 0x14], 0x63d689a8
mov dword [ebp - 0x50], 0x398639cb
mov dword [ebp - 0x5c], 0x242a0447
mov dword [ebp - 0x18], 0xe938ce
mov dword [ebp - 0x20], 0x7c6721a9
mov dword [ebp - 0x4c], 0x865a1c9
mov dword [ebp - 0x60], 0x55e579d
mov dword [ebp - 0x48], 0x7dc8f91
mov dword [ebp - 0x40], 0x1a844e9e
mov dword [ebp - 0x2c], 0x7c6129d4
mov dword [ebp - 0x68], 0xa29b43
mov dword [ebp - 0x78], 0x1be956a1
mov dword [ebp - 0x28], 0x6c9bc26d
mov dword [ebp - 0xc], 0x2b847a6c
mov dword [ebp - 0x44], 0x43ba074e
mov dword [ebp - 0x70], 0x60d2d72c
mov dword [ebp - 0x10], 0x2ff6130b
mov dword [ebp - 0x3c], 0x4a46582e
mov dword [ebp - 0x24], 0x5dde4a38
mov dword [ebp - 0x34], 0x727d020f
mov dword [ebp - 0x38], 0x21fa0
mov eax, 0x57dacb35
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, 0x651558bb
mul dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
add dword [ebp - 0x6c], 0x3c4f2a45
sub dword [ebp - 0x1c], 0x1a491cc6
add dword [ebp - 0x58], 0x4c5440e
mov eax, 0x6eb9d743
mul dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
add dword [ebp - 4], 0x7af85e12
add dword [ebp - 0x1c], 0x4706e955
add dword [ebp - 0x1c], 0x5a8bab9c
mov eax, 0x2e6a2c21
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x1c], 0x62ead9aa
sub dword [ebp - 8], 0x1d0b2520
mov eax, 0x4ba6723d
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, 0x2f66a9b5
mul dword [ebp - 8]
mov eax, dword [ebp - 8]
sub dword [ebp - 0x1c], 0x538119d7
mov eax, 0x21f3dc80
mul dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
mov eax, 0xa3547f7
mul dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
sub dword [ebp - 0x64], 0x39b48c7
add dword [ebp - 0x58], 0x3992a82
add dword [ebp - 0x1c], 0x2634645c
mov eax, 0x1d9948c8
mul dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
sub dword [ebp - 4], 0x241bfdac
mov eax, 0x19046880
mul dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
add dword [ebp - 0x18], 0x6c1250cb
sub dword [ebp - 0x6c], 0x3bd0d348
mov eax, 0x3739108
mul dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, 0x3ecc94f3
mul dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x50], 0x371b085b
sub dword [ebp - 0x30], 0x33bd2348
sub dword [ebp - 0x64], 0x2b53477
add dword [ebp - 0x74], 0x2aafd217
mov eax, 0x53998767
mul dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, 0xda5053b
mul dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x40], 0x51769076
mov eax, 0x1061a515
mul dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], 0xf761147
sub dword [ebp - 0x54], 0x2d4e6304
sub dword [ebp - 0x50], 0x4dedd58e
sub dword [ebp - 0x40], 0x432f6104
mov eax, 0x3c06fede
mul dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov eax, 0x588ac1cb
mul dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
sub dword [ebp - 0x14], 0x4230e6ee
mov eax, 0x1f6b0ac8
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
sub dword [ebp - 0x2c], 0x50e0a865
mov eax, 0x358eea84
mul dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x74], 0x5ae0cbd7
add dword [ebp - 4], 0x48af4f3
sub dword [ebp - 0x14], 0x5a8ece52
mov eax, 0x469d3f39
mul dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
sub dword [ebp - 0x64], 0x47195d7
add dword [ebp - 0x20], 0x6948c056
sub dword [ebp - 0x68], 0x7de6d568
add dword [ebp - 0x78], 0x57d0e6b
mov eax, 0x5f4dfc7f
mul dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x64], 0x1c397bcf
sub dword [ebp - 0x2c], 0x3e499db2
mov eax, 0xcb64668
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
mov eax, 0x437e9738
mul dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov eax, 0x46428f05
mul dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x58], 0x6de1b7f0
mov eax, 0x7138d8c3
mul dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, 0x73341fb8
mul dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x68], 0x6057018b
mov eax, 0x408146fe
mul dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
sub dword [ebp - 0x3c], 0x21000bb1
add dword [ebp - 0x24], 0x16062f60
sub dword [ebp - 0x20], 0x5181ae34
add dword [ebp - 0x34], 0x1ae3645e
sub dword [ebp - 0x48], 0x11abd314
add dword [ebp - 0x14], 0x62320b2c
xor eax, eax
cmp eax, 0x166c480
jg 0x403132
inc eax
cmp eax, 0x37e3fd1
jl 0x403123
mov eax, dword [0x47ea4c]
push esi
push edi
mov dword [0x48a5fc], eax
call fcn.00402b20
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x2ec37
mov edi, edi
cmp dword [0x48a5fc], 0x51f
jne 0x403167
lea ecx, [ebp - 0x478]
push ecx
push 0
call esi
sub edi, 1
jne 0x403150
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10