Function at 0x43c770
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x4cdbf8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x210], eax
mov eax, dword [str.arial]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov ax, word [0x4a1b88]
push 0x2c
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push 0
push eax
mov dword [ebp - 0x1b0], edi
mov dword [ebp - 0x190], 0
call fcn.00481c10
push 0x32
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.00481c10
add esp, 0x18
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x1ac], 0
test esi, esi
je 0x43c84f
push 0x2cf3
push str.D:MyProjectsProPilotLibLibMain.c
push fcn.004845db
push 0
lea eax, [ebp - 0x190]
push esi
push eax
call fcn.0041e700
add esp, 0x18
mov ebx, eax
jmp 0x43c87f
push 0
push 0
push 0xe
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
lea ebx, [eax + 1]
push ebx
call fcn.00487397
add esp, 4
mov dword [ebp - 0x190], eax
test eax, eax
je 0x43ecc6
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test edi, edi
je 0x43c8dd
mov eax, dword [0x4eeef8]
test eax, eax
je 0x43c8cb
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x43c8cb
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x43c8aa
mov dword [0x4eeefc], edx
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x43c8cb
mov eax, dword [eax + 0x1f2c]
test eax, eax
je 0x43c8cb
push 0x4a1b2c
push edi
call eax
add esp, 8
mov edi, eax
jmp 0x43c8df
push 0x4a1b2c
push edi
call fcn.00436f40
add esp, 8
mov edi, eax
jmp 0x43c8df
xor edi, edi
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x194], edi
cmp byte [ecx], 0x7c
je 0x43c942
test edi, edi
je 0x43c93c
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x43c8f7
sub edi, edx
lea esi, [edi + ebx]
push esi
push ecx
call fcn.004845db
push ebx
push eax
mov dword [ebp - 0x190], eax
add eax, edi
push eax
call fcn.00481690
sub esi, ebx
push esi
push dword [ebp - 0x194]
push dword [ebp - 0x190]
call fcn.00481690
mov edi, dword [ebp - 0x1b0]
add esp, 0x20
jmp 0x43ca55
push ecx
jmp 0x43ecbe
push 0x7c
push ecx
call fcn.0048ed89
mov edi, dword [ebp - 0x1b0]
add esp, 8
mov esi, eax
test edi, edi
je 0x43c9af
mov eax, dword [0x4eeef8]
test eax, eax
je 0x43c99f
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x43c99f
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x43c980
mov dword [0x4eeefc], edx
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x43c99f
mov eax, dword [eax + 0x1f2c]
test eax, eax
je 0x43c99f
push 0x4a1b2c
push edi
call eax
add esp, 8
jmp 0x43c9b1
push 0x4a1b2c
push edi
call fcn.00436f40
add esp, 8
jmp 0x43c9b1
xor eax, eax
push 0x2d0e
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x190]
sub esi, eax
push str.D:MyProjectsProPilotLibLibMain.c
push fcn.004845db
inc esi
push esi
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.0041e700
add esp, 0x18
test edi, edi
je 0x43ca55
mov eax, dword [0x4eeef8]
test eax, eax
je 0x43ca37
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x43ca37
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x43ca0b
mov dword [0x4eeefc], edx
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x43ca37
mov eax, dword [eax + 0x1f28]
test eax, eax
je 0x43ca37
push 0x2d0f
push str.D:MyProjectsProPilotLibLibMain.c
push dword [ebp - 0x194]
push 0x4a1b2c
push edi
call eax
jmp 0x43ca52
push 0x2d0f
push str.D:MyProjectsProPilotLibLibMain.c
push dword [ebp - 0x194]
push 0x4a1b2c
push edi
call fcn.00442770
add esp, 0x14
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xffffffffffffffec
push edi
call esi
push 0xfffffffffffffff0
push edi
mov ebx, eax
call esi
mov esi, dword [sym.imp.USER32.dll_CopyRect]
mov ecx, eax
and ecx, 1
mov edx, ecx
or edx, 2
and al, 2
mov eax, dword [ebp - 0x210]
cmove edx, ecx
mov dword [ebp - 0x1b8], edx
test eax, eax
jne 0x43cac5
lea eax, [ebp - 0x18c]
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x18c], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x188]
neg eax
push eax
mov eax, dword [ebp - 0x18c]
neg eax
push eax
lea eax, [ebp - 0x18c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x43cacf
push eax
lea eax, [ebp - 0x18c]
push eax
call esi
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x178]
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
push edi
call esi
test eax, eax
je 0x43cb00
push 2
lea eax, [ebp - 0x178]
push eax
push edi
call esi
push eax
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
push dword [ebp - 0x1ec]
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1c0], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x1ec]
mov edi, eax
mov dword [ebp - 0x1f0], edi
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [0x4eeef8]
test eax, eax
je 0x43cb66
mov eax, dword [eax + 0xdcc]
test eax, eax
je 0x43cb66
push 0
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
mov dword [ebp - 0x1ac], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp - 0x180]
sub eax, dword [ebp - 0x188]
push eax
mov eax, dword [ebp - 0x184]
sub eax, dword [ebp - 0x18c]
push eax
push dword [ebp - 0x1ec]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp - 0x23c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
test bl, 0x20
mov dword [ebp - 0x238], eax
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x43cbdd
mov eax, dword [ebp - 0x1b0]
push eax
push edi
push 0x901b
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x43cbdd
push eax
lea eax, [ebp - 0x18c]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov esi, dword [ebp - 0x1ec]
jmp 0x43cc10
mov ecx, dword [ebp - 0x188]
mov edx, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x180]
mov esi, dword [ebp - 0x1ec]
sub eax, ecx
push 0xcc0020
push ecx
push edx
push esi
push eax
mov eax, dword [ebp - 0x184]
sub eax, edx
push eax
push 0
push 0
push edi
call ebx
push 0
lea eax, [ebp - 0x140]
push eax
push 0x3c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x124]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x6d], al
test al, al
jne 0x43cc30
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x1cc], eax
movzx eax, byte [ebp - 0x12c]
mov dword [ebp - 0x1d0], eax
movzx eax, byte [ebp - 0x12b]
mov dword [ebp - 0x1c4], eax
movzx eax, byte [ebp - 0x12a]
push esi
mov dword [ebp - 0x1e0], eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov ebx, dword [ebp - 0x190]
push 0x7c
push ebx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0x17c], ebx
call fcn.0048d4ac
mov esi, eax
add esp, 8
test esi, esi
je 0x43ea5d
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1b8], eax
nop dword [eax]
mov al, byte [esi + 1]
test al, al
je 0x43ea47
cmp byte [esi + 2], 0x3d
je 0x43cce9
cmp al, 0x3f
jne 0x43ea47
mov byte [esi], 0
cmp esi, ebx
jbe 0x43cf48
push 0xfffffffffffffff0
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x200
je 0x43cd2e
mov eax, dword [ebp - 0x180]
mov ecx, 0
sub eax, dword [ebp - 0x1bc]
add eax, dword [ebp - 0x188]
cdq
sub eax, edx
sar eax, 1
cmovs eax, ecx
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
push dword [ebp - 0x1b0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xf4]
cmovne eax, ecx
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0xf4], eax
test ecx, ecx
mov eax, dword [ebp - 0xf0]
cmovne eax, ecx
mov dword [ebp - 0xf0], eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43cdd8
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x1e0]
push dword [ebp - 0x1c4]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1cc]
push dword [ebp - 0x1dc]
push dword [ebp - 0x1c8]
push dword [ebp - 0x1bc]
push dword [ebp - 0xec]
push ebx
jmp 0x43cf0e
cmp dword [ebp - 0x224], 0
je 0x43ce27
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x1e0]
mov eax, dword [ebp - 0xec]
push dword [ebp - 0x1c4]
add eax, 0xffdfdfe0
push dword [ebp - 0x1d0]
push dword [ebp - 0x1cc]
push dword [ebp - 0x1dc]
push dword [ebp - 0x1c8]
push dword [ebp - 0x1bc]
push eax
push ebx
jmp 0x43cf0e
mov eax, dword [ebp - 0x1c0]
lea ecx, [ebx + 1]
inc eax
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x1b4]
inc eax
mov dword [ebp - 0xfc], eax
mov al, byte [ebx]
inc ebx
test al, al
jne 0x43ce44
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x6c]
sub ebx, ecx
push eax
push dword [ebp - 0x1e0]
push dword [ebp - 0x1c4]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1cc]
push dword [ebp - 0x1dc]
push dword [ebp - 0x1c8]
push dword [ebp - 0x1bc]
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp - 0x17c]
lea eax, [ebp - 0xfc]
push eax
push 0
lea eax, [ebp - 0x1ac]
push eax
push edi
call fcn.00440fc0
mov eax, dword [ebp - 0x17c]
add esp, 0x3c
push dword [ebp - 0x1b8]
mov byte [ebx + eax], 0
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x1e0]
push dword [ebp - 0x1c4]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1cc]
push dword [ebp - 0x1dc]
push dword [ebp - 0x1c8]
push dword [ebp - 0x1bc]
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp - 0x17c]
lea eax, [ebp - 0xfc]
push eax
push 0
lea eax, [ebp - 0x1ac]
push eax
push edi
call fcn.00440fc0
mov eax, dword [ebp - 0xf8]
add esp, 0x3c
cmp byte [esi], 0
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x1b4], eax
jne 0x43ea34
mov byte [esi], 0x20
mov al, 0x20
nop dword [eax]
cmp al, 0x7c
je 0x43ea37
inc esi
mov dword [ebp - 0x1d4], esi
lea eax, [esi + 1]
mov dword [ebp - 0x1f4], eax
xor eax, eax
cmp byte [esi], 0x3f
setne al
inc eax
add esi, eax
cmp byte [esi], 0x3d
jne 0x43cf79
inc esi
push 0x7c
push esi
call fcn.0048d4ac
mov ebx, eax
mov dword [ebp - 0x210], eax
add esp, 8
test ebx, ebx
je 0x43ea34
push 0x2c
push esi
call fcn.0048d4ac
add esp, 8
test eax, eax
je 0x43cfae
cmp eax, ebx
cmovb ebx, eax
mov dword [ebp - 0x210], ebx
mov ecx, ebx
sub ecx, esi
cmp ecx, 0x31
jle 0x43cffa
mov ecx, 0x31
mov eax, 0x31
cmp ecx, eax
cmovb eax, ecx
push eax
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.0041e7d0
mov cl, byte [ebp - 0x38]
add esp, 0xc
mov eax, dword [ebp - 0x1d4]
movsx eax, byte [eax]
add eax, 0xffffffc1
cmp eax, 0x3a
ja case.0x43cff3.64
movzx eax, byte [eax + 0x43ed28]
jmp dword [eax*4 + 0x43ecd8]
test ecx, ecx
jg 0x43cfbc
xor cl, cl
mov byte [ebp - 0x38], cl
jmp 0x43cfd7
lea eax, [ebp - 0x38]
push eax
call fcn.00488212
add esp, 4
add dword [ebp - 0x1b4], eax
jmp case.0x43cff3.64
lea eax, [ebp - 0x38]
push eax
call fcn.00488212
add esp, 4
mov dword [ebp - 0x22c], eax
jmp case.0x43cff3.64
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x38]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0xa1], al
test al, al
jne 0x43d040
cmp byte [ebp - 0xa0], al
je case.0x43cff3.64
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x17c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43d071
sub ecx, edx
cmp ecx, 8
jne 0x43d0a8
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0xa0]
push 0x4b216c
push eax
call fcn.00401063
add esp, 0xc
test eax, eax
jne 0x43d17a
mov dword [ebp - 0x17c], eax
mov eax, dword [0x4eeef8]
test eax, eax
je 0x43d25f
push 0x2000
push 0
push 0
push 0
lea ecx, [ebp - 0xa0]
push ecx
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_LoadImageA]
mov esi, eax
lea eax, [ebp - 0x158]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 0x1a4], ecx
test esi, esi
je 0x43d10b
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x1a0]
push 0x2000
push 0
push 0xff00ff
push 0
push edx
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [0x4eeef8]
push dword [eax + 0x10]
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageA]
push 0xfffffffffffffff0
push dword [ebp - 0x1b0]
mov dword [ebp - 0x17c], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x200
je 0x43d224
mov eax, dword [ebp - 0x180]
sub eax, dword [ebp - 0x1a0]
add eax, dword [ebp - 0x188]
cdq
sub eax, edx
mov ebx, eax
mov eax, 0
sar ebx, 1
cmovs ebx, eax
mov dword [ebp - 0x1c0], ebx
jmp 0x43d22a
mov eax, dword [ebp - 0x17c]
test eax, eax
je 0x43d0a8
lea ecx, [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x1a4]
push ecx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
test eax, eax
je 0x43d0a8
push 0xfffffffffffffff0
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x200
je 0x43d1e3
mov eax, dword [ebp - 0x180]
sub eax, dword [ebp - 0x1a0]
add eax, dword [ebp - 0x188]
cdq
sub eax, edx
mov ebx, eax
mov eax, 0
sar ebx, 1
cmovs ebx, eax
mov dword [ebp - 0x1c0], ebx
jmp 0x43d1e9
mov ebx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x204]
push 1
add eax, ebx
push eax
push dword [ebp - 0x1b4]
push edi
push dword [ebp - 0x22c]
push dword [ebp - 0x17c]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov ecx, dword [ebp - 0x1b4]
add ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1b4], ecx
jmp case.0x43cff3.64
mov ebx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x204]
push 1
add eax, ebx
push eax
push dword [ebp - 0x1b4]
push edi
push dword [ebp - 0x22c]
push dword [ebp - 0x17c]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov eax, dword [ebp - 0x17c]
test eax, eax
je 0x43d25f
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov ecx, dword [ebp - 0x1b4]
add ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1b4], ecx
jmp case.0x43cff3.64
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x124]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x6d], al
test al, al
jne 0x43d280
mov ecx, dword [ebp - 0x140]
movzx eax, byte [ebp - 0x12a]
mov dword [ebp - 0x1bc], ecx
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x1c8], ecx
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x1cc], ecx
movzx ecx, byte [ebp - 0x12c]
mov dword [ebp - 0x1d0], ecx
movzx ecx, byte [ebp - 0x12b]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0xec], eax
jmp case.0x43cff3.64
cmp cl, 0x3f
jne 0x43d317
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xa0]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x6d], al
test al, al
jne 0x43d300
jmp case.0x43cff3.64
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x38]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x6d], al
test al, al
jne 0x43d320
jmp case.0x43cff3.64
cmp cl, 0x3f
jne 0x43d34a
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x1bc], ecx
jmp case.0x43cff3.64
lea eax, [ebp - 0x38]
push eax
call fcn.00488212
add esp, 4
mov dword [ebp - 0x1bc], eax
jmp case.0x43cff3.64
cmp cl, 0x3f
jne 0x43d377
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x1c8], ecx
jmp case.0x43cff3.64
lea eax, [ebp - 0x38]
push eax
call fcn.00488212
add esp, 4
mov dword [ebp - 0x1c8], eax
jmp case.0x43cff3.64
mov eax, dword [ebp - 0x1f4]
movsx eax, byte [eax]
add eax, 0xffffff9e
cmp eax, 0x12
ja case.0x43d3a6.99
movzx eax, byte [eax + 0x43ed78]
jmp dword [eax*4 + 0x43ed64]
lea eax, [ebp - 0x38]
push eax
call fcn.00488212
add esp, 4
mov dword [ebp - 0x204], eax
jmp case.0x43cff3.64
lea eax, [ebp - 0x38]
push eax
call fcn.00488212
mov ecx, dword [ebp - 0x180]
add esp, 4
sub ecx, eax
mov dword [ebp - 0x220], ecx
jmp case.0x43cff3.64
lea eax, [ebp - 0x38]
push eax
call fcn.00488212
mov ecx, dword [ebp - 0x184]
add esp, 4
sub ecx, eax
mov dword [ebp - 0x21c], ecx
jmp case.0x43cff3.64
lea eax, [ebp - 0x38]
push eax
call fcn.00488212
add esp, 4
mov dword [ebp - 0x1dc], eax
jmp case.0x43cff3.64
cmp cl, 0x3f
jne 0x43d42f
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x1cc], ecx
jmp case.0x43cff3.64
lea eax, [ebp - 0x38]
push eax
call fcn.00488212
add esp, 4
mov dword [ebp - 0x1cc], eax
jmp case.0x43cff3.64
lea eax, [ebp - 0x38]
push eax
call fcn.00488212
add esp, 4
test eax, eax
je 0x43d465
or dword [ebp - 0x1b8], 0x10000000
jmp case.0x43cff3.64
and dword [ebp - 0x1b8], 0xefffffff
jmp case.0x43cff3.64
cmp cl, 0x3f
jne 0x43d48b
movzx ecx, byte [ebp - 0x12c]
mov dword [ebp - 0x1d0], ecx
jmp case.0x43cff3.64
lea eax, [ebp - 0x38]
push eax
call fcn.00488212
add esp, 4
mov dword [ebp - 0x1d0], eax
jmp case.0x43cff3.64
cmp cl, 0x3f
jne 0x43d4b9
movzx ecx, byte [ebp - 0x12b]
mov dword [ebp - 0x1c4], ecx
jmp case.0x43cff3.64
lea eax, [ebp - 0x38]
push eax
call fcn.00488212
add esp, 4
mov dword [ebp - 0x1c4], eax
jmp case.0x43cff3.64
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x38]
push 0x4b216c
push eax
call fcn.00401063
add esp, 0xc
neg eax
sbb eax, eax
and dword [ebp - 0x198], eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push 2
lea eax, [ebp - 0x168]
push eax
push 0
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
call dword [sym.imp.USER32.dll_GetDC]
push 0xf
mov esi, eax
call dword [sym.imp.USER32.dll_GetSysColor]
push esi
mov ebx, eax
push 0
or ebx, 0x2000000
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x4eeef8]
test eax, eax
je 0x43d599
cmp dword [eax + 0xdd0], 0
je 0x43d599
mov eax, dword [ebp - 0x1ac]
mov esi, dword [sym.imp.GDI32.dll_SelectPalette]
push 0
push eax
push edi
call esi
mov eax, dword [ebp - 0x198]
neg eax
push eax
push ebx
call fcn.00427ee0
push eax
call fcn.00427220
mov eax, dword [0x4eeef8]
add esp, 0xc
push 0
push dword [eax + 0xdcc]
push edi
call esi
push edi
mov dword [ebp - 0x1ac], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp - 0x198]
neg eax
push eax
push ebx
call fcn.00427ee0
add esp, 8
push eax
jmp 0x43ea00
cmp cl, 0x3f
je 0x43d5d6
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x38]
push 0x4b216c
push eax
call fcn.00401063
add esp, 0xc
test eax, eax
jne case.0x43cff3.64
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0xec], eax
jmp case.0x43cff3.64
cmp cl, 0x3f
je 0x43d60e
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x38]
push 0x4b216c
push eax
call fcn.00401063
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x1a8]
jne 0x43d614
mov eax, dword [ebp - 0x228]
or eax, 0x2000000
push eax
mov dword [ebp - 0x1a8], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
mov eax, dword [0x4eeef8]
test eax, eax
je 0x43ea08
cmp dword [eax + 0xdd0], 0
je 0x43ea08
mov eax, dword [ebp - 0x1ac]
mov ebx, dword [sym.imp.GDI32.dll_SelectPalette]
push 0
push eax
push edi
call ebx
push dword [ebp - 0x1a8]
call fcn.00427220
mov eax, dword [0x4eeef8]
add esp, 4
push 0
push dword [eax + 0xdcc]
push edi
call ebx
push edi
mov dword [ebp - 0x1ac], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
jmp 0x43ea08
push dword [ebp - 0x1b0]
movsx esi, cl
sub esi, 0x30
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43d6be
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x37]
push 0x4b216c
push eax
call fcn.00401063
add esp, 0xc
test eax, eax
je 0x43d6be
mov eax, dword [ebp - 0x19c]
jmp 0x43d6c6
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [0x4eeef8]
or eax, 0x2000000
mov dword [ebp - 0x19c], eax
test ecx, ecx
je 0x43d727
cmp dword [ecx + 0xdd0], 0
je 0x43d727
mov eax, dword [ebp - 0x1ac]
mov ebx, dword [sym.imp.GDI32.dll_SelectPalette]
push 0
push eax
push edi
call ebx
push dword [ebp - 0x19c]
call fcn.00427220
mov eax, dword [0x4eeef8]
add esp, 4
push 0
push dword [eax + 0xdcc]
push edi
call ebx
push edi
mov dword [ebp - 0x1ac], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp - 0x19c]
push eax
push esi
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x1d4], eax
lea eax, [esi + 1]
mov edi, dword [ebp - 0x18c]
cdq
sub eax, edx
mov ebx, eax
mov eax, esi
mov esi, dword [ebp - 0x180]
cdq
sub eax, edx
sar ebx, 1
mov edx, eax
sub esi, ebx
mov eax, dword [ebp - 0x188]
sar edx, 1
mov dword [ebp - 0xdc], eax
add edi, edx
push 6
mov dword [ebp - 0xe8], edi
lea ecx, [edx + eax]
mov dword [ebp - 0xe0], edi
mov eax, dword [ebp - 0x184]
sub eax, ebx
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xc0], edi
mov edi, dword [ebp - 0x1f0]
push eax
push edi
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xbc], esi
call dword [sym.imp.GDI32.dll_Polyline]
push dword [ebp - 0x1d4]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
jmp 0x43ea1c
mov ebx, dword [ebp - 0x1b0]
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43d938
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x180]
mov ebx, eax
sub ecx, dword [ebp - 0x188]
push 0xffffff
push 0
push ecx
mov ecx, dword [ebp - 0x184]
sub ecx, dword [ebp - 0x18c]
push ecx
push 0
call fcn.0042b570
add esp, 0x14
mov esi, eax
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x180]
sub ecx, dword [ebp - 0x188]
push eax
push 0xffffff
push ecx
mov ecx, dword [ebp - 0x184]
sub ecx, dword [ebp - 0x18c]
push ecx
push 0
call fcn.0042b570
add esp, 0x14
mov edi, eax
mov eax, dword [ebp - 0x1b0]
push eax
push dword [ebp - 0x1f0]
push 0x901b
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
lea eax, [ebp - 0x18c]
push eax
push dword [ebp - 0x1f0]
call dword [sym.imp.USER32.dll_FillRect]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x180]
mov esi, eax
mov edx, dword [ebp - 0x188]
sub ecx, edx
mov eax, dword [ebp - 0x18c]
push 0xee0086
push 0
push 0
push ebx
push ecx
mov ecx, dword [ebp - 0x184]
sub ecx, eax
push ecx
push edx
push eax
push dword [ebp - 0x1f0]
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x180]
mov edx, dword [ebp - 0x188]
sub eax, edx
mov ecx, dword [ebp - 0x18c]
push 0x8800c6
push 0
push 0
push ebx
push eax
mov eax, dword [ebp - 0x184]
sub eax, ecx
push eax
push edx
push ecx
mov edi, dword [ebp - 0x1f0]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp case.0x43cff3.64
push ebx
push edi
push 0x901b
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
lea eax, [ebp - 0x18c]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
jmp case.0x43cff3.64
lea eax, [ebp - 0x38]
push eax
call fcn.00488212
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
mov ebx, eax
mov ecx, ebx
mov dword [ebp - 0x1fc], ebx
sar ecx, 1
add esp, 4
mov dword [ebp - 0x224], 1
sub ecx, 0
je 0x43dfa6
sub ecx, 1
je 0x43dd50
sub ecx, 1
jne 0x43dceb
push 5
call esi
push 0xf
mov ebx, eax
call esi
push 2
mov dword [ebp - 0x1d4], eax
call esi
push dword [ebp - 0x1b0]
mov dword [ebp - 0x17c], eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43db36
push 0x12
call esi
mov edx, eax
movsd xmm4, qword [0x4a1ca8]
movsd xmm3, qword [0x4a1c60]
mov eax, ebx
shr eax, 8
mov ecx, edx
mov dword [ebp - 0x1e4], eax
movzx esi, bl
shr ebx, 0x10
sar ecx, 0x10
movzx eax, bl
movzx ecx, cl
movsd xmm2, qword [0x4a1c88]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, ecx
addsd xmm0, qword [eax*8 + 0x4a1160]
mov eax, dword [ebp - 0x17c]
shr eax, 0x10
cvtdq2pd xmm1, xmm1
movzx eax, al
mulsd xmm0, xmm3
mulsd xmm1, xmm4
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a1160]
mulsd xmm0, xmm2
addsd xmm1, xmm0
cvttsd2si eax, xmm1
movzx ecx, al
mov eax, edx
sar eax, 8
or ecx, 0x200
movzx eax, al
shl ecx, 8
movd xmm1, eax
mov eax, dword [ebp - 0x1e4]
movzx eax, al
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulsd xmm1, xmm4
addsd xmm0, qword [eax*8 + 0x4a1160]
mov eax, dword [ebp - 0x17c]
shr eax, 8
movzx eax, al
mulsd xmm0, xmm3
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a1160]
mulsd xmm0, xmm2
addsd xmm1, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
cvttsd2si eax, xmm1
movzx eax, al
or ecx, eax
movzx eax, dl
shl ecx, 8
movd xmm1, eax
mov eax, esi
shr eax, 0x1f
cvtdq2pd xmm1, xmm1
addsd xmm0, qword [eax*8 + 0x4a1160]
mov eax, dword [ebp - 0x17c]
mulsd xmm1, xmm4
movzx eax, al
mulsd xmm0, xmm3
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a1160]
mulsd xmm0, xmm2
addsd xmm1, xmm0
cvttsd2si eax, xmm1
movzx eax, al
or ecx, eax
jmp 0x43db4d
push 0xe
call esi
mov ecx, eax
movzx esi, bl
mov eax, ebx
shr eax, 8
mov dword [ebp - 0x1e4], eax
shr ebx, 0x10
mov dword [ebp - 0xec], ecx
mov ecx, dword [ebp - 0x1d4]
movzx eax, cl
movd xmm1, esi
cvtdq2pd xmm1, xmm1
shr esi, 0x1f
movd xmm5, eax
addsd xmm1, qword [esi*8 + 0x4a1160]
shr eax, 0x1f
cvtdq2pd xmm5, xmm5
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
movaps xmm2, xmm1
addsd xmm5, qword [eax*8 + 0x4a1160]
mulsd xmm2, qword [0x4a1c98]
mov eax, dword [ebp - 0x1e4]
movzx eax, al
movaps xmm0, xmm5
mulsd xmm0, qword [0x4a1cb8]
addsd xmm2, xmm0
movsd qword [ebp - 0x218], xmm2
movd xmm2, eax
shr eax, 0x1f
cvtdq2pd xmm2, xmm2
addsd xmm2, qword [eax*8 + 0x4a1160]
mov eax, ecx
shr ecx, 0x10
shr eax, 8
movzx eax, al
movaps xmm3, xmm2
mulsd xmm3, qword [0x4a1c98]
movd xmm6, eax
shr eax, 0x1f
cvtdq2pd xmm6, xmm6
addsd xmm6, qword [eax*8 + 0x4a1160]
movzx eax, bl
mov ebx, dword [ebp - 0x1fc]
movaps xmm0, xmm6
mulsd xmm0, qword [0x4a1cb8]
addsd xmm3, xmm0
movsd qword [ebp - 0x1e8], xmm3
movd xmm3, eax
cvtdq2pd xmm3, xmm3
shr eax, 0x1f
addsd xmm3, qword [eax*8 + 0x4a1160]
movzx eax, cl
movd xmm7, eax
movaps xmm4, xmm3
mulsd xmm4, qword [0x4a1c98]
shr eax, 0x1f
cvtdq2pd xmm7, xmm7
addsd xmm7, qword [eax*8 + 0x4a1160]
movaps xmm0, xmm7
mulsd xmm0, qword [0x4a1cb8]
addsd xmm4, xmm0
movsd qword [ebp - 0x1d8], xmm4
test bl, 1
jne 0x43dcb6
movsd xmm4, qword [0x4a1cc0]
movsd xmm0, qword [0x4a1c88]
mulsd xmm1, xmm4
mulsd xmm5, xmm0
mulsd xmm2, xmm4
mulsd xmm6, xmm0
mulsd xmm3, xmm4
addsd xmm1, xmm5
mulsd xmm7, xmm0
addsd xmm2, xmm6
movsd qword [ebp - 0x1f8], xmm1
addsd xmm3, xmm7
movsd qword [ebp - 0x20c], xmm2
movsd qword [ebp - 0x200], xmm3
jmp 0x43e5a7
movsd xmm0, qword [ebp - 0x24c]
movsd qword [ebp - 0x1f8], xmm0
movsd xmm0, qword [ebp - 0x264]
movsd qword [ebp - 0x20c], xmm0
movsd xmm0, qword [ebp - 0x150]
movsd qword [ebp - 0x200], xmm0
jmp 0x43e5a7
movsd xmm0, qword [ebp - 0x24c]
movsd qword [ebp - 0x1f8], xmm0
movsd xmm0, qword [ebp - 0x254]
movsd qword [ebp - 0x218], xmm0
movsd xmm0, qword [ebp - 0x264]
movsd qword [ebp - 0x20c], xmm0
movsd xmm0, qword [ebp - 0x26c]
movsd qword [ebp - 0x1e8], xmm0
movsd xmm0, qword [ebp - 0x150]
movsd qword [ebp - 0x200], xmm0
movsd xmm0, qword [ebp - 0x158]
movsd qword [ebp - 0x1d8], xmm0
jmp 0x43e5a7
push 0xf
call esi
push 0x10
mov ebx, eax
call esi
mov edx, eax
shr eax, 8
movzx ecx, dl
movzx eax, al
shr edx, 0x10
movd xmm5, ecx
cvtdq2pd xmm5, xmm5
shr ecx, 0x1f
movd xmm6, eax
addsd xmm5, qword [ecx*8 + 0x4a1160]
movzx ecx, bl
shr eax, 0x1f
cvtdq2pd xmm6, xmm6
movd xmm1, ecx
movaps xmm0, xmm5
addsd xmm6, qword [eax*8 + 0x4a1160]
mulsd xmm0, qword [0x4a1cc0]
mov eax, ebx
shr ecx, 0x1f
cvtdq2pd xmm1, xmm1
shr eax, 8
movzx eax, al
shr ebx, 0x10
addsd xmm1, qword [ecx*8 + 0x4a1160]
movaps xmm2, xmm1
mulsd xmm2, qword [0x4a1c88]
addsd xmm2, xmm0
movaps xmm0, xmm6
mulsd xmm0, qword [0x4a1cc0]
movsd qword [ebp - 0x218], xmm2
movd xmm2, eax
shr eax, 0x1f
cvtdq2pd xmm2, xmm2
addsd xmm2, qword [eax*8 + 0x4a1160]
movzx eax, dl
movd xmm7, eax
movaps xmm3, xmm2
mulsd xmm3, qword [0x4a1c88]
shr eax, 0x1f
cvtdq2pd xmm7, xmm7
addsd xmm3, xmm0
addsd xmm7, qword [eax*8 + 0x4a1160]
movzx eax, bl
mov ebx, dword [ebp - 0x1fc]
movsd qword [ebp - 0x1e8], xmm3
movd xmm3, eax
movaps xmm0, xmm7
mulsd xmm0, qword [0x4a1cc0]
shr eax, 0x1f
cvtdq2pd xmm3, xmm3
addsd xmm3, qword [eax*8 + 0x4a1160]
movaps xmm4, xmm3
mulsd xmm4, qword [0x4a1c88]
addsd xmm4, xmm0
movsd qword [ebp - 0x1d8], xmm4
test bl, 1
jne 0x43deb3
movsd xmm4, qword [0x4a1cc0]
movsd xmm0, qword [0x4a1c88]
mulsd xmm1, xmm4
mulsd xmm5, xmm0
mulsd xmm2, xmm4
mulsd xmm6, xmm0
mulsd xmm3, xmm4
addsd xmm1, xmm5
mulsd xmm7, xmm0
addsd xmm2, xmm6
movsd qword [ebp - 0x1f8], xmm1
addsd xmm3, xmm7
movsd qword [ebp - 0x20c], xmm2
movsd qword [ebp - 0x200], xmm3
jmp 0x43dee3
movsd xmm0, qword [ebp - 0x24c]
movsd qword [ebp - 0x1f8], xmm0
movsd xmm0, qword [ebp - 0x264]
movsd qword [ebp - 0x20c], xmm0
movsd xmm0, qword [ebp - 0x150]
movsd qword [ebp - 0x200], xmm0
push 0xe
call esi
mov ecx, eax
mov dword [ebp - 0xec], eax
sar ecx, 8
movzx ecx, cl
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movzx ecx, al
sar eax, 0x10
movzx eax, al
cvtps2pd xmm1, xmm0
movd xmm0, ecx
mulsd xmm1, qword [0x4a1cb0]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1c80]
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1c30]
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x1e8]
cvtpd2ps xmm0, xmm0
cvttsd2si eax, xmm1
cvtps2pd xmm1, xmm0
movzx eax, al
movsd xmm0, qword [ebp - 0x218]
mulsd xmm1, qword [0x4a1cb0]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1c80]
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x1d8]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1c30]
addsd xmm1, xmm0
cvttsd2si ecx, xmm1
movzx ecx, cl
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x1e
jmp 0x43e4df
push 0x1b
call esi
push 2
mov ebx, eax
call esi
push 0xf
mov dword [ebp - 0x1d4], eax
call esi
mov edx, eax
movzx esi, bl
mov ecx, ebx
movsd xmm5, qword [0x4a1cb0]
shr ecx, 8
movzx eax, cl
mov dword [ebp - 0x1e4], eax
shr ebx, 0x10
movzx eax, bl
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1d4]
mov ecx, eax
movzx ebx, al
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x1d4], eax
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [ebp - 0x230], eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x17c], ecx
movzx ecx, dl
shr edx, 0x10
movzx eax, dl
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x208], eax
mov eax, edx
shr eax, 0x1f
movsd xmm6, qword [0x4a1c80]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
movsd xmm7, qword [0x4a1c30]
addsd xmm0, qword [eax*8 + 0x4a1160]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm5
addsd xmm0, qword [eax*8 + 0x4a1160]
mov eax, dword [ebp - 0x208]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm6
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a1160]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm7
addsd xmm1, xmm0
cvttsd2si eax, xmm1
movzx eax, al
movd xmm4, eax
mov eax, dword [ebp - 0x1e4]
cvtdq2pd xmm4, xmm4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a1160]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm5
addsd xmm0, qword [eax*8 + 0x4a1160]
cvtpd2ps xmm0, xmm0
mov eax, dword [ebp - 0x1f4]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm6
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a1160]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm7
addsd xmm1, xmm0
movaps xmm0, xmm4
mulsd xmm0, qword [0x4a1cd8]
cvttsd2si eax, xmm1
movzx eax, al
movd xmm2, eax
mov eax, dword [ebp - 0x17c]
cvtdq2pd xmm2, xmm2
movaps xmm3, xmm2
mulsd xmm3, qword [0x4a1c48]
addsd xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a1160]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm5
addsd xmm0, qword [eax*8 + 0x4a1160]
mov eax, dword [ebp - 0x1d4]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm6
movsd xmm6, qword [0x4a1c90]
mulsd xmm2, xmm6
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a1160]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm7
movsd xmm7, qword [0x4a1c88]
mulsd xmm4, xmm7
addsd xmm1, xmm0
cvttsd2si eax, xmm1
xorps xmm1, xmm1
movzx eax, al
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm6
addsd xmm0, xmm4
movsd xmm4, qword [0x4a1d00]
addsd xmm0, xmm2
subsd xmm3, xmm0
xorps xmm0, xmm0
maxsd xmm0, xmm3
subsd xmm4, xmm0
comisd xmm1, xmm4
movsd qword [ebp - 0x234], xmm4
jbe 0x43e22a
xorps xmm4, xmm4
movsd qword [ebp - 0x234], xmm4
xorps xmm1, xmm1
mov eax, dword [ebp - 0x1e4]
cvtsi2sd xmm1, ebx
shr ebx, 0x1f
xorps xmm2, xmm2
xorps xmm5, xmm5
cvtsi2sd xmm2, ecx
shr ecx, 0x1f
addsd xmm1, qword [ebx*8 + 0x4a1160]
cvtsi2sd xmm5, esi
shr esi, 0x1f
mov ebx, dword [ebp - 0x1fc]
addsd xmm2, qword [ecx*8 + 0x4a1160]
mulsd xmm1, xmm6
xorps xmm3, xmm3
addsd xmm5, qword [esi*8 + 0x4a1160]
cvtsi2sd xmm3, eax
shr eax, 0x1f
movaps xmm0, xmm2
mulsd xmm0, xmm7
addsd xmm3, qword [eax*8 + 0x4a1160]
mov eax, dword [ebp - 0x17c]
addsd xmm1, xmm0
movaps xmm0, xmm5
mulsd xmm0, xmm6
xorps xmm6, xmm6
cvtsi2sd xmm6, edx
shr edx, 0x1f
addsd xmm1, xmm0
xorps xmm0, xmm0
addsd xmm6, qword [edx*8 + 0x4a1160]
subsd xmm1, xmm4
maxsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, eax
shr eax, 0x1f
movsd qword [ebp - 0x218], xmm0
movaps xmm0, xmm6
mulsd xmm0, xmm7
xorps xmm7, xmm7
addsd xmm1, qword [eax*8 + 0x4a1160]
mov eax, dword [ebp - 0x208]
mulsd xmm1, qword [0x4a1c90]
cvtsi2sd xmm7, eax
shr eax, 0x1f
addsd xmm1, xmm0
movaps xmm0, xmm3
mulsd xmm0, qword [0x4a1c90]
addsd xmm7, qword [eax*8 + 0x4a1160]
mov eax, dword [ebp - 0x1f4]
addsd xmm1, xmm0
xorps xmm0, xmm0
subsd xmm1, xmm4
xorps xmm4, xmm4
cvtsi2sd xmm4, eax
shr eax, 0x1f
maxsd xmm0, xmm1
xorps xmm1, xmm1
addsd xmm4, qword [eax*8 + 0x4a1160]
mov eax, dword [ebp - 0x1d4]
movsd qword [ebp - 0x1e8], xmm0
movaps xmm0, xmm7
mulsd xmm0, qword [0x4a1c88]
cvtsi2sd xmm1, eax
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4a1160]
mulsd xmm1, qword [0x4a1c90]
addsd xmm1, xmm0
movaps xmm0, xmm4
mulsd xmm0, qword [0x4a1c90]
addsd xmm1, xmm0
xorps xmm0, xmm0
subsd xmm1, qword [ebp - 0x234]
maxsd xmm0, xmm1
movsd qword [ebp - 0x1d8], xmm0
test bl, 1
jne 0x43e3eb
movsd xmm1, qword [0x4a1cd8]
movsd xmm0, qword [0x4a1c48]
mulsd xmm2, xmm1
mulsd xmm5, xmm0
mulsd xmm3, xmm0
mulsd xmm6, xmm1
mulsd xmm4, xmm0
addsd xmm2, xmm5
mulsd xmm7, xmm1
addsd xmm3, xmm6
movsd qword [ebp - 0x1f8], xmm2
addsd xmm4, xmm7
movsd qword [ebp - 0x20c], xmm3
movsd qword [ebp - 0x200], xmm4
jmp 0x43e41b
movsd xmm0, qword [ebp - 0x24c]
movsd qword [ebp - 0x1f8], xmm0
movsd xmm0, qword [ebp - 0x264]
movsd qword [ebp - 0x20c], xmm0
movsd xmm0, qword [ebp - 0x150]
movsd qword [ebp - 0x200], xmm0
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xe
call esi
mov ecx, eax
mov dword [ebp - 0xec], eax
sar ecx, 8
movzx ecx, cl
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movzx ecx, al
sar eax, 0x10
movzx eax, al
cvtps2pd xmm1, xmm0
movd xmm0, ecx
mulsd xmm1, qword [0x4a1cb0]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1c80]
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1c30]
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x1e8]
cvtpd2ps xmm0, xmm0
cvttsd2si eax, xmm1
cvtps2pd xmm1, xmm0
movzx eax, al
movsd xmm0, qword [ebp - 0x218]
mulsd xmm1, qword [0x4a1cb0]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1c80]
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x1d8]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1c30]
addsd xmm1, xmm0
cvttsd2si ecx, xmm1
movzx ecx, cl
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x32
jge 0x43e4eb
push 0x12
call esi
mov dword [ebp - 0xec], eax
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x43e5a7
mov edx, dword [ebp - 0xec]
mov eax, edx
movsd xmm2, qword [0x4a1c60]
movsd xmm3, qword [0x4a1cd0]
movsd xmm0, qword [ebp - 0x1d8]
sar eax, 0x10
movzx eax, al
mulsd xmm0, xmm3
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm2
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x1e8]
mulsd xmm0, xmm3
cvttsd2si eax, xmm1
movzx ecx, al
mov eax, edx
sar eax, 8
or ecx, 0x200
movzx eax, al
shl ecx, 8
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm2
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x218]
mulsd xmm0, xmm3
cvttsd2si eax, xmm1
movzx eax, al
or ecx, eax
movzx eax, dl
shl ecx, 8
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm2
addsd xmm1, xmm0
cvttsd2si eax, xmm1
movzx eax, al
or ecx, eax
mov dword [ebp - 0xec], ecx
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43e80f
mov ecx, dword [0x4eeef8]
test ecx, ecx
je 0x43e793
cmp dword [ecx + 0xdd0], 0
jne 0x43e793
mov eax, dword [0x4eef08]
mov dword [ebp - 0x230], eax
test eax, eax
je 0x43e793
test bl, 1
jne 0x43e793
mov eax, dword [ebp - 0x18c]
xor edx, edx
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0xdc], eax
xor eax, eax
mov word [ebp - 0xd2], ax
mov eax, dword [ebp - 0x184]
add eax, 0xffffff9c
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0xbc], eax
xor eax, eax
cvttsd2si edi, qword [ebp - 0x1e8]
mov word [ebp - 0xb2], ax
mov word [ebp - 0xc2], dx
mov edx, dword [ebp - 0x184]
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x100], 1
cvttsd2si eax, qword [ebp - 0x1f8]
shl di, 8
mov word [ebp - 0xd6], di
mov word [ebp - 0xc6], di
mov word [ebp - 0xb6], di
mov edi, dword [ebp - 0x1f0]
cvttsd2si ebx, qword [ebp - 0x218]
shl ax, 8
mov word [ebp - 0xa8], ax
cvttsd2si eax, qword [ebp - 0x20c]
shl bx, 8
mov word [ebp - 0xd8], bx
mov word [ebp - 0xc8], bx
mov word [ebp - 0xb8], bx
cvttsd2si esi, qword [ebp - 0x1d8]
shl ax, 8
mov word [ebp - 0xa6], ax
cvttsd2si eax, qword [ebp - 0x200]
shl si, 8
mov word [ebp - 0xd4], si
mov word [ebp - 0xc4], si
mov word [ebp - 0xb4], si
shl ax, 8
mov word [ebp - 0xa4], ax
xor eax, eax
mov word [ebp - 0xa2], ax
mov dword [ebp - 0x104], eax
test edi, edi
je 0x43e77a
push eax
push 1
lea eax, [ebp - 0x104]
push eax
push 4
lea eax, [ebp - 0xe0]
push eax
push edi
call dword [ebp - 0x230]
mov eax, dword [0x4eef08]
mov dword [ebp - 0x104], 2
mov dword [ebp - 0x100], 3
test eax, eax
je case.0x43cff3.64
push 0
push 1
lea ecx, [ebp - 0x104]
push ecx
push 4
lea ecx, [ebp - 0xe0]
push ecx
push edi
call eax
jmp case.0x43cff3.64
mov dword [ebp - 0x104], 2
mov dword [ebp - 0x100], 3
jmp case.0x43cff3.64
cvttsd2si eax, qword [ebp - 0x1d8]
movzx esi, al
cvttsd2si eax, qword [ebp - 0x1e8]
or esi, 0x200
shl esi, 8
movzx eax, al
or esi, eax
cvttsd2si eax, qword [ebp - 0x218]
shl esi, 8
movzx eax, al
or esi, eax
test ecx, ecx
je 0x43e809
cmp dword [ecx + 0xdd0], 0
je 0x43e809
mov eax, dword [ebp - 0x1ac]
mov ebx, dword [sym.imp.GDI32.dll_SelectPalette]
push 0
push eax
push edi
call ebx
push esi
call fcn.00427220
mov eax, dword [0x4eeef8]
add esp, 4
push 0
push dword [eax + 0xdcc]
push edi
call ebx
push edi
mov dword [ebp - 0x1ac], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
push esi
jmp 0x43ea00
push 0xf
call esi
push 0x10
mov ebx, eax
call esi
mov edx, eax
movsd xmm5, qword [0x4a1cc8]
movzx ecx, dl
movsd xmm6, qword [0x4a1c70]
movzx esi, bl
movd xmm4, ecx
shr ecx, 0x1f
cvtdq2pd xmm4, xmm4
addsd xmm4, qword [ecx*8 + 0x4a1160]
mov ecx, edx
shr edx, 0x10
shr ecx, 8
movzx eax, cl
mov ecx, ebx
shr ebx, 0x10
shr ecx, 8
movd xmm3, eax
shr eax, 0x1f
cvtdq2pd xmm3, xmm3
addsd xmm3, qword [eax*8 + 0x4a1160]
movzx eax, dl
movd xmm2, eax
shr eax, 0x1f
cvtdq2pd xmm2, xmm2
addsd xmm2, qword [eax*8 + 0x4a1160]
movzx eax, bl
movd xmm1, eax
movaps xmm0, xmm2
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
mulsd xmm0, xmm6
addsd xmm1, qword [eax*8 + 0x4a1160]
mulsd xmm2, xmm5
mulsd xmm1, xmm5
addsd xmm1, xmm0
movaps xmm0, xmm3
mulsd xmm0, xmm6
cvttsd2si eax, xmm1
movzx ebx, al
movzx eax, cl
or ebx, 0x200
shl ebx, 8
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4a1160]
mulsd xmm1, xmm5
addsd xmm1, xmm0
movaps xmm0, xmm4
mulsd xmm0, xmm6
cvttsd2si eax, xmm1
movd xmm1, esi
cvtdq2pd xmm1, xmm1
shr esi, 0x1f
movzx eax, al
or ebx, eax
shl ebx, 8
addsd xmm1, qword [esi*8 + 0x4a1160]
mulsd xmm1, xmm5
addsd xmm1, xmm0
cvttsd2si eax, xmm1
movzx eax, al
or ebx, eax
mov eax, ebx
movzx esi, bl
shr eax, 0x10
mov ecx, ebx
movzx eax, al
shr ecx, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a1160]
mulsd xmm0, xmm6
addsd xmm0, xmm2
cvttsd2si eax, xmm0
movzx edx, al
movzx eax, cl
or edx, 0x200
mulsd xmm3, xmm5
shl edx, 8
mulsd xmm4, xmm5
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a1160]
mulsd xmm0, xmm6
addsd xmm0, xmm3
cvttsd2si eax, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
movzx eax, al
or edx, eax
shl edx, 8
addsd xmm0, qword [esi*8 + 0x4a1160]
mulsd xmm0, xmm6
addsd xmm0, xmm4
cvttsd2si eax, xmm0
movzx eax, al
or edx, eax
mov eax, dword [0x4eeef8]
mov dword [ebp - 0xec], edx
test eax, eax
je 0x43e9ff
cmp dword [eax + 0xdd0], 0
je 0x43e9ff
mov eax, dword [ebp - 0x1ac]
mov esi, dword [sym.imp.GDI32.dll_SelectPalette]
push 0
push eax
push edi
call esi
push ebx
call fcn.00427220
mov eax, dword [0x4eeef8]
add esp, 4
push 0
push dword [eax + 0xdcc]
push edi
call esi
push edi
mov dword [ebp - 0x1ac], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
push ebx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
push esi
lea eax, [ebp - 0x18c]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
test esi, esi
je case.0x43cff3.64
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x210]
mov al, byte [esi]
test al, al
jne 0x43cf50
jmp 0x43ea37
mov byte [esi], 0
cmp byte [esi], 0
je 0x43ea3d
inc esi
mov ebx, esi
mov dword [ebp - 0x17c], ebx
jmp 0x43ea48
inc esi
push 0x7c
push esi
call fcn.0048d4ac
mov esi, eax
add esp, 8
test esi, esi
jne 0x43ccd0
test ebx, ebx
je 0x43ec49
push 0xfffffffffffffff0
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x200
je 0x43ea9d
mov eax, dword [ebp - 0x180]
sub eax, dword [ebp - 0x1bc]
add eax, dword [ebp - 0x188]
cdq
sub eax, edx
mov esi, eax
mov eax, 0
sar esi, 1
cmovs esi, eax
jmp 0x43eaa3
mov esi, dword [ebp - 0x1c0]
add esi, dword [ebp - 0x204]
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x1c0], esi
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
mov eax, dword [ebp - 0x1b4]
push dword [ebp - 0x1b0]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xf4]
cmovne eax, ecx
mov dword [ebp - 0xf8], esi
mov ecx, dword [ebp - 0x220]
test ecx, ecx
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf0]
cmovne eax, ecx
mov dword [ebp - 0xf0], eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43eb52
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x1e0]
push dword [ebp - 0x1c4]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1cc]
push dword [ebp - 0x1dc]
push dword [ebp - 0x1c8]
push dword [ebp - 0x1bc]
push dword [ebp - 0xec]
jmp 0x43ec2f
cmp dword [ebp - 0x224], 0
jne 0x43eb13
lea eax, [esi + 1]
mov esi, ebx
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x1b4]
inc eax
mov dword [ebp - 0xfc], eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x43eb76
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x6c]
sub esi, ecx
push eax
push dword [ebp - 0x1e0]
push dword [ebp - 0x1c4]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1cc]
push dword [ebp - 0x1dc]
push dword [ebp - 0x1c8]
push dword [ebp - 0x1bc]
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
lea eax, [ebp - 0xfc]
push eax
push 0
lea eax, [ebp - 0x1ac]
push eax
push edi
call fcn.00440fc0
mov eax, dword [ebp - 0x1c0]
add esp, 0x3c
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x6c]
push dword [ebp - 0x1b8]
mov byte [esi + ebx], 0
push eax
push dword [ebp - 0x1e0]
push dword [ebp - 0x1c4]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1cc]
push dword [ebp - 0x1dc]
push dword [ebp - 0x1c8]
push dword [ebp - 0x1bc]
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
lea eax, [ebp - 0xfc]
push eax
push 0
lea eax, [ebp - 0x1ac]
push eax
push edi
call fcn.00440fc0
add esp, 0x3c
mov eax, dword [ebp - 0x180]
mov edx, dword [ebp - 0x188]
sub eax, edx
mov ecx, dword [ebp - 0x18c]
push 0xcc0020
push 0
push 0
push edi
push eax
mov eax, dword [ebp - 0x184]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebp - 0x1ec]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x43ec93
push 0
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push dword [ebp - 0x238]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x43ecb8
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x190]
call fcn.0048737c
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret