Function at 0x404f70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov dword [ebp - 0x24], 0x3c94010b
mov dword [ebp - 0x34], 0x2ea985f4
mov dword [ebp - 0x28], 0x773eea21
mov dword [ebp - 0x5c], 0x1e9a242a
mov dword [ebp - 0x60], 0x352d5804
mov dword [ebp - 0x54], 0x29f854e2
mov dword [ebp - 0x64], 0x7687c6fa
mov dword [ebp - 0x4c], 0x1e57e7f8
mov dword [ebp - 0x38], 0x51511544
mov dword [ebp - 0x70], 0x469a8370
mov dword [ebp - 0x1c], 0x65697278
mov dword [ebp - 0x44], 0x4b5f55ee
mov dword [ebp - 0x30], 0x2996b34c
mov dword [ebp - 0x20], 0xfafc717
mov dword [ebp - 0x18], 0x7a23b053
mov dword [ebp - 0x14], 0x1ba6534e
mov dword [ebp - 0x10], 0x64e3988b
mov dword [ebp - 0x40], 0x3b64cdc0
mov dword [ebp - 0x3c], 0x5b7fbe0b
mov dword [ebp - 8], 0x462c9a1d
mov dword [ebp - 0xc], 0x123772b5
mov dword [ebp - 0x6c], 0x2f8937e1
mov dword [ebp - 0x2c], 0x25b6f3f6
mov dword [ebp - 4], 0x49cae69f
mov dword [ebp - 0x68], 0x328d515b
mov dword [ebp - 0x50], 0x33022479
mov dword [ebp - 0x48], 0x5e66e352
mov dword [ebp - 0x58], 0x45f9de9a
add dword [ebp - 0x24], 0x230e655
add dword [ebp - 0x24], 0xde308bd
sub dword [ebp - 0x24], 0x4882b411
mov eax, 0x5633e240
mul dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x28], 0x54333a85
sub dword [ebp - 0x34], 0x26853ab7
mov eax, 0x6e68bf69
mul dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
sub dword [ebp - 0x28], 0x2c8aedc8
add dword [ebp - 0x5c], 0x7c69a1af
add dword [ebp - 0x28], 0x46974617
sub dword [ebp - 0x5c], 0x749a55ba
mov eax, 0x86497b2
mul dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x54], 0xfcfed70
add dword [ebp - 0x28], 0x52465264
mov eax, 0x51875e97
mul dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov eax, 0x881874c
mul dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0x34], 0x13735930
add dword [ebp - 0x24], 0x41943000
add dword [ebp - 0x60], 0x28542ded
add dword [ebp - 0x60], 0x14112ca4
sub dword [ebp - 0x64], 0x7caa5d63
mov eax, 0x50450de3
mul dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
add dword [ebp - 0x5c], 0x4a32185e
mov eax, 0x14aff60b
mul dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
sub dword [ebp - 0x64], 0x106c61aa
mov eax, 0x4c19f77d
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x70], 0x5f2680ed
add dword [ebp - 0x44], 0x2506bd19
sub dword [ebp - 0x5c], 0xc3c8e6a
sub dword [ebp - 0x30], 0x3641563d
mov eax, 0x7f06e84
mul dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x34], 0x43935a0a
mov eax, 0x7f3561b7
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
sub dword [ebp - 0x4c], 0x7f7e14d2
sub dword [ebp - 0x34], 0x85b2ffb
sub dword [ebp - 0x18], 0x2ffefdfe
mov eax, 0x39d657c7
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, 0x1f26643a
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, 0x7e245919
mul dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
add dword [ebp - 0x54], 0xc6d553a
sub dword [ebp - 0x40], 0x5a71120d
add dword [ebp - 0x28], 0x681d63ab
add dword [ebp - 0x18], 0x3317f05f
add dword [ebp - 0x5c], 0x87a613e
add dword [ebp - 0x5c], 0x231d550f
add dword [ebp - 0x28], 0x9f4ce56
sub dword [ebp - 0x14], 0x3f44f31a
add dword [ebp - 0x70], 0x239b9d34
sub dword [ebp - 0x54], 0x2916ebac
sub dword [ebp - 0x24], 0x5e28538c
add dword [ebp - 0x3c], 0x457bc14c
mov eax, 0x3f547149
mul dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
sub dword [ebp - 0x38], 0x6a551914
sub dword [ebp - 0x40], 0x14407543
add dword [ebp - 0x6c], 0xf2189e7
add dword [ebp - 0x20], 0x2f2646ce
mov eax, 0x19a1521f
mul dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
sub dword [ebp - 0x3c], 0x67c426c9
sub dword [ebp - 0x4c], 0x4e638c37
add dword [ebp - 0x64], 0x1ea4c53
mov eax, 0x1f812fec
mul dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x2c], 0x4664f1e9
add dword [ebp - 0x5c], 0x5d53c01f
mov eax, 0x554b4bc5
mul dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
sub dword [ebp - 0x48], 0x3aa8b1d7
add dword [ebp - 0x30], 0x685f79da
add dword [ebp - 0x14], 0x6490a2cb
mov eax, 0x1b924f10
mul dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
add dword [ebp - 0xc], 0x2e38d46a
mov eax, 0x145aa6ac
mul dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
sub dword [ebp - 0x64], 0x21b35ba1
add dword [ebp - 0x20], 0x6becdbe2
xor eax, eax
cmp eax, 0x166c480
jg 0x405292
inc eax
cmp eax, 0x37e3fd1
jl 0x405283
mov eax, dword [0x496a2c]
push esi
push edi
mov dword [0x49b874], eax
call fcn.00404c80
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x2ec37
mov edi, edi
cmp dword [0x49b874], 0x51f
jne 0x4052c7
lea ecx, [ebp - 0x470]
push ecx
push 0
call esi
sub edi, 1
jne 0x4052b0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10