Function at 0x405010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
mov dword [ebp - 0x3c], 0x7c7e9029
mov dword [ebp - 0x48], 0x2c0d2c19
mov dword [ebp - 0x90], 0x71e82520
mov dword [ebp - 0x20], 0x28576b56
mov dword [ebp - 0x1c], 0x2a4b444e
mov dword [ebp - 0x38], 0x40a64827
mov dword [ebp - 0x6c], 0x199a8e82
mov dword [ebp - 0x8c], 0x7d17313a
mov dword [ebp - 0x10], 0x59369214
mov dword [ebp - 0x58], 0x39ffd228
mov dword [ebp - 0xc], 0x3db56478
mov dword [ebp - 0x84], 0x18c65364
mov dword [ebp - 0x60], 0x228019cd
mov dword [ebp - 0x64], 0x4e651058
mov dword [ebp - 0x5c], 0x3b1797f2
mov dword [ebp - 4], 0x314902d2
mov dword [ebp - 0x34], 0x2fa3db2a
mov dword [ebp - 0x70], 0x69850f8b
mov dword [ebp - 0x2c], 0x1779201d
mov dword [ebp - 0x50], 0x2f31cca4
mov dword [ebp - 8], 0x6d5da77d
mov dword [ebp - 0x18], 0xca46bb4
mov dword [ebp - 0x28], 0x4f0d5f8c
mov dword [ebp - 0x78], 0x5f4f5d9a
mov dword [ebp - 0x40], 0x1fc171b3
mov dword [ebp - 0x4c], 0x77849bd
mov dword [ebp - 0x7c], 0x7c850659
mov dword [ebp - 0x54], 0x6e57e612
mov dword [ebp - 0x44], 0x7e993318
mov dword [ebp - 0x74], 0x6320c9b8
mov dword [ebp - 0x24], 0x52a80e1b
mov dword [ebp - 0x68], 0x422f8c79
mov dword [ebp - 0x14], 0xc3ef64c
mov dword [ebp - 0x88], 0x5a1e1089
mov dword [ebp - 0x80], 0x52e700a3
mov dword [ebp - 0x30], 0x2fc82333
mov eax, 0x65ab8e01
mul dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
add dword [ebp - 0x48], 0x3cf17fdc
sub dword [ebp - 0x48], 0x42ee3405
sub dword [ebp - 0x3c], 0x27e97c9d
add dword [ebp - 0x48], 0x7157dccb
mov eax, 0x53cc16d0
mul dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
sub dword [ebp - 0x90], 0x635a74b4
add dword [ebp - 0x3c], 0x3af1366
mov eax, 0xea7f3d1
mul dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov eax, 0x301f6474
mul dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
sub dword [ebp - 0x3c], 0x1d22c88a
add dword [ebp - 0x20], 0x510ab851
add dword [ebp - 0x38], 0x3fa41935
mov eax, 0x3b5e78f8
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, 0x2ab1252
mul dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov eax, 0x6c484181
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x48], 0x9d3fb4f
mov eax, 0x36348e3
mul dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov eax, 0x3553be4
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x8c], 0xfe98ce
sub dword [ebp - 0x6c], 0x34b19611
sub dword [ebp - 0x8c], 0x43c65f53
add dword [ebp - 0x1c], 0x123b3c3
mov eax, 0x32ce5974
mul dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, 0x7bbfd4a6
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, 0x4538e386
mul dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
add dword [ebp - 0x58], 0x5d711bd3
add dword [ebp - 0x58], 0x7f7ff1a6
sub dword [ebp - 0x38], 0x34b0a09
mov eax, 0x25947d4a
mul dword [ebp - 0x8c]
mov eax, dword [ebp - 0x8c]
mov eax, 0x27fd6e3
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x1c], 0x7992becd
mov eax, 0x4444262b
mul dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov eax, 0x580d1ba1
mul dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
sub dword [ebp - 0x48], 0x719b5c89
sub dword [ebp - 0x90], 0x52f85287
mov eax, 0x2e11cd54
mul dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
sub dword [ebp - 0x10], 0xc9944d8
add dword [ebp - 0xc], 0x6e7ead26
mov eax, 0x5b8dc5ab
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, 0x54757c0d
mul dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov eax, 0x57320bc9
mul dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
mov eax, 0x3c0027d
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, 0x6a04d416
mul dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
sub dword [ebp - 0x90], 0x273f6774
add dword [ebp - 0x84], 0x52620a0d
mov eax, 0x7fea58c
mul dword [ebp - 0x84]
mov eax, dword [ebp - 0x84]
sub dword [ebp - 0x34], 0x4917bf3
mov eax, 0x67521348
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, 0x63259f30
mul dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
sub dword [ebp - 0x50], 0x5241aa01
add dword [ebp - 0xc], 0x3de452fa
sub dword [ebp - 0x2c], 0x186cdf0b
add dword [ebp - 0x28], 0x51649791
mov eax, 0x280cac92
mul dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
add dword [ebp - 0x6c], 0x9b84c3d
add dword [ebp - 0x40], 0xb258554
sub dword [ebp - 0x40], 0xf9c6cb2
add dword [ebp - 0x28], 0x2fe42ff8
mov eax, 0x71deabf6
mul dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
add dword [ebp - 0x64], 0x7c675bc7
add dword [ebp - 0x24], 0x7260f81f
add dword [ebp - 0x78], 0x6acc88fd
sub dword [ebp - 0x80], 0x626eea56
xor eax, eax
lea ecx, [ecx]
cmp eax, 0x166c480
jg 0x40537f
inc eax
cmp eax, 0x37e3fd1
jl 0x405370
mov eax, dword [0x498d0c]
push esi
push edi
mov dword [0x4a48c4], eax
call fcn.00404d20
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x2ec37
jmp 0x4053a0
cmp dword [0x4a48c4], 0x51f
jne 0x4053b7
lea ecx, [ebp - 0x490]
push ecx
push 0
call esi
sub edi, 1
jne 0x4053a0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10