Function at 0x42b640
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e2a32
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x658aa8]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
mov eax, dword [0x658aa8]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov edi, edx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x74], 0
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], ecx
je case.0x42ce4d.276
mov ecx, dword [ebx + 0x350]
xor esi, esi
test ecx, ecx
jle 0x42b6e8
lea ecx, [ecx]
mov edx, dword [ebx + 0x34c]
mov byte [esp + 0x1f], 0
mov ecx, dword [edx + esi*4]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x1f]
push edx
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push edx
push edi
call eax
cmp byte [esp + 0x1f], 0
jne 0x42b73b
inc esi
cmp esi, dword [ebx + 0x350]
jl 0x42b6b0
mov eax, dword [esp + 0x14]
cmp byte [ebx + 0x13d], 0
je 0x42b7d1
mov ecx, edi
sub ecx, 0x83
je 0x42b7c0
sub ecx, 2
je 0x42b7c0
sub ecx, 1
jne 0x42b7d1
mov edx, dword [ebx + 0x74]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x42b812
cmp dword [esp + 0x18], eax
mov ecx, dword [esp + 0x48]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x42e196
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
cmp edi, 0x203
ja 0x42b77b
cmp edi, 0x200
jae 0x42b75d
cmp edi, 0x7b
je 0x42b783
mov al, 1
jmp 0x42e196
mov eax, dword [esp + 0x14]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0xf0], eax
mov dword [ebx + 0xec], ecx
mov al, 1
jmp 0x42e196
cmp edi, 0x20a
jne 0x42b7b9
mov eax, dword [esp + 0x14]
movsx edx, ax
shr eax, 0x10
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 0x74]
cwde
push ecx
push edx
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [ebx + 0xec], eax
mov dword [ebx + 0xf0], ecx
mov al, 1
jmp 0x42e196
mov edx, dword [esp + 0x48]
mov dword [edx], 0
mov al, 1
jmp 0x42e196
cmp edi, 0x111
ja 0x42ce22
jne 0x42b816
test eax, eax
je case.0x42ce4d.276
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
push edx
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
test eax, eax
je case.0x42ce4d.276
mov al, 1
jmp 0x42e196
mov eax, dword [esp + 0x14]
lea ecx, [edi - 5]
cmp ecx, 0xfd
ja case.0x42ce4d.276
movzx ecx, byte [ecx + 0x42e1f4]
jmp dword [ecx*4 + 0x42e1bc]
mov edx, dword [ebx + 0xec]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xf0]
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.00429920
mov word [esp + 0x36], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xd8]
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x42b8a6
mov dword [esp + 0x20], 0xa
mov dword [esp + 0x24], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x20]
push eax
call edx
mov ecx, dword [ebx + 0xdc]
test ecx, ecx
je 0x42b8cb
mov dword [esp + 0x20], 0xe
mov dword [esp + 0x24], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x140]
lea edx, [esp + 0x20]
push edx
call eax
mov ecx, dword [ebx + 0xe0]
test ecx, ecx
je 0x42b8f6
mov edx, dword [ebx + 0xdc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], 0x10
mov eax, dword [ecx]
mov eax, dword [eax + 0x140]
lea edx, [esp + 0x20]
push edx
call eax
xor esi, esi
mov eax, ebx
call fcn.0042edc0
mov esi, dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x42b920
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x42b920
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x94]
test eax, eax
je case.0x42ce4d.276
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx + 0x94], 0
jmp case.0x42ce4d.276
mov ecx, dword [esp + 0x48]
mov dword [ecx], 1
mov al, 1
jmp 0x42e196
xor esi, esi
cmp dword [ebx + 0xd0], esi
jne 0x42b9bb
push 0x3c
lea edx, [esp + 0xf4]
push esi
push edx
mov dword [esp + 0xf8], esi
call fcn.004a0660
mov ecx, dword [ebx + 0x74]
add esp, 0xc
lea eax, [esp + 0xec]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [ebx + 0x78]
push 0xff000000
lea eax, [esp + 0xf8]
call fcn.0045b7e0
mov eax, dword [ebx + 0x74]
add esp, 4
lea edx, [esp + 0xec]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x42e196
mov edx, dword [ebx + 0x74]
lea ecx, [esp + 0xac]
xor eax, eax
push ecx
push edx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebx + 0x74]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
push esi
lea eax, [esp + 0x78]
push eax
push ecx
mov dword [esp + 0x80], esi
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x42b7b9
cmp byte [ebx + 0x13a], 0
je 0x42bada
cmp byte [ebx + 0x139], 0
je 0x42ba49
mov edx, dword [ebx + 0x74]
push esi
push esi
push edx
mov byte [ebx + 0x13a], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x42bada
mov ecx, dword [ebx + 0xd0]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0xd4]
mov dword [esp + 0x50], eax
push reloc.WS2_32.dll_closesocket
lea eax, [esp + 0x54]
mov byte [esp + 0x5c], 1
mov edx, dword [ecx]
mov edx, dword [edx + 0x134]
push eax
push 0x4311f0
call edx
cmp eax, esi
jne 0x42baca
mov ecx, dword [ebx + 0xd0]
xor eax, eax
mov dword [esp + 0xd0], eax
push reloc.WS2_32.dll_closesocket
mov dword [esp + 0xd0], eax
lea edx, [esp + 0xcc]
mov dword [esp + 0xcc], esi
mov byte [esp + 0xd4], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x134]
push edx
push 0x4311f0
call eax
cmp eax, esi
je 0x42bad3
mov esi, eax
mov eax, ebx
call fcn.0042edc0
mov byte [ebx + 0x13a], 0
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xac]
mov edx, eax
sub edx, ecx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0xb8]
mov esi, edx
sub esi, dword [esp + 0xb0]
cmp byte [ebx + 0x139], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x9c], esi
mov byte [ebx + 0x316], 1
je 0x42bd43
lea ecx, [esp + 0xac]
push ecx
mov byte [ebx + 0x139], 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x42bdfa
mov edx, dword [ebx + 0x74]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x42bdfa
mov eax, dword [ebx + 0xd0]
cmp byte [eax + 0xd4], 0
je 0x42bc35
mov eax, dword [ebx + 0x7c]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
test eax, eax
je 0x42bb94
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x42bba5
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x42bbb6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x42bbc7
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x8c], eax
cmp byte [ebx + 0x13d], al
je 0x42bc06
mov eax, dword [ebx + 0x148]
mov ecx, dword [ebx + 0x14c]
add esi, dword [ebx + 0x140]
add edi, dword [ebx + 0x144]
sub dword [esp + 0x68], eax
sub dword [esp + 0x6c], ecx
mov ecx, dword [ebx + 0xd0]
mov edx, dword [ecx]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x7c]
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov esi, dword [esp + 0x80]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x5c]
call eax
jmp 0x42bcd6
lea esi, [ebx + 0x394]
call fcn.00428ac0
mov ecx, dword [ebx + 0xd0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x134]
push reloc.WS2_32.dll_htons
push 0
push 0x431330
call eax
xor eax, eax
cmp dword [ebx + 0x398], eax
mov dword [esp + 0x4c], eax
jle 0x42bcd6
lea ebx, [ebx]
mov ecx, dword [ebx + 0x394]
mov esi, dword [ecx + eax*4]
mov edx, dword [esi]
mov eax, dword [edx + 0x12c]
mov ecx, esi
call eax
mov edi, dword [esi]
mov ecx, esi
test al, al
jne 0x42bc94
mov edx, dword [edi + 0x58]
call edx
jmp 0x42bca1
mov edx, dword [edi + 0x50]
lea eax, [esp + 0xdc]
push eax
call edx
mov edx, dword [eax]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [edi + 0x5c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x4c]
inc eax
cmp eax, dword [ebx + 0x398]
mov dword [esp + 0x4c], eax
jl 0x42bc70
cmp byte [ebx + 0x138], 0
mov byte [esp + 0x1f], 1
je 0x42bdfa
mov ecx, dword [ebx + 0xd0]
push 0
push 0
push 0
push str.windowinit
mov edi, ebx
mov byte [ebx + 0x138], 0
call fcn.0042f650
cmp byte [ebx + 0x13d], 0
je 0x42bd2e
cmp byte [ebx + 0x150], 0
je 0x42bd2e
mov esi, ebx
call fcn.0042e420
mov byte [ebx + 0x316], 0
mov al, 1
jmp 0x42e196
mov eax, dword [ebx + 0x74]
push eax
lea ecx, [ebx + 0x4b8]
push ecx
call fcn.004439e0
jmp 0x42bdfa
cmp byte [ebx + 0x13d], 0
je 0x42be79
cmp byte [ebx + 0x150], 0
je 0x42bdfa
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x94], eax
mov eax, dword [ebx + 0x88]
mov esi, ecx
mov dword [esp + 0x98], edx
test eax, eax
je 0x42bd9a
mov edx, dword [esp + 0x9c]
imul edx, dword [esp + 0x48]
add edx, edx
add edx, edx
push edx
push 0
push eax
call fcn.004a0660
add esp, 0xc
mov eax, dword [ebx + 0x14c]
sub dword [esp + 0x98], eax
mov eax, dword [ebx + 0xd0]
mov eax, dword [eax]
add esi, dword [ebx + 0x140]
add edi, dword [ebx + 0x144]
mov edx, dword [esp + 0x94]
sub edx, dword [ebx + 0x148]
mov ecx, dword [esp + 0x98]
push 1
sub esp, 0x10
mov dword [esp + 0x9c], eax
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x9c]
mov ecx, dword [ebx + 0xd0]
mov edx, dword [eax + 0x5c]
call edx
cmp byte [ebx + 0x13d], 0
je 0x42be79
mov eax, dword [ebx + 0x74]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x42be28
push ecx
mov ecx, dword [ebx + 0x74]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
lea esi, [ebx + 0x154]
push esi
lea edx, [esp + 0x78]
push edx
mov eax, edx
push eax
mov byte [ebx + 0x13b], 1
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [esp + 0xb4]
cmp dword [esp + 0x7c], eax
jle 0x42be55
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xb8]
cmp dword [esp + 0x80], eax
jle 0x42be6c
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
cmp byte [ebx + 0x13b], 0
je 0x42bebd
cmp dword [ebx + 0x84], 0
jne 0x42bebd
mov ecx, dword [ebx + 0x78]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebx + 0x78]
mov dword [ebx + 0x7c], eax
mov eax, dword [esp + 0x48]
lea edx, [ebx + 0x88]
push edx
push eax
mov eax, dword [esp + 0xa4]
push ecx
call fcn.0045e9d0
add esp, 0xc
mov dword [ebx + 0x84], eax
push 0x3c
lea edx, [esp + 0x134]
push 0
push edx
mov dword [esp + 0x138], 0
call fcn.004a0660
mov ecx, dword [ebx + 0x74]
add esp, 0xc
lea eax, [esp + 0x12c]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x13b], 0
je 0x42c769
mov edx, dword [ebx + 0x84]
mov eax, dword [ebx + 0x7c]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 0x7c]
push ecx
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0x13d], 0
mov dword [esp + 0xa0], eax
je 0x42bfa3
mov eax, dword [esp + 0xb8]
mov esi, eax
sub esi, dword [esp + 0x80]
mov edx, eax
sub edx, dword [esp + 0x78]
cmp esi, edx
jge 0x42bfa3
mov edx, dword [esp + 0x7c]
mov ecx, esi
imul ecx, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x74]
cmp ecx, edx
jge 0x42bf90
mov eax, dword [esp + 0x18]
add eax, ecx
add eax, eax
add eax, eax
jmp 0x42bf70
mov edx, dword [ebx + 0x88]
mov dword [eax + edx], 0
mov edx, dword [esp + 0x7c]
inc ecx
add eax, 4
cmp ecx, edx
jl 0x42bf70
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x48]
add dword [esp + 0x18], ecx
mov ecx, eax
sub ecx, dword [esp + 0x78]
inc esi
cmp esi, ecx
jl 0x42bf53
mov ecx, dword [ebx + 0xd0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x150]
push 0
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebx + 0x7c]
push eax
call edx
cmp byte [ebx + 0x13d], 0
je 0x42c1c9
xor esi, esi
cmp dword [ebx + 0x368], esi
jle 0x42c1c9
lea esp, [esp]
mov eax, dword [ebx + 0x364]
mov edi, dword [eax + esi*4]
push edi
mov dword [esp + 0x50], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42c01f
test esi, esi
jl 0x42c1bd
mov ecx, esi
lea edx, [ebx + 0x364]
call fcn.00428c60
lea edx, [ebx + 0x370]
mov ecx, esi
call fcn.00428c60
jmp 0x42c1bd
inc esi
push edi
mov dword [esp + 0xac], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42c1bd
mov eax, dword [esp + 0x4c]
lea esi, [esp + 0x50]
mov edi, ebx
call fcn.0042f5d0
xor eax, eax
mov ecx, esi
push ecx
lea edx, [esp + 0x78]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
push edx
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x42c1b6
mov ecx, dword [ebx + 0x7c]
push ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x50]
mov edi, eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
lea edx, [esp + 0x14]
push edx
push ecx
push edi
call fcn.0045e9d0
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
mov esi, eax
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
add esp, 0xc
imul edx, eax
add edx, edx
add edx, edx
push edx
push 0
push ecx
mov dword [esp + 0xd0], esi
call fcn.004a0660
add esp, 0xc
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x4c]
push 0x35
push edi
push 0x317
push edx
mov dword [esp + 0x98], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
mov eax, ecx
sub eax, dword [esp + 0x54]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x42c16e
mov eax, esi
sub eax, dword [esp + 0x50]
xor edx, edx
test eax, eax
jle 0x42c15e
lea esp, [esp]
imul eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, edx
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
test eax, eax
je 0x42c14f
or eax, 0xff000000
mov dword [ecx], eax
mov esi, dword [esp + 0x58]
mov eax, esi
sub eax, dword [esp + 0x50]
inc edx
cmp edx, eax
jl 0x42c130
mov ecx, dword [esp + 0x5c]
inc dword [esp + 0x18]
mov edx, ecx
sub edx, dword [esp + 0x54]
cmp dword [esp + 0x18], edx
jl 0x42c120
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push 0xcc0020
push 0
push 0
push edi
sub ecx, edx
push ecx
sub esi, eax
push esi
push edx
push eax
mov eax, dword [ebx + 0x7c]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x88]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0xc4]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [esp + 0xa8]
cmp esi, dword [ebx + 0x368]
jl 0x42bfe0
xor esi, esi
cmp dword [ebx + 0x35c], esi
jle 0x42c1f8
mov eax, dword [ebx + 0x358]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x174]
lea eax, [esp + 0x74]
push eax
mov eax, dword [ebx + 0x7c]
push eax
call edx
inc esi
cmp esi, dword [ebx + 0x35c]
jl 0x42c1d3
mov eax, dword [esp + 0xa0]
mov ecx, dword [ebx + 0x7c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x13d], 0
je 0x42c6c4
xor eax, eax
lea edx, [esp + 0x8c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 0x74]
push edx
push eax
mov dword [esp + 0x94], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0x164]
cmp byte [eax], 0
je 0x42c59e
mov edi, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0xb8]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x68], edi
mov ecx, edi
mov edi, dword [esp + 0xb8]
sub esi, edx
add edx, dword [ebx + 0x144]
mov dword [esp + 0x6c], edi
mov edi, dword [ebx + 0x140]
mov dword [esp + 0x64], edx
mov edx, dword [ebx + 0x148]
sub dword [esp + 0x68], edx
mov edx, dword [ebx + 0x164]
sub ecx, eax
mov dword [esp + 0x60], eax
add edi, eax
mov eax, dword [ebx + 0x14c]
sub dword [esp + 0x6c], eax
mov dword [esp + 0x60], edi
cmp byte [edx], 0
mov dword [esp + 0x18], ecx
je 0x42c63b
cmp dword [ebx + 0x8c], 0
jne 0x42c38b
mov eax, dword [ebx + 0x78]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx + 0x78]
mov dword [ebx + 0x80], eax
lea eax, [ebx + 0x90]
push eax
push edi
push ecx
mov eax, esi
call fcn.0045e9d0
imul esi, edi
mov edx, dword [ebx + 0x90]
add esp, 0xc
add esi, esi
add esi, esi
push esi
push 0
push edx
mov dword [ebx + 0x8c], eax
call fcn.004a0660
mov eax, dword [ebx + 0x8c]
mov ecx, dword [ebx + 0x80]
add esp, 0xc
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x188], 0
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edi, dword [ebx + 0x80]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 8], edx
lea esi, [esp + 0x30]
mov dword [eax + 0xc], ecx
call fcn.00457be0
mov ecx, dword [ebx + 0x80]
push 0
lea eax, [ebx + 0x164]
push eax
lea edx, [esp + 0x78]
push edx
mov eax, edx
push eax
push ebx
push ecx
jmp 0x42c3ff
cmp byte [ebx + 0x150], 0
je 0x42c41f
mov edx, dword [ebx + 0x90]
imul esi, ecx
add esi, esi
add esi, esi
push esi
push 0
push edx
call fcn.004a0660
mov dword [esp + 0x194], 1
mov edx, dword [esp + 0x70]
mov edi, dword [ebx + 0x80]
push ecx
mov ecx, dword [esp + 0x70]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
lea esi, [esp + 0x30]
mov dword [eax + 0xc], edx
call fcn.00457be0
mov edx, dword [ebx + 0x80]
push 0
lea eax, [ebx + 0x164]
push eax
lea eax, [esp + 0x78]
push eax
mov ecx, eax
push ecx
push ebx
push edx
call fcn.0045a410
add esp, 0x28
lea esi, [esp + 0x20]
mov dword [esp + 0x188], 0xffffffff
call fcn.00457bb0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xb8]
mov esi, eax
sub esi, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
mov dword [esp + 0x88], esi
cmp esi, eax
jge 0x42c63b
mov edx, dword [esp + 0x7c]
imul esi, ecx
mov dword [esp + 0x4c], esi
lea ecx, [ecx]
mov eax, dword [esp + 0x74]
cmp eax, edx
mov dword [esp + 0xa8], eax
jge 0x42c571
lea ecx, [esi + eax]
add ecx, ecx
add ecx, ecx
mov dword [esp + 0xc4], ecx
add esi, eax
add esi, dword [ebx + 0x88]
mov eax, dword [ebx + 0x90]
mov cl, byte [ecx + eax + 3]
mov edi, dword [esi]
mov edx, edi
shr edx, 0x10
movzx edx, dl
movzx ecx, cl
imul edx, ecx
mov dword [esp + 0xa0], edx
mov eax, 0x80808081
imul edx
mov edi, edx
add edi, dword [esp + 0xa0]
mov edx, dword [esi]
shr edx, 8
sar edi, 7
movzx edx, dl
imul edx, ecx
mov eax, edi
shr eax, 0x1f
add eax, edi
movzx eax, al
shl eax, 8
mov dword [esp + 0xa0], eax
mov dword [esp + 0x84], edx
mov eax, 0x80808081
imul edx
mov edi, edx
add edi, dword [esp + 0x84]
sar edi, 7
mov eax, edi
shr eax, 0x1f
add eax, edi
movzx edx, al
mov eax, dword [esp + 0xa0]
or eax, edx
movzx edx, byte [esi]
imul edx, ecx
shl eax, 8
mov dword [esp + 0xa0], eax
mov dword [esp + 0x84], edx
mov eax, 0x80808081
imul edx
mov edi, edx
add edi, dword [esp + 0x84]
shl ecx, 0x18
sar edi, 7
mov eax, edi
shr eax, 0x1f
add eax, edi
movzx edx, al
mov eax, dword [esp + 0xa0]
or eax, edx
add eax, ecx
mov ecx, dword [esp + 0xc4]
mov dword [esi], eax
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x4c]
inc eax
add ecx, 4
cmp eax, edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xc4], ecx
jl 0x42c471
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0xb8]
sub edi, dword [esp + 0x78]
inc eax
add esi, ecx
cmp eax, edi
mov dword [esp + 0x88], eax
mov dword [esp + 0x4c], esi
jl 0x42c450
jmp 0x42c63b
mov eax, dword [esp + 0xb8]
mov edx, eax
sub edx, dword [esp + 0x80]
mov ecx, eax
sub ecx, dword [esp + 0x78]
cmp edx, ecx
jge 0x42c63b
mov edi, dword [esp + 0x7c]
mov ecx, edx
imul ecx, dword [esp + 0x48]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x74]
cmp ecx, edi
mov esi, ecx
jge 0x42c61a
mov eax, dword [esp + 0x4c]
add ecx, eax
add ecx, ecx
add ecx, ecx
nop
mov eax, dword [ebx + 0x88]
add eax, ecx
cmp byte [eax + 3], 0
jne 0x42c607
cmp byte [eax], 0
jne 0x42c5ff
cmp byte [eax + 1], 0
jne 0x42c5ff
cmp byte [eax + 2], 0
je 0x42c607
mov byte [eax + 3], 0xff
mov edi, dword [esp + 0x7c]
inc esi
add ecx, 4
cmp esi, edi
jl 0x42c5e0
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x74]
inc edx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x48]
add dword [esp + 0x4c], edx
mov edx, dword [esp + 0x84]
mov esi, eax
sub esi, dword [esp + 0x78]
cmp edx, esi
jl 0x42c5cf
mov al, byte [ebx + 0x13c]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
push 2
mov byte [esp + 0x1a], al
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], edx
mov dword [esp + 0xcc], eax
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xd8], ecx
mov ecx, dword [ebx + 0x7c]
lea eax, [esp + 0xe0]
push eax
push ecx
mov ecx, dword [ebx + 0x78]
lea edx, [esp + 0xdc]
push edx
mov edx, dword [ebx + 0x74]
lea eax, [esp + 0x68]
push eax
push ecx
push edx
mov byte [esp + 0x38], 0
mov byte [esp + 0x39], 0
mov byte [esp + 0x3b], 1
call dword [0x66bddc]
jmp 0x42c6f7
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [ebx + 0x7c]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x90]
sub edx, eax
push edx
mov edx, dword [esp + 0x90]
sub edx, ecx
push edx
push eax
mov eax, dword [ebx + 0x78]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x40]
mov edx, dword [ebx + 0x7c]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push edx
call esi
cmp byte [ebx + 0xcd], 0
je 0x42c7d0
cmp byte [ebx + 0x13d], 0
jne 0x42c7d0
mov eax, dword [0x66bde0]
mov ecx, dword [ebx + 0x78]
push eax
push ecx
call esi
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [ebx + 0x78]
push eax
push edx
call esi
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [ebx + 0x78]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [ebx + 0x78]
push edi
push edx
call esi
jmp 0x42c7d0
mov eax, dword [ebx + 0x78]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0xd0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x150]
mov edi, eax
push 0
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebx + 0x78]
push eax
call edx
xor esi, esi
cmp dword [ebx + 0x35c], esi
jle 0x42c7c5
lea ebx, [ebx]
mov eax, dword [ebx + 0x358]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x174]
lea eax, [esp + 0x74]
push eax
mov eax, dword [ebx + 0x78]
push eax
call edx
inc esi
cmp esi, dword [ebx + 0x35c]
jl 0x42c7a0
mov eax, dword [ebx + 0x78]
push edi
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [ebx + 0x74]
lea ecx, [esp + 0x12c]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0x139], 0
mov byte [ebx + 0x316], 0
mov byte [ebx + 0x150], 0
je 0x42c800
mov esi, ebx
call fcn.0042e420
cmp byte [esp + 0x1f], 0
je 0x42c81f
mov ecx, dword [ebx + 0xd0]
push 1
push 0
push 0
push str.windowsize
mov edi, ebx
call fcn.0042f650
mov al, 1
jmp 0x42e196
mov ecx, dword [ebx + 0x74]
xor eax, eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], eax
lea eax, [esp + 0xec]
push eax
push 1
push ecx
mov dword [esp + 0xf8], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
cmp dword [esp + 0x110], 1
mov edx, dword [esp + 0x108]
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], edx
je 0x42c8ea
neg ecx
push ecx
neg eax
push eax
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebx + 0xf4]
mov ecx, dword [esp + 0x14]
test eax, eax
jle 0x42c8fb
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0xf8]
test eax, eax
jle 0x42c908
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0xfc]
test eax, eax
jle 0x42c915
mov dword [ecx + 0x20], eax
mov eax, dword [ebx + 0x100]
test eax, eax
jle 0x42c922
mov dword [ecx + 0x24], eax
mov eax, dword [ebx + 0xfc]
test eax, eax
jle 0x42c92f
mov dword [ecx + 8], eax
mov ebx, dword [ebx + 0x100]
test ebx, ebx
jle case.0x42ce4d.276
mov dword [ecx + 0xc], ebx
jmp case.0x42ce4d.276
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
je 0x42c998
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], 0x19
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xd4]
mov dword [esp + 0x28], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x20]
push eax
call edx
mov ebx, dword [ebx + 0xd0]
test ebx, ebx
je 0x42c9a9
mov eax, ebx
call fcn.0043b810
mov al, 1
jmp 0x42e196
cmp dword [ebx + 0xd0], 0
je case.0x42ce4d.276
mov eax, dword [esp + 0x14]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
lea eax, [esp + 0x40]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 0x74]
push eax
push ecx
mov dword [esp + 0x4c], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0xe0], 0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [ebx + 0xec], edx
mov dword [ebx + 0xf0], eax
je case.0x42ce4d.276
mov esi, ebx
call fcn.0042f2d0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0xe0]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], 0x14
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], edx
mov word [esp + 0x36], cx
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe0]
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x140]
lea edx, [esp + 0x20]
push edx
call eax
mov dword [ebx + 0xe0], 0
jmp case.0x42ce4d.276
cmp dword [ebx + 0xd0], 0
je case.0x42ce4d.276
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
je case.0x42ce4d.276
mov edx, dword [ebx + 0xec]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov byte [esp + 0x34], al
mov eax, dword [ebx + 0xf0]
mov dword [esp + 0x20], 5
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.00429920
mov word [esp + 0x36], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebx + 0xd4]
jmp 0x42d92e
cmp dword [ebx + 0xd0], 0
je case.0x42ce4d.276
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
je case.0x42ce4d.276
mov edx, dword [ebx + 0xec]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov byte [esp + 0x34], al
mov eax, dword [ebx + 0xf0]
mov dword [esp + 0x20], 3
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.00429920
mov word [esp + 0x36], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xd4]
mov dword [esp + 0x28], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x20]
push eax
call edx
mov eax, dword [ebx + 0xd4]
mov dword [ebx + 0xe4], eax
jmp case.0x42ce4d.276
cmp dword [ebx + 0xd0], 0
je case.0x42ce4d.276
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je case.0x42ce4d.276
mov edx, dword [ebx + 0xec]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov byte [esp + 0x34], al
mov eax, dword [ebx + 0xf0]
mov dword [esp + 0x20], 4
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.00429920
mov word [esp + 0x36], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe4]
mov dword [esp + 0x28], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x20]
push eax
call edx
mov dword [ebx + 0xe4], 0
jmp case.0x42ce4d.276
xor edi, edi
cmp dword [ebx + 0xd0], edi
je case.0x42ce4d.276
cmp ax, 1
jne case.0x42ce4d.276
cmp byte [ebx + 0x315], 0
jne 0x42b7b9
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebx + 0x74]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
mov eax, ebx
call fcn.004310f0
mov esi, eax
cmp esi, edi
je case.0x42ce4d.276
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
test al, 2
je case.0x42ce4d.276
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], 0x1a
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
call fcn.00429920
mov word [esp + 0x36], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x28], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
mov al, 1
jmp 0x42e196
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
je case.0x42ce4d.276
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xec], 0x18
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], edx
mov dword [esp + 0xf0], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebx + 0xd4]
mov dword [esp + 0xf4], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x140]
lea ecx, [esp + 0xec]
push ecx
mov ecx, ebx
call edx
jmp case.0x42ce4d.276
cmp byte [ebx + 0x315], 0
je case.0x42ce4d.276
mov esi, ebx
call fcn.0042f2d0
jmp case.0x42ce4d.276
test eax, eax
je case.0x42ce4d.276
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax]
push eax
push ecx
add edi, 0x2000
push edi
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
mov al, 1
jmp 0x42e196
cmp edi, 0x2a1
ja 0x42de4c
je 0x42dc0a
lea ecx, [edi - 0x113]
cmp ecx, 0xf7
ja case.0x42ce4d.276
movzx edx, byte [ecx + 0x42e324]
jmp dword [edx*4 + 0x42e2f4]
xor ecx, ecx
cmp dword [ebx + 0x32c], ecx
jle case.0x42ce4d.276
mov edi, dword [ebx + 0x74]
mov eax, dword [ebx + 0x328]
jmp 0x42ce70
mov esi, dword [eax]
cmp dword [esi + 8], edi
jne 0x42ce87
movzx edx, word [esp + 0x18]
cmp dword [esi + 0xc], edx
jne 0x42ce87
cmp byte [esi + 0x10], 0
je 0x42ce98
inc ecx
add eax, 4
cmp ecx, dword [ebx + 0x32c]
jl 0x42ce70
jmp case.0x42ce4d.276
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov dword [esp + 0x20], 0x1b
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xec]
mov edx, dword [ebx + 0xf0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call fcn.00429920
mov ecx, dword [esp + 0x14]
mov word [esp + 0x36], ax
mov eax, dword [esi + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi]
mov dword [esp + 0x38], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x20]
push eax
call edx
jmp case.0x42ce4d.276
cmp byte [ebx + 0x314], 0
jne 0x42cf7f
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x94]
mov dword [esp + 0x60], 0x10
mov dword [esp + 0x64], 3
test eax, eax
jne 0x42cf55
mov ecx, dword [ebx + 0xc8]
mov dword [esp + 0x6c], ecx
jmp 0x42cf69
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x6c], eax
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov eax, dword [esp + 0x14]
mov byte [ebx + 0x314], 1
movsx esi, ax
shr eax, 0x10
movsx edi, ax
mov byte [esp + 0x1f], 1
cmp dword [ebx + 0xec], esi
jne 0x42cfa2
cmp dword [ebx + 0xf0], edi
jne 0x42cfa2
mov byte [esp + 0x1f], 0
push edi
push esi
mov eax, ebx
mov dword [ebx + 0xec], esi
mov dword [ebx + 0xf0], edi
call fcn.004310f0
mov dword [esp + 0x48], eax
test eax, eax
je 0x42cfd0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
cmp eax, ebx
jne case.0x42ce4d.276
cmp byte [esp + 0x1f], 0
je 0x42d2f9
cmp byte [ebx + 0x549], 0
je 0x42d2f9
cmp dword [esp + 0x18], 1
jne 0x42d2f9
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebx + 0x550]
test ecx, ecx
je 0x42d020
mov eax, dword [ecx]
mov edx, dword [ebx + 0xdc]
mov eax, dword [eax]
push edx
call eax
test al, al
je 0x42d020
mov byte [ebx + 0x549], 0
jmp case.0x42ce4d.276
push 0xc
call fcn.0048fcc0
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
test esi, esi
je case.0x42ce4d.276
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
push 0x3c
call fcn.0048fcc0
add esp, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0x188], 3
test eax, eax
je 0x42d077
push esi
push eax
call fcn.004420a0
jmp 0x42d079
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x188], 0xffffffff
test eax, eax
je case.0x42ce4d.276
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
xor eax, eax
push eax
mov edx, 2
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x54c]
push edx
push eax
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 0xffffffff
mov word [esp + 0x6c], dx
mov dword [esp + 0x7c], 0x10
call dword [sym.imp.ole32.dll_OleDuplicateData]
push 0
mov edi, eax
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x68]
mov dword [esp + 0x5c], edi
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x1c]
push eax
push esi
call ecx
lea edx, [esp + 0xac]
push edx
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
xor eax, eax
push eax
push eax
mov dword [esp + 0xa0], edx
mov edx, dword [ebx + 0x78]
mov dword [esp + 0x9c], ecx
push eax
mov ecx, 0xe
push edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov word [esp + 0x70], cx
mov dword [esp + 0x80], 0x40
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileA]
mov dword [esp + 0x88], eax
mov eax, dword [ebx + 0x78]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push eax
mov dword [esp + 0xa4], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xa8]
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x9c]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x88]
push ecx
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov edx, dword [esp + 0x9c]
push edx
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push 1
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x68]
mov dword [esp + 0x58], 0x40
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
push edx
push esi
call eax
lea ecx, [esp + 0xa4]
push ecx
push 0x5e5b40
push 1
push 0
push 0x5e5af0
mov dword [esp + 0xb4], vtable.DuiLib::CDragSourceHelper.0
mov dword [esp + 0xb8], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esp + 0x188], 4
mov eax, dword [esp + 0xb0]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xb4]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x44], 0
push 5
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
push edi
lea edx, [esp + 0xac]
push edx
lea esi, [esp + 0x9c]
lea edi, [esp + 0x50]
call fcn.00432130
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x84]
push eax
push 3
push ecx
push edx
call dword [sym.imp.ole32.dll_DoDragDrop]
cmp dword [esp + 0x84], 0
mov eax, dword [esp + 0x4c]
push eax
je 0x42d2c2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
jmp 0x42d2ca
call fcn.0048fcfa
add esp, 4
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0xa0]
mov byte [ebx + 0x549], 0
mov dword [esp + 0x188], 0xffffffff
call fcn.004321b0
jmp case.0x42ce4d.276
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x28], eax
call fcn.00429920
cmp byte [ebx + 0x315], 0
mov word [esp + 0x36], ax
jne 0x42d49d
push edi
push esi
mov eax, ebx
call fcn.004310f0
mov dword [esp + 0x48], eax
test eax, eax
je 0x42d376
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, ebx
jne case.0x42ce4d.276
mov eax, dword [ebx + 0xd8]
cmp dword [esp + 0x48], eax
je 0x42d468
test eax, eax
je 0x42d468
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x3b0]
lea esi, [esp + 0x50]
mov dword [esp + 0x20], 0xa
call fcn.00428a00
mov dword [esp + 0x188], 5
mov eax, dword [ebx + 0x3b0]
push eax
call fcn.00428af0
mov eax, dword [ebx + 0x3b0]
mov ecx, dword [ebx + 0x3ac]
lea edx, [eax*4]
mov eax, dword [esp + 0x50]
push edx
push ecx
push eax
call fcn.004a26d0
mov edi, dword [esp + 0x60]
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x42d40b
lea esp, [esp]
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x20]
push eax
call edx
inc esi
cmp esi, edi
jl 0x42d3f0
mov ecx, dword [ebx + 0xd8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x140]
lea edx, [esp + 0x20]
push edx
call eax
mov eax, dword [ebx + 0x94]
mov dword [ebx + 0xd8], 0
test eax, eax
je 0x42d449
lea ecx, [ebx + 0x98]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x188], 0xffffffff
cmp dword [esp + 0x50], 0
je 0x42d468
mov edx, dword [esp + 0x50]
push edx
call fcn.0049b045
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, dword [ebx + 0xd8]
je 0x42d49d
test eax, eax
je 0x42d49d
mov esi, eax
mov dword [esp + 0x20], 0xb
mov dword [esp + 0x24], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
mov dword [ebx + 0xd8], esi
mov ebx, dword [ebx + 0xdc]
test ebx, ebx
je 0x42d4c9
mov dword [esp + 0x20], 9
mov dword [esp + 0x24], ebx
mov eax, dword [ebx]
mov edx, dword [eax + 0x140]
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call edx
jmp case.0x42ce4d.276
mov ecx, dword [esp + 0x48]
test ecx, ecx
je case.0x42ce4d.276
mov dword [esp + 0x20], 9
mov dword [esp + 0x24], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x140]
lea edx, [esp + 0x20]
push edx
call eax
jmp case.0x42ce4d.276
cmp byte [ebx + 0xcc], 0
jne 0x42d508
mov ecx, dword [ebx + 0x74]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0xd0], 0
je case.0x42ce4d.276
mov ecx, dword [esp + 0x14]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [esp + 0x44], eax
mov dword [ebx + 0xec], eax
push eax
mov eax, ebx
mov dword [esp + 0x4c], ecx
mov dword [ebx + 0xf0], ecx
call fcn.004310f0
mov edi, eax
test edi, edi
je case.0x42ce4d.276
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
cmp eax, ebx
jne case.0x42ce4d.276
cmp byte [ebx + 0x548], 0
je 0x42d5c6
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
mov ecx, edi
call eax
test al, al
je 0x42d5c6
mov eax, dword [ebx + 0x54c]
mov byte [ebx + 0x549], 1
test eax, eax
je 0x42d592
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x54c], 0
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
mov ecx, edi
call eax
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push edi
mov dword [ecx + 8], edx
push ebx
mov dword [ecx + 0xc], eax
call fcn.0045e6f0
add esp, 0x18
mov dword [ebx + 0x54c], eax
mov esi, ebx
call fcn.0042f2b0
mov dword [ebx + 0xdc], edi
mov edx, dword [edi]
mov eax, dword [edx + 0x128]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], 0xd
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov word [esp + 0x36], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x28], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call edx
jmp case.0x42ce4d.276
cmp byte [ebx + 0xcc], 0
jne 0x42d661
mov eax, dword [ebx + 0x74]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x14]
movsx edi, ax
shr eax, 0x10
cwde
push eax
mov dword [esp + 0x58], eax
mov dword [ebx + 0xf0], eax
push edi
mov eax, ebx
mov dword [ebx + 0xec], edi
call fcn.004310f0
mov esi, eax
test esi, esi
je case.0x42ce4d.276
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, ebx
jne case.0x42ce4d.276
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], 0x13
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov word [esp + 0x36], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x28], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x140]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call edx
mov dword [ebx + 0xdc], esi
jmp case.0x42ce4d.276
movsx edi, ax
shr eax, 0x10
cmp dword [ebx + 0xdc], 0
cwde
mov dword [esp + 0x54], eax
mov dword [ebx + 0xec], edi
mov dword [ebx + 0xf0], eax
je case.0x42ce4d.276
mov esi, ebx
call fcn.0042f2d0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0xdc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], 0xe
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edx
mov word [esp + 0x36], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xdc]
mov dword [esp + 0x28], eax
mov dword [ebx + 0xdc], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x140]
lea edx, [esp + 0x20]
push edx
call eax
jmp case.0x42ce4d.276
cmp byte [ebx + 0xcc], 0
jne 0x42d7ce
mov ecx, dword [ebx + 0x74]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x14]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [esp + 0x44], eax
mov dword [ebx + 0xec], eax
push eax
mov eax, ebx
mov dword [esp + 0x4c], ecx
mov dword [ebx + 0xf0], ecx
call fcn.004310f0
mov edi, eax
test edi, edi
je case.0x42ce4d.276
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
cmp eax, ebx
jne case.0x42ce4d.276
mov edx, dword [edi]
mov eax, dword [edx + 0x128]
mov ecx, edi
call eax
mov esi, ebx
call fcn.0042f2b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov word [esp + 0x36], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x28], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call edx
mov dword [ebx + 0xe0], edi
jmp case.0x42ce4d.276
cmp byte [ebx + 0x315], 0
je 0x42d8ab
mov esi, ebx
call fcn.0042f2d0
mov eax, dword [esp + 0x14]
movsx esi, ax
shr eax, 0x10
movsx edi, ax
push edi
push esi
mov eax, ebx
mov dword [ebx + 0xec], esi
mov dword [ebx + 0xf0], edi
call fcn.004310f0
mov dword [ebx + 0xe0], eax
test eax, eax
je case.0x42ce4d.276
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov word [esp + 0x36], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebx + 0xe0]
mov dword [esp + 0x28], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call edx
jmp case.0x42ce4d.276
cmp byte [ebx + 0xcc], 0
jne 0x42d95b
mov eax, dword [ebx + 0x74]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x14]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [esp + 0x44], eax
mov dword [ebx + 0xec], eax
push eax
mov eax, ebx
mov dword [esp + 0x4c], ecx
mov dword [ebx + 0xf0], ecx
call fcn.004310f0
mov edi, eax
test edi, edi
je case.0x42ce4d.276
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
cmp eax, ebx
jne case.0x42ce4d.276
mov edx, dword [edi]
mov eax, dword [edx + 0x128]
mov ecx, edi
call eax
mov esi, ebx
call fcn.0042f2b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], 0x11
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov word [esp + 0x36], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x28], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call edx
mov dword [ebx + 0xdc], edi
jmp case.0x42ce4d.276
cmp byte [ebx + 0x315], 0
je 0x42da38
mov esi, ebx
call fcn.0042f2d0
mov eax, dword [esp + 0x14]
movsx esi, ax
shr eax, 0x10
movsx edi, ax
push edi
push esi
mov eax, ebx
mov dword [ebx + 0xec], esi
mov dword [ebx + 0xf0], edi
call fcn.004310f0
mov dword [ebx + 0xdc], eax
test eax, eax
je case.0x42ce4d.276
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], 0x12
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov word [esp + 0x36], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebx + 0xdc]
jmp 0x42d92e
cmp dword [ebx + 0xd0], 0
je case.0x42ce4d.276
mov eax, dword [esp + 0x14]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
lea eax, [esp + 0x40]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 0x74]
push eax
push ecx
mov dword [esp + 0x4c], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push ecx
mov dword [ebx + 0xec], eax
push eax
mov eax, ebx
mov dword [ebx + 0xf0], ecx
call fcn.004310f0
mov esi, eax
test esi, esi
je case.0x42ce4d.276
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, ebx
jne case.0x42ce4d.276
mov eax, dword [esp + 0x18]
shr eax, 0x10
movsx ecx, ax
xor eax, eax
movzx edx, cx
shl edx, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
test ecx, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
setl al
mov dword [esp + 0x20], 0x15
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], ecx
or edx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.00429920
mov word [esp + 0x36], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x28], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
movzx eax, word [ebx + 0xf0]
movzx ecx, word [ebx + 0xec]
mov edx, dword [ebx + 0x74]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x42ce4d.276
test eax, eax
je case.0x42ce4d.276
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ecx
add edi, 0x2000
push edi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x48]
mov dword [edx], eax
test eax, eax
je case.0x42ce4d.276
mov al, 1
jmp 0x42e196
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0xd0]
movsx edi, ax
shr eax, 0x10
cwde
push 0x15
mov dword [esp + 0xd0], eax
mov dword [esp + 0x58], eax
lea edx, [esp + 0x54]
mov byte [ebx + 0x314], 0
mov dword [esp + 0x54], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x134]
push edx
push 0x4311c0
call eax
mov esi, eax
test esi, esi
je case.0x42ce4d.276
mov ecx, dword [ebx + 0xd8]
test ecx, ecx
je 0x42dccd
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
call fcn.00429920
mov ecx, dword [ebx + 0xd8]
mov word [esp + 0x36], ax
mov edx, dword [ecx]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x20]
push eax
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc8]
lea ecx, [esp + 0x12c]
push ecx
mov ecx, esi
call edx
mov dword [esp + 0x188], 2
mov eax, dword [esp + 0x12c]
cmp byte [eax], 0
jne 0x42dd13
lea ecx, [esp + 0x130]
cmp eax, ecx
je 0x42dd0c
push eax
call fcn.0049b045
add esp, 4
mov al, 1
jmp 0x42e196
push 0x30
lea edi, [ebx + 0x98]
push 0
push edi
call fcn.004a0660
mov eax, dword [ebx + 0x74]
mov edx, dword [0x66bdf0]
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], eax
mov eax, dword [esp + 0x138]
mov dword [ebx + 0xbc], eax
mov dword [edi], 0x30
mov dword [ebx + 0x9c], 1
mov dword [ebx + 0xb8], edx
mov edx, dword [esi]
mov eax, dword [edx + 0x58]
add esp, 0xc
mov ecx, esi
call eax
cmp dword [ebx + 0x94], 0
mov ecx, dword [eax]
mov dword [ebx + 0xa8], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0xac], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 0xb0], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0xb4], edx
jne 0x42ddff
mov eax, dword [0x66bdf0]
mov ecx, dword [ebx + 0x74]
push 0
push eax
push 0
push ecx
push closesocket
push closesocket
push closesocket
push closesocket
push reloc.WS2_32.dll_closesocket
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push edi
push 0
push 0x404
push eax
mov dword [ebx + 0x94], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi]
mov eax, dword [edx + 0xd4]
mov ecx, esi
call eax
mov ecx, dword [ebx + 0x94]
push eax
push 0
push 0x418
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebx + 0x94]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42de37
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push eax
mov eax, dword [ebx + 0x94]
push 0x409
push eax
call esi
mov ecx, dword [ebx + 0x94]
push edi
push 1
push 0x411
push ecx
call esi
mov eax, dword [esp + 0x12c]
lea edx, [esp + 0x130]
cmp eax, edx
jmp 0x42dd01
sub edi, 0x2a3
je 0x42e075
sub edi, 0x75
je 0x42df7e
sub edi, 0x7ce9
jne case.0x42ce4d.276
xor esi, esi
cmp dword [ebx + 0x380], esi
jle 0x42de95
mov eax, dword [ebx + 0x37c]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x42de8c
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc esi
cmp esi, dword [ebx + 0x380]
jl 0x42de77
mov eax, dword [ebx + 0x37c]
test eax, eax
je 0x42dea8
push eax
call fcn.0049b045
add esp, 4
xor eax, eax
mov dword [ebx + 0x37c], eax
mov dword [ebx + 0x384], eax
mov dword [ebx + 0x380], eax
mov byte [ebx + 0x318], al
cmp dword [ebx + 0x38c], 0
jle case.0x42ce4d.276
mov ecx, dword [ebx + 0x388]
mov esi, dword [ecx]
test esi, esi
je case.0x42ce4d.276
mov eax, dword [ebx + 0x38c]
test eax, eax
jle 0x42df0f
dec eax
mov dword [ebx + 0x38c], eax
test eax, eax
jle 0x42df0f
mov ecx, dword [ebx + 0x388]
lea edx, [eax*4]
push edx
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004a26d0
add esp, 0xc
mov eax, dword [esi + 0x88]
test eax, eax
je 0x42df28
cmp dword [eax + 0x3c], 0
jle 0x42df28
push esi
lea edi, [eax + 0x38]
call fcn.00462c60
xor edi, edi
cmp dword [ebx + 0x320], edi
jle 0x42df4b
mov ecx, dword [ebx + 0x31c]
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx]
mov eax, dword [edx]
push esi
call eax
inc edi
cmp edi, dword [ebx + 0x320]
jl 0x42df32
mov eax, dword [esi + 0x44]
lea ecx, [esi + 0x48]
cmp eax, ecx
je 0x42df5e
push eax
call fcn.0049b045
add esp, 4
mov eax, dword [esi]
lea edx, [esi + 4]
cmp eax, edx
je 0x42df70
push eax
call fcn.0049b045
add esp, 4
push esi
call fcn.0048fcfa
add esp, 4
jmp 0x42dec2
cmp dword [ebx + 0xd0], 0
je case.0x42ce4d.276
mov ecx, dword [ebx + 0x74]
lea eax, [esp + 0x8c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0xd0]
push 0
lea edx, [esp + 0x90]
mov dword [esp + 0x44], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x150]
push edx
mov edx, dword [esp + 0x20]
push edx
call eax
test byte [esp + 0x14], 0x10
je 0x42e060
mov ecx, dword [ebx + 0x74]
push 5
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x42e060
mov edi, dword [esp + 0x14]
or edi, 2
xor eax, eax
lea edx, [esp + 0x60]
push edx
push esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebx + 0x74]
push 2
lea eax, [esp + 0x64]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
push 0
neg edx
push edx
neg eax
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov edx, dword [esp + 0x18]
push edi
push edx
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x42dff3
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.0x42ce4d.276
mov eax, dword [ebx + 0x94]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x42e096
lea edx, [ebx + 0x98]
push edx
push 0
push 0x411
push eax
call esi
cmp byte [ebx + 0x314], 0
je 0x42e18d
xor eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
xor edi, edi
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x90], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebx + 0x74]
lea ecx, [esp + 0x8c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0x74]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x42e17f
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0x74]
jne 0x42e17f
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42e17f
movzx ecx, word [esp + 0x44]
movzx edx, word [esp + 0x40]
mov eax, dword [ebx + 0x74]
shl ecx, 0x10
or ecx, edx
push ecx
push edi
push 0x84
push eax
call esi
cmp eax, 1
jne 0x42e171
mov edx, dword [ebx + 0x74]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx eax, word [esp + 0x44]
movzx ecx, word [esp + 0x40]
mov edx, dword [ebx + 0x74]
shl eax, 0x10
or eax, ecx
push eax
push edi
push 0x200
push edx
jmp 0x42e18b
mov eax, dword [ebx + 0x74]
push 0xffffffffffffffff
push edi
push 0x200
push eax
jmp 0x42e18b
mov ecx, dword [ebx + 0x74]
push 0xffffffffffffffff
push edi
push 0x200
push ecx
call esi
mov byte [ebx + 0x314], 0
xor al, al
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00499a1c
mov esp, ebp
pop ebp
ret 0xc