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

Disassembly:
push 0x1d8
mov eax, 0x4ceacf
call fcn.00496d1f
mov ebx, ecx
mov dword [ebp - 0x1c0], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1bc], eax
xor eax, eax
mov dword [ebp - 0x1b4], eax
cmp dword [ebx + 0x84], eax
je 0x45dc5e
lea ecx, [ebx + 0x2e8]
mov dword [ebp - 0x1b8], eax
call fcn.0045963c
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x1c4]
test eax, eax
jle 0x45baa8
mov ecx, dword [ebp - 0x1b8]
push ecx
lea ecx, [ebx + 0x2e8]
mov byte [ebp - 0x1c9], 0
call fcn.00459251
lea ecx, [ebp - 0x1c9]
push ecx
push edi
push dword [ebp - 0x1a8]
mov edx, dword [eax]
mov ecx, eax
push esi
call dword [edx]
cmp byte [ebp - 0x1c9], 0
jne 0x45bafd
inc dword [ebp - 0x1b8]
lea ecx, [ebx + 0x2e8]
call fcn.0045963c
mov ecx, dword [ebp - 0x1b8]
cmp ecx, eax
jl 0x45ba5c
mov cl, byte [ebx + 0x14d]
test cl, cl
je 0x45bb8f
mov eax, esi
sub eax, 0x83
je 0x45bb84
dec eax
sub eax, 1
je 0x45bb84
sub eax, 1
jne 0x45bb8f
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x45cbcb
cmp dword [ebp - 0x1a8], eax
sete al
mov ecx, dword [ebp - 0x1bc]
mov dword [ecx], eax
jmp 0x45bb68
mov ecx, dword [ebp - 0x1bc]
mov dword [ecx], eax
cmp esi, 0x7b
je 0x45bb22
cmp esi, 0x1ff
jbe 0x45bb68
cmp esi, 0x203
jbe 0x45bb6f
cmp esi, 0x20a
jne 0x45bb68
mov ecx, dword [ebp - 0x1c4]
movsx eax, cx
mov dword [ebp - 0x1b0], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x1b0]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1b0]
mov dword [ebx + 0xfc], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebx + 0x100], eax
mov al, 1
jmp 0x45dc60
mov eax, dword [ebp - 0x1c4]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0xfc], ecx
jmp 0x45bb62
mov ecx, dword [ebp - 0x1bc]
and dword [ecx], 0
jmp 0x45bb68
mov eax, 0x111
cmp esi, eax
ja 0x45ceb7
je 0x45ce9a
cmp esi, 0x21
ja 0x45cbcb
je 0x45cbad
sub esi, 5
je 0x45cb2f
sub esi, 1
je 0x45cadb
dec esi
sub esi, 1
je 0x45ca34
sub esi, 7
je 0x45bddf
sub esi, 1
je 0x45bcf3
sub esi, 4
je 0x45bce3
sub esi, 0xc
jne 0x45dc5e
cmp dword [ebx + 0xe4], esi
je 0x45dc5e
xor eax, eax
inc eax
cmp di, ax
jne 0x45dc5e
cmp byte [ebx + 0x2be], 0
jne 0x45dc60
lea eax, [ebp - 0x1d4]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1d4], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1d4]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1d0]
mov ecx, ebx
push dword [ebp - 0x1d4]
call fcn.0045ae89
mov esi, eax
test esi, esi
je 0x45dc5e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
test al, 2
je 0x45dc5e
xor eax, eax
mov dword [ebp - 0xa0], 0x17
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x90], eax
call fcn.0045b9a6
mov word [ebp - 0x8a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0xa0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x120]
jmp 0x45bb68
mov ecx, dword [ebp - 0x1bc]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x45dc60
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0xfc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x100]
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x30], eax
call fcn.0045b9a6
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xec]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x45bd4a
mov dword [ebp - 0x40], 0xa
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
mov ecx, dword [ebx + 0xf0]
test ecx, ecx
je 0x45bd6a
mov dword [ebp - 0x40], 0xe
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
push 1
push 0
mov ecx, ebx
call fcn.0045eade
mov esi, dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x45bdbe
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
push 0xfffffffffffffff0
push dword [ebx + 0x84]
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x45bdb3
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x45bdbe
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x45dc5e
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0xac], 0
jmp 0x45dc5e
xor eax, eax
cmp dword [ebx + 0xe4], eax
jne 0x45be34
push 0x40
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0049f230
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x58]
push eax
push dword [ebx + 0x88]
call fcn.0046d344
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x45bb68
xor eax, eax
lea edi, [ebp - 0x194]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x194]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
lea edi, [ebp - 0x70]
cmp byte [ebx + 0x14d], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
je 0x45bef6
lea eax, [ebx + 0x164]
mov byte [ebx + 0x14b], 1
mov esi, eax
lea edi, [ebp - 0x70]
push 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]
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x45bebb
push 0x40
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.0049f230
add esp, 0xc
lea eax, [ebp - 0xc0]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0xc0]
jmp 0x45be22
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x18c]
push 0x10
cmovg eax, dword [ebp - 0x18c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x188]
push 0
cmovg eax, dword [ebp - 0x188]
mov dword [ebp - 0x64], eax
lea eax, [ebx + 0x164]
push eax
call fcn.0049f230
add esp, 0xc
jmp 0x45bf10
push 0
lea eax, [ebp - 0x70]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x45bb68
cmp byte [ebx + 0x2bc], 0
je 0x45bfdd
cmp byte [ebx + 0x14d], 0
je 0x45bfdd
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov al, byte [ebx + 0x14c]
xor ecx, ecx
mov byte [ebp - 0x1b6], al
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x18c]
sub eax, dword [ebp - 0x194]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x190]
push 2
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1b8]
push eax
push ecx
lea eax, [ebp - 0x1b0]
mov word [ebp - 0x1b8], cx
push eax
push dword [ebx + 0x8c]
lea eax, [ebp - 0x1dc]
mov byte [ebp - 0x1b5], 1
push eax
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0x1b0], ecx
push eax
push dword [ebx + 0x88]
mov dword [ebp - 0x1ac], ecx
push dword [ebx + 0x84]
call dword [0x525198]
jmp 0x45bb68
cmp byte [ebx + 0x14a], 0
je 0x45bfef
push 1
mov ecx, ebx
call fcn.0045eebf
push 1
mov ecx, ebx
call fcn.0045f028
cmp byte [ebx + 0x149], 0
je 0x45c1eb
lea eax, [ebp - 0x194]
mov byte [ebx + 0x149], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x45c27f
mov ecx, dword [ebx + 0xe4]
call fcn.00462ebe
test al, al
je 0x45c0e9
mov eax, dword [ebx + 0x8c]
lea esi, [ebp - 0x194]
lea edi, [ebp - 0x20]
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 0x45c052
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x90]
test eax, eax
je 0x45c063
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x45c074
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0x9c]
test eax, eax
je 0x45c085
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x9c], eax
cmp byte [ebx + 0x14d], al
je 0x45c0cb
mov eax, dword [ebx + 0x150]
add dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x154]
add dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x158]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x15c]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0xe4]
lea esi, [ebp - 0x20]
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 + 0x4c]
jmp 0x45c190
lea edi, [ebx + 0x330]
mov ecx, edi
mov dword [ebp - 0x1bc], edi
call fcn.00459443
mov ecx, dword [ebx + 0xe4]
xor esi, esi
push reloc.WS2_32.dll_htons
push esi
push 0x45f991
mov eax, dword [ecx]
call dword [eax + 0x114]
mov ecx, edi
mov dword [ebp - 0x1b8], esi
call fcn.0045963c
test eax, eax
jle 0x45c190
push esi
mov ecx, edi
call fcn.00459251
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1b4], esi
mov edx, dword [esi]
call dword [edx + 0x10c]
mov ebx, dword [esi]
mov ecx, esi
test al, al
jne 0x45c14f
call dword [ebx + 0x40]
jmp 0x45c156
lea eax, [ebp - 0x80]
push eax
call dword [ebx + 0x44]
mov ecx, dword [ebp - 0x1b4]
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 + 0x4c]
mov esi, dword [ebp - 0x1b8]
mov edi, dword [ebp - 0x1bc]
inc esi
mov ecx, edi
mov dword [ebp - 0x1b8], esi
call fcn.0045963c
cmp esi, eax
jl 0x45c128
mov ebx, dword [ebp - 0x1c0]
cmp byte [ebx + 0x148], 0
je 0x45c27f
push 1
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0xe4]
mov byte [ebx + 0x148], al
call fcn.0045e781
cmp byte [ebx + 0x14d], 0
je 0x45c27f
cmp byte [ebx + 0x160], 0
je 0x45c27f
mov ecx, ebx
call fcn.0045b815
push 0
mov ecx, ebx
call fcn.0045f028
jmp 0x45bb68
cmp byte [ebx + 0x14d], 0
je 0x45c27f
cmp byte [ebx + 0x160], 0
je 0x45c27f
mov edx, dword [ebx + 0x98]
lea esi, [ebp - 0x194]
lea edi, [ebp - 0x20]
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 0x45c242
mov ecx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x18c]
sub ecx, dword [ebp - 0x190]
sub eax, dword [ebp - 0x194]
imul ecx, eax
shl ecx, 2
push ecx
push 0
push edx
call fcn.0049f230
add esp, 0xc
mov eax, dword [ebx + 0x150]
lea esi, [ebp - 0x20]
add dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x154]
add dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x158]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x15c]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0xe4]
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 + 0x4c]
xor esi, esi
cmp byte [ebx + 0x14b], 0
je 0x45c30e
cmp dword [ebx + 0x94], esi
jne 0x45c30e
push dword [ebx + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [ebx + 0x14d], 0
mov dword [ebx + 0x8c], eax
je 0x45c2e2
lea eax, [ebx + 0x98]
push eax
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x18c]
sub eax, dword [ebp - 0x194]
push eax
push dword [ebx + 0x88]
call fcn.0046d082
add esp, 0x10
jmp 0x45c308
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x18c]
sub eax, dword [ebp - 0x194]
push eax
push dword [ebx + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x94], eax
push 0x40
lea eax, [ebp - 0x100]
push esi
push eax
call fcn.0049f230
add esp, 0xc
lea eax, [ebp - 0x100]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x14b], 0
je 0x45c9c3
push dword [ebx + 0x94]
push dword [ebx + 0x8c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x8c]
mov dword [ebp - 0x1ac], eax
call dword [sym.imp.GDI32.dll_SaveDC]
xor edx, edx
mov dword [ebp - 0x1d8], eax
cmp byte [ebx + 0x14d], dl
je 0x45c3c1
cmp dword [ebx + 0x280], edx
jne 0x45c3c1
mov ecx, dword [ebp - 0x188]
mov esi, ecx
sub esi, dword [ebp - 0x64]
jmp 0x45c3b8
mov edi, dword [ebp - 0x70]
cmp edi, dword [ebp - 0x68]
jge 0x45c3b7
mov ecx, dword [ebp - 0x18c]
sub ecx, dword [ebp - 0x194]
mov eax, dword [ebx + 0x98]
imul ecx, esi
add ecx, edi
inc edi
mov dword [eax + ecx*4], edx
cmp edi, dword [ebp - 0x68]
jl 0x45c391
mov ecx, dword [ebp - 0x188]
inc esi
mov eax, ecx
sub eax, dword [ebp - 0x6c]
cmp esi, eax
jl 0x45c389
mov eax, dword [ebx + 0x280]
test eax, eax
je 0x45c3d1
cmp byte [eax + 0x14], 0
jne 0x45c3ea
mov ecx, dword [ebx + 0xe4]
push edx
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ecx]
push dword [ebx + 0x8c]
call dword [eax + 0x13c]
cmp byte [ebx + 0x14d], 0
je 0x45c621
lea ecx, [ebx + 0x300]
xor edi, edi
call fcn.0045963c
test eax, eax
jle 0x45c621
push edi
lea ecx, [ebx + 0x300]
call fcn.00459251
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x45c446
push 1
push edi
lea ecx, [ebx + 0x300]
call fcn.00459875
push 1
push edi
lea ecx, [ebx + 0x30c]
call fcn.00459875
jmp 0x45c60e
inc edi
push esi
mov dword [ebp - 0x1a8], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45c60e
push esi
lea eax, [ebp - 0x1a4]
mov ecx, ebx
push eax
call fcn.0045b605
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x45c608
push dword [ebx + 0x8c]
and dword [ebp - 0x1b4], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x198]
mov edi, eax
sub ecx, dword [ebp - 0x1a0]
lea eax, [ebp - 0x1b4]
push eax
push ecx
mov ecx, dword [ebp - 0x19c]
sub ecx, dword [ebp - 0x1a4]
push ecx
push edi
mov dword [ebp - 0x1e0], edi
call fcn.0046d082
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x198]
sub edx, dword [ebp - 0x1a4]
sub ecx, dword [ebp - 0x1a0]
imul edx, ecx
mov dword [ebp - 0x1bc], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1b4]
call fcn.0049f230
add esp, 0x1c
push dword [ebp - 0x1bc]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push edi
push 0x317
push esi
mov dword [ebp - 0x1d0], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x198]
xor edx, edx
mov ecx, esi
mov dword [ebp - 0x1b8], edx
sub ecx, dword [ebp - 0x1a0]
test ecx, ecx
mov ecx, dword [ebp - 0x19c]
jle 0x45c5c0
mov ebx, dword [ebp - 0x1a4]
mov eax, ecx
mov edi, edx
sub eax, ebx
test eax, eax
jle 0x45c59b
mov esi, dword [ebp - 0x1b8]
imul esi, eax
mov eax, dword [ebp - 0x1b4]
add esi, edi
mov eax, dword [eax + esi*4]
test eax, eax
je 0x45c58c
mov ecx, dword [ebp - 0x1b4]
or eax, 0xff000000
mov dword [ecx + esi*4], eax
mov ecx, dword [ebp - 0x19c]
mov ebx, dword [ebp - 0x1a4]
mov eax, ecx
inc edi
sub eax, ebx
cmp edi, eax
jl 0x45c55a
mov esi, dword [ebp - 0x198]
mov edi, dword [ebp - 0x1b8]
mov eax, esi
sub eax, dword [ebp - 0x1a0]
inc edi
mov dword [ebp - 0x1b8], edi
cmp edi, eax
jl 0x45c550
mov ebx, dword [ebp - 0x1c0]
mov edi, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1a4]
sub ecx, eax
push 0xcc0020
push edx
push edx
mov edx, dword [ebp - 0x1a0]
sub esi, edx
push edi
push esi
push ecx
push edx
push eax
push dword [ebx + 0x8c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1d0]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1bc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x1a8]
lea ecx, [ebx + 0x300]
call fcn.0045963c
cmp edi, eax
jl 0x45c40c
lea edi, [ebx + 0x2f4]
xor esi, esi
mov ecx, edi
call fcn.0045963c
test eax, eax
jle 0x45c65c
push esi
mov ecx, edi
call fcn.00459251
lea ecx, [ebp - 0x70]
push ecx
push dword [ebx + 0x8c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x158]
mov ecx, edi
inc esi
call fcn.0045963c
cmp esi, eax
jl 0x45c634
push dword [ebp - 0x1d8]
push dword [ebx + 0x8c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x14d], 0
je 0x45c924
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18c]
lea esi, [ebp - 0x194]
sub eax, dword [ebp - 0x194]
lea edi, [ebp - 0x20]
mov ecx, dword [ebp - 0x188]
xor edx, edx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1bc], eax
mov eax, ecx
sub eax, dword [ebp - 0x190]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebx + 0x150]
add eax, dword [ebp - 0x194]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x154]
add dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x158]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x15c]
sub dword [ebp - 0x14], eax
cmp dword [ebx + 0x280], edx
je 0x45c899
cmp dword [ebx + 0x9c], edx
jne 0x45c76f
push dword [ebx + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x1bc]
lea esi, [ebx + 0xa0]
push esi
push dword [ebp - 0x1b8]
mov dword [ebx + 0x90], eax
push edi
push dword [ebx + 0x88]
call fcn.0046d082
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp - 0x1b8]
imul eax, edi
shl eax, 2
push eax
push 0
push dword [esi]
call fcn.0049f230
add esp, 0x1c
push dword [ebx + 0x9c]
push dword [ebx + 0x90]
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [ebp - 4], 0
jmp 0x45c79e
cmp byte [ebx + 0x160], dl
je 0x45c7e8
mov eax, dword [ebp - 0x1b8]
imul eax, dword [ebp - 0x1bc]
shl eax, 2
push eax
push edx
push dword [ebx + 0xa0]
call fcn.0049f230
add esp, 0xc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x3c]
push eax
sub esp, 0x10
lea esi, [ebp - 0x20]
mov edi, esp
push dword [ebx + 0x90]
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.00472458
lea eax, [ebx + 0x174]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push ebx
push dword [ebx + 0x90]
call fcn.00471319
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
add esp, 0x2c
call fcn.0046cbae
mov ecx, dword [ebp - 0x188]
xor edx, edx
mov eax, dword [ebx + 0x280]
cmp byte [eax + 0x14], 0
je 0x45c899
mov esi, ecx
mov eax, ecx
sub esi, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1c0], esi
cmp esi, eax
jge 0x45c880
mov edi, dword [ebp - 0x188]
mov eax, esi
imul eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp - 0x68]
jge 0x45c85e
lea edi, [eax + ecx]
mov esi, ecx
shl edi, 2
mov eax, dword [ebx + 0xa0]
inc esi
mov ecx, dword [ebx + 0x98]
mov eax, dword [edi + eax]
mov dword [edi + ecx], eax
lea edi, [edi + 4]
cmp esi, dword [ebp - 0x68]
jl 0x45c831
mov esi, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1b4]
mov edi, dword [ebp - 0x188]
add eax, dword [ebp - 0x1bc]
inc esi
mov dword [ebp - 0x1b4], eax
mov eax, edi
sub eax, dword [ebp - 0x6c]
cmp esi, eax
mov dword [ebp - 0x1c0], esi
mov eax, dword [ebp - 0x1b4]
jl 0x45c821
mov ecx, dword [ebx + 0xe4]
push edx
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ecx]
push dword [ebx + 0x8c]
call dword [eax + 0x13c]
mov al, byte [ebx + 0x14c]
xor ecx, ecx
mov byte [ebp - 0x1a6], al
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1b8]
push 2
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0x1a8]
push eax
push ecx
lea eax, [ebp - 0x1e4]
mov word [ebp - 0x1a8], cx
push eax
push dword [ebx + 0x8c]
lea eax, [ebp - 0x1c8]
mov byte [ebp - 0x1a5], 1
push eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x1e4], ecx
push eax
push dword [ebx + 0x88]
mov dword [ebp - 0x1e0], ecx
push dword [ebx + 0x84]
call dword [0x525198]
jmp 0x45c955
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
push 0xcc0020
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0x8c]
push eax
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x70]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0x88]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1ac]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x8c]
call edi
cmp byte [ebx + 0xe1], 0
je 0x45c9f8
cmp byte [ebx + 0x14d], 0
jne 0x45c9f8
push dword [0x52519c]
push dword [ebx + 0x88]
call edi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebx + 0x88]
call edi
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0x88]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebx + 0x88]
call edi
jmp 0x45c9f8
push dword [ebx + 0x88]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0xe4]
mov esi, eax
push 0
lea eax, [ebp - 0x70]
push eax
mov edx, dword [ecx]
push dword [ebx + 0x88]
call dword [edx + 0x13c]
push esi
push dword [ebx + 0x88]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x100]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
push 0
mov ecx, ebx
call fcn.0045f028
cmp byte [ebx + 0x149], 0
mov byte [ebx + 0x160], 0
je 0x45bb68
mov ecx, ebx
call fcn.0045b815
jmp 0x45bb68
cmp dword [ebp - 0x1a8], 0
je 0x45dc5e
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
mov dword [ebp - 0x1c0], esi
push esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x45ca67
cmp dword [ebx + 0x84], eax
je 0x45ca72
mov dword [ebp - 0x1c0], eax
push eax
call esi
test eax, eax
jne 0x45ca58
jmp 0x45dc5e
lea edi, [ebx + 0x300]
xor esi, esi
mov ecx, edi
call fcn.0045963c
test eax, eax
jle 0x45dc5e
push esi
mov ecx, edi
call fcn.00459251
cmp eax, dword [ebp - 0x1c0]
je 0x45caaa
mov ecx, edi
inc esi
call fcn.0045963c
cmp esi, eax
jl 0x45ca89
jmp 0x45dc5e
lea edi, [ebx + 0x30c]
push esi
mov ecx, edi
call fcn.00459251
cmp eax, dword [ebx + 0xe8]
je 0x45dc5e
push 0
push esi
mov ecx, edi
call fcn.00459251
push eax
mov ecx, ebx
call fcn.0045eade
jmp 0x45dc5e
test cl, cl
je 0x45dc5e
cmp dword [ebp - 0x1a8], 0
jne 0x45dc5e
mov ecx, ebx
call fcn.0045b088
mov esi, eax
test esi, esi
je 0x45dc5e
mov edx, dword [esi]
mov ecx, esi
push str.RichEdit
call dword [edx + 0x14]
test eax, eax
je 0x45dc5e
mov ecx, dword [ebx + 0xe4]
mov eax, dword [ecx]
call dword [eax + 0x108]
mov ecx, esi
call fcn.00462dfa
jmp 0x45dc5e
mov eax, dword [ebx + 0xe8]
test eax, eax
je 0x45cb92
xorps xmm0, xmm0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1a8]
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x40], 0x16
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xfc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x100]
mov dword [ebp - 0x30], eax
call fcn.0045b9a6
mov ecx, dword [ebx + 0xe8]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x45cba1
call fcn.0046301f
cmp byte [ebx + 0x14d], 0
jmp 0x45ca22
cmp byte [ebx + 0xe0], 0
je 0x45dc5e
mov ecx, dword [ebp - 0x1bc]
mov dword [ecx], 3
jmp 0x45bb68
sub esi, 0x24
je 0x45ce57
sub esi, 0x2a
je 0x45ce30
sub esi, 0x2d
je 0x45cd6f
sub esi, 0x85
je 0x45cceb
sub esi, 1
je 0x45cc6c
sub esi, 1
jne 0x45dc5e
xor eax, eax
cmp dword [ebx + 0xe4], eax
je 0x45dc5e
mov ecx, dword [ebx + 0xe8]
test ecx, ecx
je 0x45dc5e
mov dword [ebp - 0x38], eax
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0xfc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x100]
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
call fcn.0045b9a6
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe8]
mov dword [ebp - 0x38], eax
jmp 0x45d41f
xor eax, eax
cmp dword [ebx + 0xe4], eax
je 0x45dc5e
mov ecx, dword [ebx + 0xf4]
test ecx, ecx
je 0x45dc5e
mov dword [ebp - 0x38], eax
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0xfc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x100]
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
call fcn.0045b9a6
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xf4]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
and dword [ebx + 0xf4], 0
jmp 0x45dc5e
xor eax, eax
cmp dword [ebx + 0xe4], eax
je 0x45dc5e
mov ecx, dword [ebx + 0xe8]
test ecx, ecx
je 0x45dc5e
mov dword [ebp - 0x38], eax
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0xfc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x100]
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
call fcn.0045b9a6
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe8]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov eax, dword [ebx + 0xe8]
mov dword [ebx + 0xf4], eax
jmp 0x45dc5e
cmp dword [ebx + 0xe4], 0
je 0x45dc5e
mov ecx, ebx
call fcn.0045b87f
test al, al
jne 0x45dc5e
mov ecx, dword [ebp - 0x1c4]
movsx eax, cx
mov dword [ebp - 0x1b0], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x1b0]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebx + 0xf0]
mov edx, dword [ebp - 0x1b0]
mov esi, dword [ebp - 0x1ac]
mov dword [ebx + 0xfc], edx
mov dword [ebx + 0x100], esi
test ecx, ecx
je 0x45dc5e
xor eax, eax
mov dword [ebp - 0x40], 0x11
mov dword [ebp - 0x38], eax
xor edi, edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1a8]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], esi
mov word [ebp - 0x2a], ax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xf0]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
and dword [ebx + 0xf0], edi
jmp 0x45dc5e
mov eax, dword [ebp - 0x1c4]
test eax, eax
je 0x45bb68
push eax
push dword [ebp - 0x1a8]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x45baf3
mov ecx, dword [ebx + 0x104]
mov eax, dword [ebp - 0x1c4]
test ecx, ecx
jle 0x45ce6a
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x108]
test ecx, ecx
jle 0x45ce77
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x10c]
test ecx, ecx
jle 0x45ce84
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x110]
test ecx, ecx
jle 0x45dc5e
mov dword [eax + 0x24], ecx
jmp 0x45dc5e
mov eax, dword [ebp - 0x1c4]
test eax, eax
je 0x45dc5e
push eax
push dword [ebp - 0x1a8]
push 0x2111
push eax
jmp 0x45ce4c
mov eax, 0x203
cmp esi, eax
ja 0x45d4ba
je 0x45d430
mov eax, esi
sub eax, 0x113
je 0x45d309
sub eax, 0x20
je 0x45d2e7
sub eax, 5
je 0x45d2e7
sub eax, 0xc8
je 0x45d05a
sub eax, 1
je 0x45cf90
sub eax, 1
jne 0x45dc5e
mov eax, dword [ebp - 0x1c4]
movsx esi, ax
shr eax, 0x10
cmp dword [ebx + 0xf0], 0
cwde
mov dword [ebp - 0x1ac], eax
mov dword [ebx + 0xfc], esi
mov dword [ebx + 0x100], eax
je 0x45dc5e
mov ecx, ebx
call fcn.0045de60
mov ecx, dword [ebp - 0x1ac]
xor eax, eax
mov edi, dword [ebp - 0x1c4]
and dword [ebp - 0x38], 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0xf0]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x40], 0xe
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xf0]
and dword [ebx + 0xf0], 0
mov dword [ebp - 0x38], eax
jmp 0x45d41f
cmp byte [ebx + 0xe0], 0
jne 0x45cfa5
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0xe4], 0
je 0x45dc5e
mov eax, dword [ebp - 0x1c4]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1ac], ecx
mov dword [ebx + 0xfc], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1d8], eax
mov dword [ebx + 0x100], eax
call fcn.0045ae89
mov esi, eax
test esi, esi
je 0x45dc5e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x45dc5e
mov dword [ebx + 0xf0], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x108]
mov ecx, ebx
call fcn.0045e80c
mov ecx, dword [ebp - 0x1ac]
xor eax, eax
mov edi, dword [ebp - 0x1c4]
and dword [ebp - 0x38], 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x40], 0xd
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
jmp 0x45d2da
xor ecx, ecx
cmp dword [ebx + 0xe4], ecx
je 0x45dc5e
push 3
pop edx
cmp byte [ebx + 0x2bd], cl
jne 0x45d0ba
mov eax, dword [ebx + 0x84]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xac]
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], edx
test eax, eax
jne 0x45d098
mov eax, dword [ebx + 0xdc]
jmp 0x45d0a6
push ecx
push edx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0x2bd], 1
mov eax, dword [ebp - 0x1c4]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x1ac], edi
mov dword [ebp - 0x1c0], eax
mov dword [ebx + 0xfc], edi
mov dword [ebx + 0x100], eax
call fcn.0045ae89
mov esi, eax
test esi, esi
je 0x45d0fd
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x45dc5e
and dword [ebp - 0x3c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x1c4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
call fcn.0045b9a6
mov ecx, ebx
mov word [ebp - 0x2a], ax
call fcn.0045b87f
test al, al
jne 0x45d2af
push dword [ebp - 0x1c0]
mov ecx, ebx
push dword [ebp - 0x1ac]
call fcn.0045ae89
mov esi, eax
mov dword [ebp - 0x1ac], esi
test esi, esi
je 0x45d174
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, ebx
jne 0x45dc5e
mov eax, dword [ebx + 0xec]
cmp esi, eax
je 0x45d285
test eax, eax
je 0x45d285
lea esi, [ebx + 0x33c]
mov dword [ebp - 0x40], 0xa
mov ecx, esi
call fcn.0045963c
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00459029
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.0045963c
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00459a97
mov ecx, esi
call fcn.0045963c
shl eax, 2
mov ecx, esi
push eax
call fcn.004582b0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004582b0
push eax
call fcn.0049e730
add esp, 0xc
lea ecx, [ebp - 0x1a0]
xor esi, esi
call fcn.0045963c
test eax, eax
jle 0x45d235
push esi
lea ecx, [ebp - 0x1a0]
call fcn.00459251
push esi
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x3c], eax
call fcn.00459251
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x120]
lea ecx, [ebp - 0x1a0]
inc esi
call fcn.0045963c
cmp esi, eax
jl 0x45d1fc
mov ecx, dword [ebx + 0xec]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov edx, dword [ebx + 0xac]
xor ecx, ecx
mov dword [ebx + 0xec], ecx
test edx, edx
je 0x45d270
lea eax, [ebx + 0xb0]
push eax
push ecx
push 0x411
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.00459162
mov esi, dword [ebp - 0x1ac]
cmp esi, dword [ebx + 0xec]
je 0x45d2af
test esi, esi
je 0x45d2af
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 + 0x120]
mov dword [ebx + 0xec], esi
mov ecx, dword [ebx + 0xf0]
test ecx, ecx
je 0x45d2c8
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], ecx
jmp 0x45d41f
test esi, esi
je 0x45dc5e
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], esi
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
jmp 0x45d425
mov ecx, dword [ebp - 0x1c4]
test ecx, ecx
je 0x45dc5e
push ecx
push dword [ebp - 0x1a8]
lea eax, [esi + 0x2000]
push eax
push ecx
jmp 0x45ce4c
mov eax, dword [ebp - 0x1a8]
mov edx, 0x2000
movzx eax, ax
mov dword [ebp - 0x1ac], eax
cmp ax, dx
jne 0x45d36a
test cl, cl
je 0x45d36a
lea eax, [ebx + 0x164]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x45d36a
push dword [ebx + 0x84]
and dword [ebp - 0x1ac], eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x45dc5e
lea eax, [ebp - 0x1ac]
mov ecx, ebx
push eax
xor eax, eax
push eax
push eax
push 0xf
call fcn.0045b9f2
jmp 0x45dc5e
lea esi, [ebx + 0x2d0]
mov ecx, esi
call fcn.0045963c
test eax, eax
jle 0x45dc5e
push dword [ebp - 0x1b4]
mov ecx, esi
call fcn.00459251
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [ebx + 0x84]
jne 0x45d3ad
mov eax, dword [ebp - 0x1ac]
movzx ecx, ax
cmp dword [esi + 0xc], ecx
jne 0x45d3ad
cmp byte [esi + 0x10], 0
je 0x45d3d2
inc dword [ebp - 0x1b4]
lea ecx, [ebx + 0x2d0]
call fcn.0045963c
cmp dword [ebp - 0x1b4], eax
jge 0x45dc5e
lea esi, [ebx + 0x2d0]
jmp 0x45d37f
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], 0x18
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xfc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x100]
mov dword [ebp - 0x30], eax
call fcn.0045b9a6
mov ecx, dword [esi]
mov word [ebp - 0x2a], ax
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov eax, dword [ecx]
lea edx, [ebp - 0x40]
push edx
call dword [eax + 0x120]
jmp 0x45dc5e
cmp byte [ebx + 0xe0], 0
jne 0x45d445
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1c4]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x1ac], eax
mov dword [ebx + 0xfc], edi
mov dword [ebx + 0x100], eax
call fcn.0045ae89
mov esi, eax
test esi, esi
je 0x45dc5e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x45dc5e
mov ecx, ebx
call fcn.0045e80c
xor eax, eax
mov dword [ebp - 0x40], 0x10
mov word [ebp - 0x2c], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1a8]
movlpd qword [ebp - 0x28], xmm0
mov word [ebp - 0x2a], ax
jmp 0x45dc37
sub esi, 0x204
je 0x45dbb3
sub esi, 6
je 0x45dab3
sub esi, 0x97
je 0x45d7fe
dec esi
sub esi, 1
je 0x45d6ec
sub esi, 0x75
je 0x45d5fc
sub esi, 0x7ce9
jne 0x45dc5e
xor eax, eax
lea edi, [ebx + 0x324]
push eax
mov ecx, edi
mov byte [ebx + 0x2c1], al
mov dword [ebp - 0x1ac], edi
call fcn.004595c3
mov esi, eax
test esi, esi
je 0x45d5c3
lea eax, [ebx + 0x2c4]
xor ebx, ebx
mov dword [ebp - 0x1b4], eax
push 1
push ebx
mov ecx, edi
call fcn.00459875
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x45d55d
add ecx, 0x38
call fcn.00459d32
test al, al
je 0x45d55d
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.00459d46
mov ecx, dword [ebp - 0x1b4]
mov edi, ebx
call fcn.0045963c
test eax, eax
jle 0x45d591
mov ecx, dword [ebp - 0x1b4]
push edi
call fcn.00459251
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1b4]
inc edi
call fcn.0045963c
cmp edi, eax
jl 0x45d56e
mov ecx, esi
call fcn.0041d316
push 0x120
push esi
call fcn.00496a18
mov edi, dword [ebp - 0x1ac]
pop ecx
pop ecx
push ebx
mov ecx, edi
call fcn.004595c3
mov esi, eax
test esi, esi
jne 0x45d52e
mov ebx, dword [ebp - 0x1c0]
lea esi, [ebx + 0x318]
mov ecx, esi
call fcn.0045963c
test eax, eax
jle 0x45d5f0
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.00459251
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, esi
inc ebx
call fcn.0045963c
cmp ebx, eax
jl 0x45d5d6
mov ecx, esi
call fcn.00459443
jmp 0x45dc5e
cmp dword [ebx + 0xe4], 0
je 0x45dc5e
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x1a8]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0xe4]
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x80]
push 0
push eax
mov edx, dword [ecx]
push esi
call dword [edx + 0x13c]
test byte [ebp - 0x1c4], 0x10
je 0x45d6da
push 5
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x1c0], ecx
test ecx, ecx
je 0x45d6da
or dword [ebp - 0x1c4], 2
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x84]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x20]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x1c4]
mov edi, dword [ebp - 0x1c0]
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 ecx, eax
mov dword [ebp - 0x1c0], eax
test ecx, ecx
jne 0x45d66f
push dword [ebp - 0x1ac]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x45dc5e
xor ecx, ecx
cmp dword [ebx + 0xe4], ecx
je 0x45dc5e
mov edx, dword [ebx + 0xac]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test edx, edx
je 0x45d71a
lea eax, [ebx + 0xb0]
push eax
push ecx
push 0x411
push edx
call esi
cmp byte [ebx + 0x2bd], 0
je 0x45d7f2
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x1b0], xmm0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1b0]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x45d7e1
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0x84]
jne 0x45d7e1
push dword [ebp - 0x1ac]
lea eax, [ebp - 0x80]
push dword [ebp - 0x1b0]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x45d7e1
movzx ecx, word [ebp - 0x1ac]
movzx eax, word [ebp - 0x1b0]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [ebx + 0x84]
call esi
cmp eax, 1
jne 0x45d7e1
lea eax, [ebp - 0x1b0]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x1ac]
movzx eax, word [ebp - 0x1b0]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x45d7e3
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0x84]
call esi
mov byte [ebx + 0x2bd], 0
jmp 0x45dc5e
xor eax, eax
cmp dword [ebx + 0xe4], eax
je 0x45dc5e
mov byte [ebx + 0x2bd], al
mov ecx, ebx
mov eax, dword [ebp - 0x1c4]
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x1ac], edi
mov dword [ebp - 0x1b4], eax
call fcn.0045ae89
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je 0x45dc5e
mov eax, dword [ebx + 0xec]
test eax, eax
je 0x45d8a7
mov dword [ebp - 0x3c], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c4]
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x40], 0xc
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], eax
call fcn.0045b9a6
mov ecx, dword [ebx + 0xec]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov eax, dword [esi]
lea ecx, [ebp - 0x184]
push ecx
mov ecx, esi
call dword [eax + 0xac]
lea ecx, [ebp - 0x184]
mov dword [ebp - 4], 2
call fcn.0045978d
test al, al
je 0x45d8de
lea ecx, [ebp - 0x184]
call fcn.00459170
jmp 0x45bb68
lea eax, [ebp - 0x184]
push eax
call fcn.0045dc9a
push 0x2c
lea edi, [ebx + 0xb0]
push 0
push edi
call fcn.0049f230
mov eax, dword [ebx + 0x84]
lea ecx, [ebp - 0x184]
add esp, 0x10
mov dword [edi], 0x2c
mov dword [ebx + 0xb4], 1
mov dword [ebx + 0xb8], eax
mov dword [ebx + 0xbc], eax
mov eax, dword [0x5251a8]
mov dword [ebx + 0xd0], eax
call fcn.004582b0
mov dword [ebx + 0xd4], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x40]
mov esi, eax
lea edi, [ebx + 0xc0]
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 edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0xac], eax
jne 0x45d9f1
push eax
push dword [0x5251a8]
mov ecx, closesocket
push eax
push dword [ebx + 0x84]
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 ecx, [ebx + 0xb0]
mov dword [ebx + 0xac], eax
push ecx
xor esi, esi
push esi
push 0x432
push eax
call edi
mov esi, dword [ebp - 0x1c0]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xb8]
push eax
push 0
push 0x418
push dword [ebx + 0xac]
call edi
lea eax, [ebx + 0xb0]
push eax
push 0
push 0x436
push dword [ebx + 0xac]
call edi
lea eax, [ebx + 0xb0]
push eax
push 1
push 0x411
push dword [ebx + 0xac]
call edi
jmp 0x45d9f7
mov esi, dword [ebp - 0x1c0]
mov eax, dword [ebx + 0xf8]
test eax, eax
jne 0x45da09
mov dword [ebx + 0xf8], esi
jmp 0x45da87
cmp eax, esi
mov ecx, esi
mov eax, dword [esi]
jne 0x45da4b
call dword [eax + 0xb8]
cmp dword [ebx + 0xa8], eax
je 0x45da61
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb8]
push eax
push 0
push 0x418
push dword [ebx + 0xac]
call edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb8]
mov dword [ebx + 0xa8], eax
jmp 0x45da61
call dword [eax + 0xb8]
push eax
push 0
push 0x418
push dword [ebx + 0xac]
call edi
lea esi, [ebx + 0xb0]
push esi
push 0
push 0x436
push dword [ebx + 0xac]
call edi
push esi
push 1
push 0x411
push dword [ebx + 0xac]
call edi
mov eax, dword [ebp - 0x1b4]
movzx ecx, ax
mov eax, dword [ebp - 0x1ac]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x412
push dword [ebx + 0xac]
call edi
jmp 0x45d8ce
cmp dword [ebx + 0xe4], 0
je 0x45dc5e
mov ecx, dword [ebp - 0x1c4]
movsx eax, cx
mov dword [ebp - 0x1b0], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x1b0]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x1b0]
push eax
mov dword [ebx + 0xfc], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x100], eax
call fcn.0045ae89
mov esi, eax
test esi, esi
je 0x45dc5e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x45dc5e
xor eax, eax
mov dword [ebp - 0x40], 0x12
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1a8]
shr eax, 0x10
movzx eax, ax
shr eax, 0xf
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xfc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x100]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], eax
call fcn.0045b9a6
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 + 0x120]
movzx ecx, word [ebx + 0x100]
movzx eax, word [ebx + 0xfc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x45dc5e
cmp byte [ebx + 0xe0], 0
jne 0x45dbc8
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1c4]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x1ac], eax
mov dword [ebx + 0xfc], edi
mov dword [ebx + 0x100], eax
call fcn.0045ae89
mov esi, eax
test esi, esi
je 0x45dc5e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x45dc5e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
mov ecx, dword [ebp - 0x1a8]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2a], cx
and dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], edi
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 + 0x120]
mov dword [ebx + 0xf0], esi
xor al, al
call fcn.00496cc9
ret 0x10