Function at 0x1004b330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e91c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x138
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x3c]
test eax, eax
je 0x1004b44a
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xf4], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x118]
movzx eax, byte [eax]
test eax, eax
je 0x1004b3b4
push 0
push 0
push 0x12c6
push 0x2269
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1004b445
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xa4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1004b426
mov dword [ebp - 0x68], 1
jmp 0x1004b42a
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x68]
sub ecx, dword [eax]
mov eax, dword [ebp - 0xfc]
mov dword [eax], ecx
jmp 0x1004b900
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x108], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax]
test eax, eax
je 0x1004b8ec
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x70], 0x450d
mov dword [ebp - 0xc8], 0x100092e4
cmp dword [ebp - 0x70], 0x4763
jle 0x1004b612
push 0x8d1
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
and dword [ebp - 0x28], 0
jmp 0x1004b57a
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x30de
jge 0x1004b612
and dword [ebp - 0x20], 0
jmp 0x1004b594
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x266
jge 0x1004b60d
and dword [ebp - 0x30], 0
jmp 0x1004b5aa
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x4dc4
jge 0x1004b60b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
shl eax, cl
mov ecx, dword [ebp - 0x30]
sar eax, cl
cdq
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], edx
push dword [ebp - 0x100]
push dword [ebp - 0x104]
lea ecx, [ebp - 0x130]
call fcn.1000abb3
pop ecx
pop ecx
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
call fcn.1000f3f9
push eax
call fcn.10058105
pop ecx
lea ecx, [ebp - 0x130]
call fcn.1000f3db
jmp 0x1004b5a3
jmp 0x1004b58d
jmp 0x1004b573
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x74], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0x440d
jge 0x1004b634
push dword [ebp - 0xc8]
call fcn.10058105
pop ecx
jmp 0x1004b650
or dword [ebp - 4], 0xffffffff
jmp 0x1004b65a
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x1004b67a
mov dword [ebp - 0x50], 1
jmp 0x1004b67e
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax]
neg eax
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x1004b6a2
mov dword [ebp - 0x4c], 1
jmp 0x1004b6a6
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xff26
jle 0x1004b6c0
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 0
je 0x1004b6c0
mov dword [ebp - 0x60], 1
jmp 0x1004b6c4
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
imul eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x34]
cmp eax, dword [ecx]
jle 0x1004b6dd
mov dword [ebp - 0x44], 1
jmp 0x1004b6e1
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x44]
jne 0x1004b6ff
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
jne 0x1004b6ff
and dword [ebp - 0x54], 0
jmp 0x1004b706
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
sub ecx, 0x25005768
imul eax, ecx
mov ecx, dword [ebp - 0x5c]
cmp eax, dword [ecx]
jl 0x1004b731
mov dword [ebp - 0x64], 1
jmp 0x1004b735
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
add eax, dword [ebp - 0x64]
je 0x1004b8be
mov dword [ebp - 0x6c], 0xc28
mov dword [ebp - 0xe0], 0x10009340
cmp dword [ebp - 0x6c], 0xf9a
jle 0x1004b844
push 0x15f7
push 0x2004
push 0x203
push 0x2708
push 0x1ab2
call dword [sym.imp.GDI32.dll_Ellipse]
and dword [ebp - 0x24], 0
jmp 0x1004b78d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6310
jge 0x1004b844
and dword [ebp - 0x18], 0
jmp 0x1004b7a7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x59de
jge 0x1004b83f
and dword [ebp - 0x1c], 0
jmp 0x1004b7c1
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7e38
jge 0x1004b83a
and dword [ebp - 0x2c], 0
jmp 0x1004b7d7
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x624c
jge 0x1004b838
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edx
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
lea ecx, [ebp - 0x148]
call fcn.1000abb3
pop ecx
pop ecx
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
call fcn.1000f3f9
push eax
call fcn.10058105
pop ecx
lea ecx, [ebp - 0x148]
call fcn.1000f3db
jmp 0x1004b7d0
jmp 0x1004b7ba
jmp 0x1004b7a0
jmp 0x1004b786
mov dword [ebp - 0xf0], 5
mov dword [ebp - 4], 2
cmp dword [ebp - 0x6c], 0xa54
jge 0x1004b86a
push dword [ebp - 0xe0]
call fcn.10058105
pop ecx
jmp 0x1004b886
or dword [ebp - 4], 0xffffffff
jmp 0x1004b890
mov dword [ebp - 0xe8], 0xf81606dc
push dword [ebp - 0x34]
push 0x3bc9
lea eax, [ebp - 0xe8]
push eax
push 1
push 0
lea eax, [ebp - 0xf0]
push eax
call fcn.100485eb
add esp, 0x18
jmp 0x1004b8ea
mov dword [ebp - 0xf8], 0xffbe
push 0x4a26
push 0
push dword [ebp - 0x74]
lea eax, [ebp - 0xf8]
push eax
push 0x955
push 1
push 1
call fcn.10048da1
add esp, 0x1c
jmp 0x1004b900
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1004b900
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret