Function at 0x41a170
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55baeb
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x5a9840]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1d4], esi
cmp dword [esi + 0x84], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1b0], eax
je case.default.0x41ba6a
lea ecx, [esi + 0x2e4]
mov dword [ebp - 0x1cc], 0
call fcn.00416ac0
mov edi, dword [ebp - 0x1a8]
test eax, eax
jle 0x41a240
xor ecx, ecx
nop
push ecx
lea ecx, [esi + 0x2e4]
mov byte [ebp - 0x1c5], 0
call fcn.004161c0
lea ecx, [ebp - 0x1c5]
push ecx
push edi
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x1ac]
push dword [ebp + 8]
mov eax, dword [edx]
call eax
cmp byte [ebp - 0x1c5], 0
jne 0x41a29b
inc dword [ebp - 0x1cc]
lea ecx, [esi + 0x2e4]
call fcn.00416ac0
mov ecx, dword [ebp - 0x1cc]
cmp ecx, eax
jl 0x41a1f0
cmp byte [esi + 0x14d], 0
mov edx, dword [ebp + 8]
je 0x41a35c
mov eax, edx
sub eax, 0x83
je 0x41a349
sub eax, 2
je 0x41a349
sub eax, 1
jne 0x41a35c
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x41a341
cmp dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1b0]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x41c528
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x200
ja 0x41a305
je case.0x41a31a.513
cmp eax, 0x7b
jne case.0x41a31a.516
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1bc], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x1bc]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x1b8]
mov dword [esi + 0xfc], eax
mov al, 1
mov dword [esi + 0x100], ecx
jmp 0x41c528
add eax, 0xfffffdff
cmp eax, 9
ja case.0x41a31a.516
movzx eax, byte [eax + 0x41c554]
jmp dword [eax*4 + 0x41c548]
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0x100], eax
mov al, 1
mov dword [esi + 0xfc], ecx
jmp 0x41c528
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
jmp 0x41a37c
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 0
jmp 0x41c528
cmp edx, 0x111
ja 0x41b60e
je 0x41b637
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x41ba6a
movzx eax, byte [eax + 0x41c598]
jmp dword [eax*4 + 0x41c560]
mov ecx, dword [esi + 0x100]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0xfc]
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.0041a100
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xec]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x41a3e1
mov dword [ebp - 0x40], 0xa
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
mov ecx, dword [esi + 0xf0]
test ecx, ecx
je 0x41a401
mov dword [ebp - 0x40], 0xe
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 1
push 0
mov ecx, esi
call fcn.0041e250
mov edi, dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x41a455
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
push 0xfffffffffffffff0
push dword [esi + 0x84]
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x41a44a
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
je 0x41a455
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xac]
test eax, eax
je case.default.0x41ba6a
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0xac], 0
jmp case.default.0x41ba6a
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 1
jmp 0x41c528
cmp dword [esi + 0xe4], 0
mov edi, dword [esi + 0x84]
jne 0x41a4e4
push 0x40
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.004f26e0
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x58]
push eax
push dword [esi + 0x88]
call fcn.0042d360
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x41c528
lea eax, [ebp - 0x194]
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x194], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [esi + 0x14d], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
je 0x41a5a3
movups xmm0, xmmword [esi + 0x164]
lea eax, [esi + 0x164]
mov byte [esi + 0x14b], 1
push eax
movups xmmword [ebp - 0x70], xmm0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x41a573
push 0x40
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.004f26e0
add esp, 0xc
lea eax, [ebp - 0xc0]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0xc0]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x41c528
mov eax, dword [ebp - 0x68]
xorps xmm0, xmm0
cmp eax, dword [ebp - 0x18c]
mov edi, dword [ebp - 0x188]
cmovg eax, dword [ebp - 0x18c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
cmp eax, edi
movups xmmword [esi + 0x164], xmm0
cmovg eax, edi
mov dword [ebp - 0x64], eax
jmp 0x41a5c3
push 0
lea eax, [ebp - 0x70]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je case.0x41a31a.516
mov edi, dword [ebp - 0x188]
cmp byte [esi + 0x14a], 0
je 0x41a5db
push 1
mov ecx, esi
call fcn.0041e7c0
mov edi, dword [ebp - 0x188]
push 1
mov ecx, esi
call fcn.0041e950
cmp byte [esi + 0x149], 0
je 0x41a7e5
lea eax, [ebp - 0x194]
mov byte [esi + 0x149], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x41a871
mov ecx, dword [esi + 0xe4]
call fcn.00421850
test al, al
je 0x41a6e8
movups xmm0, xmmword [ebp - 0x194]
mov eax, dword [esi + 0x8c]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
movups xmmword [ebp - 0x80], xmm0
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x41a642
push eax
call edi
mov eax, dword [esi + 0x90]
test eax, eax
je 0x41a64f
push eax
call edi
mov eax, dword [esi + 0x94]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x41a662
push eax
call edi
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x41a66f
push eax
call edi
cmp byte [esi + 0x14d], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x9c], 0
je 0x41a6ca
mov eax, dword [esi + 0x150]
add dword [ebp - 0x20], eax
mov eax, dword [esi + 0x154]
add dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x158]
sub dword [ebp - 0x18], eax
mov eax, dword [esi + 0x15c]
sub dword [ebp - 0x14], eax
movups xmm0, xmmword [ebp - 0x20]
jmp 0x41a6ce
movups xmm0, xmmword [ebp - 0x80]
mov ecx, dword [esi + 0xe4]
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x4c]
jmp 0x41a786
lea edi, [esi + 0x32c]
mov ecx, edi
mov dword [ebp - 0x1c0], edi
call fcn.004166e0
mov ecx, dword [esi + 0xe4]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x41f960
mov eax, dword [ecx]
call dword [eax + 0x110]
mov ecx, edi
call fcn.00416ac0
test eax, eax
jle 0x41a786
xor esi, esi
push esi
mov ecx, edi
call fcn.004161c0
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
mov edx, dword [edx + 0x108]
call edx
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0x1b4], edx
test al, al
jne 0x41a74d
mov eax, dword [edx + 0x40]
call eax
jmp 0x41a756
lea eax, [ebp - 0x80]
push eax
mov eax, dword [edx + 0x44]
call eax
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x1b4]
push 1
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, edi
call dword [eax + 0x4c]
mov edi, dword [ebp - 0x1c0]
inc esi
mov ecx, edi
call fcn.00416ac0
cmp esi, eax
jl 0x41a722
mov esi, dword [ebp - 0x1d4]
cmp byte [esi + 0x148], 0
je 0x41a871
push 1
push 0
push 0
push 0
push str.windowinit
push dword [esi + 0xe4]
mov ecx, esi
mov byte [esi + 0x148], 0
call fcn.0041de50
cmp byte [esi + 0x14d], 0
je 0x41a871
cmp byte [esi + 0x160], 0
je 0x41a871
mov ecx, esi
call fcn.00419e90
push 0
mov ecx, esi
call fcn.0041e950
mov al, 1
jmp 0x41c528
cmp byte [esi + 0x14d], 0
je 0x41a871
cmp byte [esi + 0x160], 0
je 0x41a871
movups xmm0, xmmword [ebp - 0x194]
mov ecx, dword [esi + 0x98]
movups xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x41a834
mov eax, dword [ebp - 0x18c]
sub edi, dword [ebp - 0x190]
sub eax, dword [ebp - 0x194]
imul edi, eax
shl edi, 2
push edi
push 0
push ecx
call fcn.004f26e0
add esp, 0xc
mov eax, dword [esi + 0x150]
add dword [ebp - 0x20], eax
mov eax, dword [esi + 0x154]
add dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x158]
sub dword [ebp - 0x18], eax
mov ecx, dword [esi + 0xe4]
mov eax, dword [esi + 0x15c]
sub dword [ebp - 0x14], eax
movups xmm0, xmmword [ebp - 0x20]
mov edx, dword [ecx]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x4c]
cmp byte [esi + 0x14b], 0
je 0x41a8fb
cmp dword [esi + 0x94], 0
jne 0x41a8fb
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [esi + 0x14d], 0
mov ecx, dword [esi + 0x88]
mov dword [esi + 0x8c], eax
je 0x41a8d4
lea eax, [esi + 0x98]
push eax
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x18c]
sub eax, dword [ebp - 0x194]
push eax
push ecx
call fcn.0042d2e0
add esp, 0x10
jmp 0x41a8f5
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x18c]
sub eax, dword [ebp - 0x194]
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x94], eax
push 0x40
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004f26e0
add esp, 0xc
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0x14b], 0
je 0x41b0ba
push dword [esi + 0x94]
push dword [esi + 0x8c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0x8c]
mov dword [ebp - 0x1b8], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [esi + 0x14d], 0
mov dword [ebp - 0x1d0], eax
je 0x41a9c4
cmp dword [esi + 0x280], 0
jne 0x41a9c4
mov eax, dword [ebp - 0x188]
mov edi, eax
sub edi, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
cmp edi, eax
jge 0x41a9c4
mov ecx, dword [ebp - 0x68]
nop
mov edx, dword [ebp - 0x70]
cmp edx, ecx
jge 0x41a9b6
nop word [eax + eax]
mov ecx, dword [ebp - 0x18c]
sub ecx, dword [ebp - 0x194]
mov eax, dword [esi + 0x98]
imul ecx, edi
add ecx, edx
inc edx
mov dword [eax + ecx*4], 0
mov ecx, dword [ebp - 0x68]
cmp edx, ecx
jl 0x41a990
mov eax, dword [ebp - 0x188]
inc edi
sub eax, dword [ebp - 0x6c]
cmp edi, eax
jl 0x41a980
mov ecx, dword [esi + 0xe4]
lea edx, [ebp - 0x70]
push 0
push edx
push dword [esi + 0x8c]
mov eax, dword [ecx]
call dword [eax + 0x138]
cmp byte [esi + 0x14d], 0
je 0x41ac5b
lea ecx, [esi + 0x2fc]
mov dword [ebp - 0x1b0], 0
call fcn.00416ac0
test eax, eax
jle 0x41ac5b
xor ecx, ecx
nop word [eax + eax]
push ecx
lea ecx, [esi + 0x2fc]
call fcn.004161c0
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41aa54
push 1
push dword [ebp - 0x1b0]
lea ecx, [esi + 0x2fc]
call fcn.00416e50
push 1
push dword [ebp - 0x1b0]
lea ecx, [esi + 0x308]
call fcn.00416e50
jmp 0x41ac42
inc dword [ebp - 0x1b0]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41ac42
push edi
lea eax, [ebp - 0x1a4]
mov ecx, esi
push eax
call fcn.00419810
lea eax, [ebp - 0x1a4]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
movups xmmword [ebp - 0x80], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x41ac42
push dword [esi + 0x8c]
mov dword [ebp - 0x1cc], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x1a8], eax
push ecx
mov ecx, dword [ebp - 0x198]
sub ecx, dword [ebp - 0x1a0]
push ecx
mov ecx, dword [ebp - 0x19c]
sub ecx, dword [ebp - 0x1a4]
push ecx
push eax
call fcn.0042d2e0
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x198]
sub edx, dword [ebp - 0x1a4]
sub ecx, dword [ebp - 0x1a0]
imul edx, ecx
mov dword [ebp - 0x1d8], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1cc]
call fcn.004f26e0
add esp, 0x1c
push dword [ebp - 0x1d8]
push dword [ebp - 0x1a8]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x1a8]
mov dword [ebp - 0x1c0], eax
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x198]
mov ecx, edx
sub ecx, dword [ebp - 0x1a0]
mov edi, dword [ebp - 0x19c]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1b4], edx
test ecx, ecx
jle 0x41abed
mov esi, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1ac]
mov eax, edi
xor edx, edx
sub eax, esi
test eax, eax
jle 0x41abce
mov eax, dword [ebp - 0x1cc]
mov ecx, edi
sub ecx, esi
imul ecx, dword [ebp - 0x1ac]
add ecx, edx
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
test eax, eax
je 0x41abb1
or eax, 0xff000000
mov dword [ecx], eax
mov edi, dword [ebp - 0x19c]
mov esi, dword [ebp - 0x1a4]
mov eax, edi
inc edx
sub eax, esi
cmp edx, eax
jl 0x41ab82
mov edx, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b4], edx
jmp 0x41abd4
mov edx, dword [ebp - 0x1b4]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1ac], ecx
cmp ecx, eax
jl 0x41ab78
mov esi, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1a0]
sub edx, ecx
mov eax, dword [ebp - 0x1a4]
sub edi, eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1a8]
push edx
push edi
push ecx
push eax
push dword [esi + 0x8c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1c0]
mov edi, dword [ebp - 0x1a8]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1d8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esi + 0x2fc]
call fcn.00416ac0
mov ecx, dword [ebp - 0x1b0]
cmp ecx, eax
jl 0x41aa10
lea ecx, [esi + 0x2f0]
xor edi, edi
call fcn.00416ac0
test eax, eax
jle 0x41aca0
nop dword [eax]
push edi
lea ecx, [esi + 0x2f0]
call fcn.004161c0
lea ecx, [ebp - 0x70]
push ecx
push dword [esi + 0x8c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x154]
lea ecx, [esi + 0x2f0]
inc edi
call fcn.00416ac0
cmp edi, eax
jl 0x41ac70
push dword [ebp - 0x1d0]
push dword [esi + 0x8c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [esi + 0x14d], 0
je 0x41b013
lea eax, [ebp - 0x80]
xorps xmm0, xmm0
push eax
push dword [esi + 0x84]
movups xmmword [ebp - 0x80], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x188]
mov eax, edi
sub eax, dword [ebp - 0x190]
movups xmm0, xmmword [ebp - 0x194]
mov edx, dword [ebp - 0x18c]
sub edx, dword [ebp - 0x194]
mov dword [ebp - 0x1ac], eax
mov eax, dword [esi + 0x150]
add eax, dword [ebp - 0x194]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x154]
add dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x158]
sub dword [ebp - 0x18], eax
mov eax, dword [esi + 0x15c]
sub dword [ebp - 0x14], eax
cmp dword [esi + 0x280], 0
mov dword [ebp - 0x1b0], edx
je 0x41af7f
cmp dword [esi + 0x9c], 0
jne 0x41adb9
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea edi, [esi + 0xa0]
mov dword [esi + 0x90], eax
push edi
push dword [ebp - 0x1ac]
push dword [ebp - 0x1b0]
push dword [esi + 0x88]
call fcn.0042d2e0
mov dword [esi + 0x9c], eax
mov eax, dword [ebp - 0x1ac]
imul eax, dword [ebp - 0x1b0]
shl eax, 2
push eax
push 0
push dword [edi]
call fcn.004f26e0
add esp, 0x1c
push dword [esi + 0x9c]
push dword [esi + 0x90]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 0
jmp 0x41adea
cmp byte [esi + 0x160], 0
je 0x41ae35
mov eax, dword [ebp - 0x1ac]
imul eax, edx
shl eax, 2
push eax
push 0
push dword [esi + 0xa0]
call fcn.004f26e0
add esp, 0xc
mov dword [ebp - 4], 1
movups xmm0, xmmword [ebp - 0x20]
lea eax, [ebp - 0x3c]
push eax
sub esp, 0x10
mov eax, esp
push dword [esi + 0x90]
movups xmmword [eax], xmm0
call fcn.004326d0
lea eax, [esi + 0x174]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push esi
push dword [esi + 0x90]
call fcn.00431620
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0042cd80
mov edi, dword [ebp - 0x188]
mov eax, dword [esi + 0x280]
cmp byte [eax + 0x14], 0
je 0x41af7f
mov ecx, edi
mov eax, edi
sub ecx, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1c0], ecx
cmp ecx, eax
jge 0x41af7f
mov edx, ecx
imul edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], edx
nop dword [eax]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x1d8], eax
cmp eax, dword [ebp - 0x68]
jge 0x41af5f
lea ecx, [eax + edx]
shl ecx, 2
mov dword [ebp - 0x1d0], ecx
nop
mov edi, dword [esi + 0x98]
add edi, ecx
lea ecx, [edx + eax]
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0x1d4], edi
movzx edx, byte [eax + ecx*4 + 3]
mov eax, dword [edi]
shr eax, 0x10
movzx ecx, al
mov eax, 0x80808081
imul ecx, edx
mov dword [ebp - 0x1cc], edx
mul ecx
mov eax, dword [ebp - 0x1d4]
shr edx, 7
movzx edi, dl
shl edi, 8
mov eax, dword [eax]
shr eax, 8
movzx ecx, al
mov eax, 0x80808081
imul ecx, dword [ebp - 0x1cc]
mul ecx
mov ecx, dword [ebp - 0x1d4]
shr edx, 7
movzx eax, dl
or edi, eax
mov eax, dword [ecx]
movzx ecx, al
mov eax, 0x80808081
imul ecx, dword [ebp - 0x1cc]
shl edi, 8
mul ecx
mov ecx, dword [ebp - 0x1d0]
shr edx, 7
add ecx, 4
movzx eax, dl
mov edx, dword [ebp - 0x1b4]
or edi, eax
mov eax, dword [ebp - 0x1cc]
shl eax, 0x18
add edi, eax
mov dword [ebp - 0x1d0], ecx
mov eax, dword [ebp - 0x1d4]
mov dword [eax], edi
mov eax, dword [ebp - 0x1d8]
inc eax
mov dword [ebp - 0x1d8], eax
cmp eax, dword [ebp - 0x68]
jl 0x41ae90
mov edi, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x1c0]
add edx, dword [ebp - 0x1b0]
mov eax, edi
sub eax, dword [ebp - 0x6c]
inc ecx
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 0x1b4], edx
cmp ecx, eax
jl 0x41ae70
mov al, byte [esi + 0x14c]
mov byte [ebp - 0x1a6], al
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ac]
push 2
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x1a8]
push eax
push 0
lea eax, [ebp - 0x1e4]
mov word [ebp - 0x1a8], 0
push eax
push dword [esi + 0x8c]
lea eax, [ebp - 0x1ec]
mov byte [ebp - 0x1a5], 1
push eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x1e4], 0
push eax
push dword [esi + 0x88]
mov dword [ebp - 0x1e0], 0
push dword [esi + 0x84]
call dword [0x5ac510]
jmp 0x41b040
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
push 0xcc0020
push edx
push ecx
push dword [esi + 0x8c]
sub eax, edx
push eax
mov eax, dword [ebp - 0x68]
sub eax, ecx
push eax
push edx
push ecx
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1b8]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0x8c]
call edi
cmp byte [esi + 0xe1], 0
je 0x41b0ef
cmp byte [esi + 0x14d], 0
jne 0x41b0ef
push dword [0x5ac514]
push dword [esi + 0x88]
call edi
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x41b0ef
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0xe4]
mov edi, eax
push 0
lea eax, [ebp - 0x70]
push eax
mov edx, dword [ecx]
push dword [esi + 0x88]
call dword [edx + 0x138]
push edi
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
push 0
mov ecx, esi
call fcn.0041e950
cmp byte [esi + 0x149], 0
mov byte [esi + 0x160], 0
je case.0x41a31a.516
mov ecx, esi
call fcn.00419e90
mov al, 1
jmp 0x41c528
mov ecx, dword [esi + 0x104]
mov eax, dword [ebp - 0x1a8]
test ecx, ecx
jle 0x41b140
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x108]
test ecx, ecx
jle 0x41b14d
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x10c]
test ecx, ecx
jle 0x41b15a
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x110]
test ecx, ecx
jle case.default.0x41ba6a
mov dword [eax + 0x24], ecx
jmp case.default.0x41ba6a
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x41b1cc
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x40], 0x16
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x100]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.0041a100
mov ecx, dword [esi + 0xe8]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov ecx, dword [esi + 0xe4]
test ecx, ecx
je 0x41b1db
call fcn.004219d0
cmp byte [esi + 0x14d], 0
je case.0x41a31a.516
mov ecx, esi
call fcn.00419e90
mov al, 1
jmp 0x41c528
cmp byte [esi + 0xe0], 0
je case.default.0x41ba6a
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 3
jmp 0x41c528
cmp dword [esi + 0xe4], 0
je case.default.0x41ba6a
mov ecx, esi
call fcn.00419f10
test al, al
jne case.default.0x41ba6a
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1bc], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x1bc]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esi + 0xf0]
mov eax, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x1b8]
mov dword [esi + 0xfc], eax
mov dword [esi + 0x100], edx
test ecx, ecx
je case.default.0x41ba6a
xor edi, edi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1ac]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], 0x11
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x2a], ax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xf0]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov dword [esi + 0xf0], edi
jmp case.default.0x41ba6a
cmp dword [esi + 0xe4], 0
je case.default.0x41ba6a
mov eax, dword [esi + 0xe8]
test eax, eax
je case.default.0x41ba6a
mov ecx, dword [esi + 0x100]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.0041a100
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x41ba6a
cmp dword [esi + 0xe4], 0
je case.default.0x41ba6a
mov eax, dword [esi + 0xe8]
test eax, eax
je case.default.0x41ba6a
mov ecx, dword [esi + 0x100]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.0041a100
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov eax, dword [esi + 0xe8]
mov dword [esi + 0xf4], eax
jmp case.default.0x41ba6a
cmp dword [esi + 0xe4], 0
je case.default.0x41ba6a
mov eax, dword [esi + 0xf4]
test eax, eax
je case.default.0x41ba6a
mov ecx, dword [esi + 0x100]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.0041a100
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xf4]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov dword [esi + 0xf4], 0
jmp case.default.0x41ba6a
cmp dword [esi + 0xe4], 0
je case.default.0x41ba6a
cmp di, 1
jne case.default.0x41ba6a
cmp byte [esi + 0x2b9], 0
jne case.0x41a31a.516
lea eax, [ebp - 0x1dc]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1dc], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1dc]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1d8]
mov ecx, esi
push dword [ebp - 0x1dc]
call fcn.00418bc0
mov esi, eax
test esi, esi
je case.default.0x41ba6a
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x41ba6a
mov ecx, dword [ebp - 0x1d8]
xor eax, eax
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0xa0], 0x17
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
call fcn.0041a100
mov word [ebp - 0x8a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0xa0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
mov al, 1
jmp 0x41c528
cmp dword [ebp - 0x1ac], 0
je case.default.0x41ba6a
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, eax
push edi
mov dword [ebp - 0x1c0], edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
test eax, eax
je case.default.0x41ba6a
cmp dword [esi + 0x84], eax
je 0x41b56e
push eax
mov dword [ebp - 0x1c0], eax
call edi
test eax, eax
jne 0x41b554
jmp case.default.0x41ba6a
lea ecx, [esi + 0x2fc]
xor edi, edi
call fcn.00416ac0
test eax, eax
jle case.default.0x41ba6a
push edi
lea ecx, [esi + 0x2fc]
call fcn.004161c0
cmp eax, dword [ebp - 0x1c0]
je 0x41b5ac
lea ecx, [esi + 0x2fc]
inc edi
call fcn.00416ac0
cmp edi, eax
jl 0x41b583
jmp case.default.0x41ba6a
lea ecx, [esi + 0x308]
push edi
call fcn.004161c0
cmp eax, dword [esi + 0xe8]
je case.default.0x41ba6a
push 0
push edi
lea ecx, [esi + 0x308]
call fcn.004161c0
push eax
mov ecx, esi
call fcn.0041e250
jmp case.default.0x41ba6a
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je case.0x41a31a.516
push ecx
push dword [ebp - 0x1ac]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov al, 1
jmp 0x41c528
cmp edx, 0x200
ja 0x41ba49
je 0x41b799
mov eax, edx
sub eax, 0x113
je 0x41b669
sub eax, 0x20
je 0x41b637
sub eax, 5
jne case.default.0x41ba6a
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je case.default.0x41ba6a
push ecx
push dword [ebp - 0x1ac]
lea eax, [edx + 0x2000]
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov al, 1
jmp 0x41c528
mov eax, dword [ebp - 0x1ac]
mov ecx, 0x2000
movzx eax, ax
mov dword [ebp - 0x1b8], eax
cmp ax, cx
jne 0x41b6cf
cmp byte [esi + 0x14d], 0
je 0x41b6cf
lea eax, [esi + 0x164]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x41b6cf
push dword [esi + 0x84]
mov dword [ebp - 0x1b8], eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.default.0x41ba6a
lea eax, [ebp - 0x1b8]
mov ecx, esi
push eax
push 0
push 0
push 0xf
call fcn.0041a170
jmp case.default.0x41ba6a
lea ecx, [esi + 0x2cc]
mov dword [ebp - 0x1b4], 0
call fcn.00416ac0
test eax, eax
jle case.default.0x41ba6a
xor ecx, ecx
nop
push ecx
lea ecx, [esi + 0x2cc]
call fcn.004161c0
mov dword [ebp - 0x1c0], eax
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 0x84]
jne 0x41b721
mov ecx, dword [ebp - 0x1b8]
movzx ecx, cx
cmp dword [eax + 0xc], ecx
jne 0x41b721
cmp byte [eax + 0x10], 0
je 0x41b741
inc dword [ebp - 0x1b4]
lea ecx, [esi + 0x2cc]
call fcn.00416ac0
mov ecx, dword [ebp - 0x1b4]
cmp ecx, eax
jl 0x41b6f0
jmp case.default.0x41ba6a
mov eax, dword [eax]
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x40], 0x18
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x100]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.0041a100
mov ecx, dword [ebp - 0x1c0]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
mov dword [ebp - 0x24], edi
push edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x41ba6a
cmp dword [esi + 0xe4], 0
je case.default.0x41ba6a
cmp byte [esi + 0x2b8], 0
jne 0x41b7fc
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 3
test eax, eax
jne 0x41b7d8
mov eax, dword [esi + 0xdc]
jmp 0x41b7e8
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [esi + 0x2b8], 1
mov eax, dword [ebp - 0x1a8]
mov ecx, esi
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x1b8], edi
mov dword [ebp - 0x1c0], eax
mov dword [esi + 0xfc], edi
mov dword [esi + 0x100], eax
call fcn.00418bc0
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x41b845
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x41ba6a
xor eax, eax
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x1a8]
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
call fcn.0041a100
mov ecx, esi
mov word [ebp - 0x2a], ax
call fcn.00419f10
test al, al
jne 0x41b9f9
push dword [ebp - 0x1c0]
mov ecx, esi
push dword [ebp - 0x1b8]
call fcn.00418bc0
mov edi, eax
mov dword [ebp - 0x1b4], edi
test edi, edi
je 0x41b8ba
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x24]
call eax
cmp eax, esi
jne case.default.0x41ba6a
mov eax, dword [esi + 0xec]
cmp edi, eax
je 0x41b9cd
test eax, eax
je 0x41b9cd
lea ecx, [esi + 0x338]
mov dword [ebp - 0x40], 0xa
mov dword [ebp - 0x3c], eax
call fcn.00416ac0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00415c40
lea ecx, [esi + 0x338]
mov dword [ebp - 4], 3
call fcn.00416ac0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00417160
lea ecx, [esi + 0x338]
call fcn.00416ac0
shl eax, 2
lea ecx, [esi + 0x338]
push eax
call fcn.00416a60
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00416a60
push eax
call fcn.004f1be0
add esp, 0xc
lea ecx, [ebp - 0x1a0]
xor edi, edi
call fcn.00416ac0
test eax, eax
jle 0x41b97a
nop
push edi
lea ecx, [ebp - 0x1a0]
call fcn.004161c0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x11c]
lea ecx, [ebp - 0x1a0]
inc edi
call fcn.00416ac0
cmp edi, eax
jl 0x41b950
mov ecx, dword [esi + 0xec]
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov ecx, dword [esi + 0xac]
mov dword [esi + 0xec], 0
test ecx, ecx
je 0x41b9b5
lea eax, [esi + 0xb0]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 4], 0xffffffff
call fcn.00415fd0
mov edi, dword [ebp - 0x1b4]
cmp edi, dword [esi + 0xec]
je 0x41b9ff
test edi, edi
je 0x41b9ff
mov dword [ebp - 0x40], 0xb
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x11c]
mov dword [esi + 0xec], edi
jmp 0x41b9ff
mov edi, dword [ebp - 0x1b4]
mov ecx, dword [esi + 0xf0]
test ecx, ecx
je 0x41ba24
mov dword [ebp - 0x40], 9
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
jmp case.default.0x41ba6a
test edi, edi
je case.default.0x41ba6a
mov dword [ebp - 0x40], 9
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x11c]
jmp case.default.0x41ba6a
cmp edx, 0x20a
ja 0x41be85
je 0x41bd7b
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x41ba6a
jmp dword [edx*4 + 0x41c698]
cmp byte [esi + 0xe0], 0
jne 0x41ba86
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0xe4], 0
je case.default.0x41ba6a
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
mov dword [esi + 0xfc], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c0], eax
mov dword [esi + 0x100], eax
call fcn.00418bc0
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.default.0x41ba6a
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x41ba6a
mov dword [esi + 0xf0], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x104]
mov ecx, esi
call fcn.0041df30
mov ecx, dword [ebp - 0x1b8]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x1a8]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x40], 0xd
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1d0]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x41ba6a
cmp byte [esi + 0xe0], 0
jne 0x41bb66
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
mov dword [esi + 0xfc], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c0], eax
mov dword [esi + 0x100], eax
call fcn.00418bc0
mov edi, eax
test edi, edi
je case.default.0x41ba6a
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x41ba6a
mov ecx, esi
call fcn.0041df30
xor eax, eax
mov dword [ebp - 0x40], 0x10
mov word [ebp - 0x2c], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1ac]
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x11c]
mov dword [esi + 0xf0], edi
jmp case.default.0x41ba6a
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cmp dword [esi + 0xf0], 0
cwde
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1c0], eax
mov dword [esi + 0xfc], ecx
mov dword [esi + 0x100], eax
je case.default.0x41ba6a
mov ecx, esi
call fcn.0041cbb0
mov ecx, dword [ebp - 0x1b8]
xor eax, eax
mov edi, dword [ebp - 0x1a8]
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0xf0]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x40], 0xe
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xf0]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov dword [esi + 0xf0], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x41ba6a
cmp byte [esi + 0xe0], 0
jne 0x41bcc2
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
mov dword [esi + 0xfc], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c0], eax
mov dword [esi + 0x100], eax
call fcn.00418bc0
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.default.0x41ba6a
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x41ba6a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x104]
mov ecx, dword [ebp - 0x1b8]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x1a8]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x11c]
mov dword [esi + 0xf0], edi
jmp case.default.0x41ba6a
cmp dword [esi + 0xe4], 0
je case.default.0x41ba6a
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1c4], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x1c4]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1c4]
push eax
mov dword [esi + 0xfc], ecx
push ecx
mov ecx, esi
mov dword [esi + 0x100], eax
call fcn.00418bc0
mov edi, eax
mov dword [ebp - 0x1b8], edi
test edi, edi
je case.default.0x41ba6a
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x41ba6a
mov ecx, dword [esi + 0x100]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1ac]
shr eax, 0x10
movzx eax, ax
shr eax, 0xf
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x1a8]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x40], 0x12
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.0041a100
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1b8]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
movzx ecx, word [esi + 0x100]
movzx eax, word [esi + 0xfc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x41ba6a
cmp edx, 0x318
ja 0x41c3ef
je 0x41c2fd
sub edx, 0x2a1
je 0x41bfdc
sub edx, 2
jne case.default.0x41ba6a
cmp dword [esi + 0xe4], edx
je case.default.0x41ba6a
mov ecx, dword [esi + 0xac]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x41bed8
lea eax, [esi + 0xb0]
push eax
push edx
push 0x411
push ecx
call edi
cmp byte [esi + 0x2b8], 0
je 0x41bfd0
xorps xmm0, xmm0
lea eax, [ebp - 0x1bc]
push eax
movlpd qword [ebp - 0x1bc], xmm0
movups xmmword [ebp - 0x80], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x80]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x41bfbf
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x84]
jne 0x41bfbf
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x80]
push dword [ebp - 0x1bc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x41bfbf
movzx ecx, word [ebp - 0x1b8]
movzx eax, word [ebp - 0x1bc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [esi + 0x84]
call edi
mov ecx, dword [esi + 0x84]
cmp eax, 1
jne 0x41bfa7
lea eax, [ebp - 0x1bc]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x1b8]
movzx eax, word [ebp - 0x1bc]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x41bfc1
push 0xffffffffffffffff
push 0
push 0x200
push ecx
call edi
mov byte [esi + 0x2b8], 0
jmp case.default.0x41ba6a
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi + 0x84]
call edi
mov byte [esi + 0x2b8], 0
jmp case.default.0x41ba6a
cmp dword [esi + 0xe4], 0
je case.default.0x41ba6a
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1d0], ecx
push ecx
mov ecx, esi
mov byte [esi + 0x2b8], 0
mov dword [ebp - 0x1c0], eax
call fcn.00418bc0
mov edi, eax
mov dword [ebp - 0x1b8], edi
test edi, edi
je case.default.0x41ba6a
mov eax, dword [esi + 0xec]
test eax, eax
je 0x41c08a
mov edi, dword [ebp - 0x1a8]
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x40], 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x30], eax
call fcn.0041a100
mov ecx, dword [esi + 0xec]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov edi, dword [ebp - 0x1b8]
mov eax, dword [edi]
lea ecx, [ebp - 0x184]
push ecx
mov ecx, edi
call dword [eax + 0xac]
lea ecx, [ebp - 0x184]
mov dword [ebp - 4], 2
call fcn.00416cc0
test al, al
jne 0x41c2eb
lea eax, [ebp - 0x184]
push eax
call fcn.0041c930
mov dword [esi + 0xc0], 0
lea ecx, [ebp - 0x184]
mov dword [esi + 0xc4], 0
add esp, 4
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0
mov eax, dword [esi + 0x84]
mov dword [esi + 0xb0], 0x2c
mov dword [esi + 0xb4], 1
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov eax, dword [0x5ac520]
mov dword [esi + 0xd0], eax
call fcn.00416200
mov dword [esi + 0xd4], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x40]
call eax
cmp dword [esi + 0xac], 0
movups xmm0, xmmword [eax]
movups xmmword [esi + 0xc0], xmm0
jne 0x41c213
push 0
push dword [0x5ac520]
push 0
push dword [esi + 0x84]
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push reloc.WS2_32.dll_closesocket
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [esi + 0xb0]
mov dword [esi + 0xac], eax
push ecx
push 0
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xb8]
call eax
push eax
push 0
push 0x418
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 0xb0]
push eax
push 0
push 0x436
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 0xb0]
push eax
push 1
push 0x411
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0xf8]
test ecx, ecx
jne 0x41c22e
mov dword [esi + 0xf8], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41c2c4
mov eax, dword [edi]
cmp ecx, edi
mov ecx, edi
mov eax, dword [eax + 0xb8]
jne 0x41c280
call eax
cmp dword [esi + 0xa8], eax
je 0x41c278
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xb8]
call eax
push eax
push 0
push 0x418
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xb8]
call eax
mov dword [esi + 0xa8], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41c298
call eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x418
push dword [esi + 0xac]
call edi
lea eax, [esi + 0xb0]
push eax
push 0
push 0x436
push dword [esi + 0xac]
call edi
lea eax, [esi + 0xb0]
push eax
push 1
push 0x411
push dword [esi + 0xac]
call edi
mov eax, dword [ebp - 0x1c0]
movzx ecx, ax
mov eax, dword [ebp - 0x1d0]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x412
push dword [esi + 0xac]
call edi
lea ecx, [ebp - 0x184]
call fcn.00415fe0
mov al, 1
jmp 0x41c528
cmp dword [esi + 0xe4], 0
je case.default.0x41ba6a
lea eax, [ebp - 0x80]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x1ac]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0xe4]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x80]
push 0
push eax
mov edx, dword [ecx]
push edi
call dword [edx + 0x138]
test byte [ebp - 0x1a8], 0x10
je 0x41c3dd
push 5
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x41c3dd
or dword [ebp - 0x1a8], 2
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x84]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x20]
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x1a8]
push edi
push 0x317
push dword [ebp - 0x1b4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x1b4]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b4], eax
test eax, eax
jne 0x41c372
push dword [ebp - 0x1b8]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x41ba6a
cmp edx, 0x8001
jne case.default.0x41ba6a
lea eax, [esi + 0x320]
mov byte [esi + 0x2bc], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1c0], eax
call fcn.004169a0
mov edi, eax
mov dword [ebp - 0x1b4], edi
test edi, edi
je 0x41c4f2
lea eax, [esi + 0x2c0]
mov dword [ebp - 0x1b0], eax
mov esi, eax
mov ecx, dword [ebp - 0x1c0]
push 1
push 0
call fcn.00416e50
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x41c469
add ecx, 0x38
call fcn.0042ca90
test al, al
je 0x41c469
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x38
call fcn.0042cab0
mov ecx, esi
xor edi, edi
call fcn.00416ac0
test eax, eax
jle 0x41c4a9
mov esi, dword [ebp - 0x1b4]
nop dword [eax]
mov ecx, dword [ebp - 0x1b0]
push edi
call fcn.004161c0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1b0]
inc edi
call fcn.00416ac0
cmp edi, eax
jl 0x41c480
mov esi, dword [ebp - 0x1b0]
mov edi, dword [ebp - 0x1b4]
lea ecx, [edi + 0x84]
call fcn.00415fe0
mov ecx, edi
call fcn.00415fe0
push 0x120
push edi
call fcn.004ef1f0
mov ecx, dword [ebp - 0x1c0]
add esp, 8
push 0
call fcn.004169a0
mov edi, eax
mov dword [ebp - 0x1b4], eax
test edi, edi
jne 0x41c435
mov esi, dword [ebp - 0x1d4]
add esi, 0x314
xor edi, edi
mov ecx, esi
call fcn.00416ac0
test eax, eax
jle 0x41c51f
push edi
mov ecx, esi
call fcn.004161c0
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, esi
inc edi
call fcn.00416ac0
cmp edi, eax
jl 0x41c505
mov ecx, esi
call fcn.004166e0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ef253
mov esp, ebp
pop ebp
ret 0x10