Function at 0x40a0a1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4611db
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x47c020]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push esi
push edi
mov eax, dword [0x47c020]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x1c], edx
mov byte [edx], 0
mov esi, dword [edi + 0x1ac]
cmp esi, dword [edi + 0x1b0]
je 0x409ddb
lea ecx, [ecx]
mov ecx, dword [esi]
lea edx, [esp + 0x20]
push edx
push ebx
push dword [ebp + 0xc]
mov dword [esp + 0x2c], 0
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax]
cmp dword [esp + 0x20], 0
mov ecx, eax
je 0x409dcc
cmp dword [ebp + 8], 0x200
jne 0x409e0c
add esi, 4
cmp esi, dword [edi + 0x1b0]
jne 0x409da0
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
cmp ecx, 0x10d
ja 0x40a2f9
je 0x40a270
lea eax, [ecx - 5]
cmp eax, 0xfd
ja case.0x40abb8.3
movzx eax, byte [eax + 0x40b028]
jmp dword [eax*4 + 0x40aff8]
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
mov eax, ecx
jmp 0x40afd1
mov ecx, dword [edi + 0xe8]
test ecx, ecx
je 0x409e3d
push 0
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0x10
call fcn.0041c0a0
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x409e60
push 0
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0x13
call fcn.0041c0a0
mov ecx, dword [edi + 0xfc]
test ecx, ecx
je 0x409e83
push 0
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0x13
call fcn.0041c0a0
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x409ea6
push 0
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0x13
call fcn.0041c0a0
push 0
mov ecx, edi
call fcn.0040b370
push 4
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.0x40abb8.3
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x40abb8.3
mov byte [edx], 1
mov eax, 1
jmp 0x40afd1
mov ecx, edi
call fcn.0040b7c0
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
jmp case.0x40abb8.3
mov ecx, dword [edi + 0xe0]
test ecx, ecx
je 0x409f11
push 0
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0x26
call fcn.0041c0a0
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x409f1d
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [ebp + 0xc]
cmp eax, 2
jne 0x409f29
push 1
jmp 0x409f2e
test eax, eax
jne 0x409f39
push eax
lea ecx, [edi + 0x1fc]
call fcn.00417350
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
jmp case.0x40abb8.3
mov eax, dword [edi + 0xfc]
test eax, eax
mov esi, dword [edi + 0xec]
cmovne esi, eax
movsx ecx, bx
mov eax, dword [edi + 0x108]
test eax, eax
mov dword [esp + 0x20], ecx
cmovne esi, eax
mov dword [edi + 0xf4], ecx
mov eax, ebx
shr eax, 0x10
cwde
mov dword [esp + 0x1c], eax
mov dword [edi + 0xf8], eax
test esi, esi
je case.0x40abb8.3
cmp byte [esi + 0x8b], 0
je case.0x40abb8.3
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x20]
sub esp, 8
mov eax, esp
mov byte [edi + 0x117], 0
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp], 0
push 0
push ebx
push dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, esi
push 0x13
call fcn.0041c0a0
mov dword [edi + 0xec], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x108], 0
jmp case.0x40abb8.3
movsx eax, bx
mov dword [esp + 0x14], eax
shr ebx, 0x10
movsx eax, bx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [edi + 0xec], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], ecx
je case.0x40abb8.3
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x14]
sub esp, 8
mov ecx, esp
mov byte [edi + 0x117], 0
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
mov ecx, dword [edi + 0xec]
push ecx
mov dword [esp], 0
push 0
push ecx
push dword [ebp + 0xc]
push 1
call fcn.0041c0a0
mov dword [edi + 0xec], 0
jmp case.0x40abb8.3
mov ecx, dword [edi + 0xe0]
test ecx, ecx
je case.0x40abb8.3
mov eax, dword [ebp + 0xc]
push 0
push 0
push ecx
mov dword [esp], 0
push eax
push ebx
push eax
push 0xa
call fcn.0041c0a0
jmp case.0x40abb8.3
mov ecx, dword [edi + 0xe0]
test ecx, ecx
je case.0x40abb8.3
mov eax, dword [ebp + 0xc]
cmp eax, 9
jne 0x40a146
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x40a123
mov ecx, dword [edi + 0xe0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
test al, al
je 0x40a123
push 0
push 0x47e0f4
push 0x47e0d8
push 0
push dword [edi + 0xe0]
call fcn.0044f55b
add esp, 0x14
test eax, eax
je 0x40a123
push 0
push 0x47e0f4
push 0x47e0d8
push 0
push dword [edi + 0xe0]
call fcn.0044f55b
add esp, 0x14
cmp byte [eax + 0x40d], 0
jne case.0x40abb8.3
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, edi
setns al
movzx eax, al
push eax
call fcn.0040b4c0
mov eax, 1
jmp 0x40afd1
push 0
push 0
push ecx
mov dword [esp], 0
push eax
push ebx
push eax
push 8
mov dword [edi + 0xf0], ecx
call fcn.0041c0a0
jmp case.0x40abb8.3
mov ecx, dword [edi + 0xf0]
test ecx, ecx
je case.0x40abb8.3
mov eax, dword [ebp + 0xc]
push 0
push 0
push ecx
mov dword [esp], 0
push eax
push ebx
push eax
push 9
call fcn.0041c0a0
mov dword [edi + 0xf0], 0
jmp case.0x40abb8.3
cmp bx, 1
jne case.0x40abb8.3
cmp dword [edi + 0xec], 0
jne 0x40aad2
cmp dword [edi + 0xfc], 0
jne 0x40aad2
cmp dword [edi + 0x108], 0
jne 0x40aad2
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x28]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [edi + 0xf8], eax
call fcn.0040b580
test eax, eax
je case.0x40abb8.3
mov ecx, dword [esp + 0x28]
sub esp, 8
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
push ecx
mov dword [esp], 0
push 0
push ebx
push dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov ecx, eax
push 0x28
call fcn.0041c0a0
mov eax, dword [esp + 0x1c]
mov byte [eax], bl
jmp case.0x40abb8.3
test ebx, ebx
je 0x40aad2
push ebx
push dword [ebp + 0xc]
lea eax, [ecx + 0x2000]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40afd1
mov esi, dword [edi + 0xe0]
test esi, esi
je case.0x40abb8.3
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], 0x30
mov word [esp + 0xc4], ax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xb8], eax
lea ecx, [esp + 0xb0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xd0]
jmp case.0x40abb8.3
cmp ecx, 0x240
ja 0x40aa83
je 0x40a7f1
lea eax, [ecx - 0x10e]
cmp eax, 0xfc
ja case.0x40abb8.3
movzx eax, byte [eax + 0x40b150]
jmp dword [eax*4 + 0x40b128]
cmp dword [edi + 0xfc], 0
jne case.0x40abb8.3
cmp dword [edi + 0x108], 0
jne case.0x40abb8.3
cmp byte [edi + 0x116], 0
jne 0x40a3af
mov eax, dword [edi + 0x10]
xorps xmm0, xmm0
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xac]
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x2c], 3
test eax, eax
jne 0x40a389
mov dword [esp + 0x34], 0x190
jmp 0x40a39d
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [edi + 0x116], 1
mov esi, dword [ebp + 0xc]
mov eax, ebx
shr eax, 0x10
cwde
push ebx
movsx ecx, bx
mov dword [esp + 0x1c], eax
mov dword [edi + 0xf8], eax
lea eax, [esp + 0x18]
push esi
mov dword [esp + 0x1c], ecx
mov dword [edi + 0xf4], ecx
mov ecx, edi
push eax
call fcn.0040b280
test al, al
je case.0x40abb8.3
cmp dword [edi + 0xec], 0
je 0x40a41e
mov ecx, dword [esp + 0x14]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp], 0
push 0
push ebx
push esi
mov dword [eax + 4], ecx
mov ecx, dword [edi + 0xec]
push 0xe
call fcn.0041c0a0
jmp case.0x40abb8.3
cmp dword [edi + 0xe4], 0
je case.0x40abb8.3
mov ecx, dword [esp + 0x14]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp], 0
push 0
push ebx
push esi
mov dword [eax + 4], ecx
mov ecx, dword [edi + 0xe4]
push 0xe
call fcn.0041c0a0
jmp case.0x40abb8.3
cmp dword [edi + 0xfc], 0
jne case.0x40abb8.3
cmp dword [edi + 0x108], 0
jne case.0x40abb8.3
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, ebx
movsx ecx, bx
shr eax, 0x10
cwde
push eax
mov dword [esp + 0x24], ecx
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [esp + 0x24], eax
mov dword [edi + 0xf8], eax
call fcn.0040b580
mov esi, eax
test esi, esi
je case.0x40abb8.3
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
cmp eax, edi
jne case.0x40abb8.3
mov dword [edi + 0xec], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xa4]
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x20]
sub esp, 8
mov eax, esp
mov byte [edi + 0x117], 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp], 0
push 0
push ebx
push dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, esi
push 0x12
call fcn.0041c0a0
jmp case.0x40abb8.3
cmp dword [edi + 0xfc], 0
jne case.0x40abb8.3
cmp dword [edi + 0x108], 0
jne case.0x40abb8.3
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, ebx
movsx ecx, bx
shr eax, 0x10
cwde
push eax
mov dword [esp + 0x24], ecx
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [esp + 0x24], eax
mov dword [edi + 0xf8], eax
call fcn.0040b580
mov esi, eax
test esi, esi
je case.0x40abb8.3
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
cmp eax, edi
jne case.0x40abb8.3
mov dword [edi + 0xec], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xa4]
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x20]
sub esp, 8
mov eax, esp
mov byte [edi + 0x117], 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp], 0
push 0
push ebx
push dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, esi
push 0x14
call fcn.0041c0a0
jmp case.0x40abb8.3
cmp dword [edi + 0xfc], 0
jne case.0x40abb8.3
cmp dword [edi + 0x108], 0
jne case.0x40abb8.3
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, ebx
movsx ecx, bx
shr eax, 0x10
cwde
push eax
mov dword [esp + 0x24], ecx
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [esp + 0x24], eax
mov dword [edi + 0xf8], eax
call fcn.0040b580
mov esi, eax
test esi, esi
je case.0x40abb8.3
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
cmp eax, edi
jne case.0x40abb8.3
push dword [edi + 0x10]
mov dword [edi + 0xec], esi
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x20]
sub esp, 8
mov eax, esp
mov byte [edi + 0x117], 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp], 0
push 0
push ebx
push dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, esi
push 0
call fcn.0041c0a0
jmp case.0x40abb8.3
mov eax, ebx
movsx esi, bx
shr eax, 0x10
cwde
mov dword [esp + 0x20], eax
mov dword [edi + 0xf4], esi
mov dword [edi + 0xf8], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [edi + 0xec], 0
mov byte [edi + 0x117], 0
je case.0x40abb8.3
mov ecx, dword [esp + 0x20]
sub esp, 8
mov eax, esp
push ecx
mov dword [esp], 0
push 0
push ebx
push dword [ebp + 0xc]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov ecx, dword [edi + 0xec]
push 0x13
call fcn.0041c0a0
mov dword [edi + 0xec], 0
jmp case.0x40abb8.3
mov eax, ebx
movsx esi, bx
shr eax, 0x10
cwde
mov dword [esp + 0x20], eax
mov dword [edi + 0xf4], esi
mov dword [edi + 0xf8], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [edi + 0xec], 0
mov byte [edi + 0x117], 0
je case.0x40abb8.3
mov ecx, dword [esp + 0x20]
sub esp, 8
mov eax, esp
push ecx
mov dword [esp], 0
push 0
push ebx
push dword [ebp + 0xc]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov ecx, dword [edi + 0xec]
push 0x15
call fcn.0041c0a0
jmp case.0x40abb8.3
mov ecx, dword [edi + 0xe0]
test ecx, ecx
je case.0x40abb8.3
mov eax, dword [ebp + 0xc]
push 0
push 0
push ecx
mov dword [esp], 0
push eax
push ebx
push eax
push 0x31
call fcn.0041c0a0
jmp case.0x40abb8.3
movsx eax, bx
mov dword [esp + 0x14], eax
mov eax, ebx
shr eax, 0x10
cwde
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [edi + 0xf8], eax
call fcn.0040b580
mov esi, eax
test esi, esi
je case.0x40abb8.3
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
cmp eax, edi
jne case.0x40abb8.3
mov eax, dword [ebp + 0xc]
push 0
push 0
push ecx
mov dword [esp], 0
mov ecx, esi
push 0
shr eax, 0x10
push ebx
cwde
push eax
push 0x18
call fcn.0041c0a0
jmp case.0x40abb8.3
test ebx, ebx
je case.0x40abb8.3
push ebx
push dword [ebp + 0xc]
lea eax, [ecx + 0x2000]
mov byte [edx], 1
push eax
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40afd1
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov eax, esi
mov edx, 0x28
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044da02
add esp, 4
mov ecx, eax
mov dword [esp + 0x1c], ecx
cmp esi, 1
jb 0x40aa37
push ecx
push ecx
mov edx, esi
mov ecx, ebx
call fcn.00418470
add esp, 8
test al, al
je 0x40aa37
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0xc], 0
je 0x40aa37
mov eax, 0x51eb851f
imul dword [ecx]
mov eax, 0x51eb851f
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
imul dword [ecx + 4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
test al, 2
je 0x40a933
cmp dword [edi + 0xec], 0
jne case.0x40abb8.3
cmp dword [edi + 0x108], 0
jne case.0x40abb8.3
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
mov dword [edi + 0x100], ecx
push ecx
mov ecx, edi
mov dword [edi + 0x104], eax
call fcn.0040b580
mov esi, eax
test esi, esi
je case.0x40abb8.3
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
cmp eax, edi
jne case.0x40abb8.3
mov dword [edi + 0xfc], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xa4]
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esp + 0x14]
sub esp, 8
mov ecx, esp
mov byte [edi + 0x117], 1
push ecx
mov dword [esp], 0
push 0
push ebx
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
push 0
mov dword [ecx + 4], eax
mov ecx, esi
push 0x1b
call fcn.0041c0a0
jmp 0x40aa37
test al, 1
je 0x40a9cf
cmp dword [edi + 0xec], 0
jne case.0x40abb8.3
cmp dword [edi + 0x108], 0
jne case.0x40abb8.3
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp dword [edi + 0x100], ecx
jne 0x40a971
cmp dword [edi + 0x104], eax
je case.0x40abb8.3
cmp dword [edi + 0xfc], 0
mov dword [edi + 0x100], ecx
mov dword [edi + 0x104], eax
je case.0x40abb8.3
push ebx
push esi
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.0040b280
test al, al
je case.0x40abb8.3
mov eax, dword [esp + 0x14]
sub esp, 8
mov ecx, esp
push ecx
mov dword [esp], 0
push 0
push 0
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
push 0
mov dword [ecx + 4], eax
mov ecx, dword [edi + 0xfc]
push 0x1c
call fcn.0041c0a0
jmp 0x40aa37
test al, 4
je 0x40aa37
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x100], eax
mov dword [edi + 0x104], ecx
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [edi + 0xfc], 0
mov byte [edi + 0x117], 0
je case.0x40abb8.3
mov eax, dword [esp + 0x14]
sub esp, 8
mov ecx, esp
push ecx
mov dword [esp], 0
push 0
push ebx
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
push 0
mov dword [ecx + 4], eax
mov ecx, dword [edi + 0xfc]
push 0x1d
call fcn.0041c0a0
mov dword [edi + 0xfc], 0
mov eax, dword [0x481668]
test al, 1
jne 0x40aa66
push str.CloseTouchInputHandle
or eax, 1
push str.user32.dll
mov dword [0x481668], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x48166c], eax
jmp 0x40aa6b
mov eax, dword [0x48166c]
test eax, eax
je 0x40aa72
push ebx
call eax
push dword [esp + 0x1c]
call fcn.0044f003
add esp, 4
jmp case.0x40abb8.3
cmp ecx, 0x2a1
ja 0x40af40
je 0x40ad93
lea eax, [ecx - 0x245]
mov dword [esp + 0x24], eax
cmp eax, 7
ja case.0x40abb8.3
movzx eax, byte [eax + 0x40b258]
jmp dword [eax*4 + 0x40b250]
cmp byte [edi + 0x10c], 0
je case.0x40abb8.3
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 0x10
test eax, 0x2000
jne 0x40aada
mov byte [edx], 1
jmp case.0x40abb8.3
movzx eax, si
lea edx, [esp + 0x38]
mov ecx, eax
mov dword [esp + 0x20], eax
call fcn.004184d0
test al, al
je case.0x40abb8.3
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
sub eax, 2
je 0x40ab42
dec eax
jne case.0x40abb8.3
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x3c]
call fcn.00418570
test al, al
je case.0x40abb8.3
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x9c]
jmp 0x40ab77
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xe4]
call fcn.00418520
test al, al
je case.0x40abb8.3
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x168]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x471e70]
lea eax, [esp + 0x14]
push eax
push dword [edi + 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x471da4]
movss dword [esp + 0x28], xmm0
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x24]
cmp eax, 7
ja case.0x40abb8.3
jmp dword [eax*4 + 0x40b260]
cmp dword [edi + 0xec], 0
jne 0x409f39
cmp dword [edi + 0xfc], 0
jne 0x409f39
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [edi + 0xf8], eax
call fcn.0040b580
mov esi, eax
test esi, esi
je case.0x40abb8.3
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
cmp eax, edi
jne case.0x40abb8.3
mov dword [edi + 0x108], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xa4]
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetCapture]
movss xmm0, dword [esp + 0x20]
sub esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, esp
mov byte [edi + 0x117], 1
push ecx
movss dword [esp], xmm0
push 0
push ebx
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
push 0
mov dword [ecx + 4], eax
mov ecx, esi
push 0x20
call fcn.0041c0a0
mov eax, dword [edi + 0x108]
test eax, eax
je case.0x40abb8.3
cmp byte [eax + 0x8a], 0
je case.0x40abb8.3
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
jmp case.0x40abb8.3
cmp dword [edi + 0xec], 0
jne 0x409f39
cmp dword [edi + 0xfc], 0
jne 0x409f39
cmp dword [edi + 0x108], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], ecx
je case.0x40abb8.3
push ebx
push esi
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.0040b280
test al, al
je case.0x40abb8.3
movss xmm0, dword [esp + 0x20]
sub esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, esp
push ecx
movss dword [esp], xmm0
push 0
push 0
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
push 0
mov dword [ecx + 4], eax
mov ecx, dword [edi + 0x108]
push 0x21
jmp 0x40ac5e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], ecx
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [edi + 0x108], 0
mov byte [edi + 0x117], 0
je case.0x40abb8.3
movss xmm0, dword [esp + 0x20]
sub esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, esp
push ecx
movss dword [esp], xmm0
push 0
push ebx
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
push 0
mov dword [ecx + 4], eax
mov ecx, dword [edi + 0x108]
push 0x22
call fcn.0041c0a0
mov eax, dword [edi + 0x108]
test eax, eax
je 0x40ad84
cmp byte [eax + 0x8a], 0
je 0x40ad84
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
mov dword [edi + 0x108], 0
jmp case.0x40abb8.3
movsx eax, bx
mov ecx, edi
shr ebx, 0x10
movsx ebx, bx
push ebx
push eax
mov byte [edi + 0x116], 0
mov dword [esp + 0x2c], eax
call fcn.0040b580
mov esi, eax
test esi, esi
je case.0x40abb8.3
cmp dword [edi + 0xe8], 0
je 0x40adec
mov ecx, dword [esp + 0x24]
sub esp, 8
mov eax, esp
push ecx
mov dword [esp], 0
push 0
push 0
push 0
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov ecx, dword [edi + 0xe8]
push 0x11
call fcn.0041c0a0
mov eax, dword [esi]
lea ecx, [esp + 0xb0]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
push 0x30
lea ebx, [edi + 0xb0]
mov dword [esp + 0x184], 0
push 0
push ebx
call fcn.004594a0
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [ebx], 0x30
mov dword [edi + 0xb4], 1
mov dword [edi + 0xb8], eax
push 0
mov dword [edi + 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [esp + 0xc4], 8
lea ecx, [esp + 0xd4]
mov dword [edi + 0xd0], eax
lea eax, [esp + 0xb0]
cmovae eax, dword [esp + 0xb0]
mov dword [edi + 0xd4], eax
mov eax, dword [esi]
push 1
push ecx
mov ecx, esi
call dword [eax + 0x1c]
cmp dword [edi + 0xac], 0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
movdqu xmm0, xmmword [eax]
movdqu xmmword [edi + 0xc0], xmm0
jne 0x40aede
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push dword [edi + 0x10]
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000003
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [edi + 0xb0]
mov dword [edi + 0xac], eax
push ecx
push 0
push 0x432
push eax
call ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
push eax
push 0
push 0x418
push dword [edi + 0xac]
call ebx
lea esi, [edi + 0xb0]
push esi
push 0
push 0x436
push dword [edi + 0xac]
call ebx
push esi
push 1
push 0x411
push dword [edi + 0xac]
call ebx
cmp dword [esp + 0xc4], 8
jb 0x40af34
push dword [esp + 0xb0]
call fcn.0044da7e
add esp, 4
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
jmp case.0x40abb8.3
cmp ecx, 0x2a3
je 0x40af90
cmp ecx, 0x8001
jne case.0x40abb8.3
mov esi, dword [edi + 0x1d0]
cmp esi, dword [edi + 0x1d4]
je 0x40af82
mov edi, edi
mov ecx, dword [esi]
test ecx, ecx
je 0x40af77
mov eax, dword [ecx + 4]
push 1
mov eax, dword [eax + 4]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
add esi, 4
cmp esi, dword [edi + 0x1d4]
jne 0x40af60
mov eax, dword [edi + 0x1d0]
mov dword [edi + 0x1d4], eax
jmp case.0x40abb8.3
mov ecx, dword [edi + 0xac]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x40afb1
lea eax, [edi + 0xb0]
push eax
push 0
push 0x411
push ecx
call esi
cmp byte [edi + 0x116], 0
je 0x40afc8
push 0xffffffffffffffff
push 0
push 0x200
push dword [edi + 0x10]
call esi
mov byte [edi + 0x116], 0
xor eax, eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0044e224
mov esp, ebp
pop ebp
ret 0x10