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

Disassembly:
push 0x1d0
mov eax, 0x51d660
call fcn.004ecf31
mov ebx, ecx
mov dword [ebp - 0x1cc], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1bc], eax
xor eax, eax
mov dword [ebp - 0x1b0], eax
cmp dword [ebx + 0xa8], eax
je 0x4a0355
lea ecx, [ebx + 0x4b4]
mov dword [ebp - 0x1c0], eax
call fcn.004a6ded
mov esi, dword [ebp + 8]
xor ecx, ecx
mov edi, dword [ebp - 0x19c]
inc ecx
test eax, eax
jle 0x49de53
mov ecx, dword [ebp - 0x1c0]
push ecx
lea ecx, [ebx + 0x4b4]
mov byte [ebp - 0x1a9], 0
call fcn.004a693b
lea ecx, [ebp - 0x1a9]
push ecx
push edi
push dword [ebp - 0x1a0]
mov edx, dword [eax]
mov ecx, eax
push esi
call dword [edx]
cmp byte [ebp - 0x1a9], 0
jne 0x49dead
inc dword [ebp - 0x1c0]
lea ecx, [ebx + 0x4b4]
call fcn.004a6ded
mov ecx, dword [ebp - 0x1c0]
cmp ecx, eax
jl 0x49de04
xor ecx, ecx
inc ecx
cmp byte [ebx + 0x16d], 0
push 2
pop edx
je 0x49df4a
mov eax, esi
sub eax, 0x83
je 0x49df3c
sub eax, edx
je 0x49df3c
sub eax, 1
jne 0x49df4a
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4a0355
cmp dword [ebp - 0x1a0], eax
sete al
mov ecx, dword [ebp - 0x1bc]
mov dword [ecx], eax
mov al, 1
jmp 0x4a0357
mov ecx, dword [ebp - 0x1bc]
mov dword [ecx], eax
sub esi, 0x7b
je 0x49ded6
sub esi, 0x185
je 0x49df1e
sub esi, 1
je 0x49df1e
sub esi, 1
je 0x49df1e
sub esi, 1
je 0x49df1e
sub esi, 7
jne 0x49dea6
mov ecx, dword [ebp - 0x19c]
movsx eax, cx
mov dword [ebp - 0x1a8], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a8]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1a4]
mov dword [ebx + 0x11c], eax
mov dword [ebx + 0x120], ecx
jmp 0x49dea6
mov eax, dword [ebp - 0x19c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x11c], ecx
mov dword [ebx + 0x120], eax
jmp 0x49dea6
mov ecx, dword [ebp - 0x1bc]
and dword [ecx], 0
jmp 0x49dea6
mov eax, 0x133
cmp esi, eax
ja 0x49f360
je 0x49f0e5
cmp esi, 0x24
ja 0x49eff5
je 0x49ef2d
sub esi, 5
je 0x49eed5
sub esi, edx
je 0x49ee76
sub esi, 1
je 0x49ee5b
sub esi, 7
je 0x49e14b
sub esi, 1
je 0x49e086
sub esi, 4
je 0x49e076
sub esi, 0xc
jne 0x4a0355
cmp dword [ebx + 0x104], esi
je 0x4a0355
cmp di, cx
jne 0x4a0355
cmp byte [ebx + 0x47d], 0
jne 0x49dea6
lea eax, [ebp - 0x1a8]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1a8], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1a8]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1a4]
mov ecx, ebx
push dword [ebp - 0x1a8]
call fcn.0049d117
mov esi, eax
test esi, esi
je 0x4a0355
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test al, 2
je 0x4a0355
mov ecx, dword [ebp - 0x1a4]
xor eax, eax
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x50], 0x1a
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
call fcn.0049dd3f
mov word [ebp - 0x3a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x48], eax
mov ecx, esi
mov edx, dword [esi]
lea eax, [ebp - 0x50]
push eax
call dword [edx + 0x140]
jmp 0x49dea6
mov ecx, dword [ebp - 0x1bc]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x4a0357
mov ecx, dword [ebx + 0x120]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x3c], ax
mov eax, dword [ebx + 0x11c]
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
call fcn.0049dd3f
mov word [ebp - 0x3a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x10c]
mov dword [ebp - 0x48], eax
test ecx, ecx
je 0x49e0dd
mov dword [ebp - 0x50], 0xa
lea edx, [ebp - 0x50]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x49e0fd
mov dword [ebp - 0x50], 0xe
lea edx, [ebp - 0x50]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
push 0
mov ecx, ebx
call fcn.004a203c
mov esi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x49e12a
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x49e12a
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x4a0355
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0xc8], 0
jmp 0x4a0355
mov esi, dword [ebx + 0xa8]
xor eax, eax
cmp dword [ebx + 0x104], eax
jne 0x49e1a1
push 0x40
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004efcf0
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push esi
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x68]
push eax
push dword [ebx + 0xac]
call fcn.004b1aee
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x49dea6
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 esi
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x49dea6
cmp byte [ebx + 0x16a], 0
je 0x49e1ea
push 1
mov ecx, ebx
call fcn.004a23c5
push 1
mov ecx, ebx
call fcn.004a251e
mov edi, dword [ebp - 0x78]
mov ecx, ebx
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x7c]
sub edi, dword [ebp - 0x80]
push 1
mov byte [ebp - 0x1a9], 0
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x1c4], eax
call fcn.004a251e
cmp byte [ebx + 0x169], 0
je 0x49e440
lea eax, [ebp - 0x80]
mov byte [ebx + 0x169], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x49e4c9
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x49e4c9
mov ecx, dword [ebx + 0x104]
call fcn.004a49f9
test al, al
je 0x49e31a
mov eax, dword [ebx + 0xb0]
lea esi, [ebp - 0x80]
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 0x49e283
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x49e294
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x49e2a5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x49e2b6
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 0x49e2fc
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 0x49e3d2
lea edi, [ebx + 0x4fc]
mov ecx, edi
mov dword [ebp - 0x1b4], edi
call fcn.004a6bfa
mov ecx, dword [ebx + 0x104]
xor esi, esi
push reloc.WS2_32.dll_htons
push esi
push 0x4a2b89
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, edi
mov dword [ebp - 0x1c0], esi
call fcn.004a6ded
test eax, eax
jle 0x49e3d2
xor ebx, ebx
inc ebx
push esi
mov ecx, edi
call fcn.004a693b
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1b8], esi
mov edx, dword [esi]
call dword [edx + 0x12c]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x1b0], edx
test al, al
jne 0x49e389
call dword [edx + 0x58]
jmp 0x49e393
lea eax, [ebp - 0x98]
push eax
call dword [edx + 0x50]
mov ecx, dword [ebp - 0x1b8]
mov esi, eax
mov eax, dword [ebp - 0x1b0]
push ebx
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 [eax + 0x5c]
mov esi, dword [ebp - 0x1c0]
mov edi, dword [ebp - 0x1b4]
inc esi
mov ecx, edi
mov dword [ebp - 0x1c0], esi
call fcn.004a6ded
cmp esi, eax
jl 0x49e35c
mov ebx, dword [ebp - 0x1cc]
cmp byte [ebx + 0x168], 0
mov byte [ebp - 0x1a9], 1
je 0x49e4c3
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.004a1b7d
cmp byte [ebx + 0x16d], 0
je 0x49e42a
cmp byte [ebx + 0x180], 0
je 0x49e42a
mov ecx, ebx
call fcn.0049dbb7
push 0
mov ecx, ebx
call fcn.004a251e
jmp 0x49dea6
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x664]
call fcn.004af32a
jmp 0x49e4c3
cmp byte [ebx + 0x16d], 0
je 0x49e53b
cmp byte [ebx + 0x180], 0
je 0x49e4c9
mov ecx, dword [ebx + 0xbc]
lea esi, [ebp - 0x80]
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 0x49e486
mov eax, dword [ebp - 0x1c4]
imul eax, dword [ebp - 0x1a0]
shl eax, 2
push eax
push 0
push ecx
call fcn.004efcf0
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 - 0x1a0]
cmp byte [ebx + 0x16d], 0
je 0x49e53b
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x49e4fb
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 - 0x78]
push 0x10
cmovg eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x74]
push 0
cmovg eax, dword [ebp - 0x74]
push esi
mov dword [ebp - 0x14], eax
call fcn.004efcf0
add esp, 0xc
xor esi, esi
cmp byte [ebx + 0x16b], 0
je 0x49e582
cmp dword [ebx + 0xb8], esi
jne 0x49e582
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 - 0x1c4]
push edi
push dword [ebx + 0xac]
call fcn.004b1a87
add esp, 0x10
mov dword [ebx + 0xb8], eax
push 0x40
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.004efcf0
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x16b], 0
je 0x49ed85
push dword [ebx + 0xb8]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
mov dword [ebp - 0x1a4], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0x16d], 0
mov dword [ebp - 0x1c8], eax
je 0x49e65e
mov edi, dword [ebp - 0x74]
mov edx, edi
sub edx, dword [ebp - 0x14]
mov ecx, edi
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1b8], edx
cmp edx, ecx
jge 0x49e65e
mov eax, edx
imul eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x18]
jge 0x49e63c
lea edi, [ecx + eax]
shl edi, 2
mov eax, dword [ebx + 0xbc]
inc ecx
mov dword [edi + eax], esi
lea edi, [edi + 4]
cmp ecx, dword [ebp - 0x18]
jl 0x49e61b
mov edi, dword [ebp - 0x74]
mov edx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
inc edx
mov dword [ebp - 0x1b0], eax
mov eax, edi
sub eax, dword [ebp - 0x1c]
cmp edx, eax
mov dword [ebp - 0x1b8], edx
mov eax, dword [ebp - 0x1b0]
jl 0x49e60d
mov ecx, dword [ebx + 0x104]
lea edx, [ebp - 0x20]
push esi
push edx
push dword [ebx + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x150]
cmp byte [ebx + 0x16d], 0
je 0x49e8bc
lea ecx, [ebx + 0x4cc]
xor esi, esi
call fcn.004a6ded
test eax, eax
jle 0x49e8bc
push esi
lea ecx, [ebx + 0x4cc]
call fcn.004a693b
mov edi, eax
push edi
mov dword [ebp - 0x1b4], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x49e6d5
push esi
lea ecx, [ebx + 0x4cc]
call fcn.004a708c
push esi
lea ecx, [ebx + 0x4d8]
call fcn.004a708c
jmp 0x49e8a9
inc esi
push edi
mov dword [ebp - 0x1d0], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x49e8a9
push edi
lea eax, [ebp - 0x198]
mov ecx, ebx
push eax
call fcn.0049d92c
xor eax, eax
lea edi, [ebp - 0x98]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x49e8a9
push dword [ebx + 0xb0]
and dword [ebp - 0x1b0], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x18c]
mov esi, eax
sub ecx, dword [ebp - 0x194]
lea eax, [ebp - 0x1b0]
push eax
push ecx
mov ecx, dword [ebp - 0x190]
sub ecx, dword [ebp - 0x198]
push ecx
push esi
mov dword [ebp - 0x1b8], esi
call fcn.004b1a87
mov edx, dword [ebp - 0x190]
mov edi, eax
mov ecx, dword [ebp - 0x18c]
sub edx, dword [ebp - 0x198]
sub ecx, dword [ebp - 0x194]
imul edx, ecx
mov dword [ebp - 0x19c], edi
shl edx, 2
push edx
push 0
push dword [ebp - 0x1b0]
call fcn.004efcf0
add esp, 0x1c
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push esi
push 0x317
push dword [ebp - 0x1b4]
mov dword [ebp - 0x1bc], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x18c]
xor edx, edx
mov eax, dword [ebp - 0x194]
mov ecx, edi
mov esi, dword [ebp - 0x198]
sub ecx, eax
test ecx, ecx
mov dword [ebp - 0x1c0], edx
mov ecx, dword [ebp - 0x190]
jle 0x49e85c
mov eax, ecx
mov ebx, edx
sub eax, esi
test eax, eax
jle 0x49e837
mov edi, dword [ebp - 0x1b0]
mov eax, ecx
sub eax, esi
imul eax, dword [ebp - 0x1c0]
add eax, ebx
mov edi, dword [edi + eax*4]
test edi, edi
je 0x49e828
mov ecx, dword [ebp - 0x1b0]
or edi, 0xff000000
mov dword [ecx + eax*4], edi
mov ecx, dword [ebp - 0x190]
mov esi, dword [ebp - 0x198]
mov eax, ecx
inc ebx
sub eax, esi
cmp ebx, eax
jl 0x49e7f3
mov edi, dword [ebp - 0x18c]
mov ebx, dword [ebp - 0x1c0]
mov eax, edi
sub eax, dword [ebp - 0x194]
inc ebx
mov dword [ebp - 0x1c0], ebx
cmp ebx, eax
jl 0x49e7e9
mov ebx, dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x194]
push 0xcc0020
push edx
push edx
push dword [ebp - 0x1b8]
sub edi, eax
sub ecx, esi
push edi
push ecx
push eax
push esi
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1bc]
mov esi, dword [ebp - 0x1b8]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x19c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [ebp - 0x1d0]
lea ecx, [ebx + 0x4cc]
call fcn.004a6ded
cmp esi, eax
jl 0x49e699
lea edi, [ebx + 0x4c0]
xor esi, esi
mov ecx, edi
call fcn.004a6ded
test eax, eax
jle 0x49e8f7
push esi
mov ecx, edi
call fcn.004a693b
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.004a6ded
cmp esi, eax
jl 0x49e8cf
push dword [ebp - 0x1c8]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x16d], 0
je 0x49ece2
xor eax, eax
lea edi, [ebp - 0x98]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebx + 0x194]
call fcn.004a6f9a
test al, al
jne 0x49ebb1
mov eax, dword [ebp - 0x78]
lea esi, [ebp - 0x80]
sub eax, dword [ebp - 0x80]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x194]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebx + 0x170]
add eax, dword [ebp - 0x80]
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.004a6f9a
test al, al
jne 0x49ec4f
xor eax, eax
cmp dword [ebx + 0xc0], eax
jne 0x49ea14
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x1b8]
lea esi, [ebx + 0xc4]
push esi
push edi
push dword [ebp - 0x1bc]
mov dword [ebx + 0xb4], eax
push dword [ebx + 0xac]
call fcn.004b1a87
imul edi, dword [ebp - 0x1bc]
mov dword [ebx + 0xc0], eax
shl edi, 2
push edi
push 0
push dword [esi]
call fcn.004efcf0
add esp, 0x1c
push dword [ebx + 0xc0]
push dword [ebx + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [ebp - 4], 0
jmp 0x49ea43
cmp byte [ebx + 0x180], al
je 0x49ea87
mov ecx, dword [ebp - 0x1b8]
imul ecx, dword [ebp - 0x1bc]
shl ecx, 2
push ecx
push eax
push dword [ebx + 0xc4]
call fcn.004efcf0
add esp, 0xc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x4c]
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.004b6e0b
push 0
lea eax, [ebx + 0x194]
push eax
lea eax, [ebp - 0x30]
push eax
push eax
push ebx
push dword [ebx + 0xb4]
call fcn.004b58ee
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
add esp, 0x30
call fcn.004b147e
mov edx, dword [ebp - 0x74]
mov ecx, edx
sub ecx, dword [ebp - 0x14]
mov eax, edx
mov edi, dword [ebp - 0x1c]
sub eax, edi
mov dword [ebp - 0x1b4], ecx
cmp ecx, eax
jge 0x49ec4f
mov eax, dword [ebp - 0x1bc]
mov esi, ecx
imul esi, eax
mov dword [ebp - 0x19c], 0xff
mov dword [ebp - 0x1b8], esi
mov ebx, dword [ebp - 0x20]
cmp ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1b0], ebx
mov ebx, dword [ebp - 0x1cc]
jge 0x49eb8b
mov edi, dword [ebp - 0x1b0]
mov eax, dword [ebx + 0xc4]
lea ecx, [esi + edi]
lea ebx, [esi + edi]
movzx edx, byte [eax + ecx*4 + 3]
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1c8], edx
mov edi, dword [eax + 0xbc]
mov ecx, dword [ebx + edi]
mov eax, ecx
shr eax, 0x10
movzx eax, al
imul eax, edx
xor edx, edx
shr ecx, 8
div dword [ebp - 0x19c]
xor edx, edx
movzx esi, al
movzx eax, cl
mov ecx, dword [ebp - 0x1c8]
imul eax, ecx
shl esi, 8
div dword [ebp - 0x19c]
xor edx, edx
movzx eax, al
or esi, eax
movzx eax, byte [ebx + edi]
imul eax, ecx
shl esi, 8
shl ecx, 0x18
div dword [ebp - 0x19c]
movzx eax, al
or esi, eax
add esi, ecx
mov dword [ebx + edi], esi
mov edi, dword [ebp - 0x1b0]
mov ebx, dword [ebp - 0x1cc]
inc edi
mov esi, dword [ebp - 0x1b8]
mov dword [ebp - 0x1b0], edi
cmp edi, dword [ebp - 0x18]
jl 0x49eadd
mov edx, dword [ebp - 0x74]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1bc]
add esi, eax
inc ecx
mov eax, edx
mov dword [ebp - 0x1b4], ecx
sub eax, edi
mov dword [ebp - 0x1b8], esi
cmp ecx, eax
mov eax, dword [ebp - 0x1bc]
jl 0x49eabf
jmp 0x49ec4f
mov edx, dword [ebp - 0x74]
mov ecx, edx
sub ecx, dword [ebp - 0x14]
mov eax, edx
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1b4], ecx
cmp ecx, eax
jge 0x49ec4f
mov eax, dword [ebp - 0x1a0]
mov edi, ecx
imul edi, eax
mov dword [ebp - 0x19c], 0xff
mov esi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x18]
jge 0x49ec37
mov ecx, dword [ebp - 0x18]
lea eax, [esi + edi]
shl eax, 2
mov edx, dword [ebx + 0xbc]
cmp byte [eax + edx + 3], 0
jne 0x49ec20
cmp byte [eax + edx], 0
jne 0x49ec13
cmp byte [eax + edx + 1], 0
jne 0x49ec13
cmp byte [eax + edx + 2], 0
je 0x49ec20
mov ecx, dword [ebp - 0x19c]
mov byte [eax + edx + 3], cl
mov ecx, dword [ebp - 0x18]
inc esi
add eax, 4
cmp esi, ecx
jl 0x49ebf2
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1a0]
add edi, eax
inc ecx
mov eax, edx
mov dword [ebp - 0x1b4], ecx
sub eax, dword [ebp - 0x1c]
cmp ecx, eax
mov eax, dword [ebp - 0x1a0]
jl 0x49ebe1
mov al, byte [ebx + 0x16c]
xor ecx, ecx
mov byte [ebp - 0x1be], al
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x1a0]
push 2
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1d8], eax
pop eax
push eax
lea eax, [ebp - 0x1c0]
mov word [ebp - 0x1c0], cx
push eax
push ecx
lea eax, [ebp - 0x1d4]
mov byte [ebp - 0x1bd], 1
push eax
push dword [ebx + 0xb0]
lea eax, [ebp - 0x1dc]
mov dword [ebp - 0x1d4], ecx
push eax
lea eax, [ebp - 0x190]
mov dword [ebp - 0x1d0], ecx
push eax
push dword [ebx + 0xac]
push dword [ebx + 0xa8]
call dword [0x558700]
jmp 0x49ed13
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 - 0x1a4]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
call edi
cmp byte [ebx + 0x101], 0
je 0x49edfe
cmp byte [ebx + 0x16d], 0
jne 0x49edfe
push dword [0x558704]
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 0x49edfe
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x104]
mov dword [ebp - 0x1a4], 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.004a6ded
test eax, eax
jle 0x49edec
push esi
mov ecx, edi
call fcn.004a693b
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.004a6ded
cmp esi, eax
jl 0x49edc4
push dword [ebp - 0x1a4]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x104]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
push 0
mov ecx, ebx
call fcn.004a251e
xor eax, eax
mov byte [ebx + 0x180], al
cmp byte [ebx + 0x169], al
je 0x49ee33
mov ecx, ebx
call fcn.0049dbb7
xor eax, eax
cmp byte [ebp - 0x1a9], 0
je 0x49dea6
push 1
push eax
push eax
push str.windowsize
push dword [ebx + 0x104]
mov ecx, ebx
call fcn.004a1b7d
jmp 0x49dea6
mov ecx, ebx
call fcn.0049dc1a
test al, al
je 0x4a0355
mov ecx, ebx
call fcn.004a128f
jmp 0x4a0355
mov ecx, dword [ebx + 0x108]
test ecx, ecx
je 0x4a0355
mov eax, dword [ebp - 0x1a0]
xorps xmm0, xmm0
and dword [ebp - 0xa8], 0
movlpd qword [ebp - 0xb0], xmm0
mov dword [ebp - 0xbc], 0x18
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xb8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
jmp 0x4a034c
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x49ef15
and dword [ebp - 0x34], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x50], 0x19
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x48], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov ecx, dword [ebx + 0x104]
test ecx, ecx
je 0x49dea6
call fcn.004a4a72
jmp 0x49dea6
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0xc4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 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 - 0xa0], 1
lea esi, [ebp - 0xb0]
lea edi, [ebp - 0x98]
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 0x49ef98
mov eax, dword [ebp - 0xac]
neg eax
push eax
mov eax, dword [ebp - 0xb0]
neg eax
push eax
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebx + 0x124]
mov eax, dword [ebp - 0x19c]
test ecx, ecx
jle 0x49efab
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x128]
test ecx, ecx
jle 0x49efb8
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x49efc5
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x49efd2
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x49efdf
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x4a0355
mov dword [eax + 0xc], ecx
jmp 0x4a0355
mov eax, esi
sub eax, 0x4e
je 0x49f337
sub eax, 0x2d
je 0x49f271
sub eax, 0x85
je 0x49f1f5
sub eax, 1
je 0x49f17e
sub eax, 1
je 0x49f11d
sub eax, 0xf
je 0x49f0e5
sub eax, edx
jne 0x4a0355
lea esi, [ebx + 0x490]
mov ecx, esi
call fcn.004a6ded
test eax, eax
jle 0x4a0355
push dword [ebp - 0x1b0]
mov ecx, esi
call fcn.004a693b
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [ebx + 0xa8]
jne 0x49f07a
mov eax, dword [ebp - 0x1a0]
movzx ecx, ax
cmp dword [esi + 0xc], ecx
jne 0x49f07a
cmp byte [esi + 0x10], 0
je 0x49f09f
inc dword [ebp - 0x1b0]
lea ecx, [ebx + 0x490]
call fcn.004a6ded
cmp dword [ebp - 0x1b0], eax
jge 0x4a0355
lea esi, [ebx + 0x490]
jmp 0x49f04c
xor eax, eax
mov dword [ebp - 0x50], 0x1b
mov word [ebp - 0x3c], ax
mov eax, dword [esi]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x120]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
call fcn.0049dd3f
mov ecx, dword [esi]
mov word [ebp - 0x3a], ax
mov eax, dword [esi + 4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
jmp 0x4a0349
mov ecx, dword [ebp - 0x19c]
test ecx, ecx
je 0x4a0355
push ecx
push dword [ebp - 0x1a0]
lea eax, [esi + 0x2000]
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1bc]
mov dword [ecx], eax
test eax, eax
jne 0x49dea6
jmp 0x4a0355
cmp dword [ebx + 0x104], 0
je 0x4a0355
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x4a0355
mov ecx, dword [ebx + 0x120]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x38], eax
mov word [ebp - 0x3c], ax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x50], 5
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
call fcn.0049dd3f
mov word [ebp - 0x3a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
jmp 0x4a0346
cmp dword [ebx + 0x104], 0
je 0x4a0355
mov eax, dword [ebx + 0x114]
test eax, eax
je 0x4a0355
mov ecx, dword [ebx + 0x120]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x38], eax
mov word [ebp - 0x3c], ax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x50], 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
call fcn.0049dd3f
mov word [ebp - 0x3a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x114]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x48], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
and dword [ebx + 0x114], 0
jmp 0x4a0355
cmp dword [ebx + 0x104], 0
je 0x4a0355
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x4a0355
mov ecx, dword [ebx + 0x120]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x38], eax
mov word [ebp - 0x3c], ax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x50], 3
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
call fcn.0049dd3f
mov word [ebp - 0x3a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x48], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov eax, dword [ebx + 0x108]
mov dword [ebx + 0x114], eax
jmp 0x4a0355
cmp dword [ebx + 0x104], 0
je 0x4a0355
mov ecx, dword [ebp - 0x19c]
movsx eax, cx
mov dword [ebp - 0x1a8], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a8]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x110], 0
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1a4]
mov dword [ebx + 0x11c], eax
mov dword [ebx + 0x120], ecx
je 0x4a0355
mov ecx, ebx
call fcn.004a128f
mov edx, dword [ebx + 0x110]
xor eax, eax
mov esi, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x1a4]
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x50], 0x14
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov word [ebp - 0x3a], si
mov dword [ebp - 0x34], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x48], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
and dword [ebx + 0x110], 0
jmp 0x4a0355
mov ecx, dword [ebp - 0x19c]
test ecx, ecx
je 0x4a0355
push ecx
push dword [ebp - 0x1a0]
lea eax, [esi + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x49de9e
mov eax, 0x207
cmp esi, eax
ja 0x49fca3
je 0x49fc2a
mov eax, esi
sub eax, 0x138
je 0x49f0e5
sub eax, 0xc8
je 0x49f723
sub eax, 1
je 0x49f5f1
sub eax, 1
je 0x49f56e
sub eax, 1
je 0x49f4bd
sub eax, 1
je 0x49f42f
sub eax, 1
jne 0x4a0355
mov eax, dword [ebp - 0x19c]
mov ecx, ebx
movsx esi, ax
shr eax, 0x10
cwde
push eax
push esi
mov dword [ebp - 0x1a4], eax
mov dword [ebx + 0x11c], esi
mov dword [ebx + 0x120], eax
call fcn.0049d117
mov dword [ebx + 0x110], eax
test eax, eax
je 0x4a0355
mov ecx, ebx
call fcn.004a128f
mov edi, dword [ebp - 0x19c]
xor eax, eax
mov ecx, dword [ebp - 0x1a4]
mov word [ebp - 0x3c], ax
mov eax, dword [ebx + 0x110]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x50], 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], ecx
mov word [ebp - 0x3a], ax
jmp 0x4a0337
cmp byte [ebx + 0x100], 0
jne 0x49f444
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x19c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1a4], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1c8], eax
mov dword [ebx + 0x120], eax
call fcn.0049d117
mov esi, eax
test esi, esi
je 0x4a0355
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4a0355
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x128]
mov ecx, ebx
call fcn.004a1c05
mov dword [ebp - 0x50], 0xf
mov ecx, dword [ebp - 0x1a4]
xor eax, eax
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x1c8]
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x40], ecx
jmp 0x49f533
cmp byte [ebx + 0x100], 0
jne 0x49f4d2
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x19c]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x1a4], eax
mov dword [ebx + 0x11c], edi
mov dword [ebx + 0x120], eax
call fcn.0049d117
mov esi, eax
test esi, esi
je 0x4a0355
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4a0355
mov ecx, ebx
call fcn.004a1c05
xor eax, eax
mov dword [ebp - 0x50], 0x13
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1a0]
mov edi, dword [ebp - 0x19c]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
mov word [ebp - 0x3a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x50]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x140]
mov dword [ebx + 0x110], esi
jmp 0x4a0355
mov eax, dword [ebp - 0x19c]
movsx esi, ax
shr eax, 0x10
cmp dword [ebx + 0x110], 0
cwde
mov dword [ebp - 0x1a4], eax
mov dword [ebx + 0x11c], esi
mov dword [ebx + 0x120], eax
je 0x4a0355
mov ecx, ebx
call fcn.004a128f
mov ecx, dword [ebp - 0x1a4]
xor eax, eax
mov edi, dword [ebp - 0x19c]
mov word [ebp - 0x3c], ax
mov eax, dword [ebx + 0x110]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x50], 0xe
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], ecx
mov word [ebp - 0x3a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
and dword [ebx + 0x110], 0
jmp 0x4a0346
cmp byte [ebx + 0x100], 0
jne 0x49f606
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x104], 0
je 0x4a0355
mov eax, dword [ebp - 0x19c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1c8], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1d0], eax
mov dword [ebx + 0x120], eax
call fcn.0049d117
mov esi, eax
mov dword [ebp - 0x1a4], esi
test esi, esi
je 0x4a0355
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4a0355
cmp byte [ebx + 0x734], 0
je 0x49f6be
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x49f6be
mov eax, dword [ebx + 0x738]
mov byte [ebx + 0x735], 1
test eax, eax
je 0x49f693
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 esi, esi
push esi
sub esp, 0x10
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1a4]
push esi
push ebx
call fcn.004b6ae1
add esp, 0x1c
mov dword [ebx + 0x738], eax
mov ecx, ebx
call fcn.004a1c05
mov dword [ebx + 0x110], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x128]
mov ecx, dword [ebp - 0x1c8]
xor eax, eax
mov edi, dword [ebp - 0x19c]
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x50], 0xd
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], ecx
mov word [ebp - 0x3a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x48], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, esi
jmp 0x4a034f
cmp byte [ebx + 0x47c], 0
push 3
pop ecx
jne 0x49f777
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 0x49f754
mov eax, dword [ebx + 0xfc]
jmp 0x49f763
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 - 0x19c]
movsx ecx, ax
shr eax, 0x10
movsx edi, ax
mov al, 1
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x1a4], edi
mov dword [ebp - 0x1b4], eax
cmp dword [ebx + 0x11c], ecx
jne 0x49f7b6
xor edx, edx
movzx eax, al
cmp dword [ebx + 0x120], edi
cmove eax, edx
mov dword [ebp - 0x1b4], eax
push edi
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x120], edi
call fcn.0049d117
mov esi, eax
test esi, esi
je 0x49f7e0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4a0355
cmp byte [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x1a0]
je 0x49fa76
cmp byte [ebx + 0x735], 0
je 0x49fa76
cmp eax, 1
jne 0x49fa76
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.004ec0d6
mov esi, eax
mov dword [ebp - 0x1b8], esi
pop ecx
test esi, esi
je 0x4a0355
xor eax, eax
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov dword [esi + 4], eax
mov byte [esi + 8], al
test esi, esi
je 0x4a0355
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 0x24
call fcn.004ec0d6
pop ecx
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x49f86e
push esi
mov ecx, eax
call fcn.004afe24
mov edi, eax
mov dword [ebp - 0x1c4], eax
jmp 0x49f876
xor edi, edi
mov dword [ebp - 0x1c4], edi
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4a0355
mov eax, dword [edi]
push edi
call dword [eax + 4]
or dword [ebp - 0x90], 0xffffffff
xor ecx, ecx
push 2
mov word [ebp - 0x96], cx
xor eax, eax
pop ecx
push 0x10
pop edx
push eax
push ecx
push dword [ebx + 0x738]
mov dword [ebp - 0x9a], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x94], 1
mov word [ebp - 0x9c], cx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x1c], edx
call dword [sym.imp.ole32.dll_OleDuplicateData]
mov esi, eax
lea eax, [ebp - 0x1c]
push 0
push eax
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x9c]
mov ecx, dword [edi]
push eax
push edi
mov dword [ebp - 0x1d0], esi
call dword [ecx + 0x1c]
lea eax, [ebp - 0x88]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x84]
xor ecx, ecx
push 0xe
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x1a4], 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 - 0x9c], ax
mov dword [ebp - 0x8c], 0x40
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
mov ebx, eax
mov eax, dword [ebp - 0x1cc]
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 - 0x1b4], eax
call edi
push 0xcc0020
mov esi, eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x1b4]
push dword [ebp - 0x1a4]
push dword [ebp - 0x1c8]
push eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x1b4]
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 - 0x1c4]
lea ecx, [ebp - 0x1c]
push 1
push ecx
mov dword [ebp - 0x1c], 0x40
lea ecx, [ebp - 0x9c]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1dc]
call fcn.0049bbda
mov eax, dword [ebp - 0x84]
cdq
sub eax, edx
mov dword [ebp - 4], 4
sar eax, 1
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x80]
cdq
sub eax, edx
sar eax, 1
push 5
mov dword [ebp - 0x18c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x190]
push eax
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x1dc]
call fcn.0049daf9
mov esi, dword [ebp - 0x1b8]
lea eax, [ebp - 0x1b0]
push eax
push 3
push esi
push edi
call dword [sym.imp.ole32.dll_DoDragDrop]
cmp dword [ebp - 0x1b0], 0
je 0x49fa49
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x49fa53
push 0xc
push esi
call fcn.004ec0a0
pop ecx
pop ecx
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x1dc]
mov byte [eax + 0x735], 0
call fcn.0049c120
jmp 0x4a0355
xor ecx, ecx
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x19c]
mov word [ebp - 0x3c], cx
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x48], eax
call fcn.0049dd3f
mov ecx, ebx
mov word [ebp - 0x3a], ax
call fcn.0049dc1a
test al, al
jne 0x49fbfa
push dword [ebp - 0x1a4]
mov ecx, ebx
push dword [ebp - 0x1c4]
call fcn.0049d117
mov esi, eax
mov dword [ebp - 0x1a4], esi
test esi, esi
je 0x49fae3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x4a0355
mov eax, dword [ebx + 0x10c]
cmp esi, eax
je 0x49fbd0
test eax, eax
je 0x49fbd0
lea esi, [ebx + 0x514]
mov dword [ebp - 0x50], 0xa
mov ecx, esi
mov dword [ebp - 0x4c], eax
call fcn.004a6ded
push eax
lea ecx, [ebp - 0x1c]
call fcn.004a6760
mov ecx, esi
mov dword [ebp - 4], 5
call fcn.004a6ded
push eax
lea ecx, [ebp - 0x1c]
call fcn.004a729a
mov ecx, esi
call fcn.004a6ded
shl eax, 2
mov ecx, esi
push eax
call fcn.004a6953
push eax
lea ecx, [ebp - 0x1c]
call fcn.004a6953
push eax
call fcn.004efe50
add esp, 0xc
lea ecx, [ebp - 0x1c]
xor esi, esi
call fcn.004a6ded
test eax, eax
jle 0x49fb86
push esi
lea ecx, [ebp - 0x1c]
call fcn.004a693b
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x140]
lea ecx, [ebp - 0x1c]
inc esi
call fcn.004a6ded
cmp esi, eax
jl 0x49fb62
mov ecx, dword [ebx + 0x10c]
lea edx, [ebp - 0x50]
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 0x49fbbe
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.004a67e3
mov esi, dword [ebp - 0x1a4]
cmp esi, dword [ebx + 0x10c]
je 0x49fbfa
test esi, esi
je 0x49fbfa
mov dword [ebp - 0x50], 0xb
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x4c], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x140]
mov dword [ebx + 0x10c], esi
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x49fc13
mov dword [ebp - 0x50], 9
mov dword [ebp - 0x4c], ecx
jmp 0x4a0349
test esi, esi
je 0x4a0355
mov dword [ebp - 0x50], 9
mov dword [ebp - 0x4c], esi
jmp 0x49f716
cmp byte [ebx + 0x100], 0
jne 0x49fc3f
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x19c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1a4], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1c8], eax
mov dword [ebx + 0x120], eax
call fcn.0049d117
mov esi, eax
test esi, esi
je 0x4a0355
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4a0355
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x128]
mov ecx, ebx
call fcn.004a1c05
mov dword [ebp - 0x50], 0x11
jmp 0x49f4a3
sub esi, 0x208
je 0x4a02d3
sub esi, edx
je 0x4a01cd
sub esi, 0x97
je 0x49fffb
sub esi, edx
je 0x49fedc
sub esi, 0x75
je 0x49fde0
sub esi, 0x7ce9
jne 0x4a0355
lea esi, [ebx + 0x4e4]
xor edi, edi
mov ecx, esi
call fcn.004a6ded
test eax, eax
jle 0x49fd13
push edi
mov ecx, esi
call fcn.004a693b
test eax, eax
je 0x49fd07
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, esi
inc edi
call fcn.004a6ded
cmp edi, eax
jl 0x49fcf3
mov ecx, esi
call fcn.004a6bfa
xor eax, eax
lea edi, [ebx + 0x4f0]
push eax
mov ecx, edi
mov byte [ebx + 0x480], al
mov dword [ebp - 0x1a4], edi
call fcn.004a6d74
mov esi, eax
test esi, esi
je 0x4a0355
lea eax, [ebx + 0x484]
xor ebx, ebx
mov dword [ebp - 0x1c4], eax
push ebx
mov ecx, edi
call fcn.004a708c
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x49fd7b
add ecx, 0x38
call fcn.004afb23
test al, al
je 0x49fd7b
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004afb37
mov ecx, dword [ebp - 0x1c4]
mov edi, ebx
call fcn.004a6ded
test eax, eax
jle 0x49fdaf
mov ecx, dword [ebp - 0x1c4]
push edi
call fcn.004a693b
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1c4]
inc edi
call fcn.004a6ded
cmp edi, eax
jl 0x49fd8c
mov ecx, esi
call fcn.0049c4d4
push 0x120
push esi
call fcn.004ec0a0
mov edi, dword [ebp - 0x1a4]
pop ecx
pop ecx
push ebx
mov ecx, edi
call fcn.004a6d74
mov esi, eax
test esi, esi
jne 0x49fd4e
jmp 0x4a0355
cmp dword [ebx + 0x104], 0
je 0x4a0355
lea eax, [ebp - 0x98]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x1a0]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x104]
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov edx, dword [ecx]
push esi
call dword [edx + 0x150]
test byte [ebp - 0x19c], 0x10
je 0x49feca
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
je 0x49feca
push 2
pop eax
or dword [ebp - 0x19c], eax
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push ecx
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 - 0x19c]
mov edi, dword [ebp - 0x1b4]
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 ecx, eax
mov dword [ebp - 0x1b4], eax
test ecx, ecx
jne 0x49fe5b
push dword [ebp - 0x1a4]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x4a0355
mov ecx, dword [ebx + 0xc8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x49fefd
lea eax, [ebx + 0xcc]
push eax
push 0
push 0x411
push ecx
call esi
cmp byte [ebx + 0x47c], 0
je 0x49ffef
xor eax, eax
lea edi, [ebp - 0x98]
stosd dword es:[edi], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x1a8], xmm0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1a8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x98]
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 0x49ffde
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x49ffde
push dword [ebp - 0x1a4]
lea eax, [ebp - 0x98]
push dword [ebp - 0x1a8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x49ffde
movzx ecx, word [ebp - 0x1a4]
movzx eax, word [ebp - 0x1a8]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [ebx + 0xa8]
call esi
mov ecx, dword [ebx + 0xa8]
cmp eax, 1
jne 0x49ffd2
lea eax, [ebp - 0x1a8]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x1a4]
movzx eax, word [ebp - 0x1a8]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x49ffe0
push 0xffffffffffffffff
push 0
push 0x200
push ecx
jmp 0x49ffed
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x47c], 0
jmp 0x4a0355
mov eax, dword [ebp - 0x19c]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov byte [ebx + 0x47c], 0
mov dword [ebp - 0x1a4], eax
call fcn.0049d117
mov esi, eax
mov dword [ebp - 0x1c8], esi
test esi, esi
je 0x4a0355
mov eax, dword [ebx + 0x10c]
test eax, eax
je 0x4a008a
mov dword [ebp - 0x4c], eax
xor ecx, ecx
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x19c]
mov word [ebp - 0x3c], cx
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], eax
call fcn.0049dd3f
mov ecx, dword [ebx + 0x10c]
lea edx, [ebp - 0x50]
mov word [ebp - 0x3a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov eax, dword [esi]
lea ecx, [ebp - 0x188]
push ecx
mov ecx, esi
call dword [eax + 0xc8]
push 2
pop eax
lea ecx, [ebp - 0x188]
mov dword [ebp - 4], eax
call fcn.004a6f9a
test al, al
jne 0x4a01bd
push 0x30
lea edi, [ebx + 0xcc]
push 0
push edi
call fcn.004efcf0
mov eax, dword [ebx + 0xa8]
lea ecx, [ebp - 0x188]
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 [0x5586f0]
mov dword [ebx + 0xec], eax
call fcn.004a6953
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 0x4a0188
push eax
push dword [0x5586f0]
mov ecx, connect
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
push 0
push 0x432
push eax
call edi
mov ecx, dword [ebp - 0x1c8]
mov eax, dword [ecx]
call dword [eax + 0xd4]
push eax
push 0
push 0x418
push dword [ebx + 0xc8]
call edi
jmp 0x4a018e
lea esi, [ebx + 0xcc]
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4a01bd
push esi
push eax
push 0x436
push dword [ebx + 0xc8]
call edi
push esi
push 1
push 0x411
push dword [ebx + 0xc8]
call edi
lea ecx, [ebp - 0x188]
call fcn.004a67d3
jmp 0x49dea6
cmp dword [ebx + 0x104], 0
je 0x4a0355
mov ecx, dword [ebp - 0x19c]
movsx eax, cx
mov dword [ebp - 0x1a8], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a8]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1a8]
push eax
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x120], eax
call fcn.0049d117
mov esi, eax
test esi, esi
je 0x4a0355
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4a0355
mov eax, dword [ebp - 0x1a0]
xor ecx, ecx
shr eax, 0x10
mov word [ebp - 0x3c], cx
movzx ecx, ax
movzx eax, ax
shl eax, 0x10
shr ecx, 0xf
or ecx, eax
mov dword [ebp - 0x50], 0x15
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
call fcn.0049dd3f
mov word [ebp - 0x3a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x50]
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 0x4a0355
mov eax, dword [ebp - 0x19c]
mov ecx, ebx
movsx esi, ax
shr eax, 0x10
movsx edi, ax
push edi
push esi
mov dword [ebx + 0x11c], esi
mov dword [ebx + 0x120], edi
call fcn.0049d117
mov dword [ebx + 0x110], eax
test eax, eax
je 0x4a0355
mov ecx, ebx
call fcn.004a128f
mov ecx, dword [ebp - 0x1a0]
xor eax, eax
mov word [ebp - 0x3c], ax
mov eax, dword [ebx + 0x110]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x50], 0x12
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], edi
mov word [ebp - 0x3a], cx
mov dword [ebp - 0x44], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x50]
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
xor al, al
call fcn.004eceef
ret 0x10