Function at 0x403690
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov dword [ebp - 0x30], 0x685daabc
mov dword [ebp - 0x3c], 0x7e5272ec
mov dword [ebp - 0x28], 0x7bcb283
mov dword [ebp - 0x5c], 0x29ff56cf
mov dword [ebp - 8], 0x39a39f8c
mov dword [ebp - 0x1c], 0x41873ca3
mov dword [ebp - 0x18], 0x19f19c26
mov dword [ebp - 0x38], 0x63ee5eb
mov dword [ebp - 0x2c], 0x6c72f9e
mov dword [ebp - 0x4c], 0x42ee39c9
mov dword [ebp - 0x44], 0x2644f240
mov dword [ebp - 0x48], 0x9d67fa2
mov dword [ebp - 0x24], 0x4b86a452
mov dword [ebp - 0x54], 0x2a1591cb
mov dword [ebp - 0xc], 0x66255208
mov dword [ebp - 0x34], 0x6b375870
mov dword [ebp - 0x58], 0x52f07ba9
mov dword [ebp - 0x14], 0x3e063f6c
mov dword [ebp - 0x10], 0x4d5e12af
mov dword [ebp - 0x20], 0x3030ddae
mov dword [ebp - 4], 0x3b425e1f
mov dword [ebp - 0x40], 0x30d5cc80
mov dword [ebp - 0x50], 0x2d4a5cb7
add dword [ebp - 0x30], 0x609d68f0
sub dword [ebp - 0x30], 0x18ac202d
add dword [ebp - 0x30], 0x2b2af9a1
sub dword [ebp - 0x3c], 0x7f2498e1
add dword [ebp - 0x3c], 0x22086e41
add dword [ebp - 0x30], 0x7e7678f9
sub dword [ebp - 0x3c], 0x28a985f7
add dword [ebp - 0x3c], 0x601992e0
sub dword [ebp - 0x5c], 0x26624d71
sub dword [ebp - 8], 0x3c7270c3
sub dword [ebp - 0x28], 0x60b146f4
sub dword [ebp - 0x1c], 0x2b43f785
sub dword [ebp - 0x18], 0x40b6e63b
add dword [ebp - 0x1c], 0x7b20c801
add dword [ebp - 0x4c], 0x68f4861d
add dword [ebp - 8], 0x48e20c18
sub dword [ebp - 0x44], 0x533d413d
add dword [ebp - 0x30], 0x1d0cac83
add dword [ebp - 0x30], 0x4915d4d
sub dword [ebp - 0x48], 0x47f5088f
sub dword [ebp - 0x5c], 0x754928f0
sub dword [ebp - 0x38], 0x225b37e
sub dword [ebp - 0x4c], 0x1775e0c6
add dword [ebp - 0x44], 0x633202da
add dword [ebp - 0x38], 0x2289c86e
add dword [ebp - 0x34], 0x246f8f8a
sub dword [ebp - 0x3c], 0x60f7c2d0
sub dword [ebp - 0x4c], 0x9a1c543
sub dword [ebp - 0x18], 0x3a8c4fb7
sub dword [ebp - 8], 0x56c81e7d
add dword [ebp - 0x48], 0x31fc28af
sub dword [ebp - 0x38], 0x31c8647a
sub dword [ebp - 0x34], 0x34e928c6
sub dword [ebp - 0x38], 0x748b68f7
add dword [ebp - 0x44], 0x60badf9d
sub dword [ebp - 0x58], 0x6615a1a6
sub dword [ebp - 0x30], 0x77f9cc4b
sub dword [ebp - 0x14], 0x10615d8d
sub dword [ebp - 0x54], 0x2346c269
add dword [ebp - 0x58], 0xab1efa7
add dword [ebp - 0x28], 0x7ef6377d
sub dword [ebp - 0x44], 0x222b0a67
sub dword [ebp - 0x18], 0x230f6794
sub dword [ebp - 0x10], 0x594ae4d8
add dword [ebp - 0x38], 0x275d0149
sub dword [ebp - 0x20], 0x64173f47
add dword [ebp - 0x54], 0x4937bc4
add dword [ebp - 0x2c], 0x420e28a3
add dword [ebp - 4], 0x448ebe8d
sub dword [ebp - 0x3c], 0x7c0b050f
sub dword [ebp - 0x3c], 0x7952a91e
add dword [ebp - 0x20], 0x60fa1e0d
add dword [ebp - 4], 0x7519e460
sub dword [ebp - 0x18], 0x2e49b09f
add dword [ebp - 0x5c], 0x723b14bc
sub dword [ebp - 0x58], 0x5b9c6c4c
add dword [ebp - 0x24], 0x43585d27
sub dword [ebp - 0x48], 0x6f05039c
sub dword [ebp - 0x58], 0x677a7617
sub dword [ebp - 0x44], 0x14e9303d
add dword [ebp - 0xc], 0x240b04ed
sub dword [ebp - 0x3c], 0x43d9ef
add dword [ebp - 0x50], 0x1d7d5c42
sub dword [ebp - 0x40], 0x764a389
xor eax, eax
lea esp, [esp]
cmp eax, 0x166c480
jg 0x40390f
inc eax
cmp eax, 0x37e3fd1
jl 0x403900
mov eax, dword [0x45ad5c]
push esi
push edi
mov dword [0x45fbec], eax
call fcn.00403310
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, 0x2ec37
jmp 0x403930
cmp dword [0x45fbec], 0x51f
jne 0x403947
lea ecx, [ebp - 0x85c]
push ecx
push 0
call esi
sub edi, 1
jne 0x403930
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10