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

Disassembly:
push 0x1dc
mov eax, 0x5338f2
call fcn.00505ab4
mov ebx, ecx
mov dword [ebp - 0x1e4], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1cc], eax
xor eax, eax
mov dword [ebp - 0x1c0], eax
cmp dword [ebx + 0xa8], eax
je 0x49b04e
lea ecx, [ebx + 0x4b4]
mov dword [ebp - 0x1c4], eax
call fcn.00494fae
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x1ac]
test eax, eax
jle 0x49891b
mov ecx, dword [ebp - 0x1c4]
push ecx
lea ecx, [ebx + 0x4b4]
mov byte [ebp - 0x1b9], 0
call fcn.00494a89
lea ecx, [ebp - 0x1b9]
push ecx
push esi
push dword [ebp - 0x1b8]
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx]
cmp byte [ebp - 0x1b9], 0
jne 0x49896e
inc dword [ebp - 0x1c4]
lea ecx, [ebx + 0x4b4]
call fcn.00494fae
mov ecx, dword [ebp - 0x1c4]
cmp ecx, eax
jl 0x4988cf
cmp byte [ebx + 0x16d], 0
push 2
pop ecx
je 0x498a00
mov eax, edi
sub eax, 0x83
je 0x4989f5
sub eax, ecx
je 0x4989f5
dec eax
jne 0x498a00
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x499abd
cmp dword [ebp - 0x1b8], eax
sete al
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx], eax
jmp 0x4989d9
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx], eax
cmp edi, 0x7b
je 0x498993
cmp edi, 0x1ff
jbe 0x4989d9
cmp edi, 0x203
jbe 0x4989e0
cmp edi, 0x20a
jne 0x4989d9
mov ecx, dword [ebp - 0x1ac]
movsx eax, cx
mov dword [ebp - 0x1b4], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b4]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1b4]
mov dword [ebx + 0x11c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebx + 0x120], eax
mov al, 1
jmp 0x49b050
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x11c], ecx
jmp 0x4989d3
mov ecx, dword [ebp - 0x1cc]
and dword [ecx], 0
jmp 0x4989d9
mov eax, 0x133
cmp edi, eax
ja 0x499edf
je 0x49a89e
cmp edi, 0x24
ja 0x499ac0
je 0x499a07
sub edi, 5
je 0x4999a7
sub edi, ecx
je 0x499962
dec edi
je 0x499947
sub edi, 7
je 0x498c46
dec edi
je 0x498b62
sub edi, 4
je 0x498b52
sub edi, 0xc
jne 0x49b04e
xor eax, eax
cmp dword [ebx + 0x104], eax
je 0x49b04e
xor ecx, ecx
inc ecx
cmp si, cx
jne 0x49b04e
cmp byte [ebx + 0x47d], al
je 0x498a85
mov al, cl
jmp 0x49b050
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1b4]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1b0]
mov ecx, ebx
push dword [ebp - 0x1b4]
call fcn.00497c2d
mov ebx, eax
test ebx, ebx
je 0x49b04e
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
test al, 2
je 0x49b04e
xor eax, eax
lea edi, [ebp - 0x134]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x138], 0x1a
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x128], eax
call fcn.00498819
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x138]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x140]
jmp 0x4989d9
mov ecx, dword [ebp - 0x1cc]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x49b050
and dword [ebp - 0x138], 0
lea edi, [ebp - 0x134]
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x128], eax
call fcn.00498819
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x10c]
mov dword [ebp - 0x130], eax
test ecx, ecx
je 0x498bcf
mov dword [ebp - 0x138], 0xa
lea edx, [ebp - 0x138]
mov dword [ebp - 0x134], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x498bf8
mov dword [ebp - 0x138], 0xe
lea edx, [ebp - 0x138]
mov dword [ebp - 0x134], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
push 0
mov ecx, ebx
call fcn.0049ca4f
mov esi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x498c25
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x498c25
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x49b04e
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0xc8], 0
jmp 0x49b04e
xor eax, eax
cmp dword [ebx + 0x104], eax
jne 0x498cad
push 0x3c
push eax
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x154]
push eax
call fcn.00505440
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x150]
push eax
push dword [ebx + 0xac]
call fcn.004bc754
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x4989d9
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xa8]
movdqu xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xa8]
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4989d9
cmp byte [ebx + 0x16a], 0
je 0x498cf9
push 1
mov ecx, ebx
call fcn.0049cdc4
push 1
mov ecx, ebx
call fcn.0049cf17
mov edi, dword [ebp - 0x38]
mov ecx, ebx
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
sub edi, dword [ebp - 0x40]
push 1
mov byte [ebp - 0x1b9], 0
mov dword [ebp - 0x1b8], edi
mov dword [ebp - 0x1d0], eax
call fcn.0049cf17
cmp byte [ebx + 0x169], 0
je 0x498f43
lea eax, [ebp - 0x40]
mov byte [ebx + 0x169], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x498fcc
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x498fcc
mov ecx, dword [ebx + 0x104]
call fcn.0049ef8c
test al, al
je 0x498e29
mov eax, dword [ebx + 0xb0]
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x30]
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 0x498d92
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x498da3
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x498db4
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x498dc5
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 0x498e0b
mov eax, dword [ebx + 0x170]
add dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x174]
add dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x178]
sub dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x24], eax
mov ecx, dword [ebx + 0x104]
lea esi, [ebp - 0x30]
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 + 0x5c]
jmp 0x498ed5
lea edi, [ebx + 0x4fc]
mov ecx, edi
mov dword [ebp - 0x1c8], edi
call fcn.00494cea
mov ecx, dword [ebx + 0x104]
xor edx, edx
push reloc.OLEAUT32.dll_VariantCopy
push edx
push 0x49d5d7
mov eax, dword [ecx]
call dword [eax + 0x134]
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x1c4], esi
call fcn.00494fae
test eax, eax
jle 0x498ed5
push esi
mov ecx, edi
call fcn.00494a89
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1c0], esi
mov edx, dword [esi]
call dword [edx + 0x12c]
mov ebx, dword [esi]
mov ecx, esi
test al, al
jne 0x498e91
call dword [ebx + 0x58]
jmp 0x498e9b
lea eax, [ebp - 0x94]
push eax
call dword [ebx + 0x50]
mov ecx, dword [ebp - 0x1c0]
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 + 0x5c]
mov esi, dword [ebp - 0x1c4]
mov edi, dword [ebp - 0x1c8]
inc esi
mov ecx, edi
mov dword [ebp - 0x1c4], esi
call fcn.00494fae
cmp esi, eax
jl 0x498e6a
mov ebx, dword [ebp - 0x1e4]
cmp byte [ebx + 0x168], 0
mov byte [ebp - 0x1b9], 1
je 0x498fc6
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x104]
mov byte [ebx + 0x168], al
call fcn.0049c69c
cmp byte [ebx + 0x16d], 0
je 0x498f2d
cmp byte [ebx + 0x180], 0
je 0x498f2d
mov ecx, ebx
call fcn.0049868f
push 0
mov ecx, ebx
call fcn.0049cf17
jmp 0x4989d9
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x664]
call fcn.004b9cc0
jmp 0x498fc6
cmp byte [ebx + 0x16d], 0
je 0x49903e
cmp byte [ebx + 0x180], 0
je 0x498fcc
mov ecx, dword [ebx + 0xbc]
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x30]
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 ecx, ecx
je 0x498f89
mov eax, dword [ebp - 0x1d0]
imul eax, dword [ebp - 0x1b8]
shl eax, 2
push eax
push 0
push ecx
call fcn.00505440
add esp, 0xc
mov eax, dword [ebx + 0x170]
lea esi, [ebp - 0x30]
add dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x174]
add dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x178]
sub dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x24], 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 + 0x5c]
mov edi, dword [ebp - 0x1b8]
cmp byte [ebx + 0x16d], 0
je 0x49903e
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x498ffe
push ecx
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea esi, [ebx + 0x184]
mov byte [ebx + 0x16b], 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 - 0x38]
push 0x10
cmovg eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x34]
push 0
cmovg eax, dword [ebp - 0x34]
push esi
mov dword [ebp - 0x14], eax
call fcn.00505440
add esp, 0xc
cmp byte [ebx + 0x16b], 0
je 0x499084
cmp dword [ebx + 0xb8], 0
jne 0x499084
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 - 0x1d0]
push edi
push dword [ebx + 0xac]
call fcn.004bc6ed
add esp, 0x10
mov dword [ebx + 0xb8], eax
and dword [ebp - 0x1a8], 0
lea eax, [ebp - 0x1a4]
push 0x3c
push 0
push eax
call fcn.00505440
add esp, 0xc
lea eax, [ebp - 0x1a8]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x16b], 0
je 0x499871
push dword [ebx + 0xb8]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
mov dword [ebp - 0x1b0], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0x16d], 0
mov dword [ebp - 0x1d4], eax
je 0x49916f
mov edi, dword [ebp - 0x34]
mov esi, edi
sub esi, dword [ebp - 0x14]
mov ecx, edi
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c4], esi
cmp esi, ecx
jge 0x49916f
mov ecx, dword [ebp - 0x20]
mov eax, esi
imul eax, dword [ebp - 0x1b8]
xor edx, edx
mov dword [ebp - 0x1c0], eax
cmp ecx, dword [ebp - 0x18]
jge 0x49914b
lea edi, [eax + ecx]
shl edi, 2
mov eax, dword [ebx + 0xbc]
inc ecx
mov dword [edi + eax], edx
lea edi, [edi + 4]
cmp ecx, dword [ebp - 0x18]
jl 0x499127
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c4]
mov eax, dword [ebp - 0x1c0]
add eax, dword [ebp - 0x1b8]
inc esi
mov dword [ebp - 0x1c0], eax
mov eax, edi
sub eax, dword [ebp - 0x1c]
cmp esi, eax
mov dword [ebp - 0x1c4], esi
mov eax, dword [ebp - 0x1c0]
jl 0x49911c
jmp 0x499171
xor edx, edx
mov ecx, dword [ebx + 0x104]
push edx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ecx]
push dword [ebx + 0xb0]
call dword [eax + 0x150]
cmp byte [ebx + 0x16d], 0
je 0x4993c9
lea ecx, [ebx + 0x4cc]
xor edi, edi
call fcn.00494fae
test eax, eax
jle 0x4993c9
push edi
lea ecx, [ebx + 0x4cc]
call fcn.00494a89
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4991e2
push edi
lea ecx, [ebx + 0x4cc]
call fcn.00495251
push edi
lea ecx, [ebx + 0x4d8]
call fcn.00495251
jmp 0x4993b6
inc edi
push esi
mov dword [ebp - 0x1e8], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4993b6
push esi
lea eax, [ebp - 0x168]
mov ecx, ebx
push eax
call fcn.00498404
lea eax, [ebp - 0x168]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
movdqu xmmword [ebp - 0x58], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4993b6
push dword [ebx + 0xb0]
and dword [ebp - 0x1c0], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1c4], eax
push ecx
mov ecx, dword [ebp - 0x15c]
sub ecx, dword [ebp - 0x164]
push ecx
mov ecx, dword [ebp - 0x160]
sub ecx, dword [ebp - 0x168]
push ecx
push eax
call fcn.004bc6ed
mov edx, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
sub edx, dword [ebp - 0x168]
sub ecx, dword [ebp - 0x164]
imul edx, ecx
mov dword [ebp - 0x1ac], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1c0]
call fcn.00505440
add esp, 0x1c
push dword [ebp - 0x1ac]
push dword [ebp - 0x1c4]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x1c4]
mov dword [ebp - 0x1dc], eax
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x15c]
xor edx, edx
mov ecx, esi
mov dword [ebp - 0x1cc], edx
sub ecx, dword [ebp - 0x164]
test ecx, ecx
mov ecx, dword [ebp - 0x160]
jle 0x499363
mov ebx, dword [ebp - 0x168]
mov eax, ecx
mov edi, edx
sub eax, ebx
test eax, eax
jle 0x49933e
mov esi, dword [ebp - 0x1cc]
imul esi, eax
mov eax, dword [ebp - 0x1c0]
add esi, edi
mov eax, dword [eax + esi*4]
test eax, eax
je 0x49932f
mov ecx, dword [ebp - 0x1c0]
or eax, 0xff000000
mov dword [ecx + esi*4], eax
mov ecx, dword [ebp - 0x160]
mov ebx, dword [ebp - 0x168]
mov eax, ecx
inc edi
sub eax, ebx
cmp edi, eax
jl 0x4992fd
mov esi, dword [ebp - 0x15c]
mov edi, dword [ebp - 0x1cc]
mov eax, esi
sub eax, dword [ebp - 0x164]
inc edi
mov dword [ebp - 0x1cc], edi
cmp edi, eax
jl 0x4992f3
mov ebx, dword [ebp - 0x1e4]
mov edi, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x168]
sub ecx, eax
push 0xcc0020
push edx
push edx
push dword [ebp - 0x1c4]
mov edx, dword [ebp - 0x164]
sub esi, edx
push esi
push ecx
push edx
push eax
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1dc]
mov esi, dword [ebp - 0x1c4]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1ac]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [ebx + 0x4cc]
call fcn.00494fae
cmp edi, eax
jl 0x4991ac
lea edi, [ebx + 0x4c0]
xor esi, esi
mov ecx, edi
call fcn.00494fae
test eax, eax
jle 0x499404
push esi
mov ecx, edi
call fcn.00494a89
lea ecx, [ebp - 0x20]
push ecx
push dword [ebx + 0xb0]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x174]
mov ecx, edi
inc esi
call fcn.00494fae
cmp esi, eax
jl 0x4993dc
push dword [ebp - 0x1d4]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x16d], 0
je 0x4997ce
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xa8]
movdqu xmmword [ebp - 0x58], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebx + 0x194]
call fcn.00495150
test al, al
jne 0x4996b3
mov eax, dword [ebp - 0x38]
lea esi, [ebp - 0x40]
sub eax, dword [ebp - 0x40]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x194]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebx + 0x170]
add eax, dword [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x174]
add dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x178]
sub dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x24], eax
call fcn.00495150
test al, al
jne 0x499741
xor eax, eax
cmp dword [ebx + 0xc0], eax
jne 0x49951a
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x1c0]
lea esi, [ebx + 0xc4]
push esi
push edi
push dword [ebp - 0x1cc]
mov dword [ebx + 0xb4], eax
push dword [ebx + 0xac]
call fcn.004bc6ed
imul edi, dword [ebp - 0x1cc]
mov dword [ebx + 0xc0], eax
shl edi, 2
push edi
push 0
push dword [esi]
call fcn.00505440
add esp, 0x1c
push dword [ebx + 0xc0]
push dword [ebx + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [ebp - 4], 0
jmp 0x499549
cmp byte [ebx + 0x180], al
je 0x499593
mov ecx, dword [ebp - 0x1c0]
imul ecx, dword [ebp - 0x1cc]
shl ecx, 2
push ecx
push eax
push dword [ebx + 0xc4]
call fcn.00505440
add esp, 0xc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x134]
push eax
sub esp, 0x10
lea esi, [ebp - 0x30]
mov edi, esp
push dword [ebx + 0xb4]
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.004c1815
push 0
lea eax, [ebx + 0x194]
push eax
lea eax, [ebp - 0x30]
push eax
push eax
push ebx
push dword [ebx + 0xb4]
call fcn.004c0338
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
add esp, 0x30
call fcn.004bc10e
mov esi, dword [ebp - 0x34]
mov ecx, esi
sub ecx, dword [ebp - 0x14]
mov eax, esi
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c8], ecx
cmp ecx, eax
jge 0x499741
mov edx, dword [ebp - 0x1cc]
mov eax, ecx
mov edi, dword [ebp - 0x20]
imul eax, edx
mov dword [ebp - 0x1c0], edi
mov dword [ebp - 0x1c4], eax
cmp edi, dword [ebp - 0x18]
jge 0x49968c
lea ecx, [eax + edi]
shl ecx, 2
mov dword [ebp - 0x1e8], ecx
mov ebx, dword [ebx + 0xbc]
mov esi, 0xff
add ebx, eax
mov eax, dword [ebp - 0x1e4]
add ebx, edi
mov eax, dword [eax + 0xc4]
mov al, byte [eax + ecx + 3]
mov ecx, dword [ebx]
movzx edi, al
mov eax, ecx
shr eax, 0x10
movzx eax, al
imul eax, edi
shr ecx, 8
cdq
idiv esi
movzx esi, al
movzx eax, cl
mov ecx, 0xff
imul eax, edi
shl esi, 8
cdq
idiv ecx
movzx eax, al
or esi, eax
movzx eax, byte [ebx]
imul eax, edi
shl esi, 8
shl edi, 0x18
cdq
idiv ecx
mov ecx, dword [ebp - 0x1e8]
movzx eax, al
add ecx, 4
or esi, eax
mov dword [ebp - 0x1e8], ecx
mov eax, dword [ebp - 0x1c4]
add esi, edi
mov edi, dword [ebp - 0x1c0]
inc edi
mov dword [ebx], esi
mov ebx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1c0], edi
cmp edi, dword [ebp - 0x18]
jl 0x4995dd
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c8]
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1c0], edi
add eax, edx
inc ecx
mov dword [ebp - 0x1c4], eax
mov eax, esi
sub eax, dword [ebp - 0x1c]
cmp ecx, eax
mov dword [ebp - 0x1c8], ecx
mov eax, dword [ebp - 0x1c4]
jl 0x4995c8
jmp 0x499741
mov esi, dword [ebp - 0x34]
mov ecx, esi
sub ecx, dword [ebp - 0x14]
mov eax, esi
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c8], ecx
cmp ecx, eax
jge 0x499741
mov eax, dword [ebp - 0x1b8]
mov edi, ecx
mov edx, dword [ebp - 0x20]
imul edi, eax
cmp edx, dword [ebp - 0x18]
jge 0x499729
mov ecx, dword [ebp - 0x18]
lea eax, [edi + edx]
shl eax, 2
mov esi, dword [ebx + 0xbc]
cmp byte [eax + esi + 3], 0
jne 0x49970f
cmp byte [eax + esi], 0
jne 0x499707
cmp byte [eax + esi + 1], 0
jne 0x499707
cmp byte [eax + esi + 2], 0
je 0x49970f
mov byte [eax + esi + 3], 0xff
mov ecx, dword [ebp - 0x18]
inc edx
add eax, 4
cmp edx, ecx
jl 0x4996e6
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x1b8]
add edi, eax
inc ecx
mov eax, esi
mov dword [ebp - 0x1c8], ecx
sub eax, dword [ebp - 0x1c]
cmp ecx, eax
mov eax, dword [ebp - 0x1b8]
jl 0x4996d8
mov al, byte [ebx + 0x16c]
xor ecx, ecx
mov byte [ebp - 0x1aa], al
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x1b8]
push 2
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1dc], eax
pop eax
push eax
lea eax, [ebp - 0x1ac]
mov word [ebp - 0x1ac], cx
push eax
push ecx
lea eax, [ebp - 0x1d8]
mov byte [ebp - 0x1a9], 1
push eax
push dword [ebx + 0xb0]
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x1d8], ecx
push eax
lea eax, [ebp - 0x160]
mov dword [ebp - 0x1d4], ecx
push eax
push dword [ebx + 0xac]
push dword [ebx + 0xa8]
call dword [0x590710]
jmp 0x4997ff
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 - 0x1b0]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
call edi
cmp byte [ebx + 0x101], 0
je 0x4998ea
cmp byte [ebx + 0x16d], 0
jne 0x4998ea
push dword [0x590714]
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 - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebx + 0xac]
call edi
jmp 0x4998ea
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x104]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov edx, dword [ecx]
push dword [ebx + 0xac]
call dword [edx + 0x150]
lea edi, [ebx + 0x4c0]
xor esi, esi
mov ecx, edi
call fcn.00494fae
test eax, eax
jle 0x4998d8
push esi
mov ecx, edi
call fcn.00494a89
lea ecx, [ebp - 0x20]
push ecx
push dword [ebx + 0xac]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x174]
mov ecx, edi
inc esi
call fcn.00494fae
cmp esi, eax
jl 0x4998b0
push dword [ebp - 0x1b0]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x1a8]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
push 0
mov ecx, ebx
call fcn.0049cf17
xor eax, eax
mov byte [ebx + 0x180], al
cmp byte [ebx + 0x169], al
je 0x49991f
mov ecx, ebx
call fcn.0049868f
xor eax, eax
cmp byte [ebp - 0x1b9], 0
je 0x4989d9
push 1
push eax
push eax
push str.windowsize
push dword [ebx + 0x104]
mov ecx, ebx
call fcn.0049c69c
jmp 0x4989d9
mov ecx, ebx
call fcn.004986f1
test al, al
je 0x49b04e
mov ecx, ebx
call fcn.0049beca
jmp 0x49b04e
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x49b04e
push 7
xor eax, eax
lea edi, [ebp - 0x78]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x7c], 0x18
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x78], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x74], eax
jmp 0x49b045
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x4999ef
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x138], 0x19
mov dword [ebp - 0x134], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x138]
mov dword [ebp - 0x130], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov ecx, dword [ebx + 0x104]
test ecx, ecx
je 0x4989d9
call fcn.0049f006
jmp 0x4989d9
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x84]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 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 - 0x60], 1
lea esi, [ebp - 0x70]
lea edi, [ebp - 0x58]
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 0x499a60
mov eax, dword [ebp - 0x6c]
neg eax
push eax
mov eax, dword [ebp - 0x70]
neg eax
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebx + 0x124]
mov eax, dword [ebp - 0x1ac]
test ecx, ecx
jle 0x499a73
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x128]
test ecx, ecx
jle 0x499a80
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x499a8d
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x499a9a
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x499aa7
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x49b04e
mov dword [eax + 0xc], ecx
jmp 0x49b04e
push 2
pop ecx
sub edi, 0x4e
je 0x499eb8
sub edi, 0x2d
je 0x499dd0
sub edi, 0x85
je 0x499d29
dec edi
je 0x499c87
dec edi
je 0x499c01
sub edi, 0xf
je 0x499bcb
sub edi, ecx
jne 0x49b04e
lea edi, [ebx + 0x490]
mov ecx, edi
call fcn.00494fae
test eax, eax
jle 0x49b04e
push dword [ebp - 0x1c0]
mov ecx, edi
call fcn.00494a89
mov edx, eax
mov dword [ebp - 0x1b0], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [ebx + 0xa8]
jne 0x499b46
mov eax, dword [ebp - 0x1b8]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x499b46
cmp byte [edx + 0x10], 0
je 0x499b60
inc dword [ebp - 0x1c0]
mov ecx, edi
call fcn.00494fae
cmp dword [ebp - 0x1c0], eax
jl 0x499b12
jmp 0x49b04e
push 7
xor eax, eax
lea edi, [ebp - 0x134]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [edx]
mov dword [ebp - 0x138], 0x1b
mov dword [ebp - 0x134], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x130], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x128], eax
call fcn.00498819
mov ecx, dword [ebp - 0x1b0]
mov word [ebp - 0x122], ax
mov dword [ebp - 0x11c], esi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x120], eax
jmp 0x49b03f
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x49b04e
push eax
push dword [ebp - 0x1b8]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx], eax
test eax, eax
je 0x49b04e
jmp 0x4989d9
cmp dword [ebx + 0x104], 0
je 0x49b04e
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x49b04e
xor eax, eax
lea edi, [ebp - 0x134]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x120], eax
mov word [ebp - 0x124], ax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x138], 5
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x128], eax
call fcn.00498819
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
jmp 0x49b039
cmp dword [ebx + 0x104], 0
je 0x49b04e
mov edx, dword [ebx + 0x114]
test edx, edx
je 0x49b04e
xor eax, eax
lea edi, [ebp - 0x134]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x120], eax
mov word [ebp - 0x124], ax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x138], 4
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x128], eax
call fcn.00498819
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x114]
lea edx, [ebp - 0x138]
mov dword [ebp - 0x130], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
and dword [ebx + 0x114], 0
jmp 0x49b04e
cmp dword [ebx + 0x104], 0
je 0x49b04e
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x49b04e
xor eax, eax
lea edi, [ebp - 0x134]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x120], eax
mov word [ebp - 0x124], ax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x138], 3
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x128], eax
call fcn.00498819
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x138]
mov dword [ebp - 0x130], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov eax, dword [ebx + 0x108]
mov dword [ebx + 0x114], eax
jmp 0x49b04e
cmp dword [ebx + 0x104], 0
je 0x49b04e
mov ecx, dword [ebp - 0x1ac]
movsx eax, cx
mov dword [ebp - 0x1b4], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b4]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x110], 0
mov eax, dword [ebp - 0x1b4]
mov dword [ebx + 0x11c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebx + 0x120], eax
je 0x49b04e
mov ecx, ebx
call fcn.0049beca
mov edx, dword [ebp - 0x1b8]
lea edi, [ebp - 0x134]
push 7
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [ebx + 0x110]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x138], 0x14
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x128], eax
mov word [ebp - 0x122], dx
mov dword [ebp - 0x11c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
lea edx, [ebp - 0x138]
mov dword [ebp - 0x130], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
and dword [ebx + 0x110], 0
jmp 0x49b04e
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x49b04e
push eax
push dword [ebp - 0x1b8]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x498964
mov eax, 0x207
cmp edi, eax
ja 0x49a94f
je 0x49a8c0
mov eax, edi
sub eax, 0x138
je 0x49a89e
sub eax, 0xc8
je 0x49a355
dec eax
je 0x49a20c
dec eax
je 0x49a161
dec eax
je 0x49a076
dec eax
je 0x499fcf
dec eax
jne 0x49b04e
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1d4], eax
mov dword [ebx + 0x120], eax
call fcn.00497c2d
mov dword [ebx + 0x110], eax
test eax, eax
je 0x49b04e
mov ecx, ebx
call fcn.0049beca
mov esi, dword [ebp - 0x1ac]
lea edi, [ebp - 0x134]
push 7
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x110]
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x12c], ecx
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x138], 0x10
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x128], ecx
mov word [ebp - 0x122], ax
jmp 0x49b02d
cmp byte [ebx + 0x100], 0
jne 0x499fe4
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1d4], eax
mov dword [ebx + 0x120], eax
call fcn.00497c2d
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x49b04e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x49b04e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov ecx, ebx
call fcn.0049c71d
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x138], 0xf
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x12c], ecx
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x128], ecx
jmp 0x49a10e
cmp byte [ebx + 0x100], 0
jne 0x49a08b
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1d4], eax
mov dword [ebx + 0x120], eax
call fcn.00497c2d
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x49b04e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x49b04e
mov ecx, ebx
call fcn.0049c71d
push 7
xor eax, eax
lea edi, [ebp - 0x134]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x138], 0x13
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x134], esi
mov esi, dword [ebp - 0x1ac]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], esi
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x1dc]
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x130], eax
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x140]
mov dword [ebx + 0x110], esi
jmp 0x49b04e
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cmp dword [ebx + 0x110], 0
cwde
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x1d4], eax
mov dword [ebx + 0x11c], ecx
mov dword [ebx + 0x120], eax
je 0x49b04e
mov ecx, ebx
call fcn.0049beca
mov esi, dword [ebp - 0x1ac]
lea edi, [ebp - 0x134]
push 7
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x110]
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x12c], ecx
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x138], 0xe
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x128], ecx
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
and dword [ebx + 0x110], 0
jmp 0x49b039
cmp byte [ebx + 0x100], 0
jne 0x49a221
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x104], 0
je 0x49b04e
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1d4], eax
mov dword [ebx + 0x120], eax
call fcn.00497c2d
mov esi, eax
mov dword [ebp - 0x1c8], esi
test esi, esi
je 0x49b04e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x49b04e
cmp byte [ebx + 0x734], 0
je 0x49a2d9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x49a2d9
mov eax, dword [ebx + 0x738]
mov byte [ebx + 0x735], 1
test eax, eax
je 0x49a2ae
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [ebx + 0x738], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
xor edx, edx
mov esi, eax
push edx
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]
mov esi, dword [ebp - 0x1c8]
push esi
push ebx
call fcn.004c14e7
add esp, 0x1c
mov dword [ebx + 0x738], eax
mov ecx, ebx
call fcn.0049c71d
mov dword [ebx + 0x110], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + pe_nt_image_headers32]
push 7
xor eax, eax
lea edi, [ebp - 0x134]
pop ecx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x1b0]
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x134], esi
mov esi, dword [ebp - 0x1ac]
mov dword [ebp - 0x12c], ecx
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x138], 0xd
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x128], ecx
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1c8]
jmp 0x49b039
cmp byte [ebx + 0x47c], 0
push 3
pop ecx
jne 0x49a3b1
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 + 0xc8]
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], ecx
test eax, eax
jne 0x49a38e
mov eax, dword [ebx + 0xfc]
jmp 0x49a39d
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 + 0x47c], 1
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
movsx esi, ax
xor eax, eax
inc eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x1d4], esi
mov dword [ebp - 0x1c8], eax
cmp dword [ebx + 0x11c], ecx
jne 0x49a3f1
xor edx, edx
movzx eax, al
cmp dword [ebx + 0x120], esi
cmove eax, edx
mov dword [ebp - 0x1c8], eax
push esi
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x120], esi
call fcn.00497c2d
mov dword [ebp - 0x1dc], eax
test eax, eax
je 0x49a41f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x49b04e
cmp byte [ebp - 0x1c8], 0
je 0x49a6a1
cmp byte [ebx + 0x735], 0
je 0x49a6a1
cmp dword [ebp - 0x1b8], 1
jne 0x49a6a1
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.00500e98
mov esi, eax
mov dword [ebp - 0x1e8], eax
pop ecx
test esi, esi
je 0x49a470
xor eax, eax
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov dword [esi + 4], eax
mov byte [esi + 8], al
jmp 0x49a478
xor esi, esi
mov dword [ebp - 0x1e8], esi
test esi, esi
je 0x49b04e
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 0x24
call fcn.00500e98
pop ecx
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x49a4b1
push esi
mov ecx, eax
call fcn.004ba642
mov ecx, eax
mov dword [ebp - 0x1d0], eax
jmp 0x49a4b9
xor ecx, ecx
mov dword [ebp - 0x1d0], ecx
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x49b04e
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 + 0x738]
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 - 0x1d0]
push 0
push edx
mov dword [ebp - 0x18], esi
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
push edx
push eax
mov dword [ebp - 0x1dc], 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 - 0x1d4], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1b0], 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 - 0x1e4]
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 - 0x1c8], eax
call edi
push 0xcc0020
mov esi, eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x1c8]
push dword [ebp - 0x1b0]
push dword [ebp - 0x1d4]
push eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x1c8]
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 - 0x1d0]
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 - 0x160]
call fcn.004966c9
mov eax, dword [ebp - 0x44]
xor ebx, ebx
cdq
sub eax, edx
mov dword [ebp - 0x1b0], ebx
sar eax, 1
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x40]
cdq
sub eax, edx
mov dword [ebp - 4], 4
sar eax, 1
push 5
mov dword [ebp - 0x1b0], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1b4]
push eax
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0x160]
call fcn.004985d1
mov esi, dword [ebp - 0x1e8]
lea eax, [ebp - 0x1c0]
push eax
push 3
push esi
push edi
call dword [sym.imp.ole32.dll_DoDragDrop]
push esi
cmp dword [ebp - 0x1c0], ebx
je 0x49a675
mov eax, dword [esi]
call dword [eax + 8]
jmp 0x49a67b
call fcn.005008be
pop ecx
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x1e4]
lea ecx, [ebp - 0x160]
or dword [ebp - 4], 0xffffffff
mov byte [eax + 0x735], bl
call fcn.00496c06
jmp 0x49b04e
and dword [ebp - 0x138], 0
lea edi, [ebp - 0x134]
push 7
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b8]
mov edi, dword [ebp - 0x1b0]
mov dword [ebp - 0x128], esi
mov esi, dword [ebp - 0x1ac]
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x130], eax
call fcn.00498819
mov ecx, ebx
mov word [ebp - 0x122], ax
call fcn.004986f1
test al, al
jne 0x49a851
push dword [ebp - 0x1d4]
mov ecx, ebx
push edi
call fcn.00497c2d
mov edi, eax
test edi, edi
je 0x49a729
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x49b04e
mov eax, dword [ebx + 0x10c]
cmp edi, eax
je 0x49a81c
test eax, eax
je 0x49a81c
lea esi, [ebx + 0x514]
mov dword [ebp - 0x138], 0xa
mov ecx, esi
mov dword [ebp - 0x134], eax
call fcn.00494fae
push eax
lea ecx, [ebp - 0x1c]
call fcn.00494930
mov ecx, esi
mov dword [ebp - 4], 5
call fcn.00494fae
push eax
lea ecx, [ebp - 0x1c]
call fcn.0049545e
mov ecx, esi
call fcn.00494fae
shl eax, 2
mov ecx, esi
push eax
call fcn.00494f9b
push eax
lea ecx, [ebp - 0x1c]
call fcn.00494f9b
push eax
call fcn.00504df0
add esp, 0xc
lea ecx, [ebp - 0x1c]
xor esi, esi
call fcn.00494fae
test eax, eax
jle 0x49a7d5
push esi
lea ecx, [ebp - 0x1c]
call fcn.00494a89
lea ecx, [ebp - 0x138]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x140]
lea ecx, [ebp - 0x1c]
inc esi
call fcn.00494fae
cmp esi, eax
jl 0x49a7ae
mov ecx, dword [ebx + 0x10c]
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov edx, dword [ebx + 0xc8]
xor ecx, ecx
mov dword [ebx + 0x10c], ecx
test edx, edx
je 0x49a810
lea eax, [ebx + 0xcc]
push eax
push ecx
push 0x411
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004949b4
cmp edi, dword [ebx + 0x10c]
je 0x49a857
test edi, edi
je 0x49a857
mov dword [ebp - 0x138], 0xb
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x134], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x140]
mov dword [ebx + 0x10c], edi
jmp 0x49a857
mov edi, dword [ebp - 0x1dc]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x49a876
mov dword [ebp - 0x138], 9
mov dword [ebp - 0x134], ecx
jmp 0x49b03f
test edi, edi
je 0x49b04e
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x138], 9
mov dword [ebp - 0x134], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
jmp 0x49b048
mov ecx, dword [ebp - 0x1ac]
test ecx, ecx
je 0x49b04e
push ecx
push dword [ebp - 0x1b8]
lea eax, [edi + 0x2000]
push eax
push ecx
jmp 0x499be6
cmp byte [ebx + 0x100], 0
jne 0x49a8d5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1d4], eax
mov dword [ebx + 0x120], eax
call fcn.00497c2d
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x49b04e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x49b04e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov ecx, ebx
call fcn.0049c71d
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x138], 0x11
jmp 0x49a059
sub edi, 0x208
je 0x49afa0
sub edi, ecx
je 0x49ae76
sub edi, 0x97
je 0x49ac6c
sub edi, ecx
je 0x49ab65
sub edi, 0x75
je 0x49aa86
sub edi, 0x7ce9
jne 0x49b04e
lea edi, [ebx + 0x4e4]
xor esi, esi
mov ecx, edi
call fcn.00494fae
test eax, eax
jle 0x49a9bf
push esi
mov ecx, edi
call fcn.00494a89
test eax, eax
je 0x49a9b3
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, edi
inc esi
call fcn.00494fae
cmp esi, eax
jl 0x49a99f
mov ecx, edi
call fcn.00494cea
xor eax, eax
lea edi, [ebx + 0x4f0]
push eax
mov ecx, edi
mov byte [ebx + 0x480], al
mov dword [ebp - 0x1b0], edi
call fcn.00494f32
mov esi, eax
test esi, esi
je 0x49b04e
lea eax, [ebx + 0x484]
xor ebx, ebx
mov dword [ebp - 0x1d0], eax
push ebx
mov ecx, edi
call fcn.00495251
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x49aa27
add ecx, 0x38
call fcn.004ba444
test al, al
je 0x49aa27
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004ba45a
mov ecx, dword [ebp - 0x1d0]
mov edi, ebx
call fcn.00494fae
test eax, eax
jle 0x49aa5b
mov ecx, dword [ebp - 0x1d0]
push edi
call fcn.00494a89
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1d0]
inc edi
call fcn.00494fae
cmp edi, eax
jl 0x49aa38
mov ecx, esi
call fcn.00496fda
push esi
call fcn.005008be
mov edi, dword [ebp - 0x1b0]
pop ecx
push ebx
mov ecx, edi
call fcn.00494f32
mov esi, eax
test esi, esi
jne 0x49a9fa
jmp 0x49b04e
cmp dword [ebx + 0x104], 0
je 0x49b04e
lea eax, [ebp - 0x58]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x1b8]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x104]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x58]
push 0
push eax
mov edx, dword [ecx]
push esi
call dword [edx + 0x150]
test byte [ebp - 0x1ac], 0x10
je 0x49ab53
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x49ab53
push 2
pop eax
or dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push edi
movdqu xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
pop eax
push eax
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 - 0x1ac]
push esi
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
pop eax
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x49aaf1
push dword [ebp - 0x1b0]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x49b04e
mov ecx, dword [ebx + 0xc8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x49ab86
lea eax, [ebx + 0xcc]
push eax
push 0
push 0x411
push ecx
call esi
cmp byte [ebx + 0x47c], 0
je 0x49ac60
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b4]
push eax
movdqu xmmword [ebp - 0x58], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x58]
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 0x49ac4f
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x49ac4f
push dword [ebp - 0x1b0]
lea eax, [ebp - 0x58]
push dword [ebp - 0x1b4]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x49ac4f
movzx ecx, word [ebp - 0x1b0]
movzx eax, word [ebp - 0x1b4]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [ebx + 0xa8]
call esi
cmp eax, 1
jne 0x49ac4f
lea eax, [ebp - 0x1b4]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x1b0]
movzx eax, word [ebp - 0x1b4]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x49ac51
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x47c], 0
jmp 0x49b04e
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b0], ecx
push ecx
mov ecx, ebx
mov byte [ebx + 0x47c], 0
mov dword [ebp - 0x1d4], eax
call fcn.00497c2d
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x49b04e
mov edx, dword [ebx + 0x10c]
test edx, edx
je 0x49ad29
push 7
xor eax, eax
lea edi, [ebp - 0x134]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x138], 0xc
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x11c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x128], eax
call fcn.00498819
mov ecx, dword [ebx + 0x10c]
lea edx, [ebp - 0x138]
mov word [ebp - 0x122], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov eax, dword [esi]
lea ecx, [ebp - 0x118]
push ecx
mov ecx, esi
call dword [eax + 0xc8]
push 2
pop eax
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], eax
call fcn.00495150
test al, al
je 0x49ad63
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004949a4
jmp 0x4989d9
push 0x30
lea edi, [ebx + 0xcc]
push 0
push edi
call fcn.00505440
mov eax, dword [ebx + 0xa8]
lea ecx, [ebp - 0x118]
add esp, 0xc
mov dword [edi], 0x30
mov dword [ebx + 0xd0], 1
mov dword [ebx + 0xd4], eax
mov dword [ebx + 0xd8], eax
mov eax, dword [0x590700]
mov dword [ebx + 0xec], eax
call fcn.00494f9b
mov dword [ebx + 0xf0], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x58]
mov esi, eax
lea edi, [ebx + 0xdc]
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 + 0xc8], eax
jne 0x49ae38
push eax
push dword [0x590700]
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 esi, [ebx + 0xcc]
mov dword [ebx + 0xc8], eax
push esi
xor edx, edx
push edx
push 0x432
push eax
call edi
mov ecx, dword [ebp - 0x1dc]
mov eax, dword [ecx]
call dword [eax + 0xd4]
push eax
push 0
push 0x418
push dword [ebx + 0xc8]
call edi
jmp 0x49ae3e
lea esi, [ebx + 0xcc]
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x49ad4f
push esi
push eax
push 0x436
push dword [ebx + 0xc8]
call edi
push esi
push 1
push 0x411
push dword [ebx + 0xc8]
call edi
jmp 0x49ad4f
cmp dword [ebx + 0x104], 0
je 0x49b04e
mov ecx, dword [ebp - 0x1ac]
movsx eax, cx
mov dword [ebp - 0x1b4], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b4]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1b4]
push eax
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x120], eax
call fcn.00497c2d
mov esi, eax
test esi, esi
je 0x49b04e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x49b04e
mov eax, dword [ebp - 0x1b8]
lea edi, [ebp - 0x134]
shr eax, 0x10
movsx edx, ax
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
movzx ecx, dx
shl ecx, 0x10
test edx, edx
mov dword [ebp - 0x138], 0x15
sets al
mov dword [ebp - 0x134], esi
or ecx, eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x128], eax
call fcn.00498819
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x138]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x140]
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 0x49b04e
mov eax, dword [ebp - 0x1ac]
mov ecx, ebx
movsx esi, ax
shr eax, 0x10
cwde
push eax
push esi
mov dword [ebp - 0x1b0], eax
mov dword [ebx + 0x11c], esi
mov dword [ebx + 0x120], eax
call fcn.00497c2d
mov dword [ebx + 0x110], eax
test eax, eax
je 0x49b04e
mov ecx, ebx
call fcn.0049beca
xor eax, eax
lea edi, [ebp - 0x134]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x110]
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x138], 0x12
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x128], eax
mov word [ebp - 0x122], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
mov dword [ebp - 0x130], eax
lea edx, [ebp - 0x138]
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
xor al, al
call fcn.00505a63
ret 0x10