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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48dcc2
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4b5930]
xor eax, esp
mov dword [esp + 0x270], eax
push edi
mov eax, dword [0x4b5930]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
call fcn.00457afe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42b418
push 0x80004005
call fcn.00405140
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
xor edi, edi
lea ecx, [esp + 0xb0]
mov dword [esp + 0x288], edi
call fcn.0044f9c0
push 0x11
mov byte [esp + 0x28c], 1
mov dword [esp + 0x78], 1
mov dword [esp + 0x48], edi
mov dword [esp + 0x90], edi
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call fcn.0045026a
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov ecx, dword [ebx + 0x20]
push edi
push 5
push 0x110a
push ecx
mov dword [esp + 0x88], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
mov dword [esp + 0x1c], edi
jne 0x42b4d9
mov edx, dword [esi]
mov eax, dword [esp + 0x78]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x288], 0
call fcn.0045002b
mov dword [esp + 0x288], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x42c986
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0xb4]
call fcn.0044ffb1
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [ebx + 0x20]
push 0xfffffffffffffff0
push edx
mov dword [esp + 0x68], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [esp + 0xd4], eax
push 0
lea eax, [esp + 0x80]
push eax
push edi
mov ecx, ebx
call fcn.0045888b
mov ecx, dword [esp + 0x88]
cmp ecx, dword [ebx + 0xb0]
jge 0x42b600
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x40]
push eax
lea edi, [ebx + 0xd8]
call fcn.004353d0
mov edi, dword [esp + 0x3c]
test edi, edi
mov ecx, dword [ebx + 0xe0]
lea eax, [ebx + 0xdc]
mov dword [esp + 0xac], ecx
je 0x42b568
cmp edi, eax
je 0x42b56d
call fcn.0046ecbd
mov edx, dword [esp + 0x40]
cmp edx, dword [esp + 0xac]
je 0x42b59b
test edi, edi
jne 0x42b583
call fcn.0046ecbd
mov eax, dword [esp + 0x40]
cmp eax, dword [edi + 4]
jne 0x42b591
call fcn.0046ecbd
mov ecx, dword [esp + 0x40]
cmp dword [ecx + 0xc], 0
je 0x42b5db
mov edx, dword [ebx + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x111c
push edx
call edi
mov ecx, dword [ebx + 0x20]
push 0
movzx eax, ax
push 0
movsx eax, ax
add dword [esp + 0x88], eax
push 0x111c
push ecx
call edi
movzx eax, ax
movsx edx, ax
add dword [esp + 0x88], edx
jmp 0x42b5e1
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x20]
push eax
push 6
push 0x110a
push ecx
call edi
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x42b521
nop
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x88]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edi, [ebx + 0xd8]
mov dword [esp + 0x20], edx
call fcn.004353d0
cmp dword [esp + 0x28], 0
mov edi, dword [ebx + 0xe0]
je 0x42b657
lea eax, [ebx + 0xdc]
cmp dword [esp + 0x28], eax
je 0x42b65c
call fcn.0046ecbd
cmp dword [esp + 0x2c], edi
je 0x42b68e
cmp dword [esp + 0x28], 0
jne 0x42b66e
call fcn.0046ecbd
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
cmp edx, dword [eax + 4]
jne 0x42b680
call fcn.0046ecbd
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0xc], 0
je 0x42c91f
mov al, byte [ebx + 0xa8]
test al, al
je 0x42b6b0
mov edx, dword [ebx + 0xbc]
add dword [esp + 0xc], edx
test al, al
mov ecx, dword [ebx + 0xc0]
mov dword [esp + 0x14], ecx
jne 0x42b708
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x100]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x108]
sub edi, dword [esp + 0x100]
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0xc]
add edi, ecx
sub edi, eax
cmp dword [esp + 0x14], edi
jle 0x42b708
mov edi, dword [esp + 0x108]
sub edi, dword [esp + 0x100]
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esp + 0xc]
add edi, edx
sub edi, eax
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x1c]
push 8
push edi
mov ecx, ebx
call fcn.004588ea
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 3
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x20]
push 0x110a
push eax
call edi
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, ebx
mov dword [esp + 0x60], eax
call fcn.0045896a
test eax, eax
jne 0x42b74c
cmp dword [esp + 0x5c], eax
mov byte [esp + 0x27], al
jne 0x42b751
mov byte [esp + 0x27], 1
test byte [esp + 0x38], 2
je 0x42b779
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0045406a
cmp ebx, eax
je 0x42b772
test byte [esp + 0xd4], 0x20
je 0x42b779
mov byte [esp + 0x37], 1
jmp 0x42b77e
mov byte [esp + 0x37], 0
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx + 0x20]
push eax
push 3
push 0x110a
push edx
mov dword [esp + 0x18], eax
call edi
test eax, eax
je 0x42b7d3
mov eax, dword [ebx + 0x20]
push 0
push 0
push 0x1106
push eax
call edi
mov ecx, dword [esp + 8]
mov edx, dword [ebx + 0x20]
add dword [esp + 0xc], eax
push ecx
push 3
push 0x110a
push edx
call edi
push eax
push 3
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x20]
push 0x110a
push eax
call edi
test eax, eax
jne 0x42b798
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx + 0x20]
push ecx
push 3
push 0x110a
push edx
call edi
test eax, eax
sete byte [esp + 0x26]
cmp byte [ebx + 0xa4], 0
jne 0x42b8d9
cmp byte [esp + 0x26], 0
je 0x42b8d9
mov eax, dword [esp + 0x74]
and eax, 0x80000001
jns 0x42b814
dec eax
or eax, 0xfffffffe
inc eax
jne 0x42b874
cmp byte [ebx + 0xa7], 1
jne 0x42b874
push 8
call fcn.0044ccf7
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0x288], 2
je 0x42b847
push 0xf5dcbe
mov ecx, eax
call fcn.00450433
jmp 0x42b849
xor eax, eax
test eax, eax
mov byte [esp + 0x288], 1
mov dword [esp + 8], eax
jne 0x42b865
mov ecx, dword [esi + 4]
push eax
lea eax, [esp + 0x10]
push eax
push ecx
jmp 0x42b8bf
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
lea eax, [esp + 0x10]
push eax
push ecx
jmp 0x42b8bf
test eax, eax
jne 0x42b8d9
push 8
call fcn.0044ccf7
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0x288], 3
je 0x42b8a0
push 0xdcdcdc
mov ecx, eax
call fcn.00450433
jmp 0x42b8a2
xor eax, eax
test eax, eax
mov byte [esp + 0x288], 1
mov dword [esp + 8], eax
je 0x42b8b5
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [esp + 8], 0
je 0x42b8d9
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
sub dword [esp + 0x14], 2
cmp byte [ebx + 0xa4], 0
je 0x42bdb2
mov eax, dword [ebx + 0x98]
mov ecx, dword [ebx + 0xa0]
add dword [esp + 0xc], eax
sub dword [esp + 0x14], eax
push ecx
mov edx, eax
push edx
push 0
lea ecx, [esp + 0x48]
call fcn.004503ea
mov byte [esp + 0x288], 4
mov eax, dword [ebx + 0xa0]
mov ecx, dword [ebx + 0x9c]
push eax
push ecx
push 0
lea ecx, [esp + 0xac]
call fcn.004503ea
mov byte [esp + 0x288], 5
mov edx, dword [esi + 8]
push 1
push edx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.0045026a
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
add eax, 0x10
push eax
push ecx
lea edx, [esp + 0x1b4]
push edx
mov ecx, esi
call fcn.0044fc62
cmp dword [esp + 0x5c], 0
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
je 0x42ba11
call fcn.00450350
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, esi
call fcn.0044f8ba
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
call fcn.00450350
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
add edx, 0xfffffff4
push edx
lea eax, [esp + 0x1bc]
push eax
mov ecx, esi
call fcn.0044fc62
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
add edx, 0xc
push edx
mov ecx, esi
call fcn.0044f8ba
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00450350
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
lea eax, [esp + 0x18c]
push eax
mov ecx, esi
call fcn.0044fc62
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add ecx, 0x10
push ecx
push edx
mov ecx, esi
call fcn.0044f8ba
jmp 0x42babf
add dword [esp + 0x14], 2
call fcn.00450350
mov edx, dword [ebx + 0x98]
mov ecx, dword [esp + 0x10]
shr edx, 1
lea eax, [edx + ecx]
push eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x10]
push edx
lea edx, [ecx + 0x10]
push edx
push eax
add ecx, 0x20
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
add eax, 0xffffffe0
push eax
mov ecx, esi
call fcn.0044fd17
mov edx, dword [ebx + 0x98]
mov eax, dword [esp + 0x14]
shr edx, 1
add edx, dword [esp + 0x10]
add eax, 0xfffffff0
push edx
push eax
mov ecx, esi
call fcn.0044f8ba
mov ecx, dword [ebx + 0x98]
mov edx, dword [esp + 0xc]
shr ecx, 1
add ecx, dword [esp + 0x10]
add edx, 0x10
push ecx
push edx
mov ecx, esi
call fcn.0044f8ba
mov eax, dword [ebx + 0x98]
mov ecx, dword [esp + 0x10]
shr eax, 1
lea edx, [eax + ecx]
lea eax, [ecx + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push edx
mov dword [esp + 0x14], edx
lea edx, [eax + 0x10]
push edx
mov edx, dword [esp + 0x18]
add ecx, 0x20
push ecx
lea ecx, [eax + 0x20]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0044fd17
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x20]
push eax
push 6
push 0x110a
push ecx
call edi
mov edx, dword [ebx + 0x20]
push eax
push 3
push 0x110a
push edx
call edi
test eax, eax
mov ecx, esi
je 0x42bb81
lea eax, [esp + 0x3c]
push eax
call fcn.00450350
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add ecx, 0x10
push ecx
push edx
mov ecx, esi
call fcn.0044f8ba
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.0044f8ba
lea edx, [esp + 0xa0]
push edx
mov ecx, esi
call fcn.00450350
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push eax
add ecx, 0xc
push ecx
lea edx, [esp + 0x194]
push edx
mov ecx, esi
call fcn.0044fc62
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff4
push eax
push ecx
mov ecx, esi
call fcn.0044f8ba
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.00450350
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x1c4]
push edx
mov ecx, esi
call fcn.0044fc62
jmp 0x42bc4a
sub dword [esp + 0x18], 2
lea edx, [esp + 0x3c]
push edx
call fcn.00450350
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add eax, 0x10
push eax
push ecx
mov ecx, esi
call fcn.0044f8ba
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
add edx, 0xfffffff0
push edx
push eax
mov ecx, esi
call fcn.0044f8ba
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
push eax
lea edx, [ecx + 0x10]
push edx
lea edx, [eax - 0x10]
push edx
push ecx
push eax
lea edx, [ecx + 0x20]
push edx
add eax, 0xffffffe0
push eax
push ecx
mov ecx, esi
call fcn.0044fd17
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
add ecx, 0x10
push eax
push ecx
mov ecx, esi
call fcn.0044f8ba
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
add eax, 0xfffffff0
push eax
mov ecx, esi
call fcn.0044f8ba
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0x98]
mov eax, ecx
add ecx, 0xfffffff0
push ecx
mov ecx, dword [esp + 0x18]
push ecx
shr edx, 1
sub eax, edx
push eax
lea edx, [ecx - 0x10]
push edx
push eax
mov eax, dword [esp + 0x2c]
push ecx
add eax, 0xffffffe0
add ecx, 0xffffffe0
push eax
push ecx
mov ecx, esi
call fcn.0044fd17
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add ecx, 0xfffffff0
push ecx
push edx
mov ecx, esi
call fcn.0044f8ba
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 0x10
push eax
push ecx
mov ecx, esi
call fcn.0044f8ba
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.00450350
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x20]
push eax
push 6
push 0x110a
push ecx
call edi
mov edx, dword [ebx + 0x20]
push eax
push 3
push 0x110a
push edx
call edi
cmp eax, dword [esp + 0x1c]
jne 0x42bccb
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x1cc]
push edx
mov ecx, esi
call fcn.0044fc62
mov eax, dword [ebx + 0x20]
push 0
push 0
push 0x1106
push eax
call edi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
push ecx
add eax, edx
push eax
mov ecx, esi
call fcn.0044f8ba
cmp dword [esp + 0x5c], 0
je 0x42bd42
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x20]
push eax
push 7
push 0x110a
push ecx
call edi
cmp dword [esp + 0x5c], eax
je 0x42bd42
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x20]
push edx
push 7
push 0x110a
push eax
call edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx + 0x20]
push ecx
push 2
push 0x110a
push edx
mov dword [esp + 0x18], eax
call edi
cmp dword [esp + 8], eax
je 0x42bd42
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x1ac]
push edx
mov ecx, esi
call fcn.0044fc62
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0044f8ba
mov eax, dword [esi + 8]
lea edx, [esp + 0x1cc]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ecx, dword [esp + 0xc]
mov eax, dword [ebx + 0x98]
lea edx, [ecx + eax + 2]
mov ecx, 0xfffffffe
sub ecx, eax
add dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x30]
push edx
mov ecx, esi
call fcn.00450350
mov byte [esp + 0x288], 4
mov edi, vtable.CPen.0
lea ecx, [esp + 0xa0]
mov dword [esp + 0xa0], edi
call fcn.00416e40
mov byte [esp + 0x288], 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], edi
call fcn.00416e40
cmp byte [esp + 0x27], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
je 0x42beac
test byte [esp + 0x38], 0x20
je 0x42bdec
lea eax, [ebx + 0x80]
mov dword [esp + 8], eax
jmp 0x42bdf3
lea ecx, [ebx + 0x78]
mov dword [esp + 8], ecx
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
lea edx, [esp + 0xd8]
push edx
push 0x18
push ecx
add edi, 6
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 8]
mov eax, dword [edx + 4]
push eax
mov eax, dword [esp + 0xb8]
push eax
call fcn.004502fd
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
push 0x8800c6
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0xe0]
cdq
push 0
sub eax, edx
mov edx, dword [esp + 0xbc]
push 0
sar eax, 1
push edx
mov edx, dword [esp + 0xec]
sar ecx, 1
sub ecx, eax
mov eax, dword [esp + 0xf0]
add ecx, dword [esp + 0x78]
push eax
mov eax, dword [esi + 4]
push edx
push ecx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
add edi, dword [esp + 0xdc]
cmp dword [esp + 0x38], 0
jne 0x42be95
mov edx, dword [esp + 0xb4]
xor eax, eax
push eax
push edx
call fcn.004502fd
jmp 0x42bee8
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0xb4]
push eax
push edx
call fcn.004502fd
jmp 0x42bee8
cmp byte [ebx + 0xa4], 0
je 0x42bebe
cmp byte [ebx + 0xa9], 0
je 0x42bee8
mov ecx, dword [ebx + 0x84]
lea eax, [esp + 0xd8]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
add edi, dword [esp + 0xdc]
cmp byte [ebx + 0xa9], 0
je 0x42bee8
add edi, 6
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x130]
push edx
lea eax, [esp + 0x5c]
push eax
push ecx
mov ecx, ebx
call fcn.004588ab
test eax, eax
je 0x42c00d
mov edx, dword [ebx + 0x20]
push 0
push 0
push 0x1108
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.00458de6
test eax, eax
mov dword [esp + 8], eax
je 0x42c00d
mov edx, dword [esp + 0x58]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x1cc]
push ecx
push edx
push eax
call fcn.0044f60f
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0042e360
cmp dword [esp + 0x58], 0
jl 0x42c00d
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 4]
push eax
call fcn.0044f60f
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.0042e1f0
cmp dword [esp + 0x58], eax
jge 0x42c00d
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
lea ecx, [esp + 0x174]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1dc]
push eax
push ecx
add edi, 6
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x180]
sub eax, dword [esp + 0x178]
push 0
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x34]
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 4]
sar eax, 1
sar ecx, 1
sub eax, ecx
add eax, dword [esp + 0x6c]
mov ecx, dword [esi + 4]
push eax
mov eax, dword [esp + 0x60]
push edi
push ecx
push eax
push edx
call fcn.0044f60f
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.0042e080
lea edx, [esp + 0x1dc]
push edx
lea eax, [esp + 0x168]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x16c]
sub ecx, dword [esp + 0x164]
add edi, ecx
cmp dword [ebx + 0xd4], 0
jne 0x42c023
cmp dword [ebx + 0xe4], 0
je 0x42c187
mov edx, dword [ebx]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x13c]
push eax
mov ecx, ebx
call edx
test eax, eax
je 0x42c044
lea eax, [ebx + 0x90]
mov dword [esp + 8], eax
jmp 0x42c04e
lea ecx, [ebx + 0x88]
mov dword [esp + 8], ecx
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
lea edx, [esp + 0xd8]
push edx
push 0x18
push ecx
add edi, 6
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 8]
mov eax, dword [edx + 4]
push eax
mov eax, dword [esp + 0xb8]
push eax
call fcn.004502fd
cmp dword [esp + 0x28], 0
mov ecx, dword [ebx + 0xe0]
mov dword [esp + 0x30], eax
mov dword [esp + 0x138], ecx
je 0x42c0a4
mov ecx, dword [esp + 0x28]
lea eax, [ebx + 0xdc]
cmp ecx, eax
je 0x42c0ad
call fcn.0046ecbd
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
cmp edx, dword [esp + 0x138]
jne 0x42c0c3
cmp dword [ebx + 0xd4], 0
jne 0x42c119
test ecx, ecx
mov edx, dword [ebx + 0xe0]
lea eax, [ebx + 0xdc]
mov dword [esp + 0x140], edx
je 0x42c0de
cmp ecx, eax
je 0x42c0e7
call fcn.0046ecbd
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x140]
cmp dword [esp + 0x2c], eax
je 0x42c167
test ecx, ecx
jne 0x42c101
call fcn.0046ecbd
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
cmp edx, dword [ecx + 4]
jne 0x42c10f
call fcn.0046ecbd
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x10], 1
jne 0x42c167
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
push 0x8800c6
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0xe0]
cdq
push 0
sub eax, edx
mov edx, dword [esp + 0xbc]
push 0
sar eax, 1
push edx
mov edx, dword [esp + 0xec]
sar ecx, 1
sub ecx, eax
mov eax, dword [esp + 0xf0]
add ecx, dword [esp + 0x78]
push eax
mov eax, dword [esi + 4]
push edx
push ecx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x30]
add edi, dword [esp + 0xdc]
test eax, eax
je 0x42c179
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xb4]
push eax
push ecx
call fcn.004502fd
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0xd4]
push eax
mov ecx, ebx
call fcn.00458f3f
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x28c], 6
call fcn.0040b2c0
mov byte [esp + 0x288], 1
mov eax, dword [esp + 0xd0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c1d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x204]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 8]
push ecx
add edi, 6
push edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x204]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
add dword [esp + 0x4c], ecx
cmp byte [ebx + 0xa8], 0
je 0x42c28b
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x110]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x48]
cmp dword [esp + 0x110], ecx
jl 0x42c28b
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
lea edx, [esp + 0x128]
push edx
push eax
mov eax, dword [esi + 8]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x128]
add edx, ecx
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x20]
xor edi, edi
cmp dword [eax - 0xc], edi
jl 0x42c313
jmp 0x42c2a0
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 8]
lea ecx, [esp + 0xf8]
push ecx
push edi
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xfc]
lea eax, [esp + 0x118]
push eax
push 3
mov dword [esp + 0xb0], ecx
mov ecx, dword [esi + 8]
push 0x49fe90
push ecx
mov dword [esp + 0xbc], edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x118]
mov eax, dword [esp + 0xa8]
add edx, eax
add edx, dword [esp + 0x48]
cmp edx, dword [esp + 0x50]
jg 0x42c313
mov ecx, dword [esp + 0x20]
add edi, 1
cmp edi, dword [ecx - 0xc]
jle 0x42c2a0
mov edx, dword [esp + 0x20]
cmp edi, dword [edx - 0xc]
jge 0x42c40b
push edi
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x28]
call fcn.0040e150
push 0x49fe90
push eax
lea ecx, [esp + 0xfc]
push ecx
mov byte [esp + 0x294], 7
call fcn.00408f40
add esp, 0xc
mov byte [esp + 0x288], 8
mov ecx, dword [eax]
mov edi, dword [esp + 0x20]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x42c3b5
cmp dword [edi + 0xc], 0
jl 0x42c3a7
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x42c3a7
push eax
call fcn.0040ae10
mov dword [esp + 0x34], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c39a
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x30]
add ecx, 0x10
mov dword [esp + 0x20], ecx
jmp 0x42c3b5
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.0040b1d0
mov byte [esp + 0x288], 7
mov eax, dword [esp + 0xf4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c3e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x288], 1
mov eax, dword [esp + 0xf0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c40b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x78]
test eax, eax
je 0x42c467
mov edx, dword [eax + 4]
lea ecx, [esp + 0x23c]
push ecx
push 0x3c
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
push 8
mov dword [esp + 0x250], 0x2bc
call fcn.0044ccf7
xor edi, edi
add esp, 4
cmp eax, edi
je 0x42c44d
mov dword [eax + 4], edi
mov dword [eax], vtable.CFont.0
mov edi, eax
lea eax, [esp + 0x23c]
push eax
mov dword [esp + 0x48], edi
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, edi
call fcn.00450278
mov ecx, dword [esp + 0x1c]
push 0x10
push ecx
mov ecx, ebx
mov dword [esp + 0x10], 0
call fcn.004588ea
test al, 0x10
je 0x42c493
mov edx, dword [esi]
mov eax, dword [esp + 0x44]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov dword [esp + 8], eax
cmp byte [esp + 0x37], 0
je 0x42c525
mov edi, dword [esi]
push 0xe
add edi, 0x30
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [edi]
mov ecx, esi
call eax
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetBkColor]
mov edi, dword [esi]
push 0xd
mov dword [esp + 0x34], eax
add edi, 0x2c
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [edi]
push eax
mov ecx, esi
call edx
push 2
mov ecx, esi
call fcn.0044f81f
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
push 0
mov edi, eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call edx
push edi
mov ecx, esi
call fcn.0044f81f
mov ecx, dword [esp + 0x60]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push ecx
mov ecx, esi
call edx
mov edi, dword [esp + 0x20]
jmp 0x42c5b0
mov edi, dword [esp + 0x28]
test edi, edi
mov ecx, dword [ebx + 0xe0]
lea eax, [ebx + 0xdc]
mov dword [esp + 0x124], ecx
je 0x42c544
cmp edi, eax
je 0x42c549
call fcn.0046ecbd
mov edx, dword [esp + 0x2c]
cmp edx, dword [esp + 0x124]
je 0x42c57b
test edi, edi
jne 0x42c55f
call fcn.0046ecbd
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 4]
jne 0x42c56d
call fcn.0046ecbd
mov edx, dword [esi]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov edx, dword [edx + 0x30]
jmp 0x42c584
mov eax, dword [esi]
mov ecx, dword [esp + 0x60]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
mov edi, dword [esp + 0x20]
mov eax, dword [edi - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
push 0
lea ecx, [esp + 0x4c]
push ecx
push eax
push edi
mov ecx, esi
call edx
mov ecx, dword [esp + 0x60]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
cmp dword [esp + 8], 0
je 0x42c5c5
mov ecx, dword [esp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push ecx
mov ecx, esi
call edx
cmp byte [esp + 0x26], 0
je 0x42c5de
mov eax, dword [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.00458922
mov dword [esp + 0x38], eax
jmp 0x42c5e6
mov dword [esp + 0x38], 0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov eax, dword [edi - 0xc]
lea edx, [esp + 0x144]
push edx
push eax
mov eax, dword [esi + 8]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x5c]
push edi
push eax
mov dword [esp + 0xac], ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
cmp byte [ebx + 0xa5], 0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x144]
lea edx, [ecx + eax + 6]
mov dword [esp + 0x90], edx
je 0x42c7b3
cmp byte [esp + 0x27], 0
je 0x42c7b3
cmp byte [esp + 0x26], 0
je 0x42c7b3
mov edi, dword [esp + 0x38]
test edi, edi
je 0x42c7b3
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
add dword [esp + 0x74], 1
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc4], eax
mov eax, dword [esi]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
mov edx, dword [eax + 0x30]
push 0xff
mov ecx, esi
call edx
cmp dword [esp + 0x78], 0
je 0x42c6c9
mov eax, dword [esp + 0x44]
test eax, eax
je 0x42c6c9
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov dword [esp + 0x8c], eax
call fcn.00457afe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42b40e
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
push edi
lea ecx, [esp + 0xc]
push str._d_Items
push ecx
mov byte [esp + 0x294], 9
call fcn.0040ae80
mov eax, dword [ebx + 0x20]
add esp, 0xc
lea edx, [esp + 0x194]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x19c]
mov edi, dword [esp + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
mov dword [esp + 0xc8], eax
add eax, 0xffffffa6
cmp byte [ebx + 0xa4], 0
mov dword [esp + 0xc0], eax
mov eax, dword [edi - 0xc]
lea ecx, [esp + 0xc0]
je 0x42c752
push 0
jmp 0x42c754
push 2
push ecx
push eax
push edi
mov ecx, esi
call edx
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x42c770
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [esp + 0x60]
mov edx, dword [edx + 0x30]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0xc0]
add eax, 0xfffffffa
mov dword [esp + 0x98], eax
lea eax, [edi - 0x10]
mov byte [esp + 0x288], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c7b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0xe0]
lea eax, [ebx + 0xdc]
mov dword [esp + 0x160], ecx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x42c7d2
cmp ecx, eax
je 0x42c7d7
call fcn.0046ecbd
mov edi, dword [esp + 0x2c]
cmp edi, dword [esp + 0x160]
je 0x42c8cd
cmp dword [esp + 0x28], 0
jne 0x42c7f4
call fcn.0046ecbd
mov edx, dword [esp + 0x28]
cmp edi, dword [edx + 4]
jne 0x42c802
call fcn.0046ecbd
cmp dword [edi + 0x1c], 0
je 0x42c8cd
mov eax, dword [esp + 0x28]
cmp edi, dword [eax + 4]
jne 0x42c81a
call fcn.0046ecbd
mov eax, dword [edi + 0x1c]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x14c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x28]
cmp edi, dword [eax + 4]
jne 0x42c83d
call fcn.0046ecbd
lea ecx, [esp + 0x14c]
push ecx
mov ecx, dword [edi + 0x1c]
call fcn.0044fc9f
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x98]
sub eax, dword [esp + 0x14c]
sub ecx, dword [esp + 0x90]
mov dword [esp + 0x38], eax
cmp ecx, eax
jl 0x42c8cd
mov eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x94]
mov edx, dword [esp + 0x28]
cmp edi, dword [edx + 4]
mov dword [esp + 0x30], eax
jne 0x42c891
call fcn.0046ecbd
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x94]
push 1
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [edi + 0x1c]
push edx
push eax
call fcn.0044e44f
mov ecx, dword [esp + 0x28]
cmp edi, dword [ecx + 4]
jne 0x42c8c3
call fcn.0046ecbd
mov ecx, dword [edi + 0x1c]
push 5
call fcn.0044e48d
cmp dword [esp + 0x44], 0
je 0x42c8e1
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [ebx + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x111c
push ecx
call edi
movzx eax, ax
push 0
push 0
movsx edx, ax
mov eax, dword [ebx + 0x20]
add dword [esp + 0x88], edx
push 0x111c
push eax
call edi
movzx eax, ax
movsx ecx, ax
add dword [esp + 0x88], ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x20]
push edx
push 6
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x42c953
mov ecx, dword [ebx + 0xb8]
sub ecx, dword [ebx + 0xb0]
cmp dword [esp + 0x18], ecx
jl 0x42b600
lea ecx, [esp + 0xb0]
mov byte [esp + 0x288], 0
call fcn.0045002b
mov dword [esp + 0x288], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c992
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0046da06
mov esp, ebp
pop ebp
ret