Function at 0x42c42b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push esi
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x42c4b3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x42c47d
push 0x18cc
push 0x13f
push 0x1553
push 0x1cd1
push 0xa12
call dword [sym.imp.GDI32.dll_Ellipse]
jmp 0x42c4ae
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push dword [eax]
mov ecx, dword [ebp - 0x84]
call fcn.00413f7a
or dword [eax], 0xffffffff
jmp 0x42c6a5
lea eax, [ebp + 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x42c698
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x42c636
mov eax, 0x61d2
test eax, eax
je 0x42c5f5
push 1
mov ecx, dword [ebp - 4]
call fcn.00413f7a
cmp dword [eax], 0x8711
jne 0x42c596
mov dword [ebp - 0x18], 1
jmp 0x42c59a
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
imul eax, dword [ebp - 0x18]
push 0xfffffffffffffff7
pop esi
sub esi, eax
push 1
mov ecx, dword [ebp - 4]
call fcn.00413f7a
imul esi, dword [eax]
sub esi, 0x55d2cb36
push 1
mov ecx, dword [ebp - 4]
call fcn.00413f7a
imul esi, dword [eax]
mov eax, dword [ebp - 0x24]
mov dword [eax], esi
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
push 1
mov ecx, dword [ebp - 4]
call fcn.00413f7a
sub esi, dword [eax]
push 1
mov ecx, dword [ebp - 4]
call fcn.00413f7a
cmp esi, dword [eax]
jle 0x42c5f5
mov dword [ebp - 0x1c], 1
jmp 0x42c5f9
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
je 0x42c60c
mov dword [ebp - 0x14], 1
jmp 0x42c610
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 4]
call fcn.00413f7a
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, ecx
jne 0x42c636
and dword [ebp - 0xc], 0
jmp 0x42c63d
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [ebp - 0xc], 0xe31bb000
jb 0x42c657
mov dword [ebp - 8], 1
jmp 0x42c65b
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 4]
call fcn.00413f7a
mov ecx, dword [ebp - 8]
imul ecx, dword [eax]
mov dword [ebp - 0x28], ecx
push 0
mov ecx, dword [ebp - 0x90]
call fcn.00413f7a
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x42c6a5
push 0x26c5
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
pop esi
mov esp, ebp
pop ebp
ret