Function at 0x4053c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x89c
push esi
push edi
mov dword [ebp - 0x34], 0x52f1c098
mov dword [ebp - 0x60], 0x5c2faf57
mov dword [ebp - 0x84], 0x321fa474
mov dword [ebp - 0x88], 0x42c7b6b3
mov dword [ebp - 0x44], 0x36837cba
mov dword [ebp - 0x80], 0x66d3efc0
mov dword [ebp - 0x20], 0x647d4722
mov dword [ebp - 4], 0x12f3e93b
mov dword [ebp - 0x1c], 0x779db4e0
mov dword [ebp - 0x6c], 0x688016d0
mov dword [ebp - 0xc], 0x726ef21b
mov dword [ebp - 0x94], 0x3c6b3ec9
mov dword [ebp - 0x18], 0x13b48da8
mov dword [ebp - 0x78], 0x4cf40ed1
mov dword [ebp - 0x5c], 0x70321cd9
mov dword [ebp - 0x2c], 0x5e2cf2f3
mov dword [ebp - 0x10], 0x1ec4451a
mov dword [ebp - 0x40], 0x183a62d8
mov dword [ebp - 0x64], 0x57202bb9
mov dword [ebp - 0x8c], 0x2bc7fae2
mov dword [ebp - 0x54], 0x29ff116a
mov dword [ebp - 8], 0x7ab7fa9d
mov dword [ebp - 0x7c], 0x562020eb
mov dword [ebp - 0x14], 0x92341c
mov dword [ebp - 0x24], 0x75eaa9ed
mov dword [ebp - 0x4c], 0x3029fd79
mov dword [ebp - 0x68], 0x730f317a
mov dword [ebp - 0x58], 0x1ed6c2b7
mov dword [ebp - 0x74], 0x762e1bb5
mov dword [ebp - 0x98], 0x6ff6c07f
mov dword [ebp - 0x50], 0x11aa8265
mov dword [ebp - 0x28], 0x16e41b35
mov dword [ebp - 0x3c], 0x3671417d
mov dword [ebp - 0x9c], 0x3b0136d3
mov dword [ebp - 0x48], 0x573c2eb1
mov dword [ebp - 0x70], 0x74559bbd
mov dword [ebp - 0x38], 0x72c3cdcb
mov dword [ebp - 0x90], 0x44bd0f69
mov dword [ebp - 0x30], 0xdfa0a34
add dword [ebp - 0x34], 0x6a518bff
sub dword [ebp - 0x34], 0x67cdcd26
add dword [ebp - 0x34], 0x12ec6f9
mov eax, 0x5f94d868
mul dword [ebp - 0x84]
mov eax, dword [ebp - 0x84]
sub dword [ebp - 0x60], 0x30f0ed4c
sub dword [ebp - 0x34], 0x2c0bc53a
add dword [ebp - 0x84], 0x45f167e
sub dword [ebp - 0x60], 0x6ba20582
mov eax, 0x4158faac
mul dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
add dword [ebp - 0x44], 0x73d166b5
mov eax, 0x276bbea0
mul dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
sub dword [ebp - 0x88], 0x418eb9bc
add dword [ebp - 0x20], 0x1eca53e5
sub dword [ebp - 0x84], 0x5c841e6
mov eax, 0x5cce78ad
mul dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
sub dword [ebp - 4], 0x17278f01
mov eax, 0x55d34951
mul dword [ebp - 0x88]
mov eax, dword [ebp - 0x88]
add dword [ebp - 0x20], 0x167e75fe
add dword [ebp - 0x34], 0x419916dd
sub dword [ebp - 0x20], 0x4cf126d0
mov eax, 0x3819ab39
mul dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov eax, 0x24a9511f
mul dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x80], 0x5cebaad5
sub dword [ebp - 0x88], 0x4eaf65a
sub dword [ebp - 0x34], 0x1a1aca3e
mov eax, 0x35a46441
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, 0x1c5479a3
mul dword [ebp - 0x94]
mov eax, dword [ebp - 0x94]
mov eax, 0x3cbf25ec
mul dword [ebp - 0x80]
mov eax, dword [ebp - 0x80]
mov eax, 0x7ab00ee7
mul dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
add dword [ebp - 4], 0x66f4acce
mov eax, 0x25b3decc
mul dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
add dword [ebp - 0x88], 0x23773365
sub dword [ebp - 0x44], 0x564f36ac
add dword [ebp - 0x60], 0x3003c8a1
add dword [ebp - 0x88], 0x21e0494a
sub dword [ebp - 0x84], 0x3ba62620
mov eax, 0xdbff2cb
mul dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov eax, 0x1fb78507
mul dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
add dword [ebp - 0x1c], 0xceabfc7
add dword [ebp - 0x84], 0x41171290
sub dword [ebp - 0x20], 0x23eff9b3
mov eax, 0x7a2a9bfc
mul dword [ebp - 0x94]
mov eax, dword [ebp - 0x94]
add dword [ebp - 0x78], 0x79de31c7
add dword [ebp - 0x18], 0x44d4c763
add dword [ebp - 0x10], 0x5ae9942c
add dword [ebp - 0xc], 0x24261cf7
sub dword [ebp - 4], 0x218e33f0
add dword [ebp - 0x34], 0x3a22a8ff
mov eax, 0x5d1bf0c3
mul dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
add dword [ebp - 4], 0x7abd7124
mov eax, 0x62cac6c1
mul dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov eax, 0x473058bd
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, 0x3e56f9e4
mul dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
add dword [ebp - 0x60], 0x7e8f58a3
add dword [ebp - 0x60], 0x34986b9a
sub dword [ebp - 0x60], 0x197de994
add dword [ebp - 0x6c], 0xf14f9b9
mov eax, 0x1636fdc9
mul dword [ebp - 0x94]
mov eax, dword [ebp - 0x94]
sub dword [ebp - 0x94], 0x73e5a416
sub dword [ebp - 0x10], 0x461e1367
sub dword [ebp - 0x44], 0x76fc0b3a
sub dword [ebp - 0x5c], 0x14db4c2b
add dword [ebp - 0x34], 0x3b7537a6
mov eax, 0x2c047275
mul dword [ebp - 0x78]
mov eax, dword [ebp - 0x78]
sub dword [ebp - 0x34], 0x38f1f11d
add dword [ebp - 0x54], 0x73485f3d
add dword [ebp - 0x5c], 0x66bd9fdd
mov eax, 0xbce2ce
mul dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x10], 0x50f121fb
sub dword [ebp - 0x20], 0x7df86b43
mov eax, 0x5f8aa5d4
mul dword [ebp - 0x94]
mov eax, dword [ebp - 0x94]
sub dword [ebp - 0x64], 0x699d661d
add dword [ebp - 0x10], 0x2f72d5b0
mov eax, 0x737ca6f
mul dword [ebp - 8]
mov eax, dword [ebp - 8]
sub dword [ebp - 0x44], 0x202de16d
mov eax, 0x32af5080
mul dword [ebp - 0x80]
mov eax, dword [ebp - 0x80]
mov eax, 0x298337e7
mul dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
add dword [ebp - 0x2c], 0x4eb63b81
mov eax, 0x3081f349
mul dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x6c], 0x549b6155
sub dword [ebp - 0x24], 0x37ee01
sub dword [ebp - 0x6c], 0xd9e50f6
sub dword [ebp - 0x44], 0x25f3409b
sub dword [ebp - 0x80], 0x7057a984
mov eax, 0x70f90880
mul dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
mov eax, 0x240b1e0a
mul dword [ebp - 0x80]
mov eax, dword [ebp - 0x80]
mov eax, 0x89526d8
mul dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x88], 0x56971a1e
sub dword [ebp - 0x5c], 0x6ddded32
add dword [ebp - 8], 0x6bffabc0
mov eax, 0x67e34f8b
mul dword [ebp - 0x80]
mov eax, dword [ebp - 0x80]
sub dword [ebp - 0x18], 0x220571f7
add dword [ebp - 0x5c], 0x3c0c1c02
sub dword [ebp - 0x5c], 0x28bd11f3
sub dword [ebp - 0x5c], 0x6f79d375
add dword [ebp - 0x98], 0x4e6cde74
add dword [ebp - 0x24], 0x294dcdf8
sub dword [ebp - 0x40], 0x65e7fb21
mov eax, 0x30f4b071
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
mov eax, 0x38167089
mul dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, 0x2083e3c2
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
sub dword [ebp - 0x3c], 0x37aaa14a
mov eax, 0x6bd0dc90
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x50], 0xa8b849e
sub dword [ebp - 0x54], 0x184fa54e
sub dword [ebp - 0x34], 0xeeaa49a
mov eax, 0x6ed29fd1
mul dword [ebp - 0x94]
mov eax, dword [ebp - 0x94]
sub dword [ebp - 0x64], 0x3866e8a
sub dword [ebp - 0x80], 0x6a36158f
mov eax, 0x55b9e19f
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
sub dword [ebp - 0x44], 0x27fbf125
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
push 0
call edi
cmp esi, 0x12e8a06
jg 0x4058f6
inc esi
cmp esi, 0x2187f5
jl 0x4058e1
mov edi, dword [sym.imp.GDI32.dll_GetCharWidthI]
xor esi, esi
mov edi, edi
cmp esi, 0xa16
jge 0x405914
push 0
push 0
push 0
push 0
push 0
call edi
cmp esi, 0x166c480
jg 0x405925
inc esi
cmp esi, 0x37e3fd1
jl 0x405900
mov eax, dword [0x450ebc]
mov dword [0x45cafc], eax
call fcn.00405020
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, 0x2ec37
nop
cmp dword [0x45cafc], 0x51f
jne 0x405957
lea ecx, [ebp - 0x89c]
push ecx
push 0
call esi
sub edi, 1
jne 0x405940
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10