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

Disassembly:
push 0x28c
mov eax, 0x5083cf
call fcn.004c8468
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 0x413350
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28c], ecx
cmp dword [ebx + 0x41c], ecx
jle 0x410c7c
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 0x410cdc
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 0x410c2b
mov eax, dword [ebp - 0x280]
cmp byte [ebx + 0x16d], 0
je 0x410d58
mov dword [ebp - 0x288], esi
sub dword [ebp - 0x288], 0x83
je 0x410d54
sub dword [ebp - 0x288], 2
je 0x410d54
sub dword [ebp - 0x288], 1
jne 0x410d58
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x411f1a
test edi, edi
sete al
mov ecx, dword [ebp - 0x280]
mov dword [ecx], eax
jmp 0x410d38
mov ecx, dword [ebp - 0x280]
mov dword [ecx], eax
cmp esi, 0x7b
je 0x410d01
cmp esi, 0x1ff
jbe 0x410d38
cmp esi, 0x203
jbe 0x410d3f
cmp esi, 0x20a
jne 0x410d38
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 0x413352
mov eax, dword [ebp - 0x27c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x11c], ecx
jmp 0x410d32
mov dword [eax], ecx
jmp 0x410d38
mov eax, 0x133
cmp esi, eax
ja 0x41227d
je 0x412bdb
cmp esi, 0x24
ja 0x411f1a
je 0x411e52
sub esi, 5
je 0x411df9
dec esi
sub esi, 1
je 0x411d9f
sub esi, 1
je 0x411d79
sub esi, 7
je 0x410f6c
sub esi, 1
je 0x410ea7
sub esi, 4
je 0x410e97
sub esi, 0xc
jne 0x413350
cmp dword [ebx + 0x104], ecx
je 0x413350
xor eax, eax
inc eax
cmp dx, ax
jne 0x413350
cmp byte [ebx + 0x3e1], 0
jne 0x413352
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 0x4155f4
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x413350
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test al, 2
je 0x413350
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.0040f535
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 0x410d38
mov ecx, dword [ebp - 0x280]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x413352
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.0040f535
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 0x410efe
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 0x410f1e
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.00413aec
mov esi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x410f4b
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x410f4b
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x413350
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0xc8], 0
jmp 0x413350
cmp dword [ebx + 0x104], ecx
jne 0x410fbc
push 0x40
push ecx
lea eax, [ebp - 0x60]
push eax
call fcn.004df090
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.0043d78b
pop ecx
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x410d38
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 0x410d38
cmp byte [ebx + 0x16a], 0
je 0x411010
push 1
mov ecx, ebx
call fcn.00413f52
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 0x41128f
lea eax, [ebp - 0xa0]
mov byte [ebx + 0x169], cl
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x411308
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x411308
mov eax, dword [ebx + 0x104]
mov al, byte [eax + 0x154]
test al, al
je 0x411144
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 0x4110ad
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x4110be
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x4110cf
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x4110e0
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 0x411126
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 0x4111e1
lea edi, [ebx + 0x460]
mov ecx, edi
call fcn.00416089
mov ecx, dword [ebx + 0x104]
xor esi, esi
push reloc.OLEAUT32.dll_VariantCopy
push esi
push 0x4157c3
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 0x4111e3
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 0x4111a0
call dword [ebx + 0x50]
jmp 0x4111aa
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 0x41117e
xor ecx, ecx
cmp byte [ebx + 0x168], 0
mov byte [ebp - 0x11], 1
je 0x411308
mov esi, dword [ebx + 0x104]
mov byte [ebx + 0x168], cl
lea ecx, [ebp - 0x278]
call fcn.004141fe
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0xffffffffffffffff
push str.windowinit
mov dword [ebp - 0x170], esi
call fcn.004163a9
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.0041421a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.0041052d
cmp byte [ebx + 0x16d], 0
je 0x411278
cmp byte [ebx + 0x180], 0
je 0x411278
mov ecx, ebx
call fcn.0041335a
mov byte [ebx + 0x3e2], 0
jmp 0x410d38
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x5c8]
call fcn.00441532
mov byte [ebp - 0x11], 1
jmp 0x411308
cmp byte [ebx + 0x16d], cl
je 0x411308
cmp byte [ebx + 0x180], cl
je 0x411308
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 0x4112cb
imul eax, dword [ebp - 0x27c]
shl eax, 2
push eax
push ecx
push edx
call fcn.004df090
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 0x41137f
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x41133a
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 0x4113ca
cmp dword [ebx + 0xb8], esi
jne 0x4113ca
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.00440f5d
pop ecx
pop ecx
mov dword [ebx + 0xb8], eax
push 0x40
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.004df090
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 0x411c7e
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 0x4114a9
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 0x4114a9
mov eax, edx
imul eax, dword [ebp - 0x27c]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [ebp - 0x78]
jge 0x411487
lea edi, [eax + ecx]
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 0x411463
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 0x411455
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 0x41179d
cmp dword [ebx + 0x434], 0
mov dword [ebp - 0x288], esi
jle 0x41179d
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 0x41157b
test esi, esi
js 0x41178f
mov edx, dword [ebx + 0x434]
cmp esi, edx
jge 0x411535
dec edx
mov dword [ebx + 0x434], edx
cmp esi, edx
jge 0x411535
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.004df1f0
add esp, 0xc
test esi, esi
js 0x41178f
mov edx, dword [ebx + 0x440]
cmp esi, edx
jge 0x41178f
dec edx
mov dword [ebx + 0x440], edx
cmp esi, edx
jge 0x41178f
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.004df1f0
add esp, 0xc
jmp 0x41178f
inc esi
push edi
mov dword [ebp - 0x288], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41178f
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 0x41178f
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.00440f5d
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.004df090
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 0x411742
mov ebx, eax
mov eax, ecx
mov esi, edx
sub eax, edi
test eax, eax
jle 0x411711
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 0x411702
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 0x4116c9
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 0x4116bf
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 0x4114e2
xor esi, esi
cmp dword [ebx + 0x428], 0
jle 0x4117ca
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 0x4117a6
push dword [ebp - 0x84]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x16d], 0
je 0x411bde
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 0x411ac2
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 0x4118f2
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.00440f5d
imul edi, dword [ebp - 0x288]
mov dword [ebx + 0xc0], eax
shl edi, 2
push edi
push 0
push dword [esi]
call fcn.004df090
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 0x411923
cmp byte [ebx + 0x180], cl
je 0x411964
imul edx, dword [ebp - 0x288]
shl edx, 2
push edx
push ecx
push dword [ebx + 0xc4]
call fcn.004df090
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.0043ae5b
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.0043d643
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
add esp, 0x20
call fcn.0043ae38
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 0x411b4d
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 0x411a9c
mov esi, dword [ebp - 0x28c]
lea edx, [eax + esi]
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 0x4119d1
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 0x4119a7
jmp 0x411b4d
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 0x411b4d
mov eax, dword [ebp - 0x27c]
mov edi, ecx
imul edi, eax
mov esi, dword [ebp - 0x80]
cmp esi, dword [ebp - 0x78]
jge 0x411b35
mov ecx, dword [ebp - 0x78]
lea eax, [esi + edi]
shl eax, 2
mov edx, dword [ebx + 0xbc]
cmp byte [eax + edx + 3], 0
jne 0x411b1b
cmp byte [eax + edx], 0
jne 0x411b13
cmp byte [eax + edx + 1], 0
jne 0x411b13
cmp byte [eax + edx + 2], 0
je 0x411b1b
mov byte [eax + edx + 3], 0xff
mov ecx, dword [ebp - 0x78]
inc esi
add eax, 4
cmp esi, ecx
jl 0x411af2
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 0x411ae1
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 [0x54d89c]
jmp 0x411c0f
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 0x411ce1
cmp byte [ebx + 0x16d], 0
jne 0x411ce1
push dword [0x54d894]
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 0x411ce1
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 0x411cd4
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 0x411cb0
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 0x411d11
mov ecx, ebx
call fcn.0041335a
cmp byte [ebp - 0x11], 0
je 0x410d38
mov esi, dword [ebx + 0x104]
lea ecx, [ebp - 0x278]
call fcn.004141fe
push 0xffffffffffffffff
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x278]
push str.windowsize
mov dword [ebp - 0x170], esi
call fcn.004163a9
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.0041421a
lea ecx, [ebp - 0x278]
call fcn.0041052d
jmp 0x410d38
cmp byte [ebx + 0x3e1], 0
je 0x413350
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
mov byte [ebx + 0x3e1], al
mov byte [ebx + 0x698], al
jmp 0x413350
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x413350
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 0x413347
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x411e3a
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 0x410d38
call fcn.00427f74
jmp 0x410d38
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 0x411ebd
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 0x411ed0
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x128]
test ecx, ecx
jle 0x411edd
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x411eea
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x411ef7
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x411f04
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x413350
mov dword [eax + 0xc], ecx
jmp 0x413350
sub esi, 0x4e
je 0x41225b
sub esi, 0x2d
je 0x4121a2
sub esi, 0x85
je 0x41211e
sub esi, 1
je 0x41209f
sub esi, 1
je 0x412036
sub esi, 0xf
je 0x412005
dec esi
sub esi, 1
jne 0x413350
mov edx, dword [ebx + 0x3f8]
test edx, edx
jle 0x413350
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 0x411f9a
movzx eax, di
cmp dword [esi + 0xc], eax
jne 0x411f94
cmp byte [esi + 0x10], 0
je 0x411fad
mov eax, dword [ebp - 0x284]
inc eax
add ecx, 4
mov dword [ebp - 0x284], eax
cmp eax, edx
jl 0x411f73
jmp 0x413350
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.0040f535
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 0x413344
mov eax, dword [ebp - 0x27c]
test eax, eax
je 0x413350
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 0x413350
jmp 0x410d38
xor eax, eax
cmp dword [ebx + 0x104], eax
je 0x413350
mov ecx, dword [ebx + 0x108]
test ecx, ecx
je 0x413350
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.0040f535
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
jmp 0x413341
xor eax, eax
cmp dword [ebx + 0x104], eax
je 0x413350
mov ecx, dword [ebx + 0x114]
test ecx, ecx
je 0x413350
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.0040f535
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 0x413350
xor eax, eax
cmp dword [ebx + 0x104], eax
je 0x413350
mov ecx, dword [ebx + 0x108]
test ecx, ecx
je 0x413350
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.0040f535
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 0x413350
cmp dword [ebx + 0x104], 0
je 0x413350
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 0x413350
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 0x413350
mov eax, dword [ebp - 0x27c]
test eax, eax
je 0x413350
push eax
push edi
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x410cd2
mov eax, 0x207
cmp esi, eax
ja 0x412c8c
je 0x412bf2
mov eax, esi
sub eax, 0x138
je 0x412bdb
sub eax, 0xc8
je 0x41269c
sub eax, 1
je 0x41254d
sub eax, 1
je 0x4124cd
sub eax, 1
je 0x4123ed
sub eax, 1
je 0x412331
sub eax, 1
jne 0x413350
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 0x4155f4
call dword [eax + 0x128]
mov dword [ebx + 0x110], eax
test eax, eax
je 0x413350
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebp - 0x40], 0x10
jmp 0x4132fe
cmp byte [ebx + 0x100], 0
jne 0x412346
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 0x4155f4
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x413350
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x413350
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 0x41249a
cmp byte [ebx + 0x100], 0
jne 0x412402
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 0x4155f4
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x413350
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x413350
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 0x413350
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 0x413350
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 0x413341
cmp byte [ebx + 0x100], 0
jne 0x412562
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebx + 0x104]
test ecx, ecx
je 0x413350
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 0x4155f4
call dword [eax + 0x128]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x413350
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x413350
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x41262d
mov eax, dword [ebx + 0x69c]
mov byte [ebx + 0x698], 1
test eax, eax
je 0x4125fd
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.00440d67
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 0x41334a
cmp byte [ebx + 0x3e0], 0
push 3
pop edx
jne 0x4126ef
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 0x4126cd
mov eax, dword [ebx + 0xfc]
jmp 0x4126db
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 0x41272e
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 0x4155f4
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x412777
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x413350
cmp byte [ebp - 0x294], 0
je 0x412a02
cmp byte [ebx + 0x698], 0
je 0x412a02
cmp edi, 1
jne 0x412a02
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.004c7247
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.0040f400
push 0x24
call fcn.004c7247
mov edx, eax
pop ecx
mov dword [ebp - 0x18], edx
push 9
pop ecx
xor eax, eax
mov dword [ebp - 4], 5
mov edi, edx
rep stosd dword es:[edi], eax
push esi
mov ecx, edx
call fcn.0042cefc
or dword [ebp - 4], 0xffffffff
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x413350
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.0040f411
mov dword [ebp - 4], 6
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.0040f489
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 0x4129d5
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 0xc
push esi
call fcn.004c7511
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.0040f43f
jmp 0x413350
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.0040f535
mov word [ebp - 0x2a], ax
mov al, byte [ebx + 0x3e1]
test al, al
jne 0x412bab
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 0x4155f4
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x412a8f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x413350
mov eax, dword [ebx + 0x10c]
cmp esi, eax
je 0x412b81
test eax, eax
je 0x412b81
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 0x412aec
xor ecx, ecx
mov eax, edx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e79b4
mov edx, dword [ebx + 0x47c]
pop ecx
mov dword [ebp - 0x20], eax
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 7
call fcn.004160a5
mov eax, dword [ebx + 0x47c]
shl eax, 2
push eax
push dword [ebx + 0x478]
push dword [ebp - 0x20]
call fcn.004df1f0
xor edi, edi
add esp, 0xc
cmp dword [ebp - 0x1c], edi
jle 0x412b36
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 0x412b1e
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 0x412b6e
lea eax, [ebx + 0xcc]
push eax
push ecx
push 0x411
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], 0
je 0x412b81
push dword [ebp - 0x20]
call fcn.004e5a34
pop ecx
cmp esi, dword [ebx + 0x10c]
je 0x412bab
test esi, esi
je 0x412bab
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 0x412bc4
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], ecx
jmp 0x413344
test esi, esi
je 0x413350
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], esi
jmp 0x41268f
test edx, edx
je 0x413350
push edx
push edi
lea eax, [esi + 0x2000]
push eax
push edx
jmp 0x41201b
cmp byte [ebx + 0x100], 0
jne 0x412c07
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 0x4155f4
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x413350
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x413350
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 0x4123c6
sub esi, 0x208
je 0x4132a7
push 2
pop eax
sub esi, eax
je 0x4131ad
sub esi, 0x97
je 0x412f75
sub esi, eax
je 0x412e83
sub esi, 0x75
je 0x412d9f
sub esi, 0x7ce9
jne 0x413350
mov esi, ecx
cmp dword [ebx + 0x44c], ecx
jle 0x412cf2
mov eax, dword [ebx + 0x448]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x412ce9
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, dword [ebx + 0x44c]
jl 0x412cd6
lea ecx, [ebx + 0x448]
call fcn.00416089
mov byte [ebx + 0x3e4], 0
mov ecx, dword [ebx + 0x458]
test ecx, ecx
jle 0x413350
mov eax, dword [ebx + 0x454]
mov esi, dword [eax]
test esi, esi
je 0x413350
test ecx, ecx
jle 0x412d4a
lea eax, [ecx - 1]
mov dword [ebx + 0x458], eax
test eax, eax
jle 0x412d4a
mov ecx, dword [ebx + 0x454]
shl eax, 2
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004df1f0
add esp, 0xc
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x412d63
cmp dword [ecx + 0x3c], 0
jle 0x412d63
push esi
add ecx, 0x38
call fcn.0041f582
xor ecx, ecx
mov edi, ecx
cmp dword [ebx + 0x3ec], ecx
jle 0x412d86
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 0x412d6f
mov ecx, esi
call fcn.0041052d
push 0x120
push esi
call fcn.004c7511
pop ecx
pop ecx
jmp 0x412d04
cmp dword [ebx + 0x104], ecx
je 0x413350
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 0x412e74
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x412e74
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 0x412e0b
push dword [ebp - 0x18]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x413350
mov edx, dword [ebx + 0xc8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test edx, edx
je 0x412ea3
lea eax, [ebx + 0xcc]
push eax
push ecx
push 0x411
push edx
call esi
cmp byte [ebx + 0x3e0], 0
je 0x412f69
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 0x412f58
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x412f58
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 0x412f58
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 0x412f58
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 0x412f5a
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x3e0], 0
jmp 0x413350
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 0x4155f4
call dword [eax + 0x128]
mov esi, eax
mov dword [ebp - 0x290], esi
test esi, esi
je 0x413350
mov eax, dword [ebx + 0x10c]
test eax, eax
je 0x413025
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.0040f535
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.004df090
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 0x41307a
lea eax, [ebp - 0x1dc]
cmp ecx, eax
je 0x410d38
push ecx
call fcn.004e5a34
pop ecx
jmp 0x410d38
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 [0x54d8a0]
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 0x413160
xor eax, eax
mov ecx, closesocket
push eax
push dword [0x54d8a0]
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 0x413166
lea edi, [ebx + 0xcc]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x413190
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]
cmp dword [ebp - 0x1e0], eax
je 0x410d38
push dword [ebp - 0x1e0]
jmp 0x41306f
cmp dword [ebx + 0x104], ecx
je 0x413350
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 0x4155f4
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x413350
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x413350
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.0040f535
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 0x413350
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 0x4155f4
call dword [eax + 0x128]
mov dword [ebx + 0x110], eax
test eax, eax
je 0x413350
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.004c8412
ret 0x10