Function at 0x10005cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
push ebx
push esi
mov esi, ecx
lea eax, [esp + 0xd4]
push edi
push eax
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x24]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x54], edx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push 0
mov dword [esp + 0x6c], ebx
push 0
lea ecx, [esp + 0x70]
add ebx, edx
push 0
push ecx
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x4c]
push 2
mov dword [esp + 0x80], edi
push 0
add edi, eax
push 0
push ebx
mov dword [esp + 0x94], edi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [esi + 0x28]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
mov dword [esp + 0x6c], eax
call edi
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x2c]
push eax
push ebx
call edi
push 0xfffffffffffffffc
lea edx, [esp + 0x24]
push 0xfffffffffffffffc
push edx
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_InflateRect]
mov al, byte [esi + 0x20]
test al, al
je 0x10005e00
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov al, byte [esi + 0x21]
mov dword [esp + 0x14], edx
test al, al
jne 0x10005dee
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x28]
test al, al
mov dword [esp + 0x18], edi
je 0x10005e2f
mov dword [esp + 0x1c], edx
jmp 0x10005e33
mov al, byte [esi + 0x21]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
test al, al
jne 0x10005e17
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x24]
mov dword [esp + 0x18], edx
test al, al
mov dword [esp + 0x14], edi
jne 0x10005e2b
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x10]
push 2
push edx
push ebx
call dword [sym.imp.GDI32.dll_Polyline]
fld qword [esi + 0x30]
fld qword [esi + 0x48]
call fcn.1000e88a
fsubr qword [esi + 0x30]
mov eax, dword [esi + 0x50]
inc eax
fsub qword [esi + 0x48]
mov dword [esp + 0x40], eax
fst qword [esp + 0x30]
fild dword [esp + 0x40]
fdivr qword [esi + 0x48]
fstp qword [esp + 0x68]
fcomp qword [esi + 0x38]
fnstsw ax
test ah, 0x41
je 0x100062ad
mov al, byte [esi + 0x20]
test al, al
je 0x10005fc7
mov edx, dword [esi + 4]
lea ecx, [esp + 0xb8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xfffffffffffffffc
lea eax, [esp + 0xbc]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_InflateRect]
fld qword [esp + 0x30]
fsub qword [esi + 0x30]
mov al, byte [esi + 0x20]
test al, al
fmul qword [esi + 0x40]
je 0x10005ec5
call fcn.1000e858
add eax, dword [esp + 0xb8]
jmp 0x10005ed6
call fcn.1000e858
mov ecx, eax
mov eax, dword [esp + 0xc4]
sub eax, ecx
dec eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
cmp eax, ecx
jl 0x10006112
cmp eax, dword [esp + 0x28]
jg 0x10006112
mov cl, byte [esi + 0x21]
mov edx, dword [esp + 0x2c]
test cl, cl
jne 0x10005eff
mov edx, dword [esp + 0x24]
test cl, cl
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
je 0x10005f10
add edx, 0xfffffff6
jmp 0x10005f13
add edx, 0xa
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x10]
push 2
push edx
push ebx
call dword [sym.imp.GDI32.dll_Polyline]
fld qword [esp + 0x30]
fabs
fcomp qword [0x1001b2f8]
fnstsw ax
test ah, 1
je 0x10005f4a
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
jmp 0x10005f5a
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x120]
push 0x1001e130
push ecx
call fcn.1000ebad
mov eax, dword [esp + 0x28]
add esp, 0x10
mov ecx, dword [esp + 0x1c]
lea edx, [eax - 1]
inc eax
mov dword [esp + 0x90], eax
mov al, byte [esi + 0x21]
neg al
sbb eax, eax
mov dword [esp + 0x8c], ecx
and eax, 8
mov dword [esp + 0x94], ecx
or eax, 0x121
lea ecx, [esp + 0x88]
push eax
mov dword [esp + 0x8c], edx
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x124]
jmp 0x1000610a
mov ecx, dword [esi + 4]
lea eax, [esp + 0xc8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xfffffffffffffffc
lea edx, [esp + 0xcc]
push 0xfffffffffffffffc
push edx
call dword [sym.imp.USER32.dll_InflateRect]
fld qword [esp + 0x30]
fsub qword [esi + 0x30]
mov al, byte [esi + 0x20]
test al, al
fmul qword [esi + 0x40]
je 0x1000600a
call fcn.1000e858
add eax, dword [esp + 0xc8]
jmp 0x1000601b
call fcn.1000e858
mov ecx, eax
mov eax, dword [esp + 0xd4]
sub eax, ecx
dec eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x10006112
cmp eax, dword [esp + 0x2c]
jg 0x10006112
mov cl, byte [esi + 0x21]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edi
test cl, cl
jne 0x1000604c
mov dword [esp + 0x10], edx
test cl, cl
je 0x10006059
add edi, 0xa
mov dword [esp + 0x18], edi
jmp 0x10006060
add edx, 0xfffffff6
mov dword [esp + 0x18], edx
lea edx, [esp + 0x10]
push 2
push edx
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_Polyline]
fld qword [esp + 0x30]
fabs
fcomp qword [0x1001b2f8]
fnstsw ax
test ah, 1
je 0x10006097
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
jmp 0x100060a7
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x1a0]
push 0x1001e130
push ecx
call fcn.1000ebad
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add esp, 0x10
mov dword [esp + 0x7c], ecx
lea edx, [eax + 3]
add eax, 0xfffffffe
mov dword [esp + 0x80], eax
mov al, byte [esi + 0x21]
neg al
sbb eax, eax
mov dword [esp + 0x84], ecx
and al, 0xfe
lea ecx, [esp + 0x78]
add eax, 2
mov dword [esp + 0x78], edx
or eax, 0x124
lea edx, [esp + 0x198]
push eax
push ecx
push 0xffffffffffffffff
push edx
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esi + 0x50]
xor eax, eax
test ecx, ecx
jle 0x10006294
inc eax
mov dword [esp + 0x3c], eax
mov al, byte [esi + 0x20]
fild dword [esp + 0x3c]
test al, al
fmul qword [esp + 0x68]
fadd qword [esp + 0x30]
fstp qword [esp + 0x58]
je 0x100061e2
mov ecx, dword [esi + 4]
lea eax, [esp + 0x98]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xfffffffffffffffc
lea edx, [esp + 0x9c]
push 0xfffffffffffffffc
push edx
call dword [sym.imp.USER32.dll_InflateRect]
fld qword [esp + 0x58]
fsub qword [esi + 0x30]
mov al, byte [esi + 0x20]
test al, al
fmul qword [esi + 0x40]
je 0x10006182
call fcn.1000e858
add eax, dword [esp + 0x98]
jmp 0x10006193
call fcn.1000e858
mov ecx, eax
mov eax, dword [esp + 0xa4]
sub eax, ecx
dec eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
cmp eax, ecx
jl 0x10006285
cmp eax, dword [esp + 0x28]
jg 0x10006285
mov cl, byte [esi + 0x21]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
test cl, cl
jne 0x100061be
mov edx, edi
test cl, cl
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
je 0x100061d6
add edx, 0xfffffffb
mov dword [esp + 0x1c], edx
jmp 0x10006277
add edi, 5
mov dword [esp + 0x1c], edi
jmp 0x10006277
mov ecx, dword [esi + 4]
lea eax, [esp + 0xa8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xfffffffffffffffc
lea edx, [esp + 0xac]
push 0xfffffffffffffffc
push edx
call dword [sym.imp.USER32.dll_InflateRect]
fld qword [esp + 0x58]
fsub qword [esi + 0x30]
mov al, byte [esi + 0x20]
test al, al
fmul qword [esi + 0x40]
je 0x10006225
call fcn.1000e858
add eax, dword [esp + 0xa8]
jmp 0x10006236
call fcn.1000e858
mov ecx, eax
mov eax, dword [esp + 0xb4]
sub eax, ecx
dec eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x10006285
cmp eax, dword [esp + 0x2c]
jg 0x10006285
mov cl, byte [esi + 0x21]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edi
test cl, cl
jne 0x1000625f
mov dword [esp + 0x10], edx
test cl, cl
je 0x1000626c
add edi, 5
mov dword [esp + 0x18], edi
jmp 0x10006273
add edx, 0xfffffffb
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x10]
push 2
push edx
push ebx
call dword [sym.imp.GDI32.dll_Polyline]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x50]
cmp eax, ecx
jl 0x1000611f
fld qword [esp + 0x30]
fadd qword [esi + 0x48]
fst qword [esp + 0x30]
fcomp qword [esi + 0x38]
fnstsw ax
test ah, 0x41
jne 0x10005e77
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x100062bd
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x100062cd
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 4]
lea eax, [esp + 0xd8]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x64]
test eax, eax
mov dword [edx], 1
je 0x100062f7
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10