Function at 0x45662e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x4567b1
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x98], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x456794
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x45676f
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x4566ea
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jg 0x45676d
mov dword [ebp - 0x70], 0
push 0
push 0x9d2
push 0x184b
push 0x20e7
push 1
push 1
push 0x6734
push 0x7da6
push 0x2262
push 0x24a1
call fcn.00454426
add esp, 0x28
push 0x37a7
push 0
push 1
lea eax, [ebp - 0x70]
push eax
push 1
push dword [ebp - 4]
push 0x7f7
push 0x2165
push 1
push dword [ebp - 0x48]
push dword [ebp - 0x88]
push 0x5f73
push 0x2d72
push 0x6ea
call fcn.0043b709
add esp, 0x38
jmp 0x4566df
jmp 0x456792
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x456792
push 0x5a7
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x4567ac
push 0x7bf3
push 0x9d1
push 0
push 1
push 0
call fcn.00439dac
add esp, 0x14
jmp 0x4568e7
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x4568a6
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x456859
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x456857
push 0
push 0x1b46
push 0xd32
push 1
push 0x6e8
push 1
push 1
push 0x3214
push 0x3ecd
push 0xd62
push 1
call fcn.004428cc
add esp, 0x2c
jmp 0x4568a4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x456887
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 4
jge 0x4568a4
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x7c]
call fcn.00432b6e
mov dword [eax], 0x6e348cc3
jmp 0x45687c
jmp 0x4568e7
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
push 1
push 0x1f39
push 1
push 0x54a7
push 0x76cd
push 0
push dword [ebp - 0x94]
push dword [ebp - 0x9c]
call fcn.00443872
add esp, 0x20
mov esp, ebp
pop ebp
ret