Function at 0x415bc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x415f67
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xe0], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0x4c]
mov dword [ebp - 0x108], eax
lea eax, [ebp + 0x44]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0xe8], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x108]
movzx eax, byte [eax]
test eax, eax
je 0x415e1c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xf0]
movzx eax, byte [eax]
test eax, eax
je 0x415dea
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xc0]
movzx eax, byte [eax]
test eax, eax
je 0x415d75
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x124], eax
and dword [ebp - 8], 0
jmp 0x415d14
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x35b2
jge 0x415d73
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x124]
mov eax, dword [eax]
cdq
idiv dword [ecx]
mov ecx, dword [ebp - 8]
shl edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], edx
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
lea ecx, [ebp - 0x148]
call fcn.00405448
pop ecx
pop ecx
mov ecx, eax
call fcn.00402eda
push eax
call fcn.0048e81a
pop ecx
lea ecx, [ebp - 0x148]
call fcn.00402cc7
jmp 0x415d0d
jmp 0x415de8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xd8], eax
and dword [ebp - 0x10], 0
jmp 0x415da6
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xca2
jge 0x415de8
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xd8]
mov eax, dword [eax]
imul eax, dword [ecx]
cdq
idiv dword [ebp - 0x10]
mov eax, edx
cdq
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], edx
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
mov ecx, 0xa9de38
call fcn.0042ed9c
jmp 0x415d9f
jmp 0x415e17
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x118], eax
push 0
push 0
push 0x53e8
push 0x4e03
push 0x2bc4
push dword [ebp - 0x118]
call fcn.0041b656
add esp, 0x18
jmp 0x415f62
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x415ebf
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x415ead
and dword [ebp - 0xc], 0
jmp 0x415e76
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x32a3
jge 0x415eab
and dword [ebp - 4], 0
jmp 0x415e8c
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x6bf6
jge 0x415ea9
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00419571
add esp, 0xc
jmp 0x415e85
jmp 0x415e6f
jmp 0x415eba
push 0x831
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x415f62
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x415ef8
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [eax], 0x1f
jmp 0x415f62
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
and dword [ebp - 0x14], 0
jmp 0x415f2f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x7baf
jge 0x415f62
push dword [ebp - 0x94]
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x1ce7
push dword [ebp - 0x9c]
push 1
push 0x4e69
call fcn.0042a70e
add esp, 0x20
jmp 0x415f28
jmp 0x416086
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0xac], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xb4], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x416046
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xc4]
movzx eax, byte [eax]
test eax, eax
je 0x416022
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
push dword [ebp - 0xdc]
push 1
push dword [ebp - 0xe4]
push 0xb26
push 0xc42
call fcn.00415a15
add esp, 0x14
jmp 0x416044
push 0xb34
push 0x3f67
push 1
push 0
push 0x4515
push 1
push 0x7525
call fcn.0040d546
add esp, 0x1c
jmp 0x416086
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x104], eax
push 0
push dword [ebp - 0x104]
push dword [ebp - 0x10c]
push dword [ebp - 0x114]
call fcn.00416fef
add esp, 0x10
mov esp, ebp
pop ebp
ret