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

Disassembly:
push 0x28c
mov eax, 0x511f9d
call fcn.004d18f8
mov ebx, ecx
mov dword [ebp - 0x298], ebx
mov edi, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x27c], edx
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x284], ecx
cmp dword [ebx + 0xa8], ecx
je 0x41751f
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28c], ecx
cmp dword [ebx + 0x41c], ecx
jle 0x414e36
mov eax, dword [ebx + 0x418]
lea edi, [ebp - 0x11]
mov byte [ebp - 0x11], cl
mov ecx, dword [ebp - 0x28c]
push edi
mov edi, dword [ebp - 0x11c]
push edx
mov ecx, dword [eax + ecx*4]
push edi
push esi
mov eax, dword [ecx]
call dword [eax]
cmp byte [ebp - 0x11], 0
jne 0x414e96
mov eax, dword [ebp - 0x28c]
mov edx, dword [ebp - 0x27c]
inc eax
push 0
mov dword [ebp - 0x28c], eax
pop ecx
cmp eax, dword [ebx + 0x41c]
jl 0x414de5
mov eax, dword [ebp - 0x280]
cmp byte [ebx + 0x16d], 0
je 0x414f12
mov dword [ebp - 0x288], esi
sub dword [ebp - 0x288], 0x83
je 0x414f0e
sub dword [ebp - 0x288], 2
je 0x414f0e
sub dword [ebp - 0x288], 1
jne 0x414f12
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4160d4
test edi, edi
sete al
mov ecx, dword [ebp - 0x280]
mov dword [ecx], eax
jmp 0x414ef2
mov ecx, dword [ebp - 0x280]
mov dword [ecx], eax
cmp esi, 0x7b
je 0x414ebb
cmp esi, 0x1ff
jbe 0x414ef2
cmp esi, 0x203
jbe 0x414ef9
cmp esi, 0x20a
jne 0x414ef2
mov ecx, dword [ebp - 0x27c]
movsx eax, cx
mov dword [ebp - 0x1c], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x11c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x120], eax
mov al, 1
jmp 0x417521
mov eax, dword [ebp - 0x27c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x11c], ecx
jmp 0x414eec
mov dword [eax], ecx
jmp 0x414ef2
mov eax, 0x133
cmp esi, eax
ja 0x416437
je 0x416d9c
cmp esi, 0x24
ja 0x4160d4
je 0x41600c
sub esi, 5
je 0x415fb3
dec esi
sub esi, 1
je 0x415f59
sub esi, 1
je 0x415f33
sub esi, 7
je 0x415126
sub esi, 1
je 0x415061
sub esi, 4
je 0x415051
sub esi, 0xc
jne 0x41751f
cmp dword [ebx + 0x104], ecx
je 0x41751f
xor eax, eax
inc eax
cmp dx, ax
jne 0x41751f
cmp byte [ebx + 0x3e1], 0
jne 0x417521
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x88]
mov ecx, dword [ebx + 0x104]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x18]
push 0x15
mov dword [ebp - 0x84], eax
mov eax, dword [ecx]
push edx
push 0x4197e7
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x41751f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test al, 2
je 0x41751f
xor eax, eax
mov dword [ebp - 0x40], 0x1a
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], eax
call fcn.004136cb
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
jmp 0x414ef2
mov ecx, dword [ebp - 0x280]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x417521
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x120]
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x30], eax
call fcn.004136cb
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x10c]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x4150b8
mov dword [ebp - 0x40], 0xa
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x4150d8
mov dword [ebp - 0x40], 0xe
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
push 0
mov ecx, ebx
call fcn.00417cc9
mov esi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x415105
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x415105
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x41751f
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0xc8], 0
jmp 0x41751f
cmp dword [ebx + 0x104], ecx
jne 0x415176
push 0x40
push ecx
lea eax, [ebp - 0x60]
push eax
call fcn.004e8520
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [ebx + 0xac]
lea edx, [ebp - 0x58]
push 0xff000000
call fcn.0043dc39
pop ecx
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x414ef2
xor eax, eax
lea edi, [ebp - 0xa0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xa0]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x414ef2
cmp byte [ebx + 0x16a], 0
je 0x4151ca
push 1
mov ecx, ebx
call fcn.0041812f
mov eax, dword [ebp - 0x98]
xor ecx, ecx
sub eax, dword [ebp - 0xa0]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x9c]
mov byte [ebp - 0x11], cl
mov dword [ebp - 0x294], eax
mov byte [ebx + 0x3e2], 1
cmp byte [ebx + 0x169], cl
je 0x415449
lea eax, [ebp - 0xa0]
mov byte [ebx + 0x169], cl
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4154c2
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4154c2
mov eax, dword [ebx + 0x104]
mov al, byte [eax + 0x154]
test al, al
je 0x4152fe
mov eax, dword [ebx + 0xb0]
lea esi, [ebp - 0xa0]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test eax, eax
je 0x415267
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x415278
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x415289
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x41529a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov dword [ebx + 0xb0], eax
mov dword [ebx + 0xb4], eax
mov dword [ebx + 0xb8], eax
mov dword [ebx + 0xc0], eax
cmp byte [ebx + 0x16d], al
je 0x4152e0
mov eax, dword [ebx + 0x170]
add dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x174]
add dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x178]
sub dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x64], eax
mov ecx, dword [ebx + 0x104]
lea esi, [ebp - 0x70]
push 1
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x54]
jmp 0x41539b
lea edi, [ebx + 0x460]
mov ecx, edi
call fcn.0041a2b8
mov ecx, dword [ebx + 0x104]
xor esi, esi
push reloc.OLEAUT32.dll_VariantCopy
push esi
push 0x4199b6
mov eax, dword [ecx]
call dword [eax + 0x128]
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x11c], edx
cmp dword [ebx + 0x464], ecx
jle 0x41539d
mov eax, dword [edi]
mov esi, dword [eax + edx*4]
mov ecx, esi
mov dword [ebp - 0x284], esi
mov eax, dword [esi]
call dword [eax + 0x120]
mov ebx, dword [esi]
mov ecx, esi
test al, al
jne 0x41535a
call dword [ebx + 0x50]
jmp 0x415364
lea eax, [ebp - 0x140]
push eax
call dword [ebx + 0x48]
mov ecx, dword [ebp - 0x284]
mov esi, eax
push 1
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ebx + 0x54]
mov ebx, dword [ebp - 0x298]
mov edx, dword [ebp - 0x11c]
inc edx
mov dword [ebp - 0x11c], edx
lea edi, [ebx + 0x460]
cmp edx, dword [ebx + 0x464]
jl 0x415338
xor ecx, ecx
cmp byte [ebx + 0x168], 0
mov byte [ebp - 0x11], 1
je 0x4154c2
mov esi, dword [ebx + 0x104]
mov byte [ebx + 0x168], cl
lea ecx, [ebp - 0x278]
call fcn.004183db
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0xffffffffffffffff
push str.windowinit
mov dword [ebp - 0x170], esi
call fcn.0041a606
xor eax, eax
mov ecx, ebx
push eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x278]
push eax
call fcn.004183f7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.004146dc
cmp byte [ebx + 0x16d], 0
je 0x415432
cmp byte [ebx + 0x180], 0
je 0x415432
mov ecx, ebx
call fcn.00417529
mov byte [ebx + 0x3e2], 0
jmp 0x414ef2
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x5c8]
call fcn.0044197f
mov byte [ebp - 0x11], 1
jmp 0x4154c2
cmp byte [ebx + 0x16d], cl
je 0x4154c2
cmp byte [ebx + 0x180], cl
je 0x4154c2
mov edx, dword [ebx + 0xbc]
lea esi, [ebp - 0xa0]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test edx, edx
je 0x415485
imul eax, dword [ebp - 0x27c]
shl eax, 2
push eax
push ecx
push edx
call fcn.004e8520
add esp, 0xc
mov eax, dword [ebx + 0x170]
lea esi, [ebp - 0x70]
add dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x174]
add dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x178]
sub dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x64], eax
mov ecx, dword [ebx + 0x104]
push 1
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x54]
cmp byte [ebx + 0x16d], 0
je 0x415539
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x4154f4
push ecx
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edi, [ebx + 0x184]
mov byte [ebx + 0x16b], 1
push edi
lea eax, [ebp - 0x80]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x98]
cmovg eax, dword [ebp - 0x98]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x94]
cmovg eax, dword [ebp - 0x94]
mov dword [ebp - 0x74], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
cmp byte [ebx + 0x16b], 0
je 0x415584
cmp dword [ebx + 0xb8], esi
jne 0x415584
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x27c]
mov ecx, dword [ebx + 0xac]
mov dword [ebx + 0xb0], eax
lea eax, [ebx + 0xbc]
push eax
push dword [ebp - 0x294]
call fcn.004413aa
pop ecx
pop ecx
mov dword [ebx + 0xb8], eax
push 0x40
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.004e8520
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x16b], 0
je 0x415e38
push dword [ebx + 0xb8]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0x16d], 0
mov dword [ebp - 0x84], eax
je 0x415663
mov edi, dword [ebp - 0x94]
mov edx, edi
sub edx, dword [ebp - 0x74]
mov ecx, edi
sub ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x284], edx
cmp edx, ecx
jge 0x415663
mov eax, edx
imul eax, dword [ebp - 0x27c]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [ebp - 0x78]
jge 0x415641
lea edi, [ecx + eax]
shl edi, 2
mov eax, dword [ebx + 0xbc]
inc ecx
mov dword [edi + eax], esi
lea edi, [edi + 4]
cmp ecx, dword [ebp - 0x78]
jl 0x41561d
mov edi, dword [ebp - 0x94]
mov edx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x11c]
add eax, dword [ebp - 0x27c]
inc edx
mov dword [ebp - 0x11c], eax
mov eax, edi
sub eax, dword [ebp - 0x7c]
cmp edx, eax
mov dword [ebp - 0x284], edx
mov eax, dword [ebp - 0x11c]
jl 0x41560f
mov ecx, dword [ebx + 0x104]
lea edx, [ebp - 0x80]
push esi
push edx
push dword [ebx + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x144]
cmp byte [ebx + 0x16d], 0
je 0x415957
cmp dword [ebx + 0x434], 0
mov dword [ebp - 0x288], esi
jle 0x415957
mov eax, dword [ebx + 0x430]
mov edi, dword [eax + esi*4]
push edi
mov dword [ebp - 0x28c], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x415735
test esi, esi
js 0x415949
mov edx, dword [ebx + 0x434]
cmp esi, edx
jge 0x4156ef
dec edx
mov dword [ebx + 0x434], edx
cmp esi, edx
jge 0x4156ef
mov eax, dword [ebx + 0x430]
sub edx, esi
shl edx, 2
push edx
lea ecx, [eax + esi*4]
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004e8680
add esp, 0xc
test esi, esi
js 0x415949
mov edx, dword [ebx + 0x440]
cmp esi, edx
jge 0x415949
dec edx
mov dword [ebx + 0x440], edx
cmp esi, edx
jge 0x415949
mov eax, dword [ebx + 0x43c]
sub edx, esi
shl edx, 2
push edx
lea ecx, [eax + esi*4]
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004e8680
add esp, 0xc
jmp 0x415949
inc esi
push edi
mov dword [ebp - 0x288], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x415949
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x130]
push eax
push dword [ebx + 0xa8]
call edi
lea eax, [ebp - 0x128]
push eax
push dword [ebx + 0xa8]
call edi
xor eax, eax
lea edi, [ebp - 0x140]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x415949
push dword [ebx + 0xb0]
and dword [ebp - 0x11c], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x124]
mov edi, eax
sub ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x11c]
mov edx, dword [ebp - 0x128]
sub edx, dword [ebp - 0x130]
push eax
push ecx
mov ecx, edi
mov dword [ebp - 0x284], edi
call fcn.004413aa
mov edx, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x124]
sub edx, dword [ebp - 0x130]
sub ecx, dword [ebp - 0x12c]
imul edx, ecx
mov dword [ebp - 0x8c], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x11c]
call fcn.004e8520
add esp, 0x14
push dword [ebp - 0x8c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push edi
push 0x317
push dword [ebp - 0x28c]
mov dword [ebp - 0x290], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x124]
xor edx, edx
mov edi, dword [ebp - 0x130]
mov ecx, eax
sub ecx, dword [ebp - 0x12c]
test ecx, ecx
mov dword [ebp - 0x28c], edx
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x280], eax
jle 0x4158fc
mov ebx, eax
mov eax, ecx
mov esi, edx
sub eax, edi
test eax, eax
jle 0x4158cb
imul eax, dword [ebp - 0x28c]
mov ebx, dword [ebp - 0x11c]
add eax, esi
mov ebx, dword [ebx + eax*4]
mov dword [ebp - 0x280], ebx
test ebx, ebx
je 0x4158bc
mov edi, dword [ebp - 0x11c]
mov ecx, ebx
or ecx, 0xff000000
mov dword [edi + eax*4], ecx
mov ecx, dword [ebp - 0x128]
mov edi, dword [ebp - 0x130]
mov eax, ecx
inc esi
sub eax, edi
cmp esi, eax
jl 0x415883
mov ebx, dword [ebp - 0x124]
mov esi, dword [ebp - 0x28c]
mov eax, ebx
sub eax, dword [ebp - 0x12c]
inc esi
mov dword [ebp - 0x28c], esi
cmp esi, eax
jl 0x415879
mov esi, dword [ebp - 0x288]
mov dword [ebp - 0x280], ebx
mov ebx, dword [ebp - 0x298]
mov eax, dword [ebp - 0x280]
push 0xcc0020
push edx
push edx
push dword [ebp - 0x284]
mov edx, dword [ebp - 0x12c]
sub ecx, edi
sub eax, edx
push eax
push ecx
push edx
push edi
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x290]
mov edi, dword [ebp - 0x284]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x8c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, dword [ebx + 0x434]
jl 0x41569c
xor esi, esi
cmp dword [ebx + 0x428], 0
jle 0x415984
mov eax, dword [ebx + 0x424]
lea edx, [ebp - 0x80]
push edx
push dword [ebx + 0xb0]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x168]
inc esi
cmp esi, dword [ebx + 0x428]
jl 0x415960
push dword [ebp - 0x84]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x16d], 0
je 0x415d98
xor eax, eax
lea edi, [ebp - 0x140]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x140]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0x194]
xor ecx, ecx
mov edx, dword [ebp - 0x94]
cmp word [eax], cx
je 0x415c7c
mov eax, dword [ebp - 0x98]
lea esi, [ebp - 0xa0]
sub eax, dword [ebp - 0xa0]
lea edi, [ebp - 0x70]
sub edx, dword [ebp - 0x9c]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x288], eax
mov eax, dword [ebx + 0x170]
add eax, dword [ebp - 0xa0]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x84], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x174]
add dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x178]
sub dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x64], eax
cmp dword [ebx + 0xc0], ecx
jne 0x415aac
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x84]
lea esi, [ebx + 0xc4]
mov edx, dword [ebp - 0x288]
mov ecx, dword [ebx + 0xac]
push esi
push edi
mov dword [ebx + 0xb4], eax
call fcn.004413aa
imul edi, dword [ebp - 0x288]
mov dword [ebx + 0xc0], eax
shl edi, 2
push edi
push 0
push dword [esi]
call fcn.004e8520
add esp, 0x14
push dword [ebx + 0xc0]
push dword [ebx + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 1
sub esp, 0x10
jmp 0x415add
cmp byte [ebx + 0x180], cl
je 0x415b1e
imul edx, dword [ebp - 0x288]
shl edx, 2
push edx
push ecx
push dword [ebx + 0xc4]
call fcn.004e8520
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 2
push ecx
mov ecx, dword [ebx + 0xb4]
lea esi, [ebp - 0x70]
mov edi, esp
lea edx, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0043b30c
mov ecx, dword [ebx + 0xb4]
lea eax, [ebx + 0x194]
push 0
push eax
lea eax, [ebp - 0x70]
mov edx, ebx
push eax
push eax
call fcn.0043daf1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
add esp, 0x20
call fcn.0043b2e9
mov eax, dword [ebp - 0x94]
mov ecx, eax
sub ecx, dword [ebp - 0x74]
mov edi, dword [ebp - 0x7c]
sub eax, edi
mov dword [ebp - 0x284], ecx
cmp ecx, eax
jge 0x415d07
mov edx, dword [ebp - 0x94]
mov eax, ecx
imul eax, dword [ebp - 0x288]
mov esi, dword [ebp - 0x288]
mov dword [ebp - 0x290], 0xff
mov dword [ebp - 0x280], eax
mov ebx, dword [ebp - 0x80]
cmp ebx, dword [ebp - 0x78]
mov dword [ebp - 0x28c], ebx
mov ebx, dword [ebp - 0x298]
jge 0x415c56
mov esi, dword [ebp - 0x28c]
lea edx, [esi + eax]
shl edx, 2
mov dword [ebp - 0x8c], edx
mov edi, dword [ebx + 0xbc]
lea ecx, [eax + esi]
mov eax, dword [ebx + 0xc4]
mov ebx, 0xff
mov ecx, dword [ecx + edi]
movzx esi, byte [eax + edx + 3]
mov eax, ecx
shr eax, 0x10
xor edx, edx
movzx eax, al
imul eax, esi
shr ecx, 8
mov dword [ebp - 0x84], esi
div ebx
xor edx, edx
mov bl, al
movzx eax, cl
imul eax, esi
mov ecx, 0xff
div ecx
xor edx, edx
mov cl, al
mov eax, dword [ebp - 0x280]
add eax, dword [ebp - 0x28c]
movzx ecx, cl
movzx eax, byte [eax + edi]
imul eax, esi
shl esi, 0x18
div dword [ebp - 0x290]
movzx edx, bl
mov ebx, dword [ebp - 0x298]
shl edx, 8
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
mov eax, dword [ebp - 0x280]
add edx, esi
mov esi, dword [ebp - 0x28c]
add eax, esi
inc esi
mov dword [ebp - 0x28c], esi
mov dword [eax + edi], edx
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x280]
add edx, 4
mov dword [ebp - 0x8c], edx
cmp esi, dword [ebp - 0x78]
jl 0x415b8b
mov edi, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x284]
mov edx, dword [ebp - 0x94]
mov esi, dword [ebp - 0x288]
add eax, esi
inc ecx
mov dword [ebp - 0x280], eax
mov eax, edx
sub eax, edi
mov dword [ebp - 0x284], ecx
cmp ecx, eax
mov eax, dword [ebp - 0x280]
jl 0x415b61
jmp 0x415d07
mov ecx, edx
mov eax, edx
sub ecx, dword [ebp - 0x74]
sub eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], ecx
cmp ecx, eax
jge 0x415d07
mov eax, dword [ebp - 0x27c]
mov edi, ecx
imul edi, eax
mov esi, dword [ebp - 0x80]
cmp esi, dword [ebp - 0x78]
jge 0x415cef
mov ecx, dword [ebp - 0x78]
lea eax, [edi + esi]
shl eax, 2
mov edx, dword [ebx + 0xbc]
cmp byte [eax + edx + 3], 0
jne 0x415cd5
cmp byte [eax + edx], 0
jne 0x415ccd
cmp byte [eax + edx + 1], 0
jne 0x415ccd
cmp byte [eax + edx + 2], 0
je 0x415cd5
mov byte [eax + edx + 3], 0xff
mov ecx, dword [ebp - 0x78]
inc esi
add eax, 4
cmp esi, ecx
jl 0x415cac
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x27c]
add edi, eax
inc ecx
mov eax, edx
mov dword [ebp - 0x8c], ecx
sub eax, dword [ebp - 0x7c]
cmp ecx, eax
mov eax, dword [ebp - 0x27c]
jl 0x415c9b
mov al, byte [ebx + 0x16c]
xor ecx, ecx
mov byte [ebp - 0x11a], al
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x294]
push 2
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x11c]
push eax
push ecx
lea eax, [ebp - 0xb0]
mov word [ebp - 0x11c], cx
push eax
push dword [ebx + 0xb0]
lea eax, [ebp - 0x154]
mov byte [ebp - 0x119], 1
push eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0xb0], ecx
push eax
push dword [ebx + 0xac]
mov dword [ebp - 0xac], ecx
push dword [ebx + 0xa8]
call dword [0x55ca94]
jmp 0x415dc9
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x7c]
push 0xcc0020
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebx + 0xb0]
push eax
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x80]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x18]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
call edi
cmp byte [ebx + 0x101], 0
je 0x415e9b
cmp byte [ebx + 0x16d], 0
jne 0x415e9b
push dword [0x55ca8c]
push dword [ebx + 0xac]
call edi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebx + 0xac]
call edi
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebx + 0xac]
call edi
jmp 0x415e9b
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x104]
mov edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
mov edx, dword [ecx]
push dword [ebx + 0xac]
call dword [edx + 0x144]
xor esi, esi
cmp dword [ebx + 0x428], esi
jle 0x415e8e
mov eax, dword [ebx + 0x424]
lea edx, [ebp - 0x80]
push edx
push dword [ebx + 0xac]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x168]
inc esi
cmp esi, dword [ebx + 0x428]
jl 0x415e6a
push edi
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x118]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov byte [ebx + 0x3e2], al
mov byte [ebx + 0x180], al
cmp byte [ebx + 0x169], al
je 0x415ecb
mov ecx, ebx
call fcn.00417529
cmp byte [ebp - 0x11], 0
je 0x414ef2
mov esi, dword [ebx + 0x104]
lea ecx, [ebp - 0x278]
call fcn.004183db
push 0xffffffffffffffff
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x278]
push str.windowsize
mov dword [ebp - 0x170], esi
call fcn.0041a606
xor eax, eax
mov ecx, ebx
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x278]
push 1
push eax
call fcn.004183f7
lea ecx, [ebp - 0x278]
call fcn.004146dc
jmp 0x414ef2
cmp byte [ebx + 0x3e1], 0
je 0x41751f
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
mov byte [ebx + 0x3e1], al
mov byte [ebx + 0x698], al
jmp 0x41751f
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x41751f
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0x18
movlpd qword [ebp - 0xc8], xmm0
movlpd qword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0xd0]
mov dword [ebp - 0xc8], eax
jmp 0x417516
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x415ff4
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0x19
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, dword [ebx + 0x104]
test ecx, ecx
je 0x414ef2
call fcn.004283a9
jmp 0x414ef2
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0xd8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0x28
push eax
push 1
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
cmp dword [ebp - 0xb4], 1
lea esi, [ebp - 0xc4]
lea edi, [ebp - 0x140]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x416077
mov eax, dword [ebp - 0xc0]
neg eax
push eax
mov eax, dword [ebp - 0xc4]
neg eax
push eax
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebx + 0x124]
mov eax, dword [ebp - 0x27c]
test ecx, ecx
jle 0x41608a
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x128]
test ecx, ecx
jle 0x416097
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x4160a4
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x4160b1
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x4160be
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x41751f
mov dword [eax + 0xc], ecx
jmp 0x41751f
sub esi, 0x4e
je 0x416415
sub esi, 0x2d
je 0x41635c
sub esi, 0x85
je 0x4162d8
sub esi, 1
je 0x416259
sub esi, 1
je 0x4161f0
sub esi, 0xf
je 0x4161bf
dec esi
sub esi, 1
jne 0x41751f
mov edx, dword [ebx + 0x3f8]
test edx, edx
jle 0x41751f
mov ecx, dword [ebx + 0x3f4]
xor eax, eax
mov esi, dword [ecx]
mov edi, dword [ebx + 0xa8]
cmp dword [esi + 8], edi
mov edi, dword [ebp - 0x11c]
jne 0x416154
movzx eax, di
cmp dword [esi + 0xc], eax
jne 0x41614e
cmp byte [esi + 0x10], 0
je 0x416167
mov eax, dword [ebp - 0x284]
inc eax
add ecx, 4
mov dword [ebp - 0x284], eax
cmp eax, edx
jl 0x41612d
jmp 0x41751f
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x40], 0x1b
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x30], eax
call fcn.004136cb
mov ecx, dword [esi]
mov word [ebp - 0x2a], ax
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x24], eax
jmp 0x417513
mov eax, dword [ebp - 0x27c]
test eax, eax
je 0x41751f
push eax
push edi
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x280]
mov dword [ecx], eax
test eax, eax
je 0x41751f
jmp 0x414ef2
xor eax, eax
cmp dword [ebx + 0x104], eax
je 0x41751f
mov ecx, dword [ebx + 0x108]
test ecx, ecx
je 0x41751f
mov dword [ebp - 0x38], eax
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], edi
mov word [ebp - 0x2c], di
mov dword [ebp - 0x30], eax
call fcn.004136cb
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
jmp 0x417510
xor eax, eax
cmp dword [ebx + 0x104], eax
je 0x41751f
mov ecx, dword [ebx + 0x114]
test ecx, ecx
je 0x41751f
mov dword [ebp - 0x38], eax
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], edi
mov word [ebp - 0x2c], di
mov dword [ebp - 0x30], eax
call fcn.004136cb
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x114]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
and dword [ebx + 0x114], 0
jmp 0x41751f
xor eax, eax
cmp dword [ebx + 0x104], eax
je 0x41751f
mov ecx, dword [ebx + 0x108]
test ecx, ecx
je 0x41751f
mov dword [ebp - 0x38], eax
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], edi
mov word [ebp - 0x2c], di
mov dword [ebp - 0x30], eax
call fcn.004136cb
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov eax, dword [ebx + 0x108]
mov dword [ebx + 0x114], eax
jmp 0x41751f
cmp dword [ebx + 0x104], 0
je 0x41751f
mov ecx, dword [ebp - 0x27c]
movsx eax, cx
mov dword [ebp - 0x1c], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x110], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x11c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x120], eax
je 0x41751f
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebx + 0x110]
xor eax, eax
mov byte [ebx + 0x3e1], al
mov byte [ebx + 0x698], al
mov dword [ebp - 0x38], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], 0x14
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2a], di
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
and dword [ebx + 0x110], 0
jmp 0x41751f
mov eax, dword [ebp - 0x27c]
test eax, eax
je 0x41751f
push eax
push edi
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x414e8c
mov eax, 0x207
cmp esi, eax
ja 0x416e4d
je 0x416db3
mov eax, esi
sub eax, 0x138
je 0x416d9c
sub eax, 0xc8
je 0x416856
sub eax, 1
je 0x416707
sub eax, 1
je 0x416687
sub eax, 1
je 0x4165a7
sub eax, 1
je 0x4164eb
sub eax, 1
jne 0x41751f
mov ecx, dword [ebx + 0x104]
mov eax, edx
shr eax, 0x10
cwde
movsx esi, dx
lea edx, [ebp - 0x128]
push 0x15
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x11c], esi
mov dword [ebx + 0x120], eax
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x124], eax
mov eax, dword [ecx]
push edx
push 0x4197e7
call dword [eax + 0x128]
mov dword [ebx + 0x110], eax
test eax, eax
je 0x41751f
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebp - 0x40], 0x10
jmp 0x4174cd
cmp byte [ebx + 0x100], 0
jne 0x416500
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x27c]
lea edx, [ebp - 0x128]
movsx ecx, ax
mov dword [ebx + 0x11c], ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx + 0x104]
shr eax, 0x10
cwde
push 0x15
mov dword [ebp - 0x84], eax
mov dword [ebx + 0x120], eax
mov dword [ebp - 0x124], eax
mov eax, dword [ecx]
push edx
push 0x4197e7
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x41751f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x41751f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [ebp - 0x40], 0xf
and dword [ebp - 0x38], 0
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x30], eax
jmp 0x416654
cmp byte [ebx + 0x100], 0
jne 0x4165bc
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x27c]
lea edx, [ebp - 0x128]
movsx ecx, ax
mov dword [ebx + 0x11c], ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx + 0x104]
shr eax, 0x10
cwde
push 0x15
mov dword [ebp - 0x84], eax
mov dword [ebx + 0x120], eax
mov dword [ebp - 0x124], eax
mov eax, dword [ecx]
push edx
push 0x4197e7
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x41751f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x41751f
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetCapture]
and dword [ebp - 0x38], 0
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x40], 0x13
mov dword [ebp - 0x24], eax
mov byte [ebx + 0x3e1], 1
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], edi
mov word [ebp - 0x2a], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
mov dword [ebx + 0x110], esi
jmp 0x41751f
mov eax, edx
movsx esi, dx
shr eax, 0x10
cwde
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x11c], esi
mov dword [ebx + 0x120], eax
cmp dword [ebx + 0x110], ecx
je 0x41751f
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
mov dword [ebp - 0x40], 0xe
mov byte [ebx + 0x3e1], al
mov byte [ebx + 0x698], al
mov dword [ebp - 0x38], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0x110]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2a], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
and dword [ebx + 0x110], 0
jmp 0x417510
cmp byte [ebx + 0x100], 0
jne 0x41671c
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebx + 0x104]
test ecx, ecx
je 0x41751f
mov eax, dword [ebp - 0x27c]
movsx edx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x11c], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x84], edx
lea edx, [ebp - 0x128]
push 0x15
mov dword [ebp - 0x290], eax
mov dword [ebx + 0x120], eax
mov dword [ebp - 0x124], eax
mov eax, dword [ecx]
push edx
push 0x4197e7
call dword [eax + 0x128]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x41751f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x41751f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x4167e7
mov eax, dword [ebx + 0x69c]
mov byte [ebx + 0x698], 1
test eax, eax
je 0x4167b7
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [ebx + 0x69c], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
xor esi, esi
mov ecx, ebx
push esi
sub esp, 0x10
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov edx, esi
call fcn.004411b4
mov edi, dword [ebp - 0x11c]
add esp, 0x14
mov dword [ebx + 0x69c], eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [ebx + 0x3e1], 1
mov ecx, esi
mov dword [ebx + 0x110], esi
mov eax, dword [esi]
call dword [eax + 0x11c]
and dword [ebp - 0x38], 0
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x40], 0xd
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2a], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
jmp 0x417519
cmp byte [ebx + 0x3e0], 0
push 3
pop edx
jne 0x4168a9
mov eax, dword [ebx + 0xa8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0xc8]
mov dword [ebp - 0x70], 0x10
mov dword [ebp - 0x6c], edx
test eax, eax
jne 0x416887
mov eax, dword [ebx + 0xfc]
jmp 0x416895
push ecx
push edx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0x3e0], 1
mov eax, dword [ebp - 0x27c]
movsx edx, ax
shr eax, 0x10
movsx ecx, ax
mov al, 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x294], eax
cmp dword [ebx + 0x11c], edx
jne 0x4168e8
xor esi, esi
movzx eax, al
cmp dword [ebx + 0x120], ecx
cmove eax, esi
mov dword [ebp - 0x294], eax
mov dword [ebx + 0x120], ecx
mov dword [ebp - 0x124], ecx
mov ecx, dword [ebx + 0x104]
mov dword [ebx + 0x11c], edx
mov dword [ebp - 0x128], edx
lea edx, [ebp - 0x128]
push 0x15
mov eax, dword [ecx]
push edx
push 0x4197e7
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x416931
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x41751f
cmp byte [ebp - 0x294], 0
je 0x416bbc
cmp byte [ebx + 0x698], 0
je 0x416bbc
cmp edi, 1
jne 0x416bbc
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.004d06e6
mov esi, eax
xor eax, eax
pop ecx
mov dword [ebp - 0x290], esi
push esi
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov dword [esi + 4], eax
mov byte [esi + 8], al
call fcn.00413596
push 0x24
call fcn.004d06e6
mov edx, eax
pop ecx
mov dword [ebp - 0x18], edx
push 9
pop ecx
xor eax, eax
mov dword [ebp - 4], 7
mov edi, edx
rep stosd dword es:[edi], eax
push esi
mov ecx, edx
call fcn.0042d38d
or dword [ebp - 4], 0xffffffff
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x41751f
mov eax, dword [edi]
push edi
call dword [eax + 4]
or dword [ebp - 0x138], 0xffffffff
xor ecx, ecx
push 2
pop edx
push 0x10
xor eax, eax
mov word [ebp - 0x13e], cx
pop ecx
push eax
push edx
push dword [ebx + 0x69c]
xorps xmm0, xmm0
mov dword [ebp - 0x142], eax
movlpd qword [ebp - 0x154], xmm0
mov dword [ebp - 0x13c], 1
mov word [ebp - 0x144], dx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x158], ecx
call dword [sym.imp.ole32.dll_OleDuplicateData]
mov esi, eax
lea eax, [ebp - 0x158]
push 0
push eax
mov dword [ebp - 0x154], esi
lea eax, [ebp - 0x144]
mov ecx, dword [edi]
push eax
push edi
mov dword [ebp - 0x84], esi
call dword [ecx + 0x1c]
lea eax, [ebp - 0xa8]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0xa4]
xor ecx, ecx
push 0xe
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x64], eax
pop eax
push ecx
push ecx
push ecx
push dword [ebx + 0xac]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov word [ebp - 0x144], ax
mov dword [ebp - 0x134], 0x40
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
mov ebx, eax
mov eax, dword [ebp - 0x298]
push dword [eax + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push esi
push eax
mov dword [ebp - 0x294], eax
call edi
push 0xcc0020
mov esi, eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x294]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x294]
push esi
call edi
push ebx
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
push esi
mov dword [ebp - 0x154], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x158]
push 1
push ecx
mov dword [ebp - 0x158], 0x40
lea ecx, [ebp - 0x144]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x1c]
xorps xmm0, xmm0
lea ecx, [ebp - 0x90]
movlpd qword [ebp - 0x90], xmm0
call fcn.004135a7
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0xa4]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0xa0]
cdq
sub eax, edx
sar eax, 1
push 5
mov dword [ebp - 0x124], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x84]
lea ecx, [ebp - 0x90]
call fcn.0041361f
mov esi, dword [ebp - 0x290]
lea eax, [ebp - 0xac]
push eax
push 3
push esi
push edi
call dword [sym.imp.ole32.dll_DoDragDrop]
cmp dword [ebp - 0xac], 0
je 0x416b8f
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 0xc
push esi
call fcn.004d09b0
mov eax, dword [edi]
pop ecx
pop ecx
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x298]
lea ecx, [ebp - 0x90]
mov byte [eax + 0x698], 0
call fcn.004135d5
jmp 0x41751f
xor eax, eax
mov dword [ebp - 0x28], edi
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
call fcn.004136cb
mov word [ebp - 0x2a], ax
mov al, byte [ebx + 0x3e1]
test al, al
jne 0x416d6c
mov ecx, dword [ebx + 0x104]
lea edx, [ebp - 0x158]
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x284]
push 0x15
mov dword [ebp - 0x154], eax
mov eax, dword [ecx]
push edx
push 0x4197e7
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x416c49
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x41751f
mov eax, dword [ebx + 0x10c]
cmp esi, eax
je 0x416d42
test eax, eax
je 0x416d42
mov edx, dword [ebx + 0x47c]
lea edi, [ebp - 0x20]
mov dword [ebp - 0x3c], eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x40], 0xa
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
test edx, edx
jle 0x416ca6
xor ecx, ecx
mov eax, edx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f014a
mov edx, dword [ebx + 0x47c]
pop ecx
mov dword [ebp - 0x20], eax
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 9
call fcn.0041a2d4
mov eax, dword [ebx + 0x47c]
shl eax, 2
push eax
push dword [ebx + 0x478]
push dword [ebp - 0x20]
call fcn.004e8680
xor edi, edi
add esp, 0xc
cmp dword [ebp - 0x1c], edi
jle 0x416cf0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x134]
inc edi
cmp edi, dword [ebp - 0x1c]
jl 0x416cd8
mov ecx, dword [ebx + 0x10c]
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov edx, dword [ebx + 0xc8]
xor ecx, ecx
mov dword [ebx + 0x10c], ecx
test edx, edx
je 0x416d28
lea eax, [ebx + 0xcc]
push eax
push ecx
push 0x411
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0x20], 0
je 0x416d3e
push dword [ebp - 0x20]
call fcn.004f0145
pop ecx
or dword [ebp - 4], 0xffffffff
cmp esi, dword [ebx + 0x10c]
je 0x416d6c
test esi, esi
je 0x416d6c
mov dword [ebp - 0x40], 0xb
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
mov dword [ebx + 0x10c], esi
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x416d85
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], ecx
jmp 0x417513
test esi, esi
je 0x41751f
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], esi
jmp 0x416849
test edx, edx
je 0x41751f
push edx
push edi
lea eax, [esi + 0x2000]
push eax
push edx
jmp 0x4161d5
cmp byte [ebx + 0x100], 0
jne 0x416dc8
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x27c]
lea edx, [ebp - 0x128]
movsx ecx, ax
mov dword [ebx + 0x11c], ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx + 0x104]
shr eax, 0x10
cwde
push 0x15
mov dword [ebp - 0x84], eax
mov dword [ebx + 0x120], eax
mov dword [ebp - 0x124], eax
mov eax, dword [ecx]
push edx
push 0x4197e7
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x41751f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x41751f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [ebp - 0x40], 0x11
jmp 0x416580
sub esi, 0x208
je 0x417476
push 2
pop eax
sub esi, eax
je 0x41737c
sub esi, 0x97
je 0x417136
sub esi, eax
je 0x417044
sub esi, 0x75
je 0x416f60
sub esi, 0x7ce9
jne 0x41751f
mov esi, ecx
cmp dword [ebx + 0x44c], ecx
jle 0x416eb3
mov eax, dword [ebx + 0x448]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x416eaa
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, dword [ebx + 0x44c]
jl 0x416e97
lea ecx, [ebx + 0x448]
call fcn.0041a2b8
mov byte [ebx + 0x3e4], 0
mov ecx, dword [ebx + 0x458]
test ecx, ecx
jle 0x41751f
mov eax, dword [ebx + 0x454]
mov esi, dword [eax]
test esi, esi
je 0x41751f
test ecx, ecx
jle 0x416f0b
lea eax, [ecx - 1]
mov dword [ebx + 0x458], eax
test eax, eax
jle 0x416f0b
mov ecx, dword [ebx + 0x454]
shl eax, 2
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004e8680
add esp, 0xc
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x416f24
cmp dword [ecx + 0x3c], 0
jle 0x416f24
push esi
add ecx, 0x38
call fcn.0041f9a4
xor ecx, ecx
mov edi, ecx
cmp dword [ebx + 0x3ec], ecx
jle 0x416f47
mov eax, dword [ebx + 0x3e8]
push esi
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax]
inc edi
cmp edi, dword [ebx + 0x3ec]
jl 0x416f30
mov ecx, esi
call fcn.004146dc
push 0x120
push esi
call fcn.004d09b0
pop ecx
pop ecx
jmp 0x416ec5
cmp dword [ebx + 0x104], ecx
je 0x41751f
lea eax, [ebp - 0x140]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x104]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x140]
push 0
push eax
mov edx, dword [ecx]
push edi
call dword [edx + 0x144]
mov eax, dword [ebp - 0x27c]
test al, 0x10
je 0x417035
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x417035
push 2
pop eax
or dword [ebp - 0x27c], eax
xor eax, eax
lea edi, [ebp - 0x70]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x70]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
pop eax
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebx + 0xa8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x11c]
neg eax
push 0
push eax
mov eax, dword [ebp - 0x70]
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x27c]
push edi
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
pop eax
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x416fcc
push dword [ebp - 0x18]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x41751f
mov edx, dword [ebx + 0xc8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test edx, edx
je 0x417064
lea eax, [ebx + 0xcc]
push eax
push ecx
push 0x411
push edx
call esi
cmp byte [ebx + 0x3e0], 0
je 0x41712a
xor eax, eax
lea edi, [ebp - 0x140]
stosd dword es:[edi], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x140]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x417119
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x417119
push dword [ebp - 0x18]
lea eax, [ebp - 0x140]
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x417119
movzx ecx, word [ebp - 0x18]
movzx eax, word [ebp - 0x1c]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [ebx + 0xa8]
call esi
cmp eax, 1
jne 0x417119
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x18]
movzx eax, word [ebp - 0x1c]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x41711b
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x3e0], 0
jmp 0x41751f
mov byte [ebx + 0x3e0], cl
mov eax, edx
movsx ecx, dx
lea edx, [ebp - 0x128]
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx + 0x104]
shr eax, 0x10
cwde
push 0x15
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x124], eax
mov eax, dword [ecx]
push edx
push 0x4197e7
call dword [eax + 0x128]
mov esi, eax
mov dword [ebp - 0x290], esi
test esi, esi
je 0x41751f
mov eax, dword [ebx + 0x10c]
test eax, eax
je 0x4171e6
xorps xmm0, xmm0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x27c]
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x40], 0xc
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x30], eax
call fcn.004136cb
mov ecx, dword [ebx + 0x10c]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
push 0x84
lea eax, [ebp - 0x1e0]
push 0
push eax
call fcn.004e8520
mov eax, dword [esi]
lea ecx, [ebp - 0x1e0]
add esp, 0xc
push ecx
mov ecx, esi
call dword [eax + 0xbc]
mov dword [ebp - 4], 4
xor eax, eax
mov ecx, dword [ebp - 0x1e0]
cmp word [ecx], ax
jne 0x417242
lea eax, [ebp - 0x1dc]
mov dword [ebp - 4], 5
cmp ecx, eax
je 0x414ef2
push ecx
call fcn.004f0145
pop ecx
jmp 0x414ef2
mov dword [ebx + 0xdc], eax
mov dword [ebx + 0xe0], eax
mov dword [ebx + 0xe4], eax
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xf4], eax
mov dword [ebx + 0xf8], eax
mov eax, dword [ebx + 0xa8]
mov dword [ebx + 0xd4], eax
mov dword [ebx + 0xd8], eax
mov eax, dword [0x55ca98]
mov dword [ebx + 0xf0], ecx
mov ecx, esi
mov dword [ebx + 0xcc], 0x30
mov dword [ebx + 0xd0], 1
mov dword [ebx + 0xec], eax
mov eax, dword [esi]
call dword [eax + 0x50]
mov esi, eax
lea edi, [ebx + 0xdc]
mov eax, dword [ebx + 0xc8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x417328
xor eax, eax
mov ecx, closesocket
push eax
push dword [0x55ca98]
push eax
push dword [ebx + 0xa8]
push ecx
push ecx
push ecx
push ecx
push reloc.WS2_32.dll_closesocket
push eax
push str.tooltips_class32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea edi, [ebx + 0xcc]
mov dword [ebx + 0xc8], eax
push edi
push 0
push 0x432
push eax
call esi
mov ecx, dword [ebp - 0x290]
mov eax, dword [ecx]
call dword [eax + 0xc8]
push eax
push 0
push 0x418
push dword [ebx + 0xc8]
call esi
mov eax, dword [ebx + 0xc8]
jmp 0x41732e
lea edi, [ebx + 0xcc]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x417358
push edi
push eax
push 0x436
push dword [ebx + 0xc8]
call esi
push edi
push 1
push 0x411
push dword [ebx + 0xc8]
call esi
lea eax, [ebp - 0x1dc]
mov dword [ebp - 4], 6
cmp dword [ebp - 0x1e0], eax
je 0x414ef2
push dword [ebp - 0x1e0]
jmp 0x417237
cmp dword [ebx + 0x104], ecx
je 0x41751f
movsx eax, dx
mov dword [ebp - 0x1c], eax
mov eax, edx
shr eax, 0x10
cwde
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x11c], ecx
mov dword [ebp - 0x128], ecx
mov ecx, dword [ebx + 0x104]
push 0x15
mov dword [ebx + 0x120], eax
mov dword [ebp - 0x124], eax
mov eax, dword [ecx]
push edx
push 0x4197e7
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x41751f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x41751f
xor eax, eax
shr edi, 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
shr edi, 0xf
mov dword [ebp - 0x40], 0x15
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], eax
call fcn.004136cb
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
movzx ecx, word [ebx + 0x120]
movzx eax, word [ebx + 0x11c]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41751f
mov ecx, dword [ebx + 0x104]
mov eax, edx
shr eax, 0x10
cwde
movsx esi, dx
lea edx, [ebp - 0x128]
push 0x15
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x11c], esi
mov dword [ebx + 0x120], eax
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x124], eax
mov eax, dword [ecx]
push edx
push 0x4197e7
call dword [eax + 0x128]
mov dword [ebx + 0x110], eax
test eax, eax
je 0x41751f
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebp - 0x40], 0x12
xor eax, eax
mov dword [ebp - 0x28], edi
mov byte [ebx + 0x3e1], al
mov byte [ebx + 0x698], al
mov dword [ebp - 0x38], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0x110]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2a], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x40]
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
xor al, al
call fcn.004d18a2
ret 0x10