Function at 0x4257d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x4a9bf0]
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 [0x480cac]
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.00464960
push 0x32
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.00464960
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 0x4258af
push 0x2cec
push str.D:MyProjectsProPilotLibLibMain.c
push fcn.00466ae4
push 0
lea eax, [ebp - 0x190]
push esi
push eax
call fcn.00408760
add esp, 0x18
mov ebx, eax
jmp 0x4258df
push 0
push 0
push 0xe
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
lea ebx, [eax + 1]
push ebx
call fcn.0046dc45
add esp, 4
mov dword [ebp - 0x190], eax
test eax, eax
je 0x427d16
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [0x4bd734]
test eax, eax
je 0x425922
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x425922
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x425906
mov dword [0x4bd738], edx
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x425922
mov eax, dword [eax + 0x1f2c]
test eax, eax
je 0x425922
push 0x480c48
push edi
call eax
jmp 0x42592d
push 0x480c48
push edi
call fcn.00420310
mov ecx, dword [ebp - 0x190]
mov edi, eax
add esp, 8
mov dword [ebp - 0x194], edi
cmp byte [ecx], 0x7c
je 0x42599b
test edi, edi
je 0x425995
lea edx, [edi + 1]
nop word [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x425950
sub edi, edx
lea esi, [edi + ebx]
push esi
push ecx
call fcn.00466ae4
push ebx
push eax
mov dword [ebp - 0x190], eax
add eax, edi
push eax
call fcn.004643e0
sub esi, ebx
push esi
push dword [ebp - 0x194]
push dword [ebp - 0x190]
call fcn.004643e0
mov edi, dword [ebp - 0x1b0]
add esp, 0x20
jmp 0x425aa4
push ecx
jmp 0x427d0e
push 0x7c
push ecx
call fcn.0046f111
mov esi, eax
add esp, 8
mov eax, dword [0x4bd734]
test eax, eax
je 0x4259f1
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x4259f1
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x4259cf
mov dword [0x4bd738], edx
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x4259f1
mov eax, dword [eax + 0x1f2c]
test eax, eax
je 0x4259f1
mov edi, dword [ebp - 0x1b0]
push 0x480c48
push edi
call eax
jmp 0x425a02
mov edi, dword [ebp - 0x1b0]
push 0x480c48
push edi
call fcn.00420310
add esp, 8
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x190]
sub esi, eax
inc esi
push 0x2d07
push str.D:MyProjectsProPilotLibLibMain.c
push fcn.00466ae4
push esi
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.00408760
mov ecx, dword [0x4bd734]
add esp, 0x18
test ecx, ecx
je 0x425a86
mov eax, dword [ecx + 4]
test eax, 0x40000000
je 0x425a86
mov edx, dword [ecx + 0x1f0c]
test edx, edx
je 0x425a5b
mov dword [0x4bd738], edx
mov eax, dword [ecx + 4]
test eax, 0x40000000
je 0x425a86
mov eax, dword [ecx + 0x1f28]
test eax, eax
je 0x425a86
push 0x2d08
push str.D:MyProjectsProPilotLibLibMain.c
push dword [ebp - 0x194]
push 0x480c48
push edi
call eax
jmp 0x425aa1
push 0x2d08
push str.D:MyProjectsProPilotLibLibMain.c
push dword [ebp - 0x194]
push 0x480c48
push edi
call fcn.0042b4e0
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 0x425b14
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 0x425b1e
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 0x425b4f
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 [0x4bd734]
test eax, eax
je 0x425bb5
mov eax, dword [eax + 0xdcc]
test eax, eax
je 0x425bb5
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 0x425c2c
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 0x425c2c
push eax
lea eax, [ebp - 0x18c]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov esi, dword [ebp - 0x1ec]
jmp 0x425c5f
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 dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x124]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x6d], al
test al, al
jne 0x425c80
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.0046e733
mov esi, eax
add esp, 8
test esi, esi
je 0x427aad
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1b8], eax
nop dword [eax]
mov al, byte [esi + 1]
test al, al
je 0x427a97
cmp byte [esi + 2], 0x3d
je 0x425d39
cmp al, 0x3f
jne 0x427a97
mov byte [esi], 0
cmp esi, ebx
jbe 0x425f98
push 0xfffffffffffffff0
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x200
je 0x425d7e
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 0x425e28
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 0x425f5e
cmp dword [ebp - 0x224], 0
je 0x425e77
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 0x425f5e
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 0x425e94
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.00429fc0
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.00429fc0
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 0x427a84
mov byte [esi], 0x20
mov al, 0x20
nop dword [eax]
cmp al, 0x7c
je 0x427a87
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 0x425fc9
inc esi
push 0x7c
push esi
call fcn.0046e733
mov ebx, eax
mov dword [ebp - 0x210], eax
add esp, 8
test ebx, ebx
je 0x427a84
push 0x2c
push esi
call fcn.0046e733
add esp, 8
test eax, eax
je 0x425ffe
cmp eax, ebx
cmovb ebx, eax
mov dword [ebp - 0x210], ebx
mov ecx, ebx
sub ecx, esi
cmp ecx, 0x31
jle 0x42604a
mov ecx, 0x31
mov eax, 0x31
cmp ecx, eax
cmovb eax, ecx
push eax
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.00408830
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.0x426043.64
movzx eax, byte [eax + 0x427d78]
jmp dword [eax*4 + 0x427d28]
test ecx, ecx
jg 0x42600c
xor cl, cl
mov byte [ebp - 0x38], cl
jmp 0x426027
lea eax, [ebp - 0x38]
push eax
call fcn.00468c82
add esp, 4
add dword [ebp - 0x1b4], eax
jmp case.0x426043.64
lea eax, [ebp - 0x38]
push eax
call fcn.00468c82
add esp, 4
mov dword [ebp - 0x22c], eax
jmp case.0x426043.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 0x426090
cmp byte [ebp - 0xa0], al
je case.0x426043.64
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x17c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4260c1
sub ecx, edx
cmp ecx, 8
jne 0x4260f8
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0xa0]
push 0x490d18
push eax
call fcn.00401070
add esp, 0xc
test eax, eax
jne 0x4261ca
mov dword [ebp - 0x17c], eax
mov eax, dword [0x4bd734]
test eax, eax
je 0x4262af
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 0x42615b
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 [0x4bd734]
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 0x426274
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 0x42627a
mov eax, dword [ebp - 0x17c]
test eax, eax
je 0x4260f8
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 0x4260f8
push 0xfffffffffffffff0
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x200
je 0x426233
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 0x426239
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.0x426043.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 0x4262af
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.0x426043.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 0x4262d0
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.0x426043.64
cmp cl, 0x3f
jne 0x426367
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 0x426350
jmp case.0x426043.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 0x426370
jmp case.0x426043.64
cmp cl, 0x3f
jne 0x42639a
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x1bc], ecx
jmp case.0x426043.64
lea eax, [ebp - 0x38]
push eax
call fcn.00468c82
add esp, 4
mov dword [ebp - 0x1bc], eax
jmp case.0x426043.64
cmp cl, 0x3f
jne 0x4263c7
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x1c8], ecx
jmp case.0x426043.64
lea eax, [ebp - 0x38]
push eax
call fcn.00468c82
add esp, 4
mov dword [ebp - 0x1c8], eax
jmp case.0x426043.64
mov eax, dword [ebp - 0x1f4]
movsx eax, byte [eax]
add eax, 0xffffff9e
cmp eax, 0x12
ja case.0x4263f6.99
movzx eax, byte [eax + 0x427dc8]
jmp dword [eax*4 + 0x427db4]
lea eax, [ebp - 0x38]
push eax
call fcn.00468c82
add esp, 4
mov dword [ebp - 0x204], eax
jmp case.0x426043.64
lea eax, [ebp - 0x38]
push eax
call fcn.00468c82
mov ecx, dword [ebp - 0x180]
add esp, 4
sub ecx, eax
mov dword [ebp - 0x220], ecx
jmp case.0x426043.64
lea eax, [ebp - 0x38]
push eax
call fcn.00468c82
mov ecx, dword [ebp - 0x184]
add esp, 4
sub ecx, eax
mov dword [ebp - 0x21c], ecx
jmp case.0x426043.64
lea eax, [ebp - 0x38]
push eax
call fcn.00468c82
add esp, 4
mov dword [ebp - 0x1dc], eax
jmp case.0x426043.64
cmp cl, 0x3f
jne 0x42647f
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x1cc], ecx
jmp case.0x426043.64
lea eax, [ebp - 0x38]
push eax
call fcn.00468c82
add esp, 4
mov dword [ebp - 0x1cc], eax
jmp case.0x426043.64
lea eax, [ebp - 0x38]
push eax
call fcn.00468c82
add esp, 4
test eax, eax
je 0x4264b5
or dword [ebp - 0x1b8], 0x10000000
jmp case.0x426043.64
and dword [ebp - 0x1b8], 0xefffffff
jmp case.0x426043.64
cmp cl, 0x3f
jne 0x4264db
movzx ecx, byte [ebp - 0x12c]
mov dword [ebp - 0x1d0], ecx
jmp case.0x426043.64
lea eax, [ebp - 0x38]
push eax
call fcn.00468c82
add esp, 4
mov dword [ebp - 0x1d0], eax
jmp case.0x426043.64
cmp cl, 0x3f
jne 0x426509
movzx ecx, byte [ebp - 0x12b]
mov dword [ebp - 0x1c4], ecx
jmp case.0x426043.64
lea eax, [ebp - 0x38]
push eax
call fcn.00468c82
add esp, 4
mov dword [ebp - 0x1c4], eax
jmp case.0x426043.64
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x38]
push 0x490d18
push eax
call fcn.00401070
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 [0x4bd734]
test eax, eax
je 0x4265e9
cmp dword [eax + 0xdd0], 0
je 0x4265e9
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.00411840
push eax
call fcn.00410c40
mov eax, dword [0x4bd734]
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.00411840
add esp, 8
push eax
jmp 0x427a50
cmp cl, 0x3f
je 0x426626
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x38]
push 0x490d18
push eax
call fcn.00401070
add esp, 0xc
test eax, eax
jne case.0x426043.64
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0xec], eax
jmp case.0x426043.64
cmp cl, 0x3f
je 0x42665e
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x38]
push 0x490d18
push eax
call fcn.00401070
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x1a8]
jne 0x426664
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 [0x4bd734]
test eax, eax
je 0x427a58
cmp dword [eax + 0xdd0], 0
je 0x427a58
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.00410c40
mov eax, dword [0x4bd734]
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 0x427a58
push dword [ebp - 0x1b0]
movsx esi, cl
sub esi, 0x30
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42670e
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x37]
push 0x490d18
push eax
call fcn.00401070
add esp, 0xc
test eax, eax
je 0x42670e
mov eax, dword [ebp - 0x19c]
jmp 0x426716
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [0x4bd734]
or eax, 0x2000000
mov dword [ebp - 0x19c], eax
test ecx, ecx
je 0x426777
cmp dword [ecx + 0xdd0], 0
je 0x426777
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.00410c40
mov eax, dword [0x4bd734]
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 0x427a6c
mov ebx, dword [ebp - 0x1b0]
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x426988
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.00414cb0
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.00414cb0
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.0x426043.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.0x426043.64
lea eax, [ebp - 0x38]
push eax
call fcn.00468c82
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 0x426ff6
sub ecx, 1
je 0x426da0
sub ecx, 1
jne 0x426d3b
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 0x426b86
push 0x12
call esi
mov edx, eax
movsd xmm4, qword [0x480dc8]
movsd xmm3, qword [0x480d80]
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 [0x480da8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, ecx
addsd xmm0, qword [eax*8 + 0x4801d0]
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 + 0x4801d0]
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 + 0x4801d0]
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 + 0x4801d0]
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 + 0x4801d0]
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 + 0x4801d0]
mulsd xmm0, xmm2
addsd xmm1, xmm0
cvttsd2si eax, xmm1
movzx eax, al
or ecx, eax
jmp 0x426b9d
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 + 0x4801d0]
shr eax, 0x1f
cvtdq2pd xmm5, xmm5
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
movaps xmm2, xmm1
addsd xmm5, qword [eax*8 + 0x4801d0]
mulsd xmm2, qword [0x480db8]
mov eax, dword [ebp - 0x1e4]
movzx eax, al
movaps xmm0, xmm5
mulsd xmm0, qword [0x480dd8]
addsd xmm2, xmm0
movsd qword [ebp - 0x218], xmm2
movd xmm2, eax
shr eax, 0x1f
cvtdq2pd xmm2, xmm2
addsd xmm2, qword [eax*8 + 0x4801d0]
mov eax, ecx
shr ecx, 0x10
shr eax, 8
movzx eax, al
movaps xmm3, xmm2
mulsd xmm3, qword [0x480db8]
movd xmm6, eax
shr eax, 0x1f
cvtdq2pd xmm6, xmm6
addsd xmm6, qword [eax*8 + 0x4801d0]
movzx eax, bl
mov ebx, dword [ebp - 0x1fc]
movaps xmm0, xmm6
mulsd xmm0, qword [0x480dd8]
addsd xmm3, xmm0
movsd qword [ebp - 0x1e8], xmm3
movd xmm3, eax
cvtdq2pd xmm3, xmm3
shr eax, 0x1f
addsd xmm3, qword [eax*8 + 0x4801d0]
movzx eax, cl
movd xmm7, eax
movaps xmm4, xmm3
mulsd xmm4, qword [0x480db8]
shr eax, 0x1f
cvtdq2pd xmm7, xmm7
addsd xmm7, qword [eax*8 + 0x4801d0]
movaps xmm0, xmm7
mulsd xmm0, qword [0x480dd8]
addsd xmm4, xmm0
movsd qword [ebp - 0x1d8], xmm4
test bl, 1
jne 0x426d06
movsd xmm4, qword [0x480de0]
movsd xmm0, qword [0x480da8]
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 0x4275f7
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 0x4275f7
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 0x4275f7
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 + 0x4801d0]
movzx ecx, bl
shr eax, 0x1f
cvtdq2pd xmm6, xmm6
movd xmm1, ecx
movaps xmm0, xmm5
addsd xmm6, qword [eax*8 + 0x4801d0]
mulsd xmm0, qword [0x480de0]
mov eax, ebx
shr ecx, 0x1f
cvtdq2pd xmm1, xmm1
shr eax, 8
movzx eax, al
shr ebx, 0x10
addsd xmm1, qword [ecx*8 + 0x4801d0]
movaps xmm2, xmm1
mulsd xmm2, qword [0x480da8]
addsd xmm2, xmm0
movaps xmm0, xmm6
mulsd xmm0, qword [0x480de0]
movsd qword [ebp - 0x218], xmm2
movd xmm2, eax
shr eax, 0x1f
cvtdq2pd xmm2, xmm2
addsd xmm2, qword [eax*8 + 0x4801d0]
movzx eax, dl
movd xmm7, eax
movaps xmm3, xmm2
mulsd xmm3, qword [0x480da8]
shr eax, 0x1f
cvtdq2pd xmm7, xmm7
addsd xmm3, xmm0
addsd xmm7, qword [eax*8 + 0x4801d0]
movzx eax, bl
mov ebx, dword [ebp - 0x1fc]
movsd qword [ebp - 0x1e8], xmm3
movd xmm3, eax
movaps xmm0, xmm7
mulsd xmm0, qword [0x480de0]
shr eax, 0x1f
cvtdq2pd xmm3, xmm3
addsd xmm3, qword [eax*8 + 0x4801d0]
movaps xmm4, xmm3
mulsd xmm4, qword [0x480da8]
addsd xmm4, xmm0
movsd qword [ebp - 0x1d8], xmm4
test bl, 1
jne 0x426f03
movsd xmm4, qword [0x480de0]
movsd xmm0, qword [0x480da8]
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 0x426f33
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 [0x480dd0]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x480da0]
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x480d50]
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 [0x480dd0]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x480da0]
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x1d8]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x480d50]
addsd xmm1, xmm0
cvttsd2si ecx, xmm1
movzx ecx, cl
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x1e
jmp 0x42752f
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 [0x480dd0]
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 [0x480da0]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
movsd xmm7, qword [0x480d50]
addsd xmm0, qword [eax*8 + 0x4801d0]
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 + 0x4801d0]
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 + 0x4801d0]
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 + 0x4801d0]
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 + 0x4801d0]
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 + 0x4801d0]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm7
addsd xmm1, xmm0
movaps xmm0, xmm4
mulsd xmm0, qword [0x480df8]
cvttsd2si eax, xmm1
movzx eax, al
movd xmm2, eax
mov eax, dword [ebp - 0x17c]
cvtdq2pd xmm2, xmm2
movaps xmm3, xmm2
mulsd xmm3, qword [0x480d68]
addsd xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4801d0]
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 + 0x4801d0]
mov eax, dword [ebp - 0x1d4]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm6
movsd xmm6, qword [0x480db0]
mulsd xmm2, xmm6
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4801d0]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm7
movsd xmm7, qword [0x480da8]
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 [0x480e20]
addsd xmm0, xmm2
subsd xmm3, xmm0
xorps xmm0, xmm0
maxsd xmm0, xmm3
subsd xmm4, xmm0
comisd xmm1, xmm4
movsd qword [ebp - 0x234], xmm4
jbe 0x42727a
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 + 0x4801d0]
cvtsi2sd xmm5, esi
shr esi, 0x1f
mov ebx, dword [ebp - 0x1fc]
addsd xmm2, qword [ecx*8 + 0x4801d0]
mulsd xmm1, xmm6
xorps xmm3, xmm3
addsd xmm5, qword [esi*8 + 0x4801d0]
cvtsi2sd xmm3, eax
shr eax, 0x1f
movaps xmm0, xmm2
mulsd xmm0, xmm7
addsd xmm3, qword [eax*8 + 0x4801d0]
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 + 0x4801d0]
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 + 0x4801d0]
mov eax, dword [ebp - 0x208]
mulsd xmm1, qword [0x480db0]
cvtsi2sd xmm7, eax
shr eax, 0x1f
addsd xmm1, xmm0
movaps xmm0, xmm3
mulsd xmm0, qword [0x480db0]
addsd xmm7, qword [eax*8 + 0x4801d0]
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 + 0x4801d0]
mov eax, dword [ebp - 0x1d4]
movsd qword [ebp - 0x1e8], xmm0
movaps xmm0, xmm7
mulsd xmm0, qword [0x480da8]
cvtsi2sd xmm1, eax
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4801d0]
mulsd xmm1, qword [0x480db0]
addsd xmm1, xmm0
movaps xmm0, xmm4
mulsd xmm0, qword [0x480db0]
addsd xmm1, xmm0
xorps xmm0, xmm0
subsd xmm1, qword [ebp - 0x234]
maxsd xmm0, xmm1
movsd qword [ebp - 0x1d8], xmm0
test bl, 1
jne 0x42743b
movsd xmm1, qword [0x480df8]
movsd xmm0, qword [0x480d68]
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 0x42746b
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 [0x480dd0]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x480da0]
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x480d50]
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 [0x480dd0]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x480da0]
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x1d8]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x480d50]
addsd xmm1, xmm0
cvttsd2si ecx, xmm1
movzx ecx, cl
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x32
jge 0x42753b
push 0x12
call esi
mov dword [ebp - 0xec], eax
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x4275f7
mov edx, dword [ebp - 0xec]
mov eax, edx
movsd xmm2, qword [0x480d80]
movsd xmm3, qword [0x480df0]
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 0x42785f
mov ecx, dword [0x4bd734]
test ecx, ecx
je 0x4277e3
cmp dword [ecx + 0xdd0], 0
jne 0x4277e3
mov eax, dword [0x4bd744]
mov dword [ebp - 0x230], eax
test eax, eax
je 0x4277e3
test bl, 1
jne 0x4277e3
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 0x4277ca
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 [0x4bd744]
mov dword [ebp - 0x104], 2
mov dword [ebp - 0x100], 3
test eax, eax
je case.0x426043.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.0x426043.64
mov dword [ebp - 0x104], 2
mov dword [ebp - 0x100], 3
jmp case.0x426043.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 0x427859
cmp dword [ecx + 0xdd0], 0
je 0x427859
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.00410c40
mov eax, dword [0x4bd734]
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 0x427a50
push 0xf
call esi
push 0x10
mov ebx, eax
call esi
mov edx, eax
movsd xmm5, qword [0x480de8]
movzx ecx, dl
movsd xmm6, qword [0x480d90]
movzx esi, bl
movd xmm4, ecx
shr ecx, 0x1f
cvtdq2pd xmm4, xmm4
addsd xmm4, qword [ecx*8 + 0x4801d0]
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 + 0x4801d0]
movzx eax, dl
movd xmm2, eax
shr eax, 0x1f
cvtdq2pd xmm2, xmm2
addsd xmm2, qword [eax*8 + 0x4801d0]
movzx eax, bl
movd xmm1, eax
movaps xmm0, xmm2
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
mulsd xmm0, xmm6
addsd xmm1, qword [eax*8 + 0x4801d0]
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 + 0x4801d0]
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 + 0x4801d0]
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 + 0x4801d0]
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 + 0x4801d0]
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 + 0x4801d0]
mulsd xmm0, xmm6
addsd xmm0, xmm4
cvttsd2si eax, xmm0
movzx eax, al
or edx, eax
mov eax, dword [0x4bd734]
mov dword [ebp - 0xec], edx
test eax, eax
je 0x427a4f
cmp dword [eax + 0xdd0], 0
je 0x427a4f
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.00410c40
mov eax, dword [0x4bd734]
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.0x426043.64
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x210]
mov al, byte [esi]
test al, al
jne 0x425fa0
jmp 0x427a87
mov byte [esi], 0
cmp byte [esi], 0
je 0x427a8d
inc esi
mov ebx, esi
mov dword [ebp - 0x17c], ebx
jmp 0x427a98
inc esi
push 0x7c
push esi
call fcn.0046e733
mov esi, eax
add esp, 8
test esi, esi
jne 0x425d20
test ebx, ebx
je 0x427c99
push 0xfffffffffffffff0
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x200
je 0x427aed
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 0x427af3
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 0x427ba2
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 0x427c7f
cmp dword [ebp - 0x224], 0
jne 0x427b63
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 0x427bc6
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.00429fc0
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.00429fc0
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 0x427ce3
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 0x427d08
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x190]
call fcn.00468056
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046300c
mov esp, ebp
pop ebp
ret