Function at 0x43bd10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x4ccbf8]
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 [0x4a1cc8]
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.004811a0
push 0x32
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.004811a0
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 0x43bdef
push 0x2cf3
push str.D:MyProjectsProPilotLibLibMain.c
push fcn.00483b6d
push 0
lea eax, [ebp - 0x190]
push esi
push eax
call fcn.0041d090
add esp, 0x18
mov ebx, eax
jmp 0x43be1f
push 0
push 0
push 0xe
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
lea ebx, [eax + 1]
push ebx
call fcn.00486927
add esp, 4
mov dword [ebp - 0x190], eax
test eax, eax
je 0x43e266
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test edi, edi
je 0x43be7d
mov eax, dword [0x4edef8]
test eax, eax
je 0x43be6b
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x43be6b
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x43be4a
mov dword [0x4edefc], edx
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x43be6b
mov eax, dword [eax + 0x1f2c]
test eax, eax
je 0x43be6b
push 0x4a1c6c
push edi
call eax
add esp, 8
mov edi, eax
jmp 0x43be7f
push 0x4a1c6c
push edi
call fcn.004364d0
add esp, 8
mov edi, eax
jmp 0x43be7f
xor edi, edi
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x194], edi
cmp byte [ecx], 0x7c
je 0x43bee2
test edi, edi
je 0x43bedc
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x43be97
sub edi, edx
lea esi, [edi + ebx]
push esi
push ecx
call fcn.00483b6d
push ebx
push eax
mov dword [ebp - 0x190], eax
add eax, edi
push eax
call fcn.00480c20
sub esi, ebx
push esi
push dword [ebp - 0x194]
push dword [ebp - 0x190]
call fcn.00480c20
mov edi, dword [ebp - 0x1b0]
add esp, 0x20
jmp 0x43bff5
push ecx
jmp 0x43e25e
push 0x7c
push ecx
call fcn.0048e319
mov edi, dword [ebp - 0x1b0]
add esp, 8
mov esi, eax
test edi, edi
je 0x43bf4f
mov eax, dword [0x4edef8]
test eax, eax
je 0x43bf3f
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x43bf3f
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x43bf20
mov dword [0x4edefc], edx
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x43bf3f
mov eax, dword [eax + 0x1f2c]
test eax, eax
je 0x43bf3f
push 0x4a1c6c
push edi
call eax
add esp, 8
jmp 0x43bf51
push 0x4a1c6c
push edi
call fcn.004364d0
add esp, 8
jmp 0x43bf51
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.00483b6d
inc esi
push esi
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.0041d090
add esp, 0x18
test edi, edi
je 0x43bff5
mov eax, dword [0x4edef8]
test eax, eax
je 0x43bfd7
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x43bfd7
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x43bfab
mov dword [0x4edefc], edx
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x43bfd7
mov eax, dword [eax + 0x1f28]
test eax, eax
je 0x43bfd7
push 0x2d0f
push str.D:MyProjectsProPilotLibLibMain.c
push dword [ebp - 0x194]
push 0x4a1c6c
push edi
call eax
jmp 0x43bff2
push 0x2d0f
push str.D:MyProjectsProPilotLibLibMain.c
push dword [ebp - 0x194]
push 0x4a1c6c
push edi
call fcn.00441d20
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 0x43c065
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 0x43c06f
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 0x43c0a0
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 [0x4edef8]
test eax, eax
je 0x43c106
mov eax, dword [eax + 0xdcc]
test eax, eax
je 0x43c106
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 0x43c17d
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 0x43c17d
push eax
lea eax, [ebp - 0x18c]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov esi, dword [ebp - 0x1ec]
jmp 0x43c1b0
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 0x43c1d0
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.0048ca3c
mov esi, eax
add esp, 8
test esi, esi
je 0x43dffd
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1b8], eax
nop dword [eax]
mov al, byte [esi + 1]
test al, al
je 0x43dfe7
cmp byte [esi + 2], 0x3d
je 0x43c289
cmp al, 0x3f
jne 0x43dfe7
mov byte [esi], 0
cmp esi, ebx
jbe 0x43c4e8
push 0xfffffffffffffff0
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x200
je 0x43c2ce
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 0x43c378
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 0x43c4ae
cmp dword [ebp - 0x224], 0
je 0x43c3c7
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 0x43c4ae
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 0x43c3e4
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.00440560
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.00440560
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 0x43dfd4
mov byte [esi], 0x20
mov al, 0x20
nop dword [eax]
cmp al, 0x7c
je 0x43dfd7
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 0x43c519
inc esi
push 0x7c
push esi
call fcn.0048ca3c
mov ebx, eax
mov dword [ebp - 0x210], eax
add esp, 8
test ebx, ebx
je 0x43dfd4
push 0x2c
push esi
call fcn.0048ca3c
add esp, 8
test eax, eax
je 0x43c54e
cmp eax, ebx
cmovb ebx, eax
mov dword [ebp - 0x210], ebx
mov ecx, ebx
sub ecx, esi
cmp ecx, 0x31
jle 0x43c59a
mov ecx, 0x31
mov eax, 0x31
cmp ecx, eax
cmovb eax, ecx
push eax
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.0041d160
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.0x43c593.64
movzx eax, byte [eax + 0x43e2c8]
jmp dword [eax*4 + 0x43e278]
test ecx, ecx
jg 0x43c55c
xor cl, cl
mov byte [ebp - 0x38], cl
jmp 0x43c577
lea eax, [ebp - 0x38]
push eax
call fcn.004877a2
add esp, 4
add dword [ebp - 0x1b4], eax
jmp case.0x43c593.64
lea eax, [ebp - 0x38]
push eax
call fcn.004877a2
add esp, 4
mov dword [ebp - 0x22c], eax
jmp case.0x43c593.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 0x43c5e0
cmp byte [ebp - 0xa0], al
je case.0x43c593.64
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x17c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c611
sub ecx, edx
cmp ecx, 8
jne 0x43c648
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0xa0]
push 0x4b1e70
push eax
call fcn.00401063
add esp, 0xc
test eax, eax
jne 0x43c71a
mov dword [ebp - 0x17c], eax
mov eax, dword [0x4edef8]
test eax, eax
je 0x43c7ff
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 0x43c6ab
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 [0x4edef8]
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 0x43c7c4
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 0x43c7ca
mov eax, dword [ebp - 0x17c]
test eax, eax
je 0x43c648
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 0x43c648
push 0xfffffffffffffff0
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x200
je 0x43c783
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 0x43c789
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.0x43c593.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 0x43c7ff
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.0x43c593.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 0x43c820
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.0x43c593.64
cmp cl, 0x3f
jne 0x43c8b7
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 0x43c8a0
jmp case.0x43c593.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 0x43c8c0
jmp case.0x43c593.64
cmp cl, 0x3f
jne 0x43c8ea
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x1bc], ecx
jmp case.0x43c593.64
lea eax, [ebp - 0x38]
push eax
call fcn.004877a2
add esp, 4
mov dword [ebp - 0x1bc], eax
jmp case.0x43c593.64
cmp cl, 0x3f
jne 0x43c917
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x1c8], ecx
jmp case.0x43c593.64
lea eax, [ebp - 0x38]
push eax
call fcn.004877a2
add esp, 4
mov dword [ebp - 0x1c8], eax
jmp case.0x43c593.64
mov eax, dword [ebp - 0x1f4]
movsx eax, byte [eax]
add eax, 0xffffff9e
cmp eax, 0x12
ja case.0x43c946.99
movzx eax, byte [eax + 0x43e318]
jmp dword [eax*4 + 0x43e304]
lea eax, [ebp - 0x38]
push eax
call fcn.004877a2
add esp, 4
mov dword [ebp - 0x204], eax
jmp case.0x43c593.64
lea eax, [ebp - 0x38]
push eax
call fcn.004877a2
mov ecx, dword [ebp - 0x180]
add esp, 4
sub ecx, eax
mov dword [ebp - 0x220], ecx
jmp case.0x43c593.64
lea eax, [ebp - 0x38]
push eax
call fcn.004877a2
mov ecx, dword [ebp - 0x184]
add esp, 4
sub ecx, eax
mov dword [ebp - 0x21c], ecx
jmp case.0x43c593.64
lea eax, [ebp - 0x38]
push eax
call fcn.004877a2
add esp, 4
mov dword [ebp - 0x1dc], eax
jmp case.0x43c593.64
cmp cl, 0x3f
jne 0x43c9cf
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x1cc], ecx
jmp case.0x43c593.64
lea eax, [ebp - 0x38]
push eax
call fcn.004877a2
add esp, 4
mov dword [ebp - 0x1cc], eax
jmp case.0x43c593.64
lea eax, [ebp - 0x38]
push eax
call fcn.004877a2
add esp, 4
test eax, eax
je 0x43ca05
or dword [ebp - 0x1b8], 0x10000000
jmp case.0x43c593.64
and dword [ebp - 0x1b8], 0xefffffff
jmp case.0x43c593.64
cmp cl, 0x3f
jne 0x43ca2b
movzx ecx, byte [ebp - 0x12c]
mov dword [ebp - 0x1d0], ecx
jmp case.0x43c593.64
lea eax, [ebp - 0x38]
push eax
call fcn.004877a2
add esp, 4
mov dword [ebp - 0x1d0], eax
jmp case.0x43c593.64
cmp cl, 0x3f
jne 0x43ca59
movzx ecx, byte [ebp - 0x12b]
mov dword [ebp - 0x1c4], ecx
jmp case.0x43c593.64
lea eax, [ebp - 0x38]
push eax
call fcn.004877a2
add esp, 4
mov dword [ebp - 0x1c4], eax
jmp case.0x43c593.64
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x38]
push 0x4b1e70
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 [0x4edef8]
test eax, eax
je 0x43cb39
cmp dword [eax + 0xdd0], 0
je 0x43cb39
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.00427490
push eax
call fcn.004267c0
mov eax, dword [0x4edef8]
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.00427490
add esp, 8
push eax
jmp 0x43dfa0
cmp cl, 0x3f
je 0x43cb76
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x38]
push 0x4b1e70
push eax
call fcn.00401063
add esp, 0xc
test eax, eax
jne case.0x43c593.64
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0xec], eax
jmp case.0x43c593.64
cmp cl, 0x3f
je 0x43cbae
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x38]
push 0x4b1e70
push eax
call fcn.00401063
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x1a8]
jne 0x43cbb4
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 [0x4edef8]
test eax, eax
je 0x43dfa8
cmp dword [eax + 0xdd0], 0
je 0x43dfa8
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.004267c0
mov eax, dword [0x4edef8]
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 0x43dfa8
push dword [ebp - 0x1b0]
movsx esi, cl
sub esi, 0x30
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43cc5e
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x37]
push 0x4b1e70
push eax
call fcn.00401063
add esp, 0xc
test eax, eax
je 0x43cc5e
mov eax, dword [ebp - 0x19c]
jmp 0x43cc66
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [0x4edef8]
or eax, 0x2000000
mov dword [ebp - 0x19c], eax
test ecx, ecx
je 0x43ccc7
cmp dword [ecx + 0xdd0], 0
je 0x43ccc7
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.004267c0
mov eax, dword [0x4edef8]
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 0x43dfbc
mov ebx, dword [ebp - 0x1b0]
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43ced8
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.0042ab00
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.0042ab00
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.0x43c593.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.0x43c593.64
lea eax, [ebp - 0x38]
push eax
call fcn.004877a2
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 0x43d546
sub ecx, 1
je 0x43d2f0
sub ecx, 1
jne 0x43d28b
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 0x43d0d6
push 0x12
call esi
mov edx, eax
movsd xmm4, qword [0x4a1de8]
movsd xmm3, qword [0x4a1da0]
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 [0x4a1dc8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, ecx
addsd xmm0, qword [eax*8 + 0x4a12a0]
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 + 0x4a12a0]
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 + 0x4a12a0]
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 + 0x4a12a0]
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 + 0x4a12a0]
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 + 0x4a12a0]
mulsd xmm0, xmm2
addsd xmm1, xmm0
cvttsd2si eax, xmm1
movzx eax, al
or ecx, eax
jmp 0x43d0ed
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 + 0x4a12a0]
shr eax, 0x1f
cvtdq2pd xmm5, xmm5
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
movaps xmm2, xmm1
addsd xmm5, qword [eax*8 + 0x4a12a0]
mulsd xmm2, qword [0x4a1dd8]
mov eax, dword [ebp - 0x1e4]
movzx eax, al
movaps xmm0, xmm5
mulsd xmm0, qword [0x4a1df8]
addsd xmm2, xmm0
movsd qword [ebp - 0x218], xmm2
movd xmm2, eax
shr eax, 0x1f
cvtdq2pd xmm2, xmm2
addsd xmm2, qword [eax*8 + 0x4a12a0]
mov eax, ecx
shr ecx, 0x10
shr eax, 8
movzx eax, al
movaps xmm3, xmm2
mulsd xmm3, qword [0x4a1dd8]
movd xmm6, eax
shr eax, 0x1f
cvtdq2pd xmm6, xmm6
addsd xmm6, qword [eax*8 + 0x4a12a0]
movzx eax, bl
mov ebx, dword [ebp - 0x1fc]
movaps xmm0, xmm6
mulsd xmm0, qword [0x4a1df8]
addsd xmm3, xmm0
movsd qword [ebp - 0x1e8], xmm3
movd xmm3, eax
cvtdq2pd xmm3, xmm3
shr eax, 0x1f
addsd xmm3, qword [eax*8 + 0x4a12a0]
movzx eax, cl
movd xmm7, eax
movaps xmm4, xmm3
mulsd xmm4, qword [0x4a1dd8]
shr eax, 0x1f
cvtdq2pd xmm7, xmm7
addsd xmm7, qword [eax*8 + 0x4a12a0]
movaps xmm0, xmm7
mulsd xmm0, qword [0x4a1df8]
addsd xmm4, xmm0
movsd qword [ebp - 0x1d8], xmm4
test bl, 1
jne 0x43d256
movsd xmm4, qword [0x4a1e00]
movsd xmm0, qword [0x4a1dc8]
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 0x43db47
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 0x43db47
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 0x43db47
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 + 0x4a12a0]
movzx ecx, bl
shr eax, 0x1f
cvtdq2pd xmm6, xmm6
movd xmm1, ecx
movaps xmm0, xmm5
addsd xmm6, qword [eax*8 + 0x4a12a0]
mulsd xmm0, qword [0x4a1e00]
mov eax, ebx
shr ecx, 0x1f
cvtdq2pd xmm1, xmm1
shr eax, 8
movzx eax, al
shr ebx, 0x10
addsd xmm1, qword [ecx*8 + 0x4a12a0]
movaps xmm2, xmm1
mulsd xmm2, qword [0x4a1dc8]
addsd xmm2, xmm0
movaps xmm0, xmm6
mulsd xmm0, qword [0x4a1e00]
movsd qword [ebp - 0x218], xmm2
movd xmm2, eax
shr eax, 0x1f
cvtdq2pd xmm2, xmm2
addsd xmm2, qword [eax*8 + 0x4a12a0]
movzx eax, dl
movd xmm7, eax
movaps xmm3, xmm2
mulsd xmm3, qword [0x4a1dc8]
shr eax, 0x1f
cvtdq2pd xmm7, xmm7
addsd xmm3, xmm0
addsd xmm7, qword [eax*8 + 0x4a12a0]
movzx eax, bl
mov ebx, dword [ebp - 0x1fc]
movsd qword [ebp - 0x1e8], xmm3
movd xmm3, eax
movaps xmm0, xmm7
mulsd xmm0, qword [0x4a1e00]
shr eax, 0x1f
cvtdq2pd xmm3, xmm3
addsd xmm3, qword [eax*8 + 0x4a12a0]
movaps xmm4, xmm3
mulsd xmm4, qword [0x4a1dc8]
addsd xmm4, xmm0
movsd qword [ebp - 0x1d8], xmm4
test bl, 1
jne 0x43d453
movsd xmm4, qword [0x4a1e00]
movsd xmm0, qword [0x4a1dc8]
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 0x43d483
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 [0x4a1df0]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1dc0]
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1d70]
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 [0x4a1df0]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1dc0]
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x1d8]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1d70]
addsd xmm1, xmm0
cvttsd2si ecx, xmm1
movzx ecx, cl
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x1e
jmp 0x43da7f
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 [0x4a1df0]
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 [0x4a1dc0]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
movsd xmm7, qword [0x4a1d70]
addsd xmm0, qword [eax*8 + 0x4a12a0]
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 + 0x4a12a0]
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 + 0x4a12a0]
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 + 0x4a12a0]
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 + 0x4a12a0]
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 + 0x4a12a0]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm7
addsd xmm1, xmm0
movaps xmm0, xmm4
mulsd xmm0, qword [0x4a1e18]
cvttsd2si eax, xmm1
movzx eax, al
movd xmm2, eax
mov eax, dword [ebp - 0x17c]
cvtdq2pd xmm2, xmm2
movaps xmm3, xmm2
mulsd xmm3, qword [0x4a1d88]
addsd xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a12a0]
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 + 0x4a12a0]
mov eax, dword [ebp - 0x1d4]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm6
movsd xmm6, qword [0x4a1dd0]
mulsd xmm2, xmm6
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a12a0]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm7
movsd xmm7, qword [0x4a1dc8]
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 [0x4a1e40]
addsd xmm0, xmm2
subsd xmm3, xmm0
xorps xmm0, xmm0
maxsd xmm0, xmm3
subsd xmm4, xmm0
comisd xmm1, xmm4
movsd qword [ebp - 0x234], xmm4
jbe 0x43d7ca
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 + 0x4a12a0]
cvtsi2sd xmm5, esi
shr esi, 0x1f
mov ebx, dword [ebp - 0x1fc]
addsd xmm2, qword [ecx*8 + 0x4a12a0]
mulsd xmm1, xmm6
xorps xmm3, xmm3
addsd xmm5, qword [esi*8 + 0x4a12a0]
cvtsi2sd xmm3, eax
shr eax, 0x1f
movaps xmm0, xmm2
mulsd xmm0, xmm7
addsd xmm3, qword [eax*8 + 0x4a12a0]
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 + 0x4a12a0]
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 + 0x4a12a0]
mov eax, dword [ebp - 0x208]
mulsd xmm1, qword [0x4a1dd0]
cvtsi2sd xmm7, eax
shr eax, 0x1f
addsd xmm1, xmm0
movaps xmm0, xmm3
mulsd xmm0, qword [0x4a1dd0]
addsd xmm7, qword [eax*8 + 0x4a12a0]
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 + 0x4a12a0]
mov eax, dword [ebp - 0x1d4]
movsd qword [ebp - 0x1e8], xmm0
movaps xmm0, xmm7
mulsd xmm0, qword [0x4a1dc8]
cvtsi2sd xmm1, eax
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4a12a0]
mulsd xmm1, qword [0x4a1dd0]
addsd xmm1, xmm0
movaps xmm0, xmm4
mulsd xmm0, qword [0x4a1dd0]
addsd xmm1, xmm0
xorps xmm0, xmm0
subsd xmm1, qword [ebp - 0x234]
maxsd xmm0, xmm1
movsd qword [ebp - 0x1d8], xmm0
test bl, 1
jne 0x43d98b
movsd xmm1, qword [0x4a1e18]
movsd xmm0, qword [0x4a1d88]
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 0x43d9bb
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 [0x4a1df0]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1dc0]
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1d70]
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 [0x4a1df0]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1dc0]
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x1d8]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4a1d70]
addsd xmm1, xmm0
cvttsd2si ecx, xmm1
movzx ecx, cl
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x32
jge 0x43da8b
push 0x12
call esi
mov dword [ebp - 0xec], eax
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x43db47
mov edx, dword [ebp - 0xec]
mov eax, edx
movsd xmm2, qword [0x4a1da0]
movsd xmm3, qword [0x4a1e10]
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 0x43ddaf
mov ecx, dword [0x4edef8]
test ecx, ecx
je 0x43dd33
cmp dword [ecx + 0xdd0], 0
jne 0x43dd33
mov eax, dword [0x4edf08]
mov dword [ebp - 0x230], eax
test eax, eax
je 0x43dd33
test bl, 1
jne 0x43dd33
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 0x43dd1a
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 [0x4edf08]
mov dword [ebp - 0x104], 2
mov dword [ebp - 0x100], 3
test eax, eax
je case.0x43c593.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.0x43c593.64
mov dword [ebp - 0x104], 2
mov dword [ebp - 0x100], 3
jmp case.0x43c593.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 0x43dda9
cmp dword [ecx + 0xdd0], 0
je 0x43dda9
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.004267c0
mov eax, dword [0x4edef8]
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 0x43dfa0
push 0xf
call esi
push 0x10
mov ebx, eax
call esi
mov edx, eax
movsd xmm5, qword [0x4a1e08]
movzx ecx, dl
movsd xmm6, qword [0x4a1db0]
movzx esi, bl
movd xmm4, ecx
shr ecx, 0x1f
cvtdq2pd xmm4, xmm4
addsd xmm4, qword [ecx*8 + 0x4a12a0]
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 + 0x4a12a0]
movzx eax, dl
movd xmm2, eax
shr eax, 0x1f
cvtdq2pd xmm2, xmm2
addsd xmm2, qword [eax*8 + 0x4a12a0]
movzx eax, bl
movd xmm1, eax
movaps xmm0, xmm2
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
mulsd xmm0, xmm6
addsd xmm1, qword [eax*8 + 0x4a12a0]
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 + 0x4a12a0]
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 + 0x4a12a0]
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 + 0x4a12a0]
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 + 0x4a12a0]
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 + 0x4a12a0]
mulsd xmm0, xmm6
addsd xmm0, xmm4
cvttsd2si eax, xmm0
movzx eax, al
or edx, eax
mov eax, dword [0x4edef8]
mov dword [ebp - 0xec], edx
test eax, eax
je 0x43df9f
cmp dword [eax + 0xdd0], 0
je 0x43df9f
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.004267c0
mov eax, dword [0x4edef8]
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.0x43c593.64
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x210]
mov al, byte [esi]
test al, al
jne 0x43c4f0
jmp 0x43dfd7
mov byte [esi], 0
cmp byte [esi], 0
je 0x43dfdd
inc esi
mov ebx, esi
mov dword [ebp - 0x17c], ebx
jmp 0x43dfe8
inc esi
push 0x7c
push esi
call fcn.0048ca3c
mov esi, eax
add esp, 8
test esi, esi
jne 0x43c270
test ebx, ebx
je 0x43e1e9
push 0xfffffffffffffff0
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x200
je 0x43e03d
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 0x43e043
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 0x43e0f2
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 0x43e1cf
cmp dword [ebp - 0x224], 0
jne 0x43e0b3
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 0x43e116
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.00440560
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.00440560
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 0x43e233
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 0x43e258
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x190]
call fcn.0048690c
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047f41c
mov esp, ebp
pop ebp
ret