Function at 0x4574d7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x4578b3
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xc8], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x4575c1
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x4575af
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x4575ad
push 1
push 0x5e69
push 0x6306
push 1
push 0x3b0f
push 0
push 1
call fcn.0044c8dd
add esp, 0x1c
jmp 0x4575bc
push 0x173
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x4578b1
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xd0]
movzx eax, byte [eax]
test eax, eax
je 0x457660
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
jmp 0x4578b1
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x457875
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x457700
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x457700
mov dword [ebp - 0x30], 1
jmp 0x457704
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x457712
mov eax, dword [ebp - 4]
cmp dword [eax], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0xfff7
jae 0x457726
mov dword [ebp - 0x18], 1
jmp 0x45772a
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x18]
cmp eax, 1
jae 0x45773e
push 7
pop eax
test eax, eax
je 0x457750
mov eax, 0x6411d7fe
test eax, eax
je 0x457750
mov dword [ebp - 0x40], 1
jmp 0x457754
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0x5169
jl 0x457766
mov dword [ebp - 0x20], 1
jmp 0x45776a
and dword [ebp - 0x20], 0
imul eax, dword [ebp - 0x20], 0xffffffff
test eax, eax
jne 0x457780
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x457780
and dword [ebp - 0x38], 0
jmp 0x457787
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
je 0x4577a3
mov eax, 0xd2ae
test eax, eax
je 0x4577a3
mov dword [ebp - 0x28], 1
jmp 0x4577a7
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
add eax, 0x7b1a0949
je 0x4577c2
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x4577c2
mov dword [ebp - 0x10], 1
jmp 0x4577c6
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
je 0x4577dc
mov dword [ebp - 0xcc], 1
jmp 0x4577e3
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
je 0x457801
mov dword [ebp - 0x14], 1
jmp 0x457805
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
neg eax
je 0x45781d
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x45781d
mov dword [ebp - 0x1c], 1
jmp 0x457821
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0xfffffffb
jne 0x457830
mov dword [ebp - 0x24], 1
jmp 0x457834
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 9
jae 0x457843
mov dword [ebp - 0xc], 1
jmp 0x457847
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [ebp - 0xc], 0x898d
jne 0x457861
mov dword [ebp - 0x2c], 1
jmp 0x457865
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jl 0x457875
and dword [ebp - 0x3c], 0
jmp 0x45787c
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0xd4]
imul ecx, dword [eax]
test ecx, ecx
je 0x4578a2
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
je 0x4578a2
mov dword [ebp - 0x4c], 1
jmp 0x4578a6
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
jmp 0x4578c1
push 0x332
push 0
call fcn.0043f406
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret