Function at 0x51c9d6
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 0xb8], eax
cmp dword [ecx], 0
je 0x51ddd5
lea esi, [ecx + 0x18c]
mov dword [esp + 0xc], ecx
lea edi, [ecx + 0x138]
mov ecx, esi
push 0
call fcn.005208c0
test eax, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
je 0x51cac9
mov ebx, eax
mov ecx, esi
push 0
call fcn.005209ee
mov ecx, dword [ebx + 0x108]
test ecx, ecx
je 0x51ca55
add ecx, 0x34
call fcn.00601a6a
test al, al
je 0x51ca55
mov ecx, dword [ebx + 0x108]
add ecx, 0x34
push ebx
call fcn.00601ad8
mov ecx, edi
call fcn.004aef30
test eax, eax
mov esi, ebx
jle 0x51ca97
xor ebx, ebx
mov dword [esp + 0x10], esi
mov ecx, edi
push ebx
call fcn.00520a5a
mov esi, eax
mov eax, dword [eax]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
mov esi, dword [esp + 0x10]
push esi
call edi
mov edi, dword [esp + 0x18]
inc ebx
mov ecx, edi
call fcn.004aef30
cmp ebx, eax
jl 0x51ca68
lea ecx, [esi + 0x84]
call fcn.00520b96
mov ecx, esi
call fcn.00520b96
push esi
call fcn.006c90e6
add esp, 4
mov esi, dword [esp + 0x1c]
mov ecx, esi
push 0
call fcn.005208c0
mov ebx, eax
test eax, eax
jne 0x51ca27
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0xc]
lea edi, [eax + 0x168]
mov ecx, edi
call fcn.004aef30
test eax, eax
jle 0x51cb2c
xor ebx, ebx
mov byte [esp + 0x30], 0
mov ecx, edi
push ebx
call fcn.00520a5a
mov esi, eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
call dword [section..00cfg]
mov ecx, esi
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x30]
push eax
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call dword [esp + 0x20]
cmp byte [esp + 0x30], 0
jne 0x51da78
inc ebx
mov ecx, edi
call fcn.004aef30
cmp ebx, eax
jl 0x51cae3
mov ebx, dword [ebp + 8]
cmp ebx, 0x132
jg 0x51cb91
cmp ebx, 0x23
mov ecx, dword [ebp + 0x10]
jle 0x51cbfd
cmp ebx, 0x100
jg 0x51ccac
cmp ebx, 0x7a
mov edi, dword [esp + 0xc]
jg 0x51ce19
cmp ebx, 0x24
je 0x51d3bb
cmp ebx, 0x4e
jne case.0x51cbaf.517
mov bl, 1
test ecx, ecx
je 0x51ddd7
push ecx
push esi
push 0x204e
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x51ddd7
cmp ebx, 0x23f
mov edx, dword [ebp + 0x10]
jg 0x51cc35
lea eax, [ebx - 0x200]
cmp eax, 0xa
ja case.default.0x51cbaf
jmp dword [eax*4 + 0x746868]
mov esi, dword [esp + 0xc]
cmp byte [esi + 0xca], 0
jne 0x51dbac
mov dword [esp + 0x30], 0x10
mov dword [esp + 0x34], 3
mov eax, dword [esi]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x51db8f
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x51db94
cmp ebx, 0xf
jle 0x51cd23
mov edi, esi
cmp ebx, 0x1f
mov esi, dword [esp + 0xc]
jg 0x51ce9e
cmp ebx, 0x10
je 0x51d3f8
cmp ebx, 0x14
jne case.0x51cbaf.517
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
jmp 0x51da7d
cmp ebx, 0x2df
mov ecx, dword [esp + 0xc]
jg 0x51cd72
cmp ebx, 0x240
je 0x51d4cc
cmp ebx, 0x2a1
je 0x51d4d8
cmp ebx, 0x2a3
jne case.0x51cbaf.517
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x51cc86
lea ecx, [esi + 0x24]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esi + 0xca], 0
je 0x51cca0
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esi + 0xca], 0
jmp case.0x51cbaf.517
cmp ebx, 0x110
mov eax, dword [esp + 0xc]
jg 0x51cecf
cmp ebx, 0x101
je 0x51d6cc
cmp ebx, 0x102
jne case.0x51cbaf.517
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x5c], 0
je case.0x51cbaf.517
xorps xmm0, xmm0
lea ebx, [esp + 0x30]
movups xmmword [ebx + 0x10], xmm0
movups xmmword [ebx + 4], xmm0
mov dword [ebx], 5
mov word [ebx + 0x14], si
mov esi, dword [esp + 0xc]
movq xmm0, qword [esi + 0x78]
movq qword [ebx + 0xc], xmm0
call fcn.0051b165
mov word [ebx + 0x16], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 8], eax
mov esi, dword [esi + 0x5c]
jmp 0x51dae0
cmp ebx, 2
mov esi, dword [esp + 0xc]
je 0x51d739
cmp ebx, 5
je 0x51d748
cmp ebx, 0xf
jne case.0x51cbaf.517
mov eax, dword [esp + 0xc]
cmp dword [eax + 0xd0], 1
je case.0x51cbaf.517
mov ebx, dword [esp + 0xc]
cmp byte [ebx + 0xd5], 0
je 0x51dafa
mov ecx, ebx
push 0
call fcn.0051b48e
jmp 0x51da7d
cmp ebx, 0x2e0
je 0x51d7bb
cmp ebx, 0x318
je 0x51d7ca
cmp ebx, 0x8001
jne case.0x51cbaf.517
mov esi, dword [esp + 0xc]
add esi, 0x180
mov ecx, esi
call fcn.004aef30
test eax, eax
jle 0x51cde2
xor edi, edi
mov dword [esp + 0xc], esi
mov ecx, esi
push edi
call fcn.00520a5a
test eax, eax
je 0x51cdd2
mov ebx, eax
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push 1
call esi
inc edi
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.004aef30
cmp edi, eax
jl 0x51cdb1
mov ecx, esi
call fcn.005208ee
jmp case.0x51cbaf.517
cmp ebx, 0x133
je 0x51ce02
cmp ebx, 0x138
jne case.0x51cbaf.517
test edx, edx
je case.0x51cbaf.517
add ebx, 0x2000
push edx
push esi
push ebx
push edx
jmp 0x51da72
cmp ebx, 0x7b
je 0x51d8b8
cmp ebx, 0x100
jne case.0x51cbaf.517
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x5c], 0
je case.0x51cbaf.517
xorps xmm0, xmm0
lea eax, [esp + 0x30]
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax + 4], xmm0
mov dword [eax], 3
mov word [eax + 0x14], si
mov ebx, dword [esp + 0xc]
movq xmm0, qword [ebx + 0x78]
movq qword [eax + 0xc], xmm0
mov esi, eax
call fcn.0051b165
mov word [esi + 0x16], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 8], eax
mov esi, dword [ebx + 0x5c]
mov eax, dword [esi]
mov edi, dword [eax + 0x194]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea eax, [esp + 0x30]
push eax
call edi
mov eax, dword [ebx + 0x5c]
mov dword [ebx + 0x6c], eax
jmp case.0x51cbaf.517
cmp ebx, 0x20
je 0x51d95d
cmp ebx, 0x21
jne case.0x51cbaf.517
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xe4], 0
jne 0x51ddd5
mov eax, dword [ebp + 0x14]
mov dword [eax], 3
jmp 0x51da7d
cmp ebx, 0x111
je 0x51da62
cmp ebx, 0x113
jne case.0x51cbaf.517
mov eax, dword [esp + 0xc]
lea ebx, [eax + 0x150]
mov ecx, ebx
call fcn.004aef30
test eax, eax
jle case.0x51cbaf.517
movzx eax, si
mov dword [esp + 0x10], eax
xor edi, edi
mov esi, ebx
mov ecx, ebx
push edi
call fcn.00520a5a
mov ebx, eax
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx]
jne 0x51cf33
mov eax, dword [esp + 0x10]
cmp dword [ebx + 0xc], eax
jne 0x51cf33
cmp byte [ebx + 0x10], 0
je 0x51ddf1
inc edi
mov ebx, esi
mov ecx, esi
call fcn.004aef30
cmp edi, eax
jl 0x51cf09
jmp case.0x51cbaf.517
mov esi, dword [esp + 0xc]
cmp byte [esi + 0xe4], 0
je 0x51cf5e
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp + 0x10]
mov byte [esi + 0xd4], 0
movsx eax, dx
sar edx, 0x10
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edx
lea ebx, [esp + 0x30]
mov dword [esp + 0x10], eax
mov dword [ebx], eax
mov dword [esp + 0x14], edx
mov dword [ebx + 4], edx
mov esi, dword [esi + 0x58]
mov eax, dword [esi]
mov edi, dword [eax + 0x180]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 0xd
push ebx
push 0x51f930
call edi
test eax, eax
je case.0x51cbaf.517
mov edi, eax
mov eax, dword [eax]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
cmp eax, dword [esp + 0xc]
jne case.0x51cbaf.517
mov esi, dword [esp + 0xc]
mov dword [esi + 0x68], edi
mov eax, dword [edi]
mov ebx, dword [eax + 0x144]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
push dword [esi]
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [esi + 0xcb], 1
mov dword [esp + 0x44], 0
mov dword [esp + 0x30], 0xe
mov dword [esp + 0x34], edi
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x48], ecx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov word [esp + 0x46], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x194]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
lea eax, [esp + 0x30]
push eax
jmp 0x51dd16
movsx edi, dx
mov ebx, edx
sar ebx, 0x10
mov eax, dword [esp + 0xc]
mov dword [eax + 0x78], edi
mov dword [eax + 0x7c], ebx
cmp dword [eax + 0x68], 0
je case.0x51cbaf.517
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, dword [esp + 0xc]
mov byte [edx + 0xcb], 0
xor eax, eax
mov ecx, esi
lea esi, [esp + 0x30]
mov dword [esi + 0x14], eax
mov dword [esi], 0xf
mov eax, dword [edx + 0x68]
mov dword [esi + 4], eax
mov dword [esi + 0x18], ecx
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ebx
mov word [esi + 0x16], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 0x68]
mov eax, dword [ebx]
mov edi, dword [eax + 0x194]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
push esi
jmp 0x51d94d
mov esi, dword [esp + 0xc]
cmp byte [esi + 0xe4], 0
je 0x51d0e4
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp + 0x10]
movsx eax, dx
sar edx, 0x10
mov dword [esp + 0x10], edx
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edx
lea ebx, [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov esi, dword [esi + 0x58]
mov eax, dword [esi]
mov edi, dword [eax + 0x180]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 0xd
push ebx
push 0x51f930
call edi
test eax, eax
je case.0x51cbaf.517
mov ebx, eax
mov eax, dword [eax]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
mov ecx, dword [esp + 0x10]
cmp eax, dword [esp + 0xc]
jne case.0x51cbaf.517
mov edi, dword [esp + 0xc]
push dword [edi]
mov esi, ecx
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [edi + 0xcb], 1
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], 0x12
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
mov eax, dword [ebp + 0xc]
mov word [esp + 0x46], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x38], eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x194]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
lea eax, [esp + 0x30]
push eax
call esi
mov dword [edi + 0x68], ebx
jmp case.0x51cbaf.517
mov esi, dword [esp + 0xc]
cmp byte [esi + 0xe4], 0
je 0x51d1cf
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp + 0x10]
mov byte [esi + 0xd4], 0
movsx eax, dx
sar edx, 0x10
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edx
lea ebx, [esp + 0x30]
mov dword [esp + 0x10], eax
mov dword [ebx], eax
mov dword [esp + 0x14], edx
mov dword [ebx + 4], edx
mov esi, dword [esi + 0x58]
mov eax, dword [esi]
mov edi, dword [eax + 0x180]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 0xd
push ebx
push 0x51f930
call edi
test eax, eax
je case.0x51cbaf.517
mov edi, eax
mov eax, dword [eax]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
cmp eax, dword [esp + 0xc]
jne case.0x51cbaf.517
mov eax, dword [edi]
mov esi, dword [eax + 0x144]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
mov ebx, dword [esp + 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [ebx + 0xcb], 1
mov dword [esp + 0x44], 0
mov dword [esp + 0x30], 0x11
mov dword [esp + 0x34], edi
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x48], ecx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov word [esp + 0x46], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x194]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
lea eax, [esp + 0x30]
push eax
call esi
mov dword [ebx + 0x68], edi
jmp case.0x51cbaf.517
movsx eax, dx
lea esi, [esp + 0x20]
mov dword [esi], eax
mov eax, edx
sar eax, 0x10
mov dword [esi + 4], eax
push esi
mov edi, dword [esp + 0x10]
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [edi + 0x7c], ecx
mov dword [edi + 0x78], eax
lea ebx, [esp + 0x30]
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov esi, dword [edi + 0x58]
mov eax, dword [esi]
mov edi, dword [eax + 0x180]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 0xd
push ebx
push 0x51f930
call edi
test eax, eax
je case.0x51cbaf.517
mov edi, eax
mov eax, dword [eax]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
cmp eax, dword [esp + 0xc]
jne case.0x51cbaf.517
mov ecx, dword [ebp + 0xc]
mov eax, ecx
and eax, 0xffff0000
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x34], edi
shr ecx, 0x1f
or ecx, eax
mov dword [esp + 0x48], ecx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x4c], eax
call fcn.0051b165
mov word [esp + 0x46], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x194]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
lea eax, [esp + 0x30]
push eax
call esi
mov edx, dword [esp + 0xc]
movzx eax, word [edx + 0x78]
mov ecx, dword [edx + 0x7c]
shl ecx, 0x10
or ecx, eax
push ecx
push ebx
push 0x200
push dword [edx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x51cbaf.517
mov eax, dword [edi + 0x80]
test eax, eax
jle 0x51d3c8
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0x84]
test eax, eax
jle 0x51d3d5
mov dword [ecx + 0x1c], eax
mov eax, dword [edi + 0x88]
test eax, eax
jle 0x51d3e2
mov dword [ecx + 0x20], eax
mov eax, dword [edi + 0x8c]
test eax, eax
jle case.0x51cbaf.517
mov dword [ecx + 0x24], eax
jmp case.0x51cbaf.517
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movq xmm0, qword [esi + 0x78]
movq qword [esp + 0x3c], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x38], eax
mov ebx, dword [esi + 0x64]
test ebx, ebx
je 0x51d443
lea edi, [esp + 0x30]
mov dword [edi], 0xb
mov dword [edi + 4], ebx
mov eax, dword [ebx]
mov esi, dword [eax + 0x194]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push edi
call esi
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 0x68]
test ebx, ebx
je 0x51d470
lea edi, [esp + 0x30]
mov dword [edi], 0xf
mov dword [edi + 4], ebx
mov eax, dword [ebx]
mov esi, dword [eax + 0x194]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push edi
call esi
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
xor eax, eax
mov esi, dword [esp + 0xc]
mov ecx, esi
push eax
push eax
push eax
call fcn.0051de70
cmp byte [esi + 0xe5], 0
je case.0x51cbaf.517
mov eax, dword [esi]
cmp ebx, eax
je 0x51d4af
cmp edi, eax
je 0x51d4af
test ebx, ebx
jne case.0x51cbaf.517
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.0x51cbaf.517
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
jmp case.0x51cbaf.517
push edx
push esi
call fcn.0051c4fa
jmp 0x51ddd5
mov byte [ecx + 0xca], 0
movsx eax, dx
sar edx, 0x10
lea esi, [esp + 0x30]
mov dword [esp + 0x10], eax
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [ecx + 0x58]
mov eax, dword [esi]
mov edi, dword [eax + 0x180]
mov ecx, edi
mov ebx, edx
call dword [section..00cfg]
mov ecx, esi
lea esi, [esp + 0x30]
push 0xd
push esi
push 0x51f930
call edi
test eax, eax
je case.0x51cbaf.517
mov edx, ebx
mov edi, eax
mov ebx, esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x64]
test eax, eax
je 0x51d584
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x30], 0xd
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x38], eax
mov esi, dword [esi + 0x64]
mov eax, dword [esi]
mov ebx, edi
mov edi, dword [eax + 0x194]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea eax, [esp + 0x30]
push eax
call edi
mov edi, ebx
lea ebx, [esp + 0x30]
push 0x84
push 0xff
push ebx
call fcn.006ccfc0
add esp, 0xc
mov eax, dword [edi]
mov esi, dword [eax + 0xc4]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
push ebx
call esi
mov ecx, ebx
call fcn.00520c46
test al, al
jne 0x51d6be
mov ebx, dword [esp + 0xc]
lea eax, [ebx + 0x24]
mov dword [esp + 0x18], eax
xorps xmm0, xmm0
movups xmmword [ebx + 0x44], xmm0
movups xmmword [ebx + 0x34], xmm0
mov dword [ebx + 0x24], 0x2c
mov dword [ebx + 0x28], 1
mov eax, dword [ebx]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov eax, dword [0x7bd5b4]
mov dword [ebx + 0x44], eax
lea ecx, [esp + 0x30]
call fcn.004b45c0
mov dword [ebx + 0x48], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
movdqu xmm0, xmmword [eax]
movdqu xmmword [ebx + 0x34], xmm0
cmp dword [ebx + 0x20], 0
jne 0x51d677
mov eax, dword [0x7bd5b4]
mov ecx, dword [ebx]
sub esp, 0x30
xor esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ecx
mov eax, connect
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
movdqa xmm0, xmmword [0x746750]
movdqu xmmword [esp + 8], xmm0
mov dword [esp], esi
mov dword [esp + 4], str.tooltips_class32
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 0x20], eax
push dword [esp + 0x18]
push esi
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
mov esi, dword [eax + 0xd0]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
xor ecx, ecx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ecx
push 0x418
push dword [ebx + 0x20]
call esi
mov edi, dword [esp + 0x18]
push edi
xor eax, eax
push eax
push 0x436
push dword [ebx + 0x20]
call esi
push edi
push 1
push 0x411
push dword [ebx + 0x20]
call esi
lea ecx, [esp + 0x30]
call fcn.00520b96
jmp 0x51da7d
cmp dword [eax + 0x6c], 0
je case.0x51cbaf.517
xorps xmm0, xmm0
lea ebx, [esp + 0x30]
movups xmmword [ebx + 0x10], xmm0
movups xmmword [ebx + 4], xmm0
mov dword [ebx], 4
mov word [ebx + 0x14], si
mov eax, dword [esp + 0xc]
movq xmm0, qword [eax + 0x78]
mov esi, eax
movq qword [ebx + 0xc], xmm0
call fcn.0051b165
mov word [ebx + 0x16], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 8], eax
mov esi, dword [esi + 0x6c]
mov eax, dword [esi]
mov edi, dword [eax + 0x194]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push ebx
call edi
mov eax, dword [esp + 0xc]
mov dword [eax + 0x6c], 0
jmp case.0x51cbaf.517
push dword [esi]
call fcn.005f7def
add esp, 4
jmp case.0x51cbaf.517
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x51d795
pxor xmm0, xmm0
lea ebx, [esp + 0x30]
movdqu xmmword [ebx + 0xc], xmm0
mov dword [ebx + 0x1c], 0
mov dword [ebx], 0x1d
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0x5c]
mov eax, dword [esi]
mov edi, dword [eax + 0x194]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push ebx
mov esi, dword [esp + 0x10]
call edi
mov esi, dword [esi + 0x58]
mov bl, 1
test esi, esi
je 0x51ddd7
mov eax, dword [esi]
mov edi, dword [eax + 0x184]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
jmp 0x51ddd7
sub esp, 4
push edx
push esi
call fcn.0051b39a
jmp case.0x51cbaf.517
test esi, esi
je case.0x51cbaf.517
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.0051c3b0
pcmpeqd xmm0, xmm0
lea eax, [esp + 0x30]
movdqa xmmword [eax], xmm0
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [esp + 0x14], eax
mov ebx, dword [edi + 0x58]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1a8]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
lea eax, [esp + 0x30]
push eax
push esi
call edi
mov eax, dword [ebp + 0x10]
test al, 0x10
je 0x51d8a6
mov edi, eax
push 5
mov eax, dword [esp + 0x10]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x51d8a6
mov ebx, eax
or edi, 2
mov dword [esp + 0x10], edi
mov esi, 2
pxor xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
lea edi, [esp + 0x20]
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push edi
mov eax, dword [esp + 0x14]
push dword [eax]
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
xor eax, eax
sub eax, dword [esp + 0x24]
xor ecx, ecx
sub ecx, dword [esp + 0x20]
push edi
push eax
push ecx
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [esp + 0x10]
push edi
push 0x317
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
test eax, eax
jne 0x51d847
push dword [esp + 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.0x51cbaf.517
movsx eax, cx
mov dword [esp + 0x20], eax
mov eax, ecx
sar eax, 0x10
mov dword [esp + 0x24], eax
cmp ecx, 0xffffffff
je 0x51da84
lea esi, [esp + 0x20]
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
movq xmm0, qword [esi]
movq qword [edi + 0x78], xmm0
cmp dword [edi + 0x68], 0
je case.0x51cbaf.517
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov byte [edi + 0xcb], 0
lea ebx, [esp + 0x30]
xor eax, eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x14], eax
mov dword [ebx], 0x13
mov eax, dword [edi + 0x68]
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov word [ebx + 0x16], cx
mov dword [ebx + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 8], eax
mov esi, dword [edi + 0x68]
mov eax, dword [esi]
mov edi, dword [eax + 0x194]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push ebx
call edi
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x68], eax
jmp case.0x51cbaf.517
cmp cx, 1
jne case.0x51cbaf.517
mov bl, 1
mov esi, dword [esp + 0xc]
cmp byte [esi + 0xcb], 0
jne 0x51ddd7
xor eax, eax
lea ecx, [esp + 0x20]
mov dword [ecx + 4], eax
mov dword [ecx], eax
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x20]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0x20]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
lea edx, [esp + 0x30]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov esi, dword [esi + 0x58]
mov eax, dword [esi]
mov ecx, dword [eax + 0x180]
mov dword [esp + 0x10], ecx
call dword [section..00cfg]
mov ecx, esi
push 0xd
lea eax, [esp + 0x34]
push eax
push 0x51f930
call dword [esp + 0x1c]
mov dword [esp + 0x10], eax
test eax, eax
je case.0x51cbaf.517
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [section..00cfg]
mov ecx, dword [esp + 0x10]
call esi
test al, 2
je case.0x51cbaf.517
xorps xmm0, xmm0
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], 0
mov dword [esp + 0x30], 0x1e
mov dword [esp + 0x48], edi
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x4c], eax
movq xmm0, qword [esp + 0x20]
movq qword [esp + 0x3c], xmm0
call fcn.0051b165
mov word [esp + 0x46], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
mov esi, dword [eax + 0x194]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
lea eax, [esp + 0x30]
push eax
call esi
jmp 0x51ddd7
test ecx, ecx
je case.0x51cbaf.517
push ecx
push esi
push 0x2111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov bl, 1
jmp 0x51ddd7
cmp dword [edi + 0x5c], 0
je case.0x51cbaf.517
xor esi, esi
dec esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [edi + 0x7c], esi
mov dword [edi + 0x78], esi
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov byte [edi + 0xcb], 0
xor eax, eax
lea ebx, [esp + 0x30]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x14], eax
mov dword [ebx], 0x13
mov eax, dword [edi + 0x5c]
mov dword [ebx + 4], eax
mov dword [ebx + 0x10], esi
mov dword [ebx + 0xc], esi
mov ecx, dword [ebp + 0xc]
mov word [ebx + 0x16], cx
mov dword [ebx + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 8], eax
mov esi, dword [edi + 0x5c]
mov eax, dword [esi]
mov edi, dword [eax + 0x194]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push ebx
call edi
jmp case.0x51cbaf.517
pxor xmm0, xmm0
lea edi, [esp + 0x20]
movdqa xmmword [edi], xmm0
push 0
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x51da7d
cmp dword [ebx + 0x58], 0
je 0x51de3d
pxor xmm0, xmm0
lea esi, [esp + 0x30]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ecx, dword [ebx]
mov edx, esi
call fcn.0051e05a
mov ebx, eax
mov ecx, dword [esp + 0xc]
push edi
push esi
call fcn.0051bbdc
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
movzx ecx, bl
mov edi, dword [esp + 0xc]
push esi
call fcn.0051e11f
add esp, 4
cmp byte [edi + 0xc5], 0
je 0x51da7d
mov byte [edi + 0x116], 1
xor eax, eax
push eax
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x51da7d
mov eax, 0x190
lea ecx, [esp + 0x30]
mov dword [ecx + 0xc], eax
push ecx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [esi + 0xca], 1
mov edx, dword [ebp + 0x10]
movsx eax, dx
sar edx, 0x10
mov dword [esp + 0x10], edx
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edx
lea ebx, [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov esi, dword [esi + 0x58]
mov eax, dword [esi]
mov edi, dword [eax + 0x180]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 0xd
push ebx
push 0x51f930
call edi
mov ecx, dword [esp + 0x10]
mov esi, eax
test eax, eax
je 0x51dc15
mov eax, dword [esi]
mov edi, esi
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
mov esi, edi
mov ecx, dword [esp + 0x10]
cmp eax, dword [esp + 0xc]
jne case.0x51cbaf.517
pxor xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x40], xmm0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 0x64]
cmp esi, ebx
je 0x51dc9c
test ebx, ebx
lea edi, [esp + 0x30]
je 0x51dca8
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], 0xb
mov dword [esp + 0x34], ebx
mov eax, dword [ebx]
mov esi, dword [eax + 0x194]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push edi
call esi
mov esi, dword [esp + 0xc]
mov dword [esi + 0x64], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x51dca2
lea ecx, [esi + 0x24]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esi + 0x64]
jmp 0x51dca4
lea edi, [esp + 0x30]
jmp 0x51dca8
xor ebx, ebx
mov esi, dword [esp + 0x10]
test esi, esi
je 0x51dcdc
cmp esi, ebx
je 0x51dcdc
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x34], esi
mov eax, dword [esi]
mov ebx, esi
mov esi, dword [eax + 0x194]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push edi
call esi
mov esi, ebx
mov eax, dword [esp + 0xc]
mov dword [eax + 0x64], ebx
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 0x68]
test ebx, ebx
je 0x51dcf1
mov dword [esp + 0x30], 0xa
jmp 0x51dcff
test esi, esi
je case.0x51cbaf.517
mov dword [esp + 0x30], 0xa
mov ebx, esi
mov dword [esp + 0x34], ebx
mov eax, dword [ebx]
mov esi, dword [eax + 0x194]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push edi
call esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
push 0
call fcn.005208c0
test eax, eax
je 0x51ddd5
mov ebx, eax
mov edi, dword [esp + 0x18]
mov ecx, esi
push 0
call fcn.005209ee
mov ecx, dword [ebx + 0x108]
test ecx, ecx
je 0x51dd61
add ecx, 0x34
call fcn.00601a6a
test al, al
je 0x51dd61
mov ecx, dword [ebx + 0x108]
add ecx, 0x34
push ebx
call fcn.00601ad8
mov ecx, edi
call fcn.004aef30
test eax, eax
mov esi, ebx
jle 0x51dda3
xor ebx, ebx
mov dword [esp + 0x10], esi
mov ecx, edi
push ebx
call fcn.00520a5a
mov esi, eax
mov eax, dword [eax]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
mov esi, dword [esp + 0x10]
push esi
call edi
mov edi, dword [esp + 0x18]
inc ebx
mov ecx, edi
call fcn.004aef30
cmp ebx, eax
jl 0x51dd74
lea ecx, [esi + 0x84]
call fcn.00520b96
mov ecx, esi
call fcn.00520b96
push esi
call fcn.006c90e6
add esp, 4
mov esi, dword [esp + 0x1c]
mov ecx, esi
push 0
call fcn.005208c0
mov ebx, eax
test eax, eax
jne 0x51dd33
xor ebx, ebx
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.006c9121
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
pxor xmm0, xmm0
lea esi, [esp + 0x30]
movdqu xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 0
mov dword [esi], 0x1f
mov eax, dword [ebx]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 8], eax
mov esi, dword [ebx]
mov eax, dword [esi]
mov edi, dword [eax + 0x194]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea eax, [esp + 0x30]
push eax
jmp 0x51daf3
pxor xmm0, xmm0
lea esi, [esp + 0x30]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x51da7d