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

Disassembly:
push 0x1a0
mov eax, 0x521b1a
call fcn.004ac5bf
mov ebx, ecx
mov dword [ebp - 0x18c], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x180], eax
xor eax, eax
mov dword [ebp - 0x17c], eax
cmp dword [ebx + 0xa8], eax
je 0x45de8a
lea ecx, [ebx + 0x2a4]
mov dword [ebp - 0x178], eax
call fcn.0048e100
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x164]
test eax, eax
jle 0x45be9b
mov ecx, dword [ebp - 0x178]
push ecx
lea ecx, [ebx + 0x2a4]
mov byte [ebp - 0x171], 0
call fcn.004594fd
lea ecx, [ebp - 0x171]
push ecx
push esi
push dword [ebp - 0x168]
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx]
cmp byte [ebp - 0x171], 0
jne 0x45bf56
inc dword [ebp - 0x178]
lea ecx, [ebx + 0x2a4]
call fcn.0048e100
mov ecx, dword [ebp - 0x178]
cmp ecx, eax
jl 0x45be4b
mov eax, 0x133
cmp edi, eax
ja 0x45ced7
je 0x45d70d
cmp edi, 0x4e
ja 0x45cadc
je 0x45cab5
sub edi, 5
je 0x45ca55
dec edi
sub edi, 1
je 0x45c9fb
sub edi, 8
je 0x45c141
sub edi, 1
je 0x45c05d
sub edi, 4
je 0x45c04d
sub edi, 0xc
je 0x45bf65
sub edi, 4
jne 0x45de8a
mov ecx, dword [ebx + 0x200]
mov eax, dword [ebp - 0x164]
test ecx, ecx
jle 0x45bf0c
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x204]
test ecx, ecx
jle 0x45bf19
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x208]
test ecx, ecx
jle 0x45bf26
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x20c]
test ecx, ecx
jle 0x45bf33
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x208]
test ecx, ecx
jle 0x45bf40
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x20c]
test ecx, ecx
jle 0x45de8a
mov dword [eax + 0xc], ecx
jmp 0x45de8a
mov ecx, dword [ebp - 0x180]
mov dword [ecx], eax
mov al, 1
jmp 0x45de8c
xor eax, eax
inc eax
cmp si, ax
jne 0x45de8a
cmp byte [ebx + 0x271], 0
jne 0x45de8c
xor eax, eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x170]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x16c]
mov ecx, ebx
push dword [ebp - 0x170]
call fcn.0045b109
mov ebx, eax
test ebx, ebx
je 0x45de8a
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
test al, 2
je 0x45de8a
xor eax, eax
lea edi, [ebp - 0xfc]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x100], 0x1a
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xf0], eax
call fcn.0045bd95
mov word [ebp - 0xea], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x100]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x134]
jmp 0x45bf5e
mov ecx, dword [ebp - 0x180]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x45de8c
and dword [ebp - 0x100], 0
lea edi, [ebp - 0xfc]
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x1f8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebx + 0x1fc]
mov dword [ebp - 0xf0], eax
call fcn.0045bd95
mov word [ebp - 0xea], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1ec]
mov dword [ebp - 0xf8], eax
test ecx, ecx
je 0x45c0ca
mov dword [ebp - 0x100], 0xa
lea edx, [ebp - 0x100]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
mov ecx, dword [ebx + 0x1f0]
test ecx, ecx
je 0x45c0f3
mov dword [ebp - 0x100], 0xe
lea edx, [ebp - 0x100]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
push 0
mov ecx, ebx
call fcn.0045f82a
mov esi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x45c120
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x45c120
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xdc]
test eax, eax
je 0x45de8a
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0xdc], 0
jmp 0x45de8a
push 0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xa8]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x45bf5e
xor eax, eax
cmp dword [ebx + 0x1e4], eax
jne 0x45c1a9
push 0x40
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.004e9750
add esp, 0xc
lea eax, [ebp - 0x160]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x160]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x45bf5e
mov byte [ebp - 0x171], al
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0xa8]
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x28]
mov ecx, ebx
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
sub edi, dword [ebp - 0x30]
push 1
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x190], eax
call fcn.0045fc75
cmp byte [ebx + 0x245], 0
je 0x45c369
lea eax, [ebp - 0x30]
mov byte [ebx + 0x245], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x45c369
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x45c369
mov ecx, dword [ebx + 0x1e4]
call fcn.004614d1
test al, al
je 0x45c285
mov eax, dword [ebx + 0xb0]
test eax, eax
je 0x45c241
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x45c252
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebx + 0x1e4]
lea esi, [ebp - 0x30]
push 1
sub esp, 0x10
xor eax, eax
mov edi, esp
mov dword [ebx + 0xb0], eax
mov dword [ebx + 0xb8], eax
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]
mov byte [ebp - 0x171], 1
jmp 0x45c32c
lea edi, [ebx + 0x2e0]
mov ecx, edi
mov dword [ebp - 0x180], edi
call fcn.0045975f
mov ecx, dword [ebx + 0x1e4]
xor esi, esi
push reloc.OLEAUT32.dll_VariantCopy
push esi
push 0x460528
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov ecx, edi
mov dword [ebp - 0x178], esi
call fcn.0048e100
test eax, eax
jle 0x45c32c
push esi
mov ecx, edi
call fcn.004594fd
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x17c], esi
mov edx, dword [esi]
call dword [edx + 0x120]
mov ebx, dword [esi]
mov ecx, esi
test al, al
jne 0x45c2eb
call dword [ebx + 0x50]
jmp 0x45c2f2
lea eax, [ebp - 0x58]
push eax
call dword [ebx + 0x48]
mov ecx, dword [ebp - 0x17c]
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 esi, dword [ebp - 0x178]
mov edi, dword [ebp - 0x180]
inc esi
mov ecx, edi
mov dword [ebp - 0x178], esi
call fcn.0048e100
cmp esi, eax
jl 0x45c2c4
mov ebx, dword [ebp - 0x18c]
cmp byte [ebx + 0x244], 0
je 0x45c363
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x1e4]
mov byte [ebx + 0x244], al
call fcn.0045f3dd
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x128]
call fcn.0046c36a
mov edi, dword [ebp - 0x168]
cmp byte [ebx + 0x246], 0
je 0x45c37b
push 1
mov ecx, ebx
call fcn.0045fb2f
cmp byte [ebx + 0x249], 0
je 0x45c3ed
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x45c3ad
push ecx
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea esi, [ebx + 0x260]
mov byte [ebx + 0x247], 1
push esi
lea eax, [ebp - 0x20]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
push 0x10
cmovg eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
push 0
cmovg eax, dword [ebp - 0x24]
push esi
mov dword [ebp - 0x14], eax
call fcn.004e9750
add esp, 0xc
xor esi, esi
cmp byte [ebx + 0x247], 0
je 0x45c434
cmp dword [ebx + 0xb8], esi
jne 0x45c434
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0xb0], eax
lea eax, [ebx + 0xbc]
push eax
push dword [ebp - 0x190]
push edi
push dword [ebx + 0xac]
call fcn.0046e011
add esp, 0x10
mov dword [ebx + 0xb8], eax
push 0x40
lea eax, [ebp - 0x120]
push esi
push eax
call fcn.004e9750
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x247], 0
je 0x45c92e
push dword [ebx + 0xb8]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
mov dword [ebp - 0x16c], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0x249], 0
mov dword [ebp - 0x184], eax
je 0x45c513
mov edi, dword [ebp - 0x24]
mov edx, edi
sub edx, dword [ebp - 0x14]
mov ecx, edi
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x178], edx
cmp edx, ecx
jge 0x45c513
mov ecx, dword [ebp - 0x20]
mov eax, edx
imul eax, dword [ebp - 0x168]
mov dword [ebp - 0x17c], eax
cmp ecx, dword [ebp - 0x18]
jge 0x45c4f1
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 - 0x18]
jl 0x45c4cd
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x17c]
add eax, dword [ebp - 0x168]
inc edx
mov dword [ebp - 0x17c], eax
mov eax, edi
sub eax, dword [ebp - 0x1c]
cmp edx, eax
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x17c]
jl 0x45c4c2
mov ecx, dword [ebx + 0x1e4]
lea edx, [ebp - 0x20]
push edx
push dword [ebx + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x144]
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
push dword [ebx + 0xb0]
call fcn.0045b00c
lea edi, [ebx + 0x2b0]
xor esi, esi
mov ecx, edi
call fcn.0048e100
test eax, eax
jle 0x45c577
push esi
mov ecx, edi
call fcn.004594fd
lea ecx, [ebp - 0x20]
push ecx
push dword [ebx + 0xb0]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x164]
mov ecx, edi
inc esi
call fcn.0048e100
cmp esi, eax
jl 0x45c54f
cmp byte [ebx + 0x249], 0
je 0x45c7fe
mov esi, dword [ebp - 0x24]
mov ecx, esi
sub ecx, dword [ebp - 0x14]
mov eax, esi
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x17c], ecx
cmp ecx, eax
jge 0x45c612
mov eax, dword [ebp - 0x168]
mov edi, ecx
mov edx, dword [ebp - 0x20]
imul edi, eax
cmp edx, dword [ebp - 0x18]
jge 0x45c5fa
mov ecx, dword [ebp - 0x18]
lea eax, [edi + edx]
shl eax, 2
mov esi, dword [ebx + 0xbc]
cmp byte [eax + esi + 3], 0
jne 0x45c5e0
cmp byte [eax + esi], 0
jne 0x45c5d8
cmp byte [eax + esi + 1], 0
jne 0x45c5d8
cmp byte [eax + esi + 2], 0
je 0x45c5e0
mov byte [eax + esi + 3], 0xff
mov ecx, dword [ebp - 0x18]
inc edx
add eax, 4
cmp edx, ecx
jl 0x45c5b7
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x168]
add edi, eax
inc ecx
mov eax, esi
mov dword [ebp - 0x17c], ecx
sub eax, dword [ebp - 0x1c]
cmp ecx, eax
mov eax, dword [ebp - 0x168]
jl 0x45c5a9
lea ecx, [ebx + 0x2bc]
xor edi, edi
call fcn.0048e100
test eax, eax
jle 0x45c7fe
push edi
lea ecx, [ebx + 0x2bc]
call fcn.004594fd
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x45c651
push edi
lea ecx, [ebx + 0x2bc]
call fcn.00459bfc
jmp 0x45c7eb
inc edi
push esi
mov dword [ebp - 0x194], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45c7eb
lea eax, [ebp - 0x40]
push eax
push esi
push dword [ebx + 0xa8]
call fcn.0045b130
add esp, 0xc
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x45c7eb
push dword [ebx + 0xb0]
and dword [ebp - 0x17c], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x34]
mov edi, eax
sub ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x17c]
push eax
push ecx
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x40]
push ecx
push edi
mov dword [ebp - 0x180], edi
call fcn.0046e011
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x3c]
imul edx, ecx
mov dword [ebp - 0x164], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x17c]
call fcn.004e9750
add esp, 0x1c
push dword [ebp - 0x164]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push edi
push 0x317
push esi
mov dword [ebp - 0x1a0], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x34]
xor edx, edx
mov eax, dword [ebp - 0x3c]
mov ecx, edi
mov esi, dword [ebp - 0x40]
sub ecx, eax
test ecx, ecx
mov dword [ebp - 0x178], edx
mov ecx, dword [ebp - 0x38]
jle 0x45c79e
mov ebx, edx
mov eax, ecx
sub eax, esi
test eax, eax
jle 0x45c785
mov edi, edx
imul eax, ebx
mov ebx, dword [ebp - 0x17c]
add eax, edi
mov ebx, dword [ebx + eax*4]
mov dword [ebp - 0x19c], ebx
test ebx, ebx
je 0x45c773
mov esi, dword [ebp - 0x17c]
mov ecx, ebx
or ecx, 0xff000000
mov dword [esi + eax*4], ecx
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x178]
mov eax, ecx
inc edi
sub eax, esi
cmp edi, eax
jl 0x45c744
mov edi, dword [ebp - 0x34]
mov eax, edi
inc ebx
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x178], ebx
cmp ebx, eax
jl 0x45c73a
mov ebx, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x3c]
push 0xcc0020
push edx
push edx
push dword [ebp - 0x180]
sub edi, eax
sub ecx, esi
push edi
push ecx
push eax
push esi
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1a0]
mov esi, dword [ebp - 0x180]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x164]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x194]
lea ecx, [ebx + 0x2bc]
call fcn.0048e100
cmp edi, eax
jl 0x45c627
push dword [ebp - 0x184]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x249], 0
je 0x45c8c1
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xa8]
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov al, byte [ebx + 0x248]
xor ecx, ecx
mov byte [ebp - 0x176], al
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x168]
push 2
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
pop eax
push eax
lea eax, [ebp - 0x178]
mov word [ebp - 0x178], cx
push eax
push ecx
lea eax, [ebp - 0x188]
mov byte [ebp - 0x175], 1
push eax
push dword [ebx + 0xb0]
lea eax, [ebp - 0x198]
mov dword [ebp - 0x188], ecx
push eax
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x184], ecx
push eax
push dword [ebx + 0xac]
push dword [ebx + 0xa8]
call dword [0x56e3c0]
jmp 0x45c8f2
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push 0xcc0020
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebx + 0xb0]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x16c]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [ebx + 0xcc], 0
je 0x45c9a5
push 0
push 0xffff0000
push 1
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0xac]
call fcn.00471e2a
add esp, 0x14
jmp 0x45c9a5
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x1e4]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0xac]
mov edx, dword [ecx]
call dword [edx + 0x144]
lea edi, [ebx + 0x2b0]
xor esi, esi
mov ecx, edi
call fcn.0048e100
test eax, eax
jle 0x45c993
push esi
mov ecx, edi
call fcn.004594fd
lea ecx, [ebp - 0x20]
push ecx
push dword [ebx + 0xac]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x164]
mov ecx, edi
inc esi
call fcn.0048e100
cmp esi, eax
jl 0x45c96b
push dword [ebp - 0x16c]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x120]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0x245], 0
je 0x45c9c8
mov ecx, ebx
call fcn.0045bc10
push 0
mov ecx, ebx
call fcn.0045fc75
cmp byte [ebp - 0x171], 0
je 0x45bf5e
push 1
xor eax, eax
mov ecx, ebx
push eax
push eax
push str.windowsize
push dword [ebx + 0x1e4]
call fcn.0045f3dd
jmp 0x45bf5e
mov edx, dword [ebx + 0x1e8]
test edx, edx
je 0x45de8a
push 7
xor eax, eax
lea edi, [ebp - 0x13c]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x140], 0x18
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x13c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1e8]
lea edx, [ebp - 0x140]
mov dword [ebp - 0x138], eax
jmp 0x45de81
mov edx, dword [ebx + 0x1e8]
test edx, edx
je 0x45ca9d
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xfc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x100], 0x19
mov dword [ebp - 0xfc], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1e8]
lea edx, [ebp - 0x100]
mov dword [ebp - 0xf8], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, dword [ebx + 0x1e4]
test ecx, ecx
je 0x45bf5e
call fcn.0046154b
jmp 0x45bf5e
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x45de8a
push eax
push dword [ebp - 0x168]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x45bf56
sub edi, 0x7b
je 0x45cdfc
sub edi, 0x85
je 0x45cd62
sub edi, 1
je 0x45cccd
sub edi, 1
je 0x45cc54
sub edi, 0xf
je 0x45cc1e
dec edi
sub edi, 1
jne 0x45de8a
mov esi, dword [ebp - 0x168]
mov eax, 0x1999
cmp ax, si
jne 0x45cb49
lea eax, [ebx + 0x110]
mov ecx, ebx
push eax
call fcn.0045bbbc
cmp byte [ebx + 0x120], 0
sete al
mov byte [ebx + 0x120], al
jmp 0x45de8a
lea edi, [ebx + 0x280]
mov ecx, edi
call fcn.0048e100
test eax, eax
jle 0x45de8a
push dword [ebp - 0x17c]
mov ecx, edi
call fcn.004594fd
mov edx, eax
mov dword [ebp - 0x16c], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [ebx + 0xa8]
jne 0x45cb8c
movzx ecx, si
cmp dword [edx + 0xc], ecx
jne 0x45cb8c
cmp byte [edx + 0x10], 0
je 0x45cbad
inc dword [ebp - 0x17c]
mov ecx, edi
call fcn.0048e100
cmp dword [ebp - 0x17c], eax
jge 0x45de8a
mov esi, dword [ebp - 0x168]
jmp 0x45cb5e
push 7
xor eax, eax
lea edi, [ebp - 0xfc]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [edx]
mov dword [ebp - 0x100], 0x1b
mov dword [ebp - 0xfc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebx + 0x1f8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebx + 0x1fc]
mov dword [ebp - 0xf0], eax
call fcn.0045bd95
mov ecx, dword [ebp - 0x16c]
mov word [ebp - 0xea], ax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xe4], eax
jmp 0x45de7b
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x45de8a
push eax
push dword [ebp - 0x168]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x180]
mov dword [ecx], eax
test eax, eax
je 0x45de8a
jmp 0x45bf5e
mov edx, dword [ebx + 0x1e8]
test edx, edx
je 0x45de8a
xor eax, eax
lea edi, [ebp - 0xfc]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xe8], eax
mov word [ebp - 0xec], ax
mov eax, dword [ebx + 0x1f8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebx + 0x1fc]
mov dword [ebp - 0x100], 5
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xf0], eax
call fcn.0045bd95
mov word [ebp - 0xea], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1e8]
jmp 0x45de75
mov edx, dword [ebx + 0x1f4]
test edx, edx
je 0x45de8a
xor eax, eax
lea edi, [ebp - 0xfc]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xe8], eax
mov word [ebp - 0xec], ax
mov eax, dword [ebx + 0x1f8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebx + 0x1fc]
mov dword [ebp - 0x100], 4
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xf0], eax
call fcn.0045bd95
mov word [ebp - 0xea], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f4]
lea edx, [ebp - 0x100]
mov dword [ebp - 0xf8], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
and dword [ebx + 0x1f4], 0
jmp 0x45de8a
mov edx, dword [ebx + 0x1e8]
test edx, edx
je 0x45de8a
xor eax, eax
lea edi, [ebp - 0xfc]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xe8], eax
mov word [ebp - 0xec], ax
mov eax, dword [ebx + 0x1f8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebx + 0x1fc]
mov dword [ebp - 0x100], 3
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xf0], eax
call fcn.0045bd95
mov word [ebp - 0xea], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1e8]
lea edx, [ebp - 0x100]
mov dword [ebp - 0xf8], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov eax, dword [ebx + 0x1e8]
mov dword [ebx + 0x1f4], eax
jmp 0x45de8a
mov ecx, dword [ebp - 0x164]
movsx eax, cx
mov dword [ebp - 0x170], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x170]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x1f0], 0
mov eax, dword [ebp - 0x170]
mov dword [ebx + 0x1f8], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebx + 0x1fc], eax
je 0x45de8a
mov ecx, ebx
call fcn.0045eba6
mov edx, dword [ebp - 0x168]
lea edi, [ebp - 0xfc]
push 7
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebx + 0x1f0]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x100], 0x14
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xf0], eax
mov word [ebp - 0xea], dx
mov dword [ebp - 0xe4], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f0]
lea edx, [ebp - 0x100]
mov dword [ebp - 0xf8], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
and dword [ebx + 0x1f0], 0
jmp 0x45de8a
mov eax, 0x207
cmp edi, eax
ja 0x45d7af
je 0x45d72f
mov eax, edi
sub eax, 0x138
je 0x45d70d
sub eax, 0xc8
je 0x45d2ce
sub eax, 1
je 0x45d19c
sub eax, 1
je 0x45d100
sub eax, 1
je 0x45d02a
sub eax, 1
je 0x45cf86
sub eax, 1
jne 0x45de8a
mov ecx, ebx
call fcn.0045eba6
mov eax, dword [ebp - 0x164]
mov ecx, ebx
movsx esi, ax
shr eax, 0x10
cwde
push eax
push esi
mov dword [ebp - 0x16c], eax
mov dword [ebx + 0x1f8], esi
mov dword [ebx + 0x1fc], eax
call fcn.0045b109
mov edx, eax
mov dword [ebx + 0x1f0], edx
test edx, edx
je 0x45de8a
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xfc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x100], 0x10
jmp 0x45de32
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x164]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x16c], ecx
mov dword [ebx + 0x1f8], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x184], eax
mov dword [ebx + 0x1fc], eax
call fcn.0045b109
mov esi, eax
test esi, esi
je 0x45de8a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x45de8a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0045f465
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xfc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x100], 0xf
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xf0], eax
jmp 0x45d0bf
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, ebx
call fcn.0045f465
mov eax, dword [ebp - 0x164]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x16c], ecx
mov dword [ebx + 0x1f8], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x184], eax
mov dword [ebx + 0x1fc], eax
call fcn.0045b109
mov esi, eax
test esi, esi
je 0x45de8a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x45de8a
xor eax, eax
lea edi, [ebp - 0xfc]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x100], 0x13
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xe8], ecx
mov word [ebp - 0xea], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x100]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
mov dword [ebx + 0x1f0], esi
jmp 0x45de8a
mov ecx, ebx
call fcn.0045eba6
mov edx, dword [ebp - 0x164]
mov eax, edx
shr eax, 0x10
cwde
mov dword [ebp - 0x16c], eax
mov dword [ebx + 0x1fc], eax
mov eax, dword [ebx + 0x1f0]
movsx esi, dx
mov dword [ebx + 0x1f8], esi
test eax, eax
je 0x45de8a
push 7
xor eax, eax
lea edi, [ebp - 0xfc]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x1f0]
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x100], 0xe
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xf0], ecx
mov word [ebp - 0xea], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f0]
and dword [ebx + 0x1f0], 0
jmp 0x45de75
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x164]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x184], ecx
mov dword [ebx + 0x1f8], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x194], eax
mov dword [ebx + 0x1fc], eax
call fcn.0045b109
mov esi, eax
mov dword [ebp - 0x16c], esi
test esi, esi
je 0x45de8a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x45de8a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x45d247
mov eax, dword [ebx + 0x434]
mov byte [ebx + 0x430], 1
test eax, eax
je 0x45d21f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [ebx + 0x434], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
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 - 0x16c]
push esi
push ebx
call fcn.004723be
add esp, 0x18
mov dword [ebx + 0x434], eax
mov ecx, ebx
call fcn.0045f465
mov dword [ebx + 0x1f0], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x11c]
xor eax, eax
lea edi, [ebp - 0xfc]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x100], 0xd
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xf0], eax
mov word [ebp - 0xea], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf8], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x100]
push ecx
mov ecx, esi
jmp 0x45de84
cmp byte [ebx + 0x270], 0
push 3
pop ecx
jne 0x45d32b
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 0xa8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0xdc]
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], ecx
test eax, eax
jne 0x45d308
mov dword [ebp - 0x24], 0x190
jmp 0x45d31a
push 0
push ecx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0x270], 1
mov eax, dword [ebp - 0x164]
movsx edx, ax
shr eax, 0x10
movsx ecx, ax
mov al, 1
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x190], eax
cmp dword [ebx + 0x1f8], edx
jne 0x45d36a
xor esi, esi
movzx eax, al
cmp dword [ebx + 0x1fc], ecx
cmove eax, esi
mov dword [ebp - 0x190], eax
push ecx
mov dword [ebx + 0x1fc], ecx
mov ecx, ebx
push edx
mov dword [ebx + 0x1f8], edx
call fcn.0045b109
mov esi, eax
test esi, esi
je 0x45d394
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x45de8a
cmp byte [ebp - 0x190], 0
je 0x45d5fb
cmp byte [ebx + 0x430], 0
je 0x45d5fb
cmp dword [ebp - 0x168], 1
jne 0x45d5fb
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.004ac2cd
mov esi, eax
mov dword [ebp - 0x178], eax
pop ecx
test esi, esi
je 0x45d3e5
xor eax, eax
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov dword [esi + 4], eax
mov byte [esi + 8], al
jmp 0x45d3ed
xor esi, esi
mov dword [ebp - 0x178], esi
test esi, esi
je 0x45de8a
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 0x24
call fcn.004ac2cd
pop ecx
mov dword [ebp - 0x16c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x45d426
push esi
mov ecx, eax
call fcn.0046cc45
mov ecx, eax
mov dword [ebp - 0x17c], eax
jmp 0x45d42e
xor ecx, ecx
mov dword [ebp - 0x17c], ecx
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x45de8a
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
push 2
pop ecx
push 0x10
stosd dword es:[edi], eax
pop edx
mov dword [ebp - 0x1c], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
or dword [ebp - 0x50], 0xffffffff
push eax
push ecx
push dword [ebx + 0x434]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x54], 1
mov word [ebp - 0x5c], cx
mov dword [ebp - 0x4c], edx
call dword [sym.imp.ole32.dll_OleDuplicateData]
mov esi, eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x17c]
push 0
push edx
mov dword [ebp - 0x18], esi
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
push edx
push eax
mov dword [ebp - 0x194], esi
call dword [ecx + 0x1c]
lea eax, [ebp - 0x48]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x44]
xor ecx, ecx
push 0xe
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x24], eax
pop eax
push ecx
push ecx
push ecx
push dword [ebx + 0xac]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
mov ebx, eax
mov eax, dword [ebp - 0x18c]
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 - 0x190], eax
call edi
push 0xcc0020
mov esi, eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x190]
push dword [ebp - 0x16c]
push dword [ebp - 0x184]
push eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x190]
push esi
call edi
push ebx
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x17c]
lea ecx, [ebp - 0x1c]
push 1
push ecx
mov dword [ebp - 0x1c], 0x40
lea ecx, [ebp - 0x5c]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1ac]
call fcn.0045a025
push 2
pop eax
mov dword [ebp - 4], eax
xor ebx, ebx
mov eax, dword [ebp - 0x44]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x40]
cdq
sub eax, edx
sar eax, 1
push 5
mov dword [ebp - 0x16c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x194]
lea ecx, [ebp - 0x1ac]
call fcn.0045bb52
mov esi, dword [ebp - 0x178]
lea eax, [ebp - 0x1a0]
push eax
push 3
push esi
push edi
call dword [sym.imp.ole32.dll_DoDragDrop]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x18c]
lea ecx, [ebp - 0x1ac]
mov byte [eax + 0x430], bl
call fcn.0045a50f
jmp 0x45de8a
and dword [ebp - 0x100], 0
lea edi, [ebp - 0xfc]
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xe4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1ec]
mov dword [ebp - 0xf8], eax
cmp esi, ecx
je 0x45d69e
test ecx, ecx
je 0x45d69e
mov dword [ebp - 0x100], 0xa
lea edx, [ebp - 0x100]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
mov edx, dword [ebx + 0xdc]
xor ecx, ecx
mov dword [ebx + 0x1ec], ecx
test edx, edx
je 0x45d69e
lea eax, [ebx + 0xe0]
push eax
push ecx
push 0x411
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, dword [ebx + 0x1ec]
je 0x45d6d1
test esi, esi
je 0x45d6d1
mov dword [ebp - 0x100], 0xb
lea ecx, [ebp - 0x100]
mov dword [ebp - 0xfc], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
mov dword [ebx + 0x1ec], esi
mov ecx, dword [ebx + 0x1f0]
test ecx, ecx
je 0x45d6f0
mov dword [ebp - 0x100], 9
mov dword [ebp - 0xfc], ecx
jmp 0x45de7b
test esi, esi
je 0x45de8a
mov dword [ebp - 0x100], 9
mov dword [ebp - 0xfc], esi
jmp 0x45d2be
mov ecx, dword [ebp - 0x164]
test ecx, ecx
je 0x45de8a
push ecx
push dword [ebp - 0x168]
lea eax, [edi + 0x2000]
push eax
push ecx
jmp 0x45cc39
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x164]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x16c], ecx
mov dword [ebx + 0x1f8], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x184], eax
mov dword [ebx + 0x1fc], eax
call fcn.0045b109
mov esi, eax
test esi, esi
je 0x45de8a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x45de8a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0045f465
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xfc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x100], 0x11
jmp 0x45d001
sub edi, 0x208
je 0x45dde0
push 2
pop eax
sub edi, eax
je 0x45dcd0
sub edi, 0x97
je 0x45dac6
sub edi, eax
je 0x45d9c0
sub edi, 0x75
je 0x45d8e8
sub edi, 0x7ce9
jne 0x45de8a
lea edi, [ebx + 0x2c8]
xor esi, esi
mov ecx, edi
call fcn.0048e100
test eax, eax
jle 0x45d822
push esi
mov ecx, edi
call fcn.004594fd
test eax, eax
je 0x45d816
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, edi
inc esi
call fcn.0048e100
cmp esi, eax
jl 0x45d802
mov ecx, edi
call fcn.0045975f
lea edi, [ebx + 0x2d4]
push 0
mov ecx, edi
mov dword [ebp - 0x16c], edi
call fcn.004598da
mov esi, eax
test esi, esi
je 0x45de8a
lea eax, [ebx + 0x274]
xor ebx, ebx
mov dword [ebp - 0x18c], eax
push ebx
mov ecx, edi
call fcn.00459bfc
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x45d883
add ecx, 0x38
call fcn.0046ca7b
test al, al
je 0x45d883
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.0046ca91
mov ecx, dword [ebp - 0x18c]
mov edi, ebx
call fcn.0048e100
test eax, eax
jle 0x45d8b7
mov ecx, dword [ebp - 0x18c]
push edi
call fcn.004594fd
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x18c]
inc edi
call fcn.0048e100
cmp edi, eax
jl 0x45d894
mov ecx, esi
call fcn.0045a695
push 0x120
push esi
call fcn.004ac300
mov edi, dword [ebp - 0x16c]
pop ecx
pop ecx
push ebx
mov ecx, edi
call fcn.004598da
mov esi, eax
test esi, esi
jne 0x45d856
jmp 0x45de8a
cmp dword [ebx + 0x1e4], 0
je 0x45de8a
lea eax, [ebp - 0x58]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x168]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x1e4]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x58]
push eax
push esi
mov edx, dword [ecx]
call dword [edx + 0x144]
test byte [ebp - 0x164], 0x10
je 0x45d9ae
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x45d9ae
push 2
pop eax
or dword [ebp - 0x164], eax
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0xa8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x2c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x30]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x164]
push esi
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x45d951
push dword [ebp - 0x16c]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x45de8a
mov ecx, dword [ebx + 0xdc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x45d9e1
lea eax, [ebx + 0xe0]
push eax
push 0
push 0x411
push ecx
call esi
cmp byte [ebx + 0x270], 0
je 0x45daba
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x170]
push eax
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x30]
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 0x45daa9
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x45daa9
push dword [ebp - 0x16c]
lea eax, [ebp - 0x30]
push dword [ebp - 0x170]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x45daa9
movzx ecx, word [ebp - 0x16c]
movzx eax, word [ebp - 0x170]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [ebx + 0xa8]
call esi
cmp eax, 1
jne 0x45daa9
lea eax, [ebp - 0x170]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x16c]
movzx eax, word [ebp - 0x170]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x45daab
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x270], 0
jmp 0x45de8a
mov eax, dword [ebp - 0x164]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x16c], ecx
push ecx
mov ecx, ebx
mov byte [ebx + 0x270], 0
mov dword [ebp - 0x184], eax
call fcn.0045b109
mov esi, eax
mov dword [ebp - 0x194], esi
test esi, esi
je 0x45de8a
mov edx, dword [ebx + 0x1ec]
test edx, edx
je 0x45db83
push 7
xor eax, eax
lea edi, [ebp - 0xfc]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x100], 0xc
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xe4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xf0], eax
call fcn.0045bd95
mov ecx, dword [ebx + 0x1ec]
lea edx, [ebp - 0x100]
mov word [ebp - 0xea], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov eax, dword [esi]
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, esi
call dword [eax + 0xbc]
and dword [ebp - 4], 0
lea ecx, [ebp - 0xe0]
call fcn.00459afe
test al, al
je 0x45dbb7
lea ecx, [ebp - 0xe0]
call fcn.00459402
jmp 0x45bf5e
push 0x30
lea edi, [ebx + 0xe0]
push 0
push edi
call fcn.004e9750
mov eax, dword [ebx + 0xa8]
lea ecx, [ebp - 0xe0]
add esp, 0xc
mov dword [edi], 0x30
mov dword [ebx + 0xe4], 1
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xec], eax
mov eax, dword [0x56e3b0]
mov dword [ebx + 0x100], eax
call fcn.004049b7
mov dword [ebx + 0x104], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x50]
mov esi, eax
lea edi, [ebx + 0xf0]
xor eax, eax
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]
cmp dword [ebx + 0xdc], eax
jne 0x45dc92
push eax
push dword [0x56e3b0]
mov ecx, SysReAllocString
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 + 0xe0]
mov dword [ebx + 0xdc], eax
push edi
xor esi, esi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x432
push eax
call esi
mov ecx, dword [ebp - 0x194]
mov eax, dword [ecx]
call dword [eax + 0xc8]
push eax
push 0
push 0x418
push dword [ebx + 0xdc]
call esi
jmp 0x45dc98
lea edi, [ebx + 0xe0]
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x45dba7
push edi
push eax
push 0x436
push dword [ebx + 0xdc]
call esi
push edi
push 1
push 0x411
push dword [ebx + 0xdc]
call esi
jmp 0x45dba7
mov ecx, dword [ebp - 0x164]
movsx eax, cx
mov dword [ebp - 0x170], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x170]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x170]
push eax
mov dword [ebx + 0x1f8], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x1fc], eax
call fcn.0045b109
mov esi, eax
test esi, esi
je 0x45de8a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x45de8a
xor eax, eax
lea edi, [ebp - 0xfc]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x168]
shr eax, 0x10
shr eax, 0xf
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x100], 0x15
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xf0], eax
call fcn.0045bd95
mov word [ebp - 0xea], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x100]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
movzx ecx, word [ebx + 0x1fc]
movzx eax, word [ebx + 0x1f8]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x45de8a
mov ecx, ebx
call fcn.0045eba6
mov eax, dword [ebp - 0x164]
mov ecx, ebx
movsx esi, ax
shr eax, 0x10
cwde
push eax
push esi
mov dword [ebp - 0x16c], eax
mov dword [ebx + 0x1f8], esi
mov dword [ebx + 0x1fc], eax
call fcn.0045b109
mov edx, eax
mov dword [ebx + 0x1f0], edx
test edx, edx
je 0x45de8a
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xfc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x100], 0x12
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xf0], eax
mov word [ebp - 0xea], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f0]
mov dword [ebp - 0xf8], eax
lea edx, [ebp - 0x100]
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
xor al, al
call fcn.004ac569
ret 0x10