Function at 0x4f9b1e
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546b9f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x58313c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
cmp eax, 0x100
ja 0x4f9a89
je case.0x4f9aaf.260
add eax, 0xfffffffa
cmp eax, 0xa1
ja case.default.0x4fa338
movzx eax, byte [eax + 0x4fa408]
jmp dword [eax*4 + 0x4fa3a8]
mov eax, dword [edi + 8]
test al, 4
je 0x4f95fa
or eax, 0xffffffff
jmp 0x4f9648
call fcn.004e5940
xor eax, eax
jmp 0x4f9648
call fcn.004e5940
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
jne case.default.0x4fa338
xor eax, eax
jmp 0x4f9648
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
jne case.default.0x4fa338
mov eax, 1
jmp 0x4f9648
push dword [ebx + 0x14]
call fcn.004e6080
jmp 0x4f9648
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x18]
and eax, 3
cmp al, 3
jne 0x4f962b
push 0x64
lea ecx, [edi + 0x60]
call fcn.0042fc30
jmp case.default.0x4fa338
call fcn.004e5eb0
test al, al
jne case.0x4f95c8.136
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push esi
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.00507e10
mov ecx, edi
call fcn.004e4b80
jmp case.default.0x4fa338
cmp byte [edi + 0x93], 0
je 0x4f9682
mov byte [edi + 0x93], 0
call dword [sym.imp.USER32.dll_DestroyCaret]
mov ecx, dword [edi + 4]
mov edx, dword [0x589a18]
cmp edx, ecx
je 0x4f96a2
mov eax, edx
test eax, eax
je 0x4f96e4
mov eax, dword [eax + 0x18]
cmp eax, ecx
je 0x4f96a2
test eax, eax
jne 0x4f9695
jmp 0x4f96e4
push edx
lea ecx, [edi + 0x44]
call fcn.004b15f0
mov eax, dword [edi + 0x44]
test eax, eax
je 0x4f96e4
cmp dword [eax + 8], 0
je 0x4f96e4
mov dword [0x589a18], 0
call fcn.004dbd50
lea ecx, [eax + 0x10]
call fcn.0042fdb0
mov ecx, dword [edi + 0x44]
test ecx, ecx
je 0x4f96db
mov ecx, dword [ecx + 8]
jmp 0x4f96dd
xor ecx, ecx
push 0
call fcn.004ea550
push 0
call fcn.004d9220
test eax, eax
je case.default.0x4fa338
mov ecx, eax
call fcn.004ddbf0
test eax, eax
je case.default.0x4fa338
test byte [eax + 8], 2
je case.default.0x4fa338
mov ecx, edi
call fcn.004ffaa0
jmp case.default.0x4fa338
cmp dword [ebx + 0x10], 0
je 0x4f9725
call fcn.0041f900
jmp 0x4f9735
call fcn.004dbd50
push 1
push 0
mov ecx, eax
call fcn.005027a0
mov ecx, dword [0x589d3c]
nop
test ecx, ecx
je 0x4f9747
push 0xa
call fcn.0042fc30
mov dword [0x589a2c], 0xffffffff
xor eax, eax
jmp 0x4f9648
movzx eax, word [ebx + 0x10]
cmp eax, 1
je 0x4f976a
cmp eax, 2
jne case.default.0x4fa338
mov dword [0x589a2c], 0xffffffff
call fcn.00507e10
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x4f97a6
mov ecx, dword [edi + 4]
call fcn.004fda30
mov ecx, edi
call fcn.004e5750
push edi
call fcn.004ee2b0
add esp, 4
test al, al
je case.0x4f95c8.136
mov esi, dword [edi + 4]
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.004dc800
mov ecx, esi
movd xmm0, dword [eax]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x20], xmm0
movd xmm0, dword [eax + 4]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.004d81d0
mov esi, eax
test esi, esi
jne 0x4f97e3
mov esi, dword [edi + 4]
push 0
call fcn.004d9220
mov edx, eax
test edx, edx
je 0x4f9850
cmp edx, esi
je 0x4f9850
mov ecx, esi
test esi, esi
je 0x4f980b
nop word [eax + eax]
mov ecx, dword [ecx + 0x18]
cmp ecx, edx
je 0x4f9850
test ecx, ecx
jne 0x4f9800
mov eax, dword [edx]
mov ecx, edx
push esi
mov eax, dword [eax + 0xa0]
call eax
test al, al
jne 0x4f9850
cmp word [ebx + 0x10], 2
jne 0x4f983b
push 0
call fcn.004d9220
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xa4]
xor eax, eax
jmp 0x4f9648
call fcn.004dbdd0
push 1
mov ecx, eax
call fcn.004bc050
xor eax, eax
jmp 0x4f9648
mov ecx, dword [edi + 4]
call fcn.004e9f40
xor eax, eax
jmp 0x4f9648
cmp dword [ebx + 0x10], 0
jne case.default.0x4fa338
cmp byte [0x583084], 0
jne case.default.0x4fa338
mov dword [ebx + 0x10], 1
jmp case.default.0x4fa338
cmp dword [ebx + 0x10], 0
je case.default.0x4fa338
mov ecx, dword [edi + 4]
push 1
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [edi + 4]
call fcn.004e9f40
jmp case.default.0x4fa338
mov ecx, dword [edi + 4]
call fcn.004ed420
test al, al
jne case.0x4f95c8.136
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x38]
xor eax, eax
jmp 0x4f9648
mov ecx, dword [0x5897e8]
test ecx, ecx
je 0x4fa395
mov eax, dword [ecx]
call dword [eax + 0x1c]
call fcn.0042f240
mov ecx, dword [eax + 4]
nop
xor eax, eax
test ecx, ecx
setne al
jmp 0x4f9648
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [0x589a28]
test eax, eax
jne 0x4f9930
push 0xe8
call fcn.00512877
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4f9922
mov ecx, eax
call fcn.004a9ea0
jmp 0x4f9924
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x589a28], eax
mov ecx, dword [eax + 0x64]
call fcn.004fc050
cmp byte [edi + 0x90], 0
je 0x4f99fd
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
jne 0x4f99fd
call fcn.004dbd50
mov edx, dword [edi + 4]
sub esp, 0x10
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov esi, dword [eax + 0x64]
mov eax, dword [edx + 0x24]
mov ecx, dword [edx + 0x28]
mov dword [ebp - 0x30], eax
mov eax, esp
mov dword [ebp - 0x2c], ecx
movups xmm0, xmmword [ebp - 0x38]
push edx
push 0
movups xmmword [eax], xmm0
lea eax, [ebp - 0x38]
push eax
call fcn.004a5b40
movups xmm0, xmmword [ebp - 0x38]
add esp, 0x1c
mov ecx, esi
push 0
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.004da290
mov ecx, dword [edi + 4]
movups xmm0, xmmword [eax + 0x14]
sub esp, 0x10
mov dword [ebp - 4], 3
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
push ecx
lea eax, [ebp - 0x38]
fstp dword [esp]
push eax
call fcn.004febb0
movups xmm0, xmmword [ebp - 0x38]
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
push 0
push 0x614
sub esp, 0x10
mov eax, esp
push dword [edi + 0x70]
movups xmmword [eax], xmm0
call fcn.00504520
add esp, 0x1c
call fcn.004dbf30
mov ecx, eax
call fcn.004fbb40
push 0
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov dword [edi + 0xdc], eax
call fcn.004dbf30
push dword [edi + 0xdc]
lea ecx, [edi + 0x5c]
push ecx
mov ecx, eax
call fcn.00507700
jmp case.default.0x4fa338
mov eax, 4
jmp 0x4f9648
cmp dword [ebx + 0x14], 0xffffffe7
jne case.default.0x4fa338
mov ecx, dword [edi + 4]
call fcn.004d6f40
test eax, eax
je case.default.0x4fa338
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 0xffffffffffffffe7
push dword [ebx + 0x10]
push eax
call fcn.004e6dd0
add esp, 0x10
test al, al
je case.default.0x4fa338
mov eax, dword [ebp - 0x14]
mov byte [edi + 0xe0], 1
jmp 0x4f9648
cmp eax, 0x200
ja 0x4f9f18
je 0x4f9ef7
add eax, 0xfffffeff
cmp eax, 0x1f
ja case.default.0x4fa338
movzx eax, byte [eax + 0x4fa4d8]
jmp dword [eax*4 + 0x4fa4ac]
push dword [ebx + 0x14]
call fcn.004c4630
jmp 0x4f9630
mov esi, dword [ebx + 0x10]
push esi
call fcn.004c4870
test al, al
jne case.0x4f95c8.136
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je case.default.0x4fa338
push dword [ebx + 0x14]
push esi
mov esi, dword [ebx + 0xc]
push esi
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4f9637
mov esi, dword [ebx + 0x10]
push esi
call fcn.004c4aa0
test al, al
jne case.0x4f95c8.136
push dword [ebx + 0x14]
mov ecx, edi
push esi
mov esi, dword [ebx + 0xc]
push esi
call fcn.004d6be0
jmp 0x4f9637
mov esi, dword [ebx + 0x10]
call fcn.00507e10
mov eax, dword [ebx + 0x14]
sar eax, 0x10
movzx ecx, al
lea eax, [esi - 0x30]
mov dword [ebp - 0x14], esi
cmp eax, 9
ja 0x4f9b5b
lea eax, [ecx - 0x47]
cmp eax, 0xb
ja case.0x4f9b49.74
movzx eax, byte [eax + 0x4fa500]
jmp dword [eax*4 + 0x4fa4f8]
mov esi, dword [ebx + 0x10]
add esi, 0x10030
jmp case.0x4f9b49.74
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 1
push ecx
call esi
push 2
push eax
call esi
mov esi, dword [ebx + 0x10]
movzx eax, ax
test eax, eax
cmovne esi, eax
cmp dword [ebx + 0x10], 0x20
jae case.0x4f9b49.74
test byte [0x5899bc], 6
mov ecx, 0
mov eax, dword [ebp - 0x14]
cmovne eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [0x5899bc]
mov ecx, edi
and eax, 0xffffff8f
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004e4d50
test al, al
jne case.0x4f95c8.136
push dword [ebx + 0x14]
mov esi, dword [ebx + 0xc]
mov ecx, edi
push dword [ebx + 0x10]
push esi
call fcn.004d6be0
jmp 0x4f9637
mov eax, 0x10000
jmp 0x4f9648
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
jne case.default.0x4fa338
mov eax, dword [edi]
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x4f9c13
mov edi, dword [ebx + 0x10]
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0xf120
push edi
call esi
push 1
push 0xf010
push edi
call esi
jmp case.default.0x4fa338
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
jne case.default.0x4fa338
push 1
push 0xf030
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp case.default.0x4fa338
mov eax, dword [ebx + 0x10]
and eax, 0xfff0
cmp eax, 0xf060
ja 0x4f9cd5
je 0x4f9ca6
sub eax, 0xf020
je 0x4f9c7b
sub eax, 0x10
jne case.default.0x4fa338
call fcn.004ffaa0
test al, al
jne case.0x4f95c8.136
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x3c]
xor eax, eax
jmp 0x4f9648
call fcn.004ffaa0
test al, al
jne case.0x4f95c8.136
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
jne case.default.0x4fa338
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x34]
xor eax, eax
jmp 0x4f9648
call fcn.004ffaa0
test al, al
jne case.0x4f95c8.136
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
je case.default.0x4fa338
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x4f9648
sub eax, 0xf100
je 0x4f9d53
sub eax, 0x20
jne case.default.0x4fa338
call fcn.004ffaa0
test al, al
jne case.0x4f95c8.136
mov eax, dword [edi + 8]
mov ecx, edi
mov edx, dword [edi]
shr eax, 3
test al, 1
je 0x4f9d1d
mov eax, dword [edx + 0x40]
call eax
test al, al
je case.default.0x4fa338
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x3c]
xor eax, eax
jmp 0x4f9648
mov eax, dword [edx + 0x38]
call eax
mov edx, dword [edi]
mov ecx, edi
test al, al
je 0x4f9d36
push 0
call dword [edx + 0x34]
xor eax, eax
jmp 0x4f9648
mov eax, dword [edx + 0x40]
call eax
test al, al
je case.0x4f95c8.136
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x3c]
xor eax, eax
jmp 0x4f9648
test dword [ebx + 0x14], 0xffff0000
jle case.0x4f95c8.136
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
je case.default.0x4fa338
call dword [sym.imp.USER32.dll_GetCapture]
cmp esi, eax
jne case.default.0x4fa338
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.default.0x4fa338
mov dword [edi + 0xf8], 0xffffffff
mov dword [edi + 0xfc], 0xffffffff
mov byte [edi + 0x100], 0
call fcn.004d5b10
mov edi, eax
test edi, edi
je case.0x4f95c8.136
mov ecx, dword [edi]
mov esi, dword [ecx + 0x18]
lea ecx, [ebp - 0x14]
call fcn.0040db70
push eax
mov ecx, edi
mov dword [ebp - 4], 4
call esi
lea ecx, [ebp - 0x14]
call fcn.0040e7a0
xor eax, eax
jmp 0x4f9648
cmp byte [edi + 0x100], 0
lea esi, [edi + 0xf8]
je 0x4f9ec4
call fcn.004d5b10
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4f9e9d
mov ecx, dword [eax]
push esi
mov edx, dword [ecx + 0xc]
mov ecx, eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
lea ecx, [ebp - 0x1c]
call fcn.0040db70
mov ecx, dword [ebp - 0x14]
push eax
mov dword [ebp - 4], 5
call esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040e7a0
mov ecx, dword [edi + 0xf8]
lea esi, [edi + 0xf8]
mov edi, dword [ebp - 0x14]
mov dword [esi + 4], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x20]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, edi
mov dword [ebp - 4], 6
call dword [eax + 0x10]
push dword [ebp - 0x34]
mov dword [ebp - 0x2c], 0
call fcn.00518201
add esp, 4
mov edi, dword [ebx + 8]
push edi
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4f9ec7
push 0
push 0
push 0x11
push eax
call sub.IMM32.dll_ImmNotifyIME
push dword [ebp - 0x1c]
push edi
call sub.IMM32.dll_ImmReleaseContext
jmp 0x4f9ec7
mov edi, dword [ebx + 8]
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov byte [esi + 8], 0
mov esi, dword [ebx + 0xc]
jmp 0x4f963a
push dword [ebx + 0x14]
lea ecx, [edi + 0xf8]
push esi
push edi
call fcn.004e3fe0
xor eax, eax
jmp 0x4f9648
push dword [ebx + 0x14]
lea eax, [ebp - 0x28]
push eax
call fcn.004dddd0
push 0
mov ecx, edi
push dword [eax + 4]
push dword [eax]
call fcn.004c4b90
xor eax, eax
jmp 0x4f9648
cmp eax, 0x319
ja 0x4fa39f
je 0x4fa321
add eax, 0xfffffdff
cmp eax, 0xdf
ja case.default.0x4fa338
movzx eax, byte [eax + 0x4fa554]
jmp dword [eax*4 + 0x4fa50c]
push 0
jmp 0x4f9f53
push 0
push 1
jmp 0x4f9f55
push 1
push 0
push dword [ebx + 0x14]
push dword [ebx + 0x10]
call fcn.004e5c70
test al, al
je case.default.0x4fa338
xor eax, eax
jmp 0x4f9648
mov byte [edi + 0x92], 0
call fcn.004bbd00
test al, al
jne case.0x4f95c8.136
mov esi, dword [0x5899bc]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx edx, ax
shr eax, 0x10
movsx ecx, ax
mov eax, dword [edi]
mov edi, dword [eax + 0x30]
mov eax, dword [ebp - 0x14]
push dword [eax + 0x70]
lea eax, [ebp - 0x30]
push ecx
push edx
push eax
call fcn.004bfa00
mov ecx, dword [ebp - 0x14]
add esp, 0x10
movd xmm1, dword [eax + 4]
movd xmm0, dword [eax]
lea eax, [ebp - 0x28]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x1c], xmm1
push dword [ebp - 0x1c]
movss dword [ebp - 0x20], xmm0
push dword [ebp - 0x20]
push eax
call edi
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x24]
push 0
sub esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, esp
mov dword [ebp - 4], 0xffffffff
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.004dc510
mov ecx, dword [ebp - 0x14]
push edx
push eax
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push esi
push edi
push dword [ebp - 0x20]
push 0
call fcn.004e50e0
xor eax, eax
jmp 0x4f9648
push dword [ebx + 0x14]
lea eax, [ebp - 0x30]
push eax
call fcn.004dddd0
cmp dword [0x5899c4], 0
movss xmm0, dword [eax]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x1c], xmm0
je 0x4fa070
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xffffff80
cmp eax, 0xff515780
je case.0x4f95c8.136
call fcn.004bbd00
test al, al
jne case.0x4f95c8.136
mov esi, dword [edi + 0x70]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, esi
je 0x4fa091
push esi
call dword [sym.imp.USER32.dll_SetCapture]
push 1
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x20]
call fcn.004c4b90
push edi
call fcn.004ee2b0
add esp, 4
test al, al
je case.0x4f95c8.136
push dword [ebx + 0x10]
call fcn.005088d0
add esp, 4
mov byte [edi + 0x91], 1
mov esi, dword [0x5899bc]
xorps xmm0, xmm0
push 0
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.004dc510
push edx
push eax
sub esp, 8
mov ecx, edi
mov dword [esp + 4], 0
mov dword [esp], 0
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0
call fcn.004e50e0
xor eax, eax
jmp 0x4f9648
push dword [ebx + 0x14]
lea eax, [ebp - 0x30]
push eax
call fcn.004dddd0
push dword [ebx + 0x10]
mov ecx, edi
push dword [eax + 4]
push dword [eax]
call fcn.004c4db0
xor eax, eax
jmp 0x4f9648
push 1
push dword [ebx + 0x10]
call fcn.004c4ea0
xor eax, eax
jmp 0x4f9648
push 0
push dword [ebx + 0x10]
call fcn.004c4ea0
xor eax, eax
jmp 0x4f9648
cmp byte [edi + 0x94], 0
je 0x4fa16e
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x4fa167
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [edi + 0x94], 0
cmp byte [edi + 0x91], 0
je case.0x4f95c8.136
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetMessagePos]
push dword [edi + 0x70]
movsx edx, ax
shr eax, 0x10
movsx ecx, ax
mov eax, dword [edi]
push ecx
push edx
mov esi, dword [eax + 0x30]
lea eax, [ebp - 0x30]
push eax
call fcn.004bfa00
add esp, 0x10
mov ecx, edi
movd xmm1, dword [eax + 4]
movd xmm0, dword [eax]
lea eax, [ebp - 0x28]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x1c], xmm1
push dword [ebp - 0x1c]
movss dword [ebp - 0x20], xmm0
push dword [ebp - 0x20]
push eax
call esi
push 0
push dword [ebp - 0x24]
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x28]
call fcn.004c4db0
xor eax, eax
jmp 0x4f9648
cmp dword [0x5899c8], 0
je case.default.0x4fa338
push dword [ebx + 0x14]
push dword [ebx + 0x10]
call fcn.004c4fd0
jmp 0x4f9648
push dword [ebx + 0x10]
push dword [ebx + 0x14]
call fcn.004e6460
jmp 0x4f9648
mov eax, dword [ebx + 0x14]
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
mov eax, dword [ebx + 0x10]
shr eax, 0x10
movups xmmword [ecx], xmm0
push eax
mov ecx, edi
call fcn.004e43f0
jmp 0x4f9648
mov eax, dword [edi + 4]
mov al, byte [eax + 0x81]
shr al, 1
not al
test al, 1
jne case.default.0x4fa338
mov eax, 3
jmp 0x4f9648
mov ecx, dword [0x5897e8]
test ecx, ecx
je case.default.0x4fa338
mov eax, dword [ebx + 0x10]
add eax, 0xfffffffe
cmp eax, 0x10
ja case.default.0x4fa338
movzx eax, byte [eax + 0x4fa640]
jmp dword [eax*4 + 0x4fa634]
mov eax, dword [ecx]
call dword [eax + 0x20]
jmp case.default.0x4fa338
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp case.default.0x4fa338
call fcn.004ffaa0
test al, al
jne case.default.0x4fa338
mov eax, dword [ebx + 0x10]
add eax, 0xfffffffc
cmp eax, 0xd
ja case.default.0x4fa338
movzx eax, byte [eax + 0x4fa65c]
jmp dword [eax*4 + 0x4fa654]
cmp dword [edi + 0x1c], 0
je case.default.0x4fa338
mov eax, dword [edi + 8]
and eax, 0x18
cmp al, 0x18
jne case.default.0x4fa338
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
test al, al
jne case.default.0x4fa338
mov ecx, dword [edi + 0x1c]
mov byte [edi + 0x94], 1
mov eax, dword [ecx]
call dword [eax + 8]
jmp case.default.0x4fa338
cmp dword [ebx + 0x10], 1
lea ecx, [edi + 0xf8]
sete al
movzx eax, al
push eax
push esi
call fcn.004e6420
and dword [ebx + 0x14], 0x7fffffff
jmp case.default.0x4fa338
mov eax, dword [ebx + 0x14]
shr eax, 0x10
and eax, 0xfff
add eax, 0xfffffff5
cmp eax, 3
ja case.default.0x4fa338
jmp dword [eax*4 + 0x4fa66c]
mov esi, 0x30000
jmp 0x4fa359
mov esi, 0x30001
jmp 0x4fa359
mov esi, 0x30002
jmp 0x4fa359
mov esi, 0x30003
call fcn.00507e10
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp dword [edi + 0x70], eax
jne case.default.0x4fa338
mov eax, dword [0x5899bc]
mov ecx, edi
and eax, 0xffffff8f
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x2c], 0
call fcn.004e4d50
test al, al
je case.default.0x4fa338
mov eax, 1
jmp 0x4f9648
mov esi, eax
jmp 0x4f9637