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

Disassembly:
push 0x1cc
mov eax, 0x5af935
call fcn.004a42a6
mov ebx, ecx
mov dword [ebp - 0x1bc], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1a4], eax
xor eax, eax
mov dword [ebp - 0x1b4], eax
cmp dword [ebx + 0xa8], eax
je 0x4a9a25
lea ecx, [ebx + 0x4c0]
mov dword [ebp - 0x1b0], eax
call fcn.004b1215
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x18c]
test eax, eax
jle 0x4a742f
mov ecx, dword [ebp - 0x1b0]
push ecx
lea ecx, [ebx + 0x4c0]
mov byte [ebp - 0x199], 0
call fcn.004b02a6
lea ecx, [ebp - 0x199]
push ecx
push edi
push dword [ebp - 0x190]
mov edx, dword [eax]
mov ecx, eax
push esi
call dword [edx]
cmp byte [ebp - 0x199], 0
jne 0x4a7484
inc dword [ebp - 0x1b0]
lea ecx, [ebx + 0x4c0]
call fcn.004b1215
mov ecx, dword [ebp - 0x1b0]
cmp ecx, eax
jl 0x4a73e3
cmp byte [ebx + 0x171], 0
push 2
pop ecx
je 0x4a7516
mov eax, esi
sub eax, 0x83
je 0x4a750b
sub eax, ecx
je 0x4a750b
sub eax, 1
jne 0x4a7516
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4a85bf
cmp dword [ebp - 0x190], eax
sete al
mov ecx, dword [ebp - 0x1a4]
mov dword [ecx], eax
jmp 0x4a74ef
mov ecx, dword [ebp - 0x1a4]
mov dword [ecx], eax
cmp esi, 0x7b
je 0x4a74a9
cmp esi, 0x1ff
jbe 0x4a74ef
cmp esi, 0x203
jbe 0x4a74f6
cmp esi, 0x20a
jne 0x4a74ef
mov ecx, dword [ebp - 0x18c]
movsx eax, cx
mov dword [ebp - 0x198], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x198]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x198]
mov dword [ebx + 0x120], eax
mov eax, dword [ebp - 0x194]
mov dword [ebx + 0x124], eax
mov al, 1
jmp 0x4a9a27
mov eax, dword [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x120], ecx
jmp 0x4a74e9
mov ecx, dword [ebp - 0x1a4]
and dword [ecx], 0
jmp 0x4a74ef
mov eax, 0x133
cmp esi, eax
ja 0x4a8950
je 0x4a92b7
cmp esi, 0x24
ja 0x4a85c2
je 0x4a84f7
sub esi, 5
je 0x4a849e
sub esi, ecx
je 0x4a843e
sub esi, 1
je 0x4a8423
sub esi, 7
je 0x4a7742
sub esi, 1
je 0x4a7657
sub esi, 4
je 0x4a7647
sub esi, 0xc
jne 0x4a9a25
cmp dword [ebx + 0x104], esi
je 0x4a9a25
xor eax, eax
inc eax
cmp di, ax
jne 0x4a9a25
cmp byte [ebx + 0x489], 0
jne 0x4a9a27
lea eax, [ebp - 0x198]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x198], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x198]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x194]
mov ecx, ebx
push dword [ebp - 0x198]
call fcn.004a65bc
mov esi, eax
test esi, esi
je 0x4a9a25
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test al, 2
je 0x4a9a25
xor eax, eax
mov dword [ebp - 0x40], 0x1a
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
call fcn.004a732d
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x140]
jmp 0x4a74ef
mov ecx, dword [ebp - 0x1a4]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x4a9a27
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x124]
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x30], eax
call fcn.004a732d
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [ebx + 0x10c]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x4a76ae
mov dword [ebp - 0x40], 0xa
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x4a76ce
mov dword [ebp - 0x40], 0xe
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
mov ecx, dword [ebx + 0x114]
test ecx, ecx
je 0x4a76f4
mov eax, dword [ebx + 0x110]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
push 0
mov ecx, ebx
call fcn.004ab4ef
mov esi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x4a7721
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4a7721
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x4a9a25
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0xc8], 0
jmp 0x4a9a25
xor eax, eax
cmp dword [ebx + 0x104], eax
jne 0x4a779b
push 0x40
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00577360
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
xor eax, eax
push eax
push eax
push 0xff000000
lea eax, [ebp - 0x58]
push eax
push dword [ebx + 0xac]
call fcn.004b1e84
add esp, 0x14
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x4a74ef
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
lea edi, [ebp - 0x70]
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 - 0x70]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4a74ef
cmp byte [ebx + 0x16e], 0
je 0x4a77e9
push 1
mov ecx, ebx
call fcn.004ab87b
push 1
mov ecx, ebx
call fcn.004ab9d0
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 - 0x199], 0
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x1ac], eax
call fcn.004ab9d0
cmp byte [ebx + 0x16d], 0
je 0x4a7a38
lea eax, [ebp - 0x80]
mov byte [ebx + 0x16d], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4a7ac1
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4a7ac1
mov ecx, dword [ebx + 0x104]
call fcn.004ae379
test al, al
je 0x4a7919
mov eax, dword [ebx + 0xb0]
lea esi, [ebp - 0x80]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test eax, eax
je 0x4a7882
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x4a7893
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x4a78a4
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x4a78b5
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 + 0x171], al
je 0x4a78fb
mov eax, dword [ebx + 0x174]
add dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x178]
add dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x180]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0x104]
lea esi, [ebp - 0x20]
push 1
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x5c]
jmp 0x4a79c3
lea edi, [ebx + 0x508]
mov ecx, edi
mov dword [ebp - 0x1a0], edi
call fcn.004b04f7
mov ecx, dword [ebx + 0x104]
xor esi, esi
push reloc.OLEAUT32.dll_VariantCopy
push esi
push 0x4ac16a
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, edi
mov dword [ebp - 0x1b4], esi
call fcn.004b1215
test eax, eax
jle 0x4a79c3
push esi
mov ecx, edi
call fcn.004b02a6
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1a8], esi
mov edx, dword [esi]
call dword [edx + 0x12c]
mov ebx, dword [esi]
mov ecx, esi
test al, al
jne 0x4a797f
call dword [ebx + 0x58]
jmp 0x4a7989
lea eax, [ebp - 0x98]
push eax
call dword [ebx + 0x50]
mov ecx, dword [ebp - 0x1a8]
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 - 0x1b4]
mov edi, dword [ebp - 0x1a0]
inc esi
mov ecx, edi
mov dword [ebp - 0x1b4], esi
call fcn.004b1215
cmp esi, eax
jl 0x4a7958
mov ebx, dword [ebp - 0x1bc]
cmp byte [ebx + 0x16c], 0
mov byte [ebp - 0x199], 1
je 0x4a7abb
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x104]
mov byte [ebx + 0x16c], al
call fcn.004ab14a
cmp byte [ebx + 0x171], 0
je 0x4a7a1b
cmp byte [ebx + 0x184], 0
je 0x4a7a1b
mov ecx, ebx
call fcn.004a7190
push 0
mov ecx, ebx
call fcn.004ab9d0
jmp 0x4a74ef
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x674]
call fcn.004d3d30
mov byte [ebp - 0x199], 1
jmp 0x4a7abb
cmp byte [ebx + 0x171], 0
je 0x4a7b33
cmp byte [ebx + 0x184], 0
je 0x4a7ac1
mov ecx, dword [ebx + 0xbc]
lea esi, [ebp - 0x80]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test ecx, ecx
je 0x4a7a7e
mov eax, dword [ebp - 0x1ac]
imul eax, dword [ebp - 0x190]
shl eax, 2
push eax
push 0
push ecx
call fcn.00577360
add esp, 0xc
mov eax, dword [ebx + 0x174]
lea esi, [ebp - 0x20]
add dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x178]
add dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x180]
sub dword [ebp - 0x14], 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 - 0x190]
cmp byte [ebx + 0x171], 0
je 0x4a7b33
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x4a7af3
push ecx
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea esi, [ebx + 0x188]
mov byte [ebx + 0x16f], 1
push esi
lea eax, [ebp - 0x70]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x78]
push 0x10
cmovg eax, dword [ebp - 0x78]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x74]
push 0
cmovg eax, dword [ebp - 0x74]
push esi
mov dword [ebp - 0x64], eax
call fcn.00577360
add esp, 0xc
xor esi, esi
cmp byte [ebx + 0x16f], 0
je 0x4a7b7a
cmp dword [ebx + 0xb8], esi
jne 0x4a7b7a
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 - 0x1ac]
push edi
push dword [ebx + 0xac]
call fcn.004b1e16
add esp, 0x10
mov dword [ebx + 0xb8], eax
push 0x40
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.00577360
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x16f], 0
je 0x4a834d
push dword [ebx + 0xb8]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
mov dword [ebp - 0x194], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0x171], 0
mov dword [ebp - 0x1c0], eax
je 0x4a7c56
mov edi, dword [ebp - 0x74]
mov edx, edi
sub edx, dword [ebp - 0x64]
mov ecx, edi
sub ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x1a8], edx
cmp edx, ecx
jge 0x4a7c56
mov eax, edx
imul eax, dword [ebp - 0x190]
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp - 0x68]
jge 0x4a7c34
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 - 0x68]
jl 0x4a7c13
mov edi, dword [ebp - 0x74]
mov edx, dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x1b4]
add eax, dword [ebp - 0x190]
inc edx
mov dword [ebp - 0x1b4], eax
mov eax, edi
sub eax, dword [ebp - 0x6c]
cmp edx, eax
mov dword [ebp - 0x1a8], edx
mov eax, dword [ebp - 0x1b4]
jl 0x4a7c05
mov ecx, dword [ebx + 0x104]
lea edx, [ebp - 0x70]
push esi
push edx
push dword [ebx + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x150]
cmp byte [ebx + 0x171], 0
je 0x4a7e8c
lea ecx, [ebx + 0x4d8]
xor esi, esi
call fcn.004b1215
test eax, eax
jle 0x4a7e8c
push esi
lea ecx, [ebx + 0x4d8]
call fcn.004b02a6
mov edi, eax
push edi
mov dword [ebp - 0x1a0], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4a7ccd
push esi
lea ecx, [ebx + 0x4d8]
call fcn.004b0982
push esi
lea ecx, [ebx + 0x4e4]
call fcn.004b0982
jmp 0x4a7e79
inc esi
push edi
mov dword [ebp - 0x1d4], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a7e79
push edi
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.004a6ed6
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 - 0x20]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4a7e79
push dword [ebx + 0xb0]
and dword [ebp - 0x1b4], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x14]
mov edi, eax
sub ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1b4]
push eax
push ecx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
push ecx
push edi
mov dword [ebp - 0x1a8], edi
call fcn.004b1e16
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x1c]
imul edx, ecx
mov dword [ebp - 0x18c], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1b4]
call fcn.00577360
add esp, 0x1c
push dword [ebp - 0x18c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push edi
push 0x317
push dword [ebp - 0x1a0]
mov dword [ebp - 0x1cc], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
xor edx, edx
mov edi, dword [ebp - 0x20]
mov ecx, eax
sub ecx, dword [ebp - 0x1c]
test ecx, ecx
mov dword [ebp - 0x1b0], edx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1a4], eax
jle 0x4a7e2f
mov ebx, eax
mov eax, ecx
mov esi, edx
sub eax, edi
test eax, eax
jle 0x4a7e01
imul eax, dword [ebp - 0x1b0]
mov ebx, dword [ebp - 0x1b4]
add eax, esi
mov ebx, dword [ebx + eax*4]
test ebx, ebx
je 0x4a7df5
mov ecx, dword [ebp - 0x1b4]
or ebx, 0xff000000
mov dword [ecx + eax*4], ebx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
mov eax, ecx
inc esi
sub eax, edi
cmp esi, eax
jl 0x4a7dca
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1b0]
mov eax, ebx
sub eax, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x1b0], esi
cmp esi, eax
jl 0x4a7dc0
mov esi, dword [ebp - 0x1d4]
mov dword [ebp - 0x1a4], ebx
mov ebx, dword [ebp - 0x1bc]
mov eax, dword [ebp - 0x1a4]
push 0xcc0020
push edx
push edx
push dword [ebp - 0x1a8]
mov edx, dword [ebp - 0x1c]
sub ecx, edi
sub eax, edx
push eax
push ecx
push edx
push edi
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1cc]
mov edi, dword [ebp - 0x1a8]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x18c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [ebx + 0x4d8]
call fcn.004b1215
cmp esi, eax
jl 0x4a7c91
lea edi, [ebx + 0x4cc]
xor esi, esi
mov ecx, edi
call fcn.004b1215
test eax, eax
jle 0x4a7ec7
push esi
mov ecx, edi
call fcn.004b02a6
lea ecx, [ebp - 0x70]
push ecx
push dword [ebx + 0xb0]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x174]
mov ecx, edi
inc esi
call fcn.004b1215
cmp esi, eax
jl 0x4a7e9f
push dword [ebp - 0x1c0]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x171], 0
je 0x4a82aa
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 + 0x198]
call fcn.004b0892
test al, al
jne 0x4a8179
mov eax, dword [ebp - 0x78]
lea esi, [ebp - 0x80]
sub eax, dword [ebp - 0x80]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x198]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebx + 0x174]
add eax, dword [ebp - 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x178]
add dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x180]
sub dword [ebp - 0x14], eax
call fcn.004b0892
test al, al
jne 0x4a8217
xor eax, eax
cmp dword [ebx + 0xc0], eax
jne 0x4a7fe4
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x1a8]
lea esi, [ebx + 0xc4]
push esi
push edi
push dword [ebp - 0x1a4]
mov dword [ebx + 0xb4], eax
push dword [ebx + 0xac]
call fcn.004b1e16
imul edi, dword [ebp - 0x1a4]
mov dword [ebx + 0xc0], eax
shl edi, 2
push edi
push 0
push dword [esi]
call fcn.00577360
add esp, 0x1c
push dword [ebx + 0xc0]
push dword [ebx + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [ebp - 4], 0
jmp 0x4a8013
cmp byte [ebx + 0x184], al
je 0x4a8057
mov ecx, dword [ebp - 0x1a8]
imul ecx, dword [ebp - 0x1a4]
shl ecx, 2
push ecx
push eax
push dword [ebx + 0xc4]
call fcn.00577360
add esp, 0xc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x3c]
push eax
sub esp, 0x10
lea esi, [ebp - 0x20]
mov edi, esp
push dword [ebx + 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.004b7750
push 0
lea eax, [ebx + 0x198]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push ebx
push dword [ebx + 0xb4]
call fcn.004b5f10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
add esp, 0x30
call fcn.004b1916
mov esi, dword [ebp - 0x74]
mov ecx, esi
sub ecx, dword [ebp - 0x64]
mov eax, esi
mov edi, dword [ebp - 0x6c]
sub eax, edi
mov dword [ebp - 0x1a0], ecx
cmp ecx, eax
jge 0x4a8217
mov eax, dword [ebp - 0x1a4]
mov edx, ecx
imul edx, eax
mov dword [ebp - 0x18c], 0xff
mov dword [ebp - 0x1a8], edx
mov ebx, dword [ebp - 0x70]
cmp ebx, dword [ebp - 0x68]
mov dword [ebp - 0x1b0], ebx
mov ebx, dword [ebp - 0x1bc]
jge 0x4a8153
mov ecx, dword [ebp - 0x1b0]
mov eax, dword [ebx + 0xc4]
add ecx, edx
movzx ebx, byte [eax + ecx*4 + 3]
mov eax, dword [ebp - 0x1bc]
mov edi, dword [eax + 0xbc]
mov eax, dword [ebp - 0x1b0]
add edi, edx
xor edx, edx
mov ecx, dword [edi + eax]
mov eax, ecx
shr eax, 0x10
movzx eax, al
imul eax, ebx
shr ecx, 8
div dword [ebp - 0x18c]
xor edx, edx
movzx esi, al
movzx eax, cl
imul eax, ebx
mov ecx, dword [ebp - 0x1b0]
shl esi, 8
div dword [ebp - 0x18c]
xor edx, edx
movzx eax, al
or esi, eax
movzx eax, byte [edi + ecx]
imul eax, ebx
shl esi, 8
shl ebx, 0x18
div dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1a8]
movzx eax, al
or esi, eax
add esi, ebx
mov ebx, dword [ebp - 0x1bc]
mov dword [edi + ecx], esi
inc ecx
mov dword [ebp - 0x1b0], ecx
cmp ecx, dword [ebp - 0x68]
jl 0x4a80ad
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x1a4]
add edx, eax
inc ecx
mov eax, esi
mov dword [ebp - 0x1a0], ecx
sub eax, edi
mov dword [ebp - 0x1a8], edx
cmp ecx, eax
mov eax, dword [ebp - 0x1a4]
jl 0x4a808f
jmp 0x4a8217
mov edx, dword [ebp - 0x74]
mov ecx, edx
sub ecx, dword [ebp - 0x64]
mov eax, edx
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1a0], ecx
cmp ecx, eax
jge 0x4a8217
mov eax, dword [ebp - 0x190]
mov edi, ecx
imul edi, eax
mov dword [ebp - 0x18c], 0xff
mov esi, dword [ebp - 0x70]
cmp esi, dword [ebp - 0x68]
jge 0x4a81ff
mov ecx, dword [ebp - 0x68]
lea eax, [edi + esi]
shl eax, 2
mov edx, dword [ebx + 0xbc]
cmp byte [edx + eax + 3], 0
jne 0x4a81e8
cmp byte [edx + eax], 0
jne 0x4a81db
cmp byte [edx + eax + 1], 0
jne 0x4a81db
cmp byte [edx + eax + 2], 0
je 0x4a81e8
mov ecx, dword [ebp - 0x18c]
mov byte [edx + eax + 3], cl
mov ecx, dword [ebp - 0x68]
inc esi
add eax, 4
cmp esi, ecx
jl 0x4a81ba
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x190]
add edi, eax
inc ecx
mov eax, edx
mov dword [ebp - 0x1a0], ecx
sub eax, dword [ebp - 0x6c]
cmp ecx, eax
mov eax, dword [ebp - 0x190]
jl 0x4a81a9
mov al, byte [ebx + 0x170]
xor ecx, ecx
mov byte [ebp - 0x1b2], al
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x190]
push 2
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1cc], eax
pop eax
push eax
lea eax, [ebp - 0x1b4]
mov word [ebp - 0x1b4], cx
push eax
push ecx
lea eax, [ebp - 0x1c4]
mov byte [ebp - 0x1b1], 1
push eax
push dword [ebx + 0xb0]
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x1c4], ecx
push eax
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x1c0], ecx
push eax
push dword [ebx + 0xac]
push dword [ebx + 0xa8]
call dword [0x640ef4]
jmp 0x4a82db
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
push 0xcc0020
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0xb0]
push eax
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x70]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x194]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
call edi
cmp byte [ebx + 0x101], 0
je 0x4a83c6
cmp byte [ebx + 0x171], 0
jne 0x4a83c6
push dword [0x640ef8]
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 - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebx + 0xac]
call edi
jmp 0x4a83c6
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x104]
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x70]
push 0
push eax
mov edx, dword [ecx]
push dword [ebx + 0xac]
call dword [edx + 0x150]
lea edi, [ebx + 0x4cc]
xor esi, esi
mov ecx, edi
call fcn.004b1215
test eax, eax
jle 0x4a83b4
push esi
mov ecx, edi
call fcn.004b02a6
lea ecx, [ebp - 0x70]
push ecx
push dword [ebx + 0xac]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x174]
mov ecx, edi
inc esi
call fcn.004b1215
cmp esi, eax
jl 0x4a838c
push dword [ebp - 0x194]
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.004ab9d0
xor eax, eax
mov byte [ebx + 0x184], al
cmp byte [ebx + 0x16d], al
je 0x4a83fb
mov ecx, ebx
call fcn.004a7190
xor eax, eax
cmp byte [ebp - 0x199], 0
je 0x4a74ef
push 1
push eax
push eax
push str.windowsize
push dword [ebx + 0x104]
mov ecx, ebx
call fcn.004ab14a
jmp 0x4a74ef
mov ecx, ebx
call fcn.004a71f3
test al, al
je 0x4a9a25
mov ecx, ebx
call fcn.004aa95d
jmp 0x4a9a25
mov ecx, dword [ebx + 0x108]
test ecx, ecx
je 0x4a9a25
mov eax, dword [ebp - 0x190]
xorps xmm0, xmm0
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], 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 0x4a9a1c
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x4a84df
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0x19
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov ecx, dword [ebx + 0x104]
test ecx, ecx
je 0x4a74ef
call fcn.004ae3f2
jmp 0x4a74ef
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 0x4a8562
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 + 0x128]
mov eax, dword [ebp - 0x18c]
test ecx, ecx
jle 0x4a8575
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x4a8582
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x4a858f
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x134]
test ecx, ecx
jle 0x4a859c
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x4a85a9
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x134]
test ecx, ecx
jle 0x4a9a25
mov dword [eax + 0xc], ecx
jmp 0x4a9a25
push 2
pop ecx
sub esi, 0x4e
je 0x4a8929
sub esi, 0x2d
je 0x4a885f
sub esi, 0x85
je 0x4a87db
sub esi, 1
je 0x4a875c
sub esi, 1
je 0x4a86f3
sub esi, 0xf
je 0x4a86bd
sub esi, ecx
jne 0x4a9a25
lea esi, [ebx + 0x49c]
mov ecx, esi
call fcn.004b1215
test eax, eax
jle 0x4a9a25
push dword [ebp - 0x1b4]
mov ecx, esi
call fcn.004b02a6
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [ebx + 0xa8]
jne 0x4a8646
mov eax, dword [ebp - 0x190]
movzx ecx, ax
cmp dword [esi + 0xc], ecx
jne 0x4a8646
cmp byte [esi + 0x10], 0
je 0x4a866b
inc dword [ebp - 0x1b4]
lea ecx, [ebx + 0x49c]
call fcn.004b1215
cmp dword [ebp - 0x1b4], eax
jge 0x4a9a25
lea esi, [ebx + 0x49c]
jmp 0x4a8618
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x40], 0x1b
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x124]
mov dword [ebp - 0x30], eax
call fcn.004a732d
mov ecx, dword [esi]
mov word [ebp - 0x2a], ax
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
jmp 0x4a9a19
mov eax, dword [ebp - 0x18c]
test eax, eax
je 0x4a9a25
push eax
push dword [ebp - 0x190]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1a4]
mov dword [ecx], eax
test eax, eax
je 0x4a9a25
jmp 0x4a74ef
xor eax, eax
cmp dword [ebx + 0x104], eax
je 0x4a9a25
mov ecx, dword [ebx + 0x108]
test ecx, ecx
je 0x4a9a25
mov dword [ebp - 0x38], eax
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x124]
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
call fcn.004a732d
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [ebx + 0x108]
jmp 0x4a9a16
xor eax, eax
cmp dword [ebx + 0x104], eax
je 0x4a9a25
mov ecx, dword [ebx + 0x118]
test ecx, ecx
je 0x4a9a25
mov dword [ebp - 0x38], eax
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x124]
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
call fcn.004a732d
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [ebx + 0x118]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
and dword [ebx + 0x118], 0
jmp 0x4a9a25
xor eax, eax
cmp dword [ebx + 0x104], eax
je 0x4a9a25
mov ecx, dword [ebx + 0x108]
test ecx, ecx
je 0x4a9a25
mov dword [ebp - 0x38], eax
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x124]
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
call fcn.004a732d
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov eax, dword [ebx + 0x108]
mov dword [ebx + 0x118], eax
jmp 0x4a9a25
cmp dword [ebx + 0x104], 0
je 0x4a9a25
mov ecx, dword [ebp - 0x18c]
movsx eax, cx
mov dword [ebp - 0x198], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x198]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x114], 0
mov eax, dword [ebp - 0x198]
mov dword [ebx + 0x120], eax
mov eax, dword [ebp - 0x194]
mov dword [ebx + 0x124], eax
je 0x4a9a25
mov ecx, ebx
call fcn.004aa95d
mov ecx, dword [ebx + 0x114]
xor eax, eax
mov edx, dword [ebp - 0x190]
and dword [ebp - 0x38], 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x40], 0x14
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2a], dx
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [ebx + 0x114]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
and dword [ebx + 0x114], 0
jmp 0x4a9a25
mov eax, dword [ebp - 0x18c]
test eax, eax
je 0x4a9a25
push eax
push dword [ebp - 0x190]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4a747a
mov eax, 0x207
cmp esi, eax
ja 0x4a936e
je 0x4a92d9
mov eax, esi
sub eax, 0x138
je 0x4a92b7
sub eax, 0xc8
je 0x4a8d6a
sub eax, 1
je 0x4a8c34
sub eax, 1
je 0x4a8bad
sub eax, 1
je 0x4a8aff
sub eax, 1
je 0x4a8a34
sub eax, 1
jne 0x4a9a25
cmp byte [ebx + 0x489], al
je 0x4a89b7
mov ecx, ebx
call fcn.004aa95d
mov eax, dword [ebp - 0x18c]
mov ecx, ebx
movsx esi, ax
shr eax, 0x10
cwde
push eax
push esi
mov dword [ebp - 0x194], eax
mov dword [ebx + 0x120], esi
mov dword [ebx + 0x124], eax
call fcn.004a65bc
mov dword [ebx + 0x114], eax
test eax, eax
je 0x4a9a25
mov edi, dword [ebp - 0x18c]
xor ecx, ecx
and dword [ebp - 0x38], 0
mov word [ebp - 0x2c], cx
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [ebx + 0x114]
jmp 0x4a9a16
cmp byte [ebx + 0x100], 0
jne 0x4a8a49
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x194], ecx
mov dword [ebx + 0x120], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1c0], eax
mov dword [ebx + 0x124], eax
call fcn.004a65bc
mov esi, eax
test esi, esi
je 0x4a9a25
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4a9a25
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x128]
mov ecx, ebx
call fcn.004ab1d2
mov ecx, dword [ebp - 0x194]
xor eax, eax
mov edi, dword [ebp - 0x18c]
and dword [ebp - 0x38], 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x140]
mov dword [ebx + 0x114], esi
jmp 0x4a9a25
cmp byte [ebx + 0x100], 0
jne 0x4a8b14
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x18c]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x194], eax
mov dword [ebx + 0x120], edi
mov dword [ebx + 0x124], eax
call fcn.004a65bc
mov esi, eax
test esi, esi
je 0x4a9a25
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4a9a25
and dword [ebp - 0x38], 0
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x40], 0x13
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x190]
mov edi, dword [ebp - 0x18c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x140]
mov dword [ebx + 0x110], esi
jmp 0x4a9a25
mov eax, dword [ebp - 0x18c]
movsx esi, ax
shr eax, 0x10
cmp dword [ebx + 0x110], 0
cwde
mov dword [ebp - 0x194], eax
mov dword [ebx + 0x120], esi
mov dword [ebx + 0x124], eax
je 0x4a9a25
mov ecx, ebx
call fcn.004aa95d
mov ecx, dword [ebp - 0x194]
xor eax, eax
mov edi, dword [ebp - 0x18c]
and dword [ebp - 0x38], 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0x110]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x40], 0xe
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [ebx + 0x110]
and dword [ebx + 0x110], 0
jmp 0x4a9a16
cmp byte [ebx + 0x100], 0
jne 0x4a8c49
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x104], 0
je 0x4a9a25
mov eax, dword [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1c0], ecx
mov dword [ebx + 0x120], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1cc], eax
mov dword [ebx + 0x124], eax
call fcn.004a65bc
mov esi, eax
mov dword [ebp - 0x194], esi
test esi, esi
je 0x4a9a25
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4a9a25
cmp byte [ebx + 0x744], 0
je 0x4a8d01
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x4a8d01
mov eax, dword [ebx + 0x748]
mov byte [ebx + 0x745], 1
test eax, eax
je 0x4a8cd6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [ebx + 0x748], 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 - 0x194]
push esi
push ebx
call fcn.004b7422
add esp, 0x1c
mov dword [ebx + 0x748], eax
mov ecx, ebx
call fcn.004ab1d2
mov dword [ebx + 0x110], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x128]
mov ecx, dword [ebp - 0x1c0]
xor eax, eax
mov edi, dword [ebp - 0x18c]
and dword [ebp - 0x38], 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x40], 0xd
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
jmp 0x4a9a1f
cmp byte [ebx + 0x488], 0
push 3
pop ecx
jne 0x4a8dbe
mov eax, dword [ebx + 0xa8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xc8]
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], ecx
test eax, eax
jne 0x4a8d9b
mov eax, dword [ebx + 0xfc]
jmp 0x4a8daa
push 0
push ecx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0x488], 1
mov eax, dword [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
movsx edi, ax
mov al, 1
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x1a0], eax
cmp dword [ebx + 0x120], ecx
jne 0x4a8dfd
xor edx, edx
movzx eax, al
cmp dword [ebx + 0x124], edi
cmove eax, edx
mov dword [ebp - 0x1a0], eax
push edi
mov dword [ebx + 0x120], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x124], edi
call fcn.004a65bc
mov esi, eax
test esi, esi
je 0x4a8e27
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4a9a25
cmp byte [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x190]
je 0x4a90ee
cmp byte [ebx + 0x745], 0
je 0x4a90ee
cmp eax, 1
jne 0x4a90ee
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebx + 0x74c]
test ecx, ecx
je 0x4a8e7a
mov eax, dword [ecx]
push dword [ebx + 0x110]
call dword [eax]
test al, al
je 0x4a8e7a
mov byte [ebx + 0x745], 0
jmp 0x4a9a25
push 0xc
call fcn.004a3a00
mov esi, eax
mov dword [ebp - 0x1a8], eax
pop ecx
test esi, esi
je 0x4a8e9e
xor eax, eax
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov dword [esi + 4], eax
mov byte [esi + 8], al
jmp 0x4a8ea6
xor esi, esi
mov dword [ebp - 0x1a8], esi
test esi, esi
je 0x4a9a25
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 0x24
call fcn.004a3a00
pop ecx
mov dword [ebp - 0x194], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4a8edf
push esi
mov ecx, eax
call fcn.004d46d7
mov ecx, eax
mov dword [ebp - 0x1ac], eax
jmp 0x4a8ee7
xor ecx, ecx
mov dword [ebp - 0x1ac], ecx
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4a9a25
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
or dword [ebp - 0x90], 0xffffffff
lea edi, [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 0x94], 1
mov word [ebp - 0x96], ax
xor ecx, ecx
stosd dword es:[edi], eax
push 2
mov dword [ebp - 0x9a], ecx
mov dword [ebp - 0x8c], 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
push ecx
push eax
push dword [ebx + 0x748]
mov word [ebp - 0x9c], ax
call dword [sym.imp.ole32.dll_OleDuplicateData]
mov esi, eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x1ac]
push 0
push edx
mov dword [ebp - 0x68], esi
lea edx, [ebp - 0x9c]
mov ecx, dword [eax]
push edx
push eax
mov dword [ebp - 0x1cc], 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 - 0x1c0], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x14], eax
pop eax
push ecx
push ecx
push ecx
push dword [ebx + 0xac]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 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 - 0x1bc]
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 - 0x1a0], eax
call edi
push 0xcc0020
mov esi, eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x1a0]
push dword [ebp - 0x194]
push dword [ebp - 0x1c0]
push eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x1a0]
push esi
call edi
push ebx
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
push esi
mov dword [ebp - 0x68], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebx, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x6c]
push 1
push ecx
mov dword [ebp - 0x6c], 0x40
lea ecx, [ebp - 0x9c]
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1b8]
call fcn.004a4ef8
mov eax, dword [ebp - 0x84]
cdq
sub eax, edx
mov dword [ebp - 4], 4
sar eax, 1
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x80]
cdq
sub eax, edx
sar eax, 1
push 5
mov dword [ebp - 0x194], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x198]
push eax
push dword [ebp - 0x1cc]
lea ecx, [ebp - 0x1b8]
call fcn.004a70d2
mov esi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1d4]
push eax
push 3
push esi
push ebx
call dword [sym.imp.ole32.dll_DoDragDrop]
cmp dword [ebp - 0x1d4], 0
je 0x4a90c1
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x4a90cb
push 0xc
push esi
call fcn.004a3d82
pop ecx
pop ecx
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1b8]
mov byte [eax + 0x745], 0
call fcn.004a54e5
jmp 0x4a9a25
xor ecx, ecx
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x18c]
mov word [ebp - 0x2c], cx
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x38], eax
call fcn.004a732d
mov ecx, ebx
mov word [ebp - 0x2a], ax
call fcn.004a71f3
test al, al
jne 0x4a9287
push dword [ebp - 0x194]
mov ecx, ebx
push dword [ebp - 0x1ac]
call fcn.004a65bc
mov esi, eax
mov dword [ebp - 0x194], esi
test esi, esi
je 0x4a915b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x4a9a25
mov eax, dword [ebx + 0x10c]
cmp esi, eax
je 0x4a925d
test eax, eax
je 0x4a925d
lea esi, [ebx + 0x520]
mov dword [ebp - 0x40], 0xa
mov ecx, esi
mov dword [ebp - 0x3c], eax
call fcn.004b1215
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004b0134
mov ecx, esi
mov dword [ebp - 4], 5
call fcn.004b1215
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004b0b98
mov ecx, esi
call fcn.004b1215
shl eax, 2
mov ecx, esi
push eax
call fcn.004b06da
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004b06da
push eax
call fcn.00576de0
add esp, 0xc
lea ecx, [ebp - 0x1c8]
xor esi, esi
call fcn.004b1215
test eax, eax
jle 0x4a9210
push esi
lea ecx, [ebp - 0x1c8]
call fcn.004b02a6
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x140]
lea ecx, [ebp - 0x1c8]
inc esi
call fcn.004b1215
cmp esi, eax
jl 0x4a91e6
mov ecx, dword [ebx + 0x10c]
lea edx, [ebp - 0x40]
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 0x4a9248
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 - 0x1c8]
call fcn.004b01b7
mov esi, dword [ebp - 0x194]
cmp esi, dword [ebx + 0x10c]
je 0x4a9287
test esi, esi
je 0x4a9287
mov dword [ebp - 0x40], 0xb
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x140]
mov dword [ebx + 0x10c], esi
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x4a92a0
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], ecx
jmp 0x4a9a19
test esi, esi
je 0x4a9a25
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], esi
jmp 0x4a8d5d
mov ecx, dword [ebp - 0x18c]
test ecx, ecx
je 0x4a9a25
push ecx
push dword [ebp - 0x190]
lea eax, [esi + 0x2000]
push eax
push ecx
jmp 0x4a86d8
cmp byte [ebx + 0x100], 0
jne 0x4a92ee
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x194], ecx
mov dword [ebx + 0x120], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1c0], eax
mov dword [ebx + 0x124], eax
call fcn.004a65bc
mov esi, eax
test esi, esi
je 0x4a9a25
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4a9a25
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x128]
mov ecx, ebx
call fcn.004ab1d2
mov ecx, dword [ebp - 0x194]
and dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1c0]
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x40], 0x11
mov dword [ebp - 0x30], ecx
jmp 0x4a8b72
sub esi, 0x208
je 0x4a999c
sub esi, ecx
je 0x4a9894
sub esi, 0x97
je 0x4a96b3
sub esi, ecx
je 0x4a95a5
sub esi, 0x75
je 0x4a94a9
sub esi, 0x7ce9
jne 0x4a9a25
lea edi, [ebx + 0x4f0]
mov ecx, edi
call fcn.004b1215
test eax, eax
jle 0x4a93dc
push esi
mov ecx, edi
call fcn.004b02a6
test eax, eax
je 0x4a93d0
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, edi
inc esi
call fcn.004b1215
cmp esi, eax
jl 0x4a93bc
mov ecx, edi
call fcn.004b04f7
xor eax, eax
lea edi, [ebx + 0x4fc]
push eax
mov ecx, edi
mov byte [ebx + 0x48c], al
mov dword [ebp - 0x194], edi
call fcn.004b0671
mov esi, eax
test esi, esi
je 0x4a9a25
lea eax, [ebx + 0x490]
xor ebx, ebx
mov dword [ebp - 0x1ac], eax
push ebx
mov ecx, edi
call fcn.004b0982
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4a9444
add ecx, 0x38
call fcn.004d4505
test al, al
je 0x4a9444
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004d4510
mov ecx, dword [ebp - 0x1ac]
mov edi, ebx
call fcn.004b1215
test eax, eax
jle 0x4a9478
mov ecx, dword [ebp - 0x1ac]
push edi
call fcn.004b02a6
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1ac]
inc edi
call fcn.004b1215
cmp edi, eax
jl 0x4a9455
mov ecx, esi
call fcn.00412b80
push 0x120
push esi
call fcn.004a3d82
mov edi, dword [ebp - 0x194]
pop ecx
pop ecx
push ebx
mov ecx, edi
call fcn.004b0671
mov esi, eax
test esi, esi
jne 0x4a9417
jmp 0x4a9a25
cmp dword [ebx + 0x104], 0
je 0x4a9a25
lea eax, [ebp - 0x98]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x190]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x104]
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov edx, dword [ecx]
push esi
call dword [edx + 0x150]
test byte [ebp - 0x18c], 0x10
je 0x4a9593
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x1a0], ecx
test ecx, ecx
je 0x4a9593
push 2
pop eax
or dword [ebp - 0x18c], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
pop eax
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0xa8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x20]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x18c]
mov edi, dword [ebp - 0x1a0]
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 - 0x1a0], eax
test ecx, ecx
jne 0x4a9524
push dword [ebp - 0x194]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x4a9a25
mov ecx, dword [ebx + 0xc8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4a95c6
lea eax, [ebx + 0xcc]
push eax
push 0
push 0x411
push ecx
call esi
cmp byte [ebx + 0x488], 0
je 0x4a96a7
xor eax, eax
lea edi, [ebp - 0x98]
stosd dword es:[edi], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x198], xmm0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x198]
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 0x4a9696
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x4a9696
push dword [ebp - 0x194]
lea eax, [ebp - 0x98]
push dword [ebp - 0x198]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4a9696
movzx ecx, word [ebp - 0x194]
movzx eax, word [ebp - 0x198]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [ebx + 0xa8]
call esi
cmp eax, 1
jne 0x4a9696
lea eax, [ebp - 0x198]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x194]
movzx eax, word [ebp - 0x198]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x4a9698
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x488], 0
jmp 0x4a9a25
mov eax, dword [ebp - 0x18c]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov byte [ebx + 0x488], 0
mov dword [ebp - 0x194], eax
call fcn.004a65bc
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je 0x4a9a25
mov eax, dword [ebx + 0x10c]
test eax, eax
je 0x4a9749
mov dword [ebp - 0x3c], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18c]
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x40], 0xc
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], eax
call fcn.004a732d
mov ecx, dword [ebx + 0x10c]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], 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.004b0892
test al, al
je 0x4a977f
lea ecx, [ebp - 0x188]
call fcn.004b01a7
jmp 0x4a74ef
push 0x30
lea edi, [ebx + 0xcc]
push 0
push edi
call fcn.00577360
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 [0x640ee0]
mov dword [ebx + 0xec], eax
call fcn.004b06da
mov dword [ebx + 0xf0], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x58]
mov esi, eax
lea edi, [ebx + 0xdc]
mov eax, dword [ebx + 0xc8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x4a985b
xor eax, eax
mov ecx, Ordinal_1
push eax
push dword [0x640ee0]
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 - 0x1c0]
mov eax, dword [ecx]
call dword [eax + 0xd4]
push eax
push 0
push 0x418
push dword [ebx + 0xc8]
call edi
mov eax, dword [ebx + 0xc8]
jmp 0x4a9861
lea esi, [ebx + 0xcc]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4a976f
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 0x4a976f
cmp dword [ebx + 0x104], 0
je 0x4a9a25
mov ecx, dword [ebp - 0x18c]
movsx eax, cx
mov dword [ebp - 0x198], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x198]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x198]
push eax
mov dword [ebx + 0x120], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x124], eax
call fcn.004a65bc
mov esi, eax
test esi, esi
je 0x4a9a25
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4a9a25
mov edx, dword [ebp - 0x190]
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], eax
shr edx, 0x10
movzx ecx, dx
movzx eax, dx
shl eax, 0x10
shr ecx, 0xf
or ecx, eax
mov dword [ebp - 0x40], 0x15
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], eax
call fcn.004a732d
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x140]
movzx ecx, word [ebx + 0x124]
movzx eax, word [ebx + 0x120]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4a9a25
cmp byte [ebx + 0x489], 0
je 0x4a99ac
mov ecx, ebx
call fcn.004aa95d
mov eax, dword [ebp - 0x18c]
mov ecx, ebx
movsx esi, ax
shr eax, 0x10
movsx edi, ax
push edi
push esi
mov dword [ebx + 0x120], esi
mov dword [ebx + 0x124], edi
call fcn.004a65bc
mov dword [ebx + 0x110], eax
test eax, eax
je 0x4a9a25
and dword [ebp - 0x38], 0
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x40], 0x12
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
mov word [ebp - 0x2a], cx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [ebx + 0x110]
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x40]
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
xor al, al
call fcn.004a4261
ret 0x10