Function at 0x439c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push esi
push edi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x439fef
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x439f4d
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
test eax, eax
je 0x439d74
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x439d6f
push 0
push 0x2487
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
jmp 0x439f48
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 4]
mov dword [eax], 1
jmp 0x439df3
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jl 0x439f48
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.00433c91
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.00433c91
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x439e3a
mov eax, dword [ebp - 0x60]
cmp dword [eax], 0
jne 0x439e3a
and dword [ebp - 0x1c], 0
jmp 0x439e41
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 4]
mov esi, dword [eax]
mov edi, dword [ebp - 0x1c]
neg edi
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.00433c91
imul edi, dword [eax]
cmp esi, edi
jg 0x439e68
mov dword [ebp - 0x30], 1
jmp 0x439e6c
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
neg eax
je 0x439e84
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x439e84
mov dword [ebp - 0x14], 1
jmp 0x439e88
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
cmp dword [ebp - 0x14], 0
je 0x439eab
xor eax, eax
je 0x439eab
mov dword [ebp - 0x28], 1
jmp 0x439eaf
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.00433c91
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jl 0x439ecc
mov dword [ebp - 0x20], 1
jmp 0x439ed0
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jg 0x439ee3
mov dword [ebp - 0x24], 1
jmp 0x439ee7
and dword [ebp - 0x24], 0
imul eax, dword [ebp - 0x24], 0xf617
test eax, eax
jne 0x439f09
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x439f09
mov eax, 0x8a92
test eax, eax
jne 0x439f09
and dword [ebp - 0x2c], 0
jmp 0x439f10
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.00433c91
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2c]
jl 0x439f2d
mov dword [ebp - 0x34], 1
jmp 0x439f31
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x439f43
jmp 0x439f48
jmp 0x439de8
jmp 0x439fed
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x439f8a
push 0x1602
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x439fed
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x439fcd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 3
jge 0x439fed
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0xc0]
call fcn.00433c91
mov dword [eax], 1
jmp 0x439fc2
jmp 0x43a00d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc8], eax
push 0x3241
push dword [ebp - 0xc8]
push 1
call fcn.00438888
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret