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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4256
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x4d77ac]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x11c], edi
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi + 0x68]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xf0], esi
add dword [ecx], eax
mov eax, dword [edi + 0x6c]
add dword [ecx + 4], eax
mov eax, dword [edi + 0x70]
sub dword [ecx + 8], eax
mov eax, dword [edi + 0x74]
sub dword [ecx + 0xc], eax
movdqu xmm0, xmmword [ecx]
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x158], ecx
movdqu xmmword [ebp - 0x138], xmm0
test eax, eax
jne 0x43fcf7
mov eax, dword [ebp - 0x134]
mov ecx, dword [edi + 0x3c]
add eax, 6
add ecx, eax
mov dword [ebp - 0x108], ecx
jmp 0x43fd54
cmp eax, 2
jne 0x43fd20
mov edx, dword [ebp - 0x12c]
mov eax, 0xfffffffa
sub eax, dword [edi + 0x3c]
mov ecx, dword [ebp - 0x134]
add edx, eax
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x108], ecx
jmp 0x43fd5a
cmp eax, 1
jne 0x43fd48
mov eax, dword [ebp - 0x130]
sub eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x134]
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x108], ecx
jmp 0x43fd60
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x130]
cmp dword [edi + 0x60], 0
mov dword [ebp - 0xf4], edx
jne 0x43fdb8
mov ecx, dword [edi + 0x5c]
test ecx, ecx
jne 0x43fd93
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x138]
add ecx, dword [edi + 0x28]
add edx, dword [edi + 0x2c]
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x138], edx
jmp 0x43fdbe
cmp ecx, 2
jne 0x43fda7
sub edx, dword [edi + 0x28]
mov dword [ebp - 0xf4], edx
mov dword [ebp - 0x12c], edx
mov edx, dword [ebp - 0x138]
add edx, dword [edi + 0x2c]
mov dword [ebp - 0x138], edx
jmp 0x43fdbe
mov edx, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x108]
add ecx, 5
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x134], ecx
mov ecx, eax
mov eax, dword [ebp - 0xf4]
sub ecx, edx
sub eax, dword [ebp - 0x108]
cmp dword [edi + 0x60], 0
mov dword [edi + 4], ecx
mov dword [ebp - 0x100], eax
mov dword [edi + 8], eax
jne 0x440e0f
test ecx, ecx
jle 0x440e0f
test eax, eax
jle 0x440e0f
mov al, byte [edi]
mov byte [ebp - 0x121], al
test al, al
je 0x43fe1d
mov eax, dword [edi + 0x118]
jmp 0x43fe1f
xor eax, eax
mov ecx, dword [edi + 0x108]
add eax, ecx
jne 0x43fe37
movd xmm1, dword [ebp - 0xf4]
cvtdq2pd xmm1, xmm1
jmp 0x43fe82
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x14]
mov esi, edx
mov ecx, dword [edi + 0x18]
cmp eax, edx
movd xmm1, dword [ebp - 0x100]
cmovl edx, eax
cmovl esi, eax
cmp dword [edi + 0x10], ecx
cvtdq2pd xmm1, xmm1
cmovg ecx, dword [edi + 0x10]
lea eax, [edx + edx]
mov edx, dword [ebp - 0x138]
sub ecx, eax
add ecx, esi
mov esi, dword [ebp - 0xf0]
movd xmm0, ecx
mov ecx, dword [edi + 0x108]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cmp byte [ebp - 0x121], 0
movsd qword [edi + 0x50], xmm1
je 0x43fe98
mov eax, dword [edi + 0x118]
jmp 0x43fe9a
xor eax, eax
add eax, ecx
jne 0x43fea6
mov eax, dword [ebp - 0xf4]
jmp 0x43fec6
mov ecx, dword [edi + 0x18]
cmp dword [edi + 0x10], ecx
cmovg ecx, dword [edi + 0x10]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
add eax, dword [ebp - 0x108]
mov dword [edi + 0x40], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x108]
mov ecx, esi
add eax, 0xfffffffb
movq qword [ebp - 0x20], xmm0
push 0
push dword [edi + 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xf4]
push dword [edi + 0x34]
mov dword [ebp - 0x24], edx
add eax, 3
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x18], 0
mov dword [edi + 0x44], 0
mov dword [ebp - 0x18], eax
call fcn.0047c440
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0xf8], ecx
cmp dword [edi + 0x108], ecx
jle 0x44017c
mov edx, dword [ebp - 0x24]
lea eax, [edx - 5]
mov dword [ebp - 0x104], eax
jmp 0x43ff43
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x10c], 0
xorps xmm0, xmm0
movq qword [ebp - 0x114], xmm0
movq qword [ebp - 0x148], xmm0
mov dword [ebp - 0x140], 0
movdqu xmmword [ebp - 0x44], xmm0
test ecx, ecx
js 0x43ff8c
cmp ecx, dword [edi + 0x108]
jge 0x43ff8c
mov eax, dword [edi + 0x104]
imul eax, ecx
add eax, dword [edi + 0x100]
jmp 0x43ff8e
xor eax, eax
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0xfc], eax
test eax, eax
jg 0x43ff9e
neg ecx
movd xmm0, ecx
lea esi, [edx - 5]
mov dword [ebp - 0x118], edx
mov edx, dword [edi + 0x40]
mov dword [ebp - 0x110], esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [edi + 0x50]
cvttsd2si ecx, xmm0
test eax, eax
jle 0x43ffc9
sub edx, ecx
jmp 0x43ffcb
add edx, ecx
mov ecx, dword [edi + 0x18]
cmp dword [edi + 0x10], ecx
mov eax, dword [ebp - 0x24]
cmovg ecx, dword [edi + 0x10]
mov esi, dword [ebp - 0xf0]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x140], edx
cmp dword [ebp - 0xfc], ecx
jne 0x440013
mov dword [edi + 0x48], edx
mov ecx, dword [edi + 0x14]
cmp dword [edi + 0xc], ecx
cmovl ecx, dword [edi + 0xc]
cmp dword [ebp - 0xfc], ecx
jne 0x440028
mov dword [edi + 0x44], edx
mov al, byte [edi + 1]
test al, al
je 0x440070
mov eax, dword [edi + 0x64]
push 0
lea ecx, [eax - 0x14]
mov dword [ebp - 0x100], ecx
lea ecx, [eax - 0x14]
add eax, 0xffffffec
movzx edx, al
shl edx, 8
movzx eax, cl
mov ecx, esi
or edx, eax
mov eax, dword [ebp - 0x100]
shl edx, 8
movzx eax, al
or edx, eax
push edx
push dword [edi + 0x34]
lea edx, [ebp - 0x14c]
call fcn.0047c440
add esp, 0xc
push 0
push dword [edi + 0x64]
lea edx, [ebp - 0x118]
mov ecx, esi
push dword [edi + 0x34]
call fcn.0047c440
lea eax, [ebp - 0xe8]
add esp, 0xc
mov dword [ebp - 0xec], eax
xor eax, eax
mov word [ebp - 0xe8], ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xfc]
cmp ecx, 0x2710
jle 0x4400c9
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x100], eax
mov edx, eax
jmp 0x4400cb
mov edx, ecx
cmp ecx, 0x2710
mov eax, 0x4c3948
mov ecx, 0x4c02b8
cmovle eax, ecx
push eax
push edx
lea eax, [ebp - 0xec]
push 0x4c394c
push eax
call fcn.0048d430
mov eax, dword [ebp - 0x24]
add esp, 0x10
sub eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x104]
push 0x26
push dword [edi + 0x30]
mov dword [ebp - 0x3c], eax
lea eax, [ecx - 5]
push dword [edi + 0x64]
mov dword [ebp - 0x40], eax
lea eax, [ecx + 5]
mov ecx, dword [edi + 0xfc]
push dword [ebp - 0xec]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov edx, eax
mov ecx, esi
call fcn.0047c620
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
mov eax, dword [ebp - 0xec]
add esp, 0x14
cmp eax, ecx
je 0x440163
push eax
call fcn.00493921
add esp, 4
mov ecx, dword [ebp - 0xf8]
inc ecx
mov dword [ebp - 0xf8], ecx
cmp ecx, dword [edi + 0x108]
jl 0x43ff40
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x130]
xorps xmm0, xmm0
push 0
push dword [edi + 0x64]
movq qword [ebp - 0x30], xmm0
push dword [edi + 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x2c], ecx
mov ecx, esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
call fcn.0047c440
mov eax, dword [edi + 4]
add esp, 0xc
cdq
idiv dword [edi + 0x128]
xor edx, edx
mov dword [ebp - 0xf8], edx
movd xmm1, eax
mov eax, dword [edi + 0xfc]
cvtdq2pd xmm1, xmm1
mov ecx, dword [eax + 0x7dc]
lea eax, [ecx + 1]
movsd qword [ebp - 0x154], xmm1
movd xmm0, eax
movapd xmm3, xmm1
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
test ecx, ecx
mov ecx, dword [ebp - 0x2c]
addsd xmm0, qword [eax*8 + 0x4cbd50]
divsd xmm3, xmm0
movapd xmm5, xmm3
movsd qword [ebp - 0x17c], xmm3
mulsd xmm5, qword [0x4cbc10]
movapd xmm4, xmm5
movsd qword [ebp - 0x16c], xmm5
divsd xmm4, qword [0x4cbc30]
movsd qword [ebp - 0x164], xmm4
je 0x4407ce
xorps xmm6, xmm6
jmp 0x440250
mov eax, dword [edi + 0xfc]
test edx, edx
js 0x4407b2
cmp edx, dword [eax + 0x7dc]
jge 0x4407b2
mov eax, dword [eax + 0x7d8]
mov edx, dword [eax + edx*4]
mov dword [ebp - 0x100], edx
test edx, edx
je 0x4407ac
xor ecx, ecx
mov dword [ebp - 0x104], ecx
cmp dword [edi + 0x128], ecx
jle 0x4407ac
jmp 0x4402a0
cmp ecx, dword [edx + 0x9c]
jge 0x4407ac
test ecx, ecx
js 0x440799
cmp ecx, dword [edx + 0x9c]
jge 0x440799
mov eax, dword [edx + 0x98]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xfc], eax
test eax, eax
je 0x440799
xorps xmm0, xmm0
movd xmm2, ecx
movq qword [ebp - 0x114], xmm0
movd xmm0, dword [ebp - 0x24]
cvtdq2pd xmm2, xmm2
mov ecx, dword [edi + 0x40]
mov dword [ebp - 0x10c], 0
cvtdq2pd xmm0, xmm0
mulsd xmm2, xmm1
movd xmm1, dword [ebp - 0xf8]
cvtdq2pd xmm1, xmm1
addsd xmm2, xmm0
movapd xmm0, xmm5
mulsd xmm1, xmm3
addsd xmm0, xmm2
movsd qword [ebp - 0x18c], xmm2
addsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [ebp - 0x118], eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm3
subsd xmm0, xmm4
cvttsd2si eax, xmm0
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0xfc]
movsd xmm1, qword [eax]
comisd xmm1, xmm6
jbe 0x440377
mulsd xmm1, qword [edi + 0x50]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm0, xmm1
cvttsd2si eax, xmm0
jmp 0x44039b
movaps xmm0, xmm1
mulsd xmm0, qword [0x4cbc28]
subsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, qword [edi + 0x50]
addsd xmm1, xmm0
cvttsd2si eax, xmm1
push 0x10
push 0
push dword [edx + 0xc]
mov dword [ebp - 0x10c], ecx
mov ecx, esi
push dword [edx + 8]
lea edx, [ebp - 0x118]
mov dword [ebp - 0x114], eax
call fcn.0047c040
mov edx, dword [edi + 0x64]
add esp, 0x10
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
movzx eax, dl
or ecx, eax
push ecx
push 1
push 6
call dword [sym.imp.GDI32.dll_CreatePen]
mov edi, eax
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x104]
xorps xmm0, xmm0
inc eax
movq qword [ebp - 0x148], xmm0
movd xmm0, dword [ebp - 0x24]
mov esi, dword [ebp - 0x11c]
cvtdq2pd xmm0, xmm0
mov dword [ebp - 0x140], 0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [ebp - 0x154]
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x164]
mulsd xmm0, qword [0x4cbc10]
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x144], eax
mov eax, dword [esi + 0x44]
lea ecx, [eax + 2]
add eax, 0xfffffffd
mov dword [ebp - 0x120], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x13c], ecx
lea ecx, [eax - 0x4b]
lea edx, [eax - 0x4b]
add eax, 0xffffffb5
movzx eax, al
shl eax, 8
mov dword [ebp - 0xfc], eax
movzx eax, cl
mov ecx, dword [ebp - 0xfc]
or ecx, eax
movzx eax, dl
shl ecx, 8
or ecx, eax
mov edx, dword [esi + 0x34]
mov eax, ecx
mov dword [ebp - 0xfc], ecx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0xfc]
movzx eax, al
shl eax, 8
or ecx, eax
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xfc]
shr eax, 0x10
movzx eax, al
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0x64]
mov dword [ebp - 0x58], ecx
push eax
call dword [sym.imp.GDI32.dll_CreatePenIndirect]
mov edi, eax
push edi
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
mov dword [ebp - 0x174], 0
lea eax, [ebp - 0x174]
mov dword [ebp - 0x170], 0
push eax
push dword [ebp - 0x13c]
push dword [ebp - 0x128]
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_MoveToEx]
push dword [ebp - 0x120]
push dword [ebp - 0x128]
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_LineTo]
push esi
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x11c]
mov dword [ebp - 0x54], 0
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x64]
mov esi, dword [esi + 0x34]
mov dword [ebp - 0x50], esi
lea ecx, [eax + 2]
add eax, 0xfffffffd
mov dword [ebp - 0x13c], eax
mov eax, edx
shr eax, 8
mov dword [ebp - 0x120], ecx
movzx ecx, al
movzx eax, dl
shl eax, 8
or ecx, eax
shr edx, 0x10
movzx eax, dl
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x48], ecx
call dword [sym.imp.GDI32.dll_CreatePenIndirect]
mov edi, eax
push edi
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
mov dword [ebp - 0x184], 0
lea eax, [ebp - 0x184]
mov dword [ebp - 0x180], 0
push eax
push dword [ebp - 0x120]
push dword [ebp - 0x128]
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_MoveToEx]
push dword [ebp - 0x13c]
push dword [ebp - 0x128]
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_LineTo]
push esi
mov esi, dword [ebp - 0xf0]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [ebp - 0x11c]
mov ecx, dword [edi + 0x44]
cmp dword [edi + 0x40], ecx
je 0x4406cf
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x140], ecx
push 0
lea ecx, [eax - 0x4b]
mov dword [ebp - 0x120], ecx
lea ecx, [eax - 0x4b]
add eax, 0xffffffb5
movzx edx, al
shl edx, 8
movzx eax, cl
mov ecx, esi
or edx, eax
mov eax, dword [ebp - 0x120]
shl edx, 8
movzx eax, al
or edx, eax
push edx
push dword [edi + 0x34]
lea edx, [ebp - 0x14c]
call fcn.0047c440
add esp, 0xc
push dword [ebp - 0x104]
lea eax, [ebp - 0xec]
push eax
lea ecx, [edi + 0x120]
call fcn.00441090
cvttsd2si eax, qword [ebp - 0x18c]
mov dword [ebp - 4], 1
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x38], 0
push 0x25
xorps xmm0, xmm0
push dword [edi + 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x128]
push dword [edi + 0x64]
movq qword [ebp - 0x40], xmm0
push dword [ebp - 0xec]
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x28]
add eax, ecx
mov dword [ebp - 0x40], ecx
mov ecx, dword [edi + 0xfc]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov edx, eax
mov ecx, esi
call fcn.0047c620
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
mov eax, dword [ebp - 0xec]
add esp, 0x14
cmp eax, ecx
je 0x44076a
push eax
call fcn.00493921
add esp, 4
mov edx, dword [ebp - 0x100]
xorps xmm6, xmm6
mov ecx, dword [ebp - 0x104]
movsd xmm5, qword [ebp - 0x16c]
movsd xmm1, qword [ebp - 0x154]
movsd xmm4, qword [ebp - 0x164]
movsd xmm3, qword [ebp - 0x17c]
inc ecx
mov dword [ebp - 0x104], ecx
cmp ecx, dword [edi + 0x128]
jl 0x4402a0
mov edx, dword [ebp - 0xf8]
mov eax, dword [edi + 0xfc]
inc edx
mov dword [ebp - 0xf8], edx
cmp edx, dword [eax + 0x7dc]
jb 0x440250
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0xfc]
mov edx, dword [eax + 0x7dc]
test edx, edx
je 0x440e0f
mov eax, dword [edi + 0x58]
cmp eax, 1
jne 0x440af9
inc edx
imul edx, dword [edi + 0x3c]
add edx, 8
cmp dword [edi + 8], edx
jle 0x440e0f
lea eax, [ecx + 8]
mov ecx, dword [edi + 0x38]
add ecx, 0xfffffff8
add eax, ecx
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0xf8], eax
mov eax, dword [edi + 8]
sub eax, edx
cdq
sub eax, edx
mov edx, dword [edi + 0x64]
sar eax, 1
sub dword [ebp - 0xf4], eax
add ecx, eax
mov eax, edx
mov dword [ebp - 0xfc], ecx
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
movzx eax, dl
or ecx, eax
push ecx
push 1
push 6
call dword [sym.imp.GDI32.dll_CreatePen]
mov edi, eax
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0xf4]
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0xf8]
add eax, 8
push dword [ebp - 0xfc]
push eax
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x11c]
xor edx, edx
mov dword [ebp - 0x104], edx
mov eax, dword [esi + 0xfc]
cmp dword [eax + 0x7dc], edx
jbe 0x440e0f
test edx, edx
jne 0x440939
mov eax, dword [ebp - 0x2c]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0xfc]
add eax, 8
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xf8]
push 0x25
push dword [esi + 0x30]
movq qword [ebp - 0x40], xmm0
push dword [esi + 0x64]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x3c]
push dword [esi + 0x78]
add eax, ecx
mov dword [ebp - 0x40], ecx
mov ecx, dword [esi + 0xfc]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov edi, dword [ebp - 0xf0]
mov edx, eax
mov ecx, edi
call fcn.0047c620
mov edx, dword [ebp - 0x104]
add esp, 0x14
jmp 0x44093f
mov edi, dword [ebp - 0xf0]
mov eax, dword [esi + 0xfc]
test edx, edx
js 0x440adb
cmp edx, dword [eax + 0x7dc]
jge 0x440adb
mov eax, dword [eax + 0x7d8]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x100], eax
test eax, eax
je 0x440adb
mov ecx, dword [ebp - 0x2c]
xorps xmm0, xmm0
mov eax, dword [esi + 0x38]
add ecx, 0xd
mov dword [ebp - 0x24], ecx
add ecx, 0xffffffd8
add eax, ecx
movq qword [ebp - 0x20], xmm0
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x1c], eax
lea eax, [edx + 1]
mov edx, dword [ebp - 0xfc]
imul eax, ecx
add edx, 2
add ecx, 2
mov dword [ebp - 0x18], 0
push 0x24
push dword [esi + 0x30]
push dword [esi + 0x64]
add eax, edx
mov dword [ebp - 0x20], eax
add eax, ecx
mov ecx, dword [esi + 0xfc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x100]
push dword [eax + 0x10]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov edx, eax
mov ecx, edi
call fcn.0047c620
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x118]
add eax, 5
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x118], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0xf8]
add esp, 0x14
add eax, 0xfffffffb
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x110], eax
mov ecx, edi
mov eax, dword [ebp - 0x20]
add eax, 5
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffffb
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x100]
push 0x10
push 0
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.0047c040
mov edx, dword [esi + 0x64]
add esp, 0x10
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
movzx eax, dl
or ecx, eax
push ecx
push 1
push 6
call dword [sym.imp.GDI32.dll_CreatePen]
mov edi, eax
push edi
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_SelectObject]
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x104]
mov eax, dword [esi + 0xfc]
inc edx
mov dword [ebp - 0x104], edx
cmp edx, dword [eax + 0x7dc]
jb 0x4408d1
jmp 0x440e0f
test eax, eax
je 0x440b06
cmp eax, 2
jne 0x440e0f
mov ecx, dword [edi + 0x38]
xorps xmm0, xmm0
mov eax, dword [edi + 4]
imul ecx, edx
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0xf8], 0
sub eax, ecx
mov ecx, dword [edi + 0x58]
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x24]
sar edx, 1
add eax, 2
add eax, edx
mov dword [ebp - 0x100], eax
test ecx, ecx
jne 0x440b62
mov eax, dword [ebp - 0x108]
sub eax, dword [edi + 0x3c]
sub eax, 0xb
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x108]
add eax, 0xfffffff5
mov dword [ebp - 0xf8], eax
jmp 0x440b94
cmp ecx, 2
jne 0x440b8b
cmp dword [edi + 0x5c], 2
mov ecx, dword [edi + 0x3c]
mov eax, dword [ebp - 0xf4]
je 0x440b79
add eax, 6
add eax, ecx
mov dword [ebp - 0xf4], eax
add eax, ecx
mov dword [ebp - 0xf8], eax
jmp 0x440b94
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x2c]
sub eax, edx
mov edx, dword [edi + 0x64]
sub eax, 2
mov dword [ebp - 0x120], eax
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
movzx eax, dl
or ecx, eax
push ecx
push 1
push 6
call dword [sym.imp.GDI32.dll_CreatePen]
mov edi, eax
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0xf8]
push dword [ebp - 0x120]
push dword [ebp - 0xf4]
push dword [ebp - 0x100]
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x11c]
xor edx, edx
mov dword [ebp - 0x104], edx
mov eax, dword [esi + 0xfc]
cmp dword [eax + 0x7dc], edx
jbe 0x440e0f
jmp 0x440c50
mov edi, dword [esi + 0xfc]
test edx, edx
js 0x440df6
cmp edx, dword [edi + 0x7dc]
jge 0x440df6
mov eax, dword [edi + 0x7d8]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0xfc], eax
test eax, eax
je 0x440df6
mov ecx, dword [esi + 0x38]
xorps xmm0, xmm0
mov eax, ecx
movq qword [ebp - 0x30], xmm0
imul eax, edx
add ecx, 0xffffffd0
mov edx, dword [ebp - 0x100]
add edx, 5
mov dword [ebp - 0x28], 0
push 0x24
push dword [esi + 0x30]
add eax, edx
push dword [esi + 0x64]
mov dword [ebp - 0x34], eax
add eax, ecx
mov dword [ebp - 0x2c], eax
mov ecx, edi
mov eax, dword [ebp - 0xf4]
add eax, 2
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xfc]
push dword [eax + 0x10]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [ebp - 0xf0]
mov edx, eax
call fcn.0047c620
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x118]
add eax, 5
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0x118], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x34]
add esp, 0x14
add eax, 0xfffffff1
movq qword [ebp - 0x114], xmm0
add eax, dword [esi + 0x38]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0xf4]
add eax, 4
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xf8]
add eax, 0xfffffffc
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xfc]
push 0x10
push 0
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.0047c040
mov edx, dword [esi + 0x64]
add esp, 0x10
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
movzx eax, dl
or ecx, eax
push ecx
push 1
push 6
call dword [sym.imp.GDI32.dll_CreatePen]
mov edi, eax
push edi
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_SelectObject]
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x104]
mov eax, dword [esi + 0xfc]
inc edx
mov dword [ebp - 0x104], edx
cmp edx, dword [eax + 0x7dc]
jb 0x440c50
mov eax, dword [ebp - 0x158]
movdqu xmm0, xmmword [ebp - 0x138]
movdqu xmmword [eax], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00493864
mov esp, ebp
pop ebp
ret 0xc