Function at 0x4159cd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x415baa
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x415abb
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x415a68
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x442f2aa7
jmp 0x415ab6
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x415a99
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 0x415ab6
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.00434a1c
mov dword [eax], 1
jmp 0x415a8e
jmp 0x415ba8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x415afb
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x415af6
push 0xa47
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x415ba8
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x415b33
mov dword [ebp - 0x18], 1
jmp 0x415b37
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0xfffffffe
jne 0x415b46
mov dword [ebp - 0x1c], 1
jmp 0x415b4a
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax], 1
jne 0x415b60
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x415b60
and dword [ebp - 0x10], 0
jmp 0x415b67
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0xba44
jle 0x415b79
mov dword [ebp - 0x20], 1
jmp 0x415b7d
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax]
jg 0x415b95
mov dword [ebp - 0x24], 1
jmp 0x415b99
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x88]
mov dword [ecx], eax
jmp 0x415bc2
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
push 1
push dword [ebp - 0x90]
call fcn.0040eb4c
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret