Function at 0x4f8e80
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 0x545aef
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x58213c]
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 0x4f93a9
je case.0x4f93cf.260
add eax, 0xfffffffa
cmp eax, 0xa1
ja case.default.0x4f9c58
movzx eax, byte [eax + 0x4f9d28]
jmp dword [eax*4 + 0x4f9cc8]
mov eax, dword [edi + 8]
test al, 4
je 0x4f8f1a
or eax, 0xffffffff
jmp 0x4f8f68
call fcn.004e5250
xor eax, eax
jmp 0x4f8f68
call fcn.004e5250
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
jne case.default.0x4f9c58
xor eax, eax
jmp 0x4f8f68
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
jne case.default.0x4f9c58
mov eax, 1
jmp 0x4f8f68
push dword [ebx + 0x14]
call fcn.004e5990
jmp 0x4f8f68
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x18]
and eax, 3
cmp al, 3
jne 0x4f8f4b
push 0x64
lea ecx, [edi + 0x60]
call fcn.0042f570
jmp case.default.0x4f9c58
call fcn.004e57c0
test al, al
jne case.0x4f8ee8.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.00507720
mov ecx, edi
call fcn.004e4490
jmp case.default.0x4f9c58
cmp byte [edi + 0x93], 0
je 0x4f8fa2
mov byte [edi + 0x93], 0
call dword [sym.imp.USER32.dll_DestroyCaret]
mov ecx, dword [edi + 4]
mov edx, dword [0x588a10]
cmp edx, ecx
je 0x4f8fc2
mov eax, edx
test eax, eax
je 0x4f9004
mov eax, dword [eax + 0x18]
cmp eax, ecx
je 0x4f8fc2
test eax, eax
jne 0x4f8fb5
jmp 0x4f9004
push edx
lea ecx, [edi + 0x44]
call fcn.004b0f10
mov eax, dword [edi + 0x44]
test eax, eax
je 0x4f9004
cmp dword [eax + 8], 0
je 0x4f9004
mov dword [0x588a10], 0
call fcn.004db670
lea ecx, [eax + 0x10]
call fcn.0042f6f0
mov ecx, dword [edi + 0x44]
test ecx, ecx
je 0x4f8ffb
mov ecx, dword [ecx + 8]
jmp 0x4f8ffd
xor ecx, ecx
push 0
call fcn.004e9e60
push 0
call fcn.004d8b40
test eax, eax
je case.default.0x4f9c58
mov ecx, eax
call fcn.004dd500
test eax, eax
je case.default.0x4f9c58
test byte [eax + 8], 2
je case.default.0x4f9c58
mov ecx, edi
call fcn.004ff3c0
jmp case.default.0x4f9c58
cmp dword [ebx + 0x10], 0
je 0x4f9045
call fcn.0041f140
jmp 0x4f9055
call fcn.004db670
push 1
push 0
mov ecx, eax
call fcn.005020c0
mov ecx, dword [0x588d34]
nop
test ecx, ecx
je 0x4f9067
push 0xa
call fcn.0042f570
mov dword [0x588a24], 0xffffffff
xor eax, eax
jmp 0x4f8f68
movzx eax, word [ebx + 0x10]
cmp eax, 1
je 0x4f908a
cmp eax, 2
jne case.default.0x4f9c58
mov dword [0x588a24], 0xffffffff
call fcn.00507720
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x4f90c6
mov ecx, dword [edi + 4]
call fcn.004fd350
mov ecx, edi
call fcn.004e5060
push edi
call fcn.004edbc0
add esp, 4
test al, al
je case.0x4f8ee8.136
mov esi, dword [edi + 4]
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.004dc110
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.004d7af0
mov esi, eax
test esi, esi
jne 0x4f9103
mov esi, dword [edi + 4]
push 0
call fcn.004d8b40
mov edx, eax
test edx, edx
je 0x4f9170
cmp edx, esi
je 0x4f9170
mov ecx, esi
test esi, esi
je 0x4f912b
nop word [eax + eax]
mov ecx, dword [ecx + 0x18]
cmp ecx, edx
je 0x4f9170
test ecx, ecx
jne 0x4f9120
mov eax, dword [edx]
mov ecx, edx
push esi
mov eax, dword [eax + 0xa0]
call eax
test al, al
jne 0x4f9170
cmp word [ebx + 0x10], 2
jne 0x4f915b
push 0
call fcn.004d8b40
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xa4]
xor eax, eax
jmp 0x4f8f68
call fcn.004db6f0
push 1
mov ecx, eax
call fcn.004bb970
xor eax, eax
jmp 0x4f8f68
mov ecx, dword [edi + 4]
call fcn.004e9850
xor eax, eax
jmp 0x4f8f68
cmp dword [ebx + 0x10], 0
jne case.default.0x4f9c58
cmp byte [0x582084], 0
jne case.default.0x4f9c58
mov dword [ebx + 0x10], 1
jmp case.default.0x4f9c58
cmp dword [ebx + 0x10], 0
je case.default.0x4f9c58
mov ecx, dword [edi + 4]
push 1
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [edi + 4]
call fcn.004e9850
jmp case.default.0x4f9c58
mov ecx, dword [edi + 4]
call fcn.004ecd30
test al, al
jne case.0x4f8ee8.136
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x38]
xor eax, eax
jmp 0x4f8f68
mov ecx, dword [0x5887e4]
test ecx, ecx
je 0x4f9cb5
mov eax, dword [ecx]
call dword [eax + 0x1c]
call fcn.0042eb80
mov ecx, dword [eax + 4]
nop
xor eax, eax
test ecx, ecx
setne al
jmp 0x4f8f68
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [0x588a20]
test eax, eax
jne 0x4f9250
push 0xe8
call fcn.005118c7
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4f9242
mov ecx, eax
call fcn.004a97c0
jmp 0x4f9244
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x588a20], eax
mov ecx, dword [eax + 0x64]
call fcn.004fb970
cmp byte [edi + 0x90], 0
je 0x4f931d
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
jne 0x4f931d
call fcn.004db670
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.004a5460
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.004d9bb0
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.004fe4d0
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.00503e40
add esp, 0x1c
call fcn.004db840
mov ecx, eax
call fcn.004fb460
push 0
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov dword [edi + 0xdc], eax
call fcn.004db840
push dword [edi + 0xdc]
lea ecx, [edi + 0x5c]
push ecx
mov ecx, eax
call fcn.00507010
jmp case.default.0x4f9c58
mov eax, 4
jmp 0x4f8f68
cmp dword [ebx + 0x14], 0xffffffe7
jne case.default.0x4f9c58
mov ecx, dword [edi + 4]
call fcn.004d6860
test eax, eax
je case.default.0x4f9c58
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 0xffffffffffffffe7
push dword [ebx + 0x10]
push eax
call fcn.004e66e0
add esp, 0x10
test al, al
je case.default.0x4f9c58
mov eax, dword [ebp - 0x14]
mov byte [edi + 0xe0], 1
jmp 0x4f8f68
cmp eax, 0x200
ja 0x4f9838
je 0x4f9817
add eax, 0xfffffeff
cmp eax, 0x1f
ja case.default.0x4f9c58
movzx eax, byte [eax + 0x4f9df8]
jmp dword [eax*4 + 0x4f9dcc]
push dword [ebx + 0x14]
call fcn.004c3f50
jmp 0x4f8f50
mov esi, dword [ebx + 0x10]
push esi
call fcn.004c4190
test al, al
jne case.0x4f8ee8.136
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je case.default.0x4f9c58
push dword [ebx + 0x14]
push esi
mov esi, dword [ebx + 0xc]
push esi
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4f8f57
mov esi, dword [ebx + 0x10]
push esi
call fcn.004c43c0
test al, al
jne case.0x4f8ee8.136
push dword [ebx + 0x14]
mov ecx, edi
push esi
mov esi, dword [ebx + 0xc]
push esi
call fcn.004d6500
jmp 0x4f8f57
mov esi, dword [ebx + 0x10]
call fcn.00507720
mov eax, dword [ebx + 0x14]
sar eax, 0x10
movzx ecx, al
lea eax, [esi - 0x30]
mov dword [ebp - 0x14], esi
cmp eax, 9
ja 0x4f947b
lea eax, [ecx - 0x47]
cmp eax, 0xb
ja case.0x4f9469.74
movzx eax, byte [eax + 0x4f9e20]
jmp dword [eax*4 + 0x4f9e18]
mov esi, dword [ebx + 0x10]
add esi, 0x10030
jmp case.0x4f9469.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.0x4f9469.74
test byte [0x5889b4], 6
mov ecx, 0
mov eax, dword [ebp - 0x14]
cmovne eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [0x5889b4]
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.004e4660
test al, al
jne case.0x4f8ee8.136
push dword [ebx + 0x14]
mov esi, dword [ebx + 0xc]
mov ecx, edi
push dword [ebx + 0x10]
push esi
call fcn.004d6500
jmp 0x4f8f57
mov eax, 0x10000
jmp 0x4f8f68
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
jne case.default.0x4f9c58
mov eax, dword [edi]
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x4f9533
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.0x4f9c58
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
jne case.default.0x4f9c58
push 1
push 0xf030
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp case.default.0x4f9c58
mov eax, dword [ebx + 0x10]
and eax, 0xfff0
cmp eax, 0xf060
ja 0x4f95f5
je 0x4f95c6
sub eax, 0xf020
je 0x4f959b
sub eax, 0x10
jne case.default.0x4f9c58
call fcn.004ff3c0
test al, al
jne case.0x4f8ee8.136
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x3c]
xor eax, eax
jmp 0x4f8f68
call fcn.004ff3c0
test al, al
jne case.0x4f8ee8.136
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
jne case.default.0x4f9c58
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x34]
xor eax, eax
jmp 0x4f8f68
call fcn.004ff3c0
test al, al
jne case.0x4f8ee8.136
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
je case.default.0x4f9c58
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x4f8f68
sub eax, 0xf100
je 0x4f9673
sub eax, 0x20
jne case.default.0x4f9c58
call fcn.004ff3c0
test al, al
jne case.0x4f8ee8.136
mov eax, dword [edi + 8]
mov ecx, edi
mov edx, dword [edi]
shr eax, 3
test al, 1
je 0x4f963d
mov eax, dword [edx + 0x40]
call eax
test al, al
je case.default.0x4f9c58
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x3c]
xor eax, eax
jmp 0x4f8f68
mov eax, dword [edx + 0x38]
call eax
mov edx, dword [edi]
mov ecx, edi
test al, al
je 0x4f9656
push 0
call dword [edx + 0x34]
xor eax, eax
jmp 0x4f8f68
mov eax, dword [edx + 0x40]
call eax
test al, al
je case.0x4f8ee8.136
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x3c]
xor eax, eax
jmp 0x4f8f68
test dword [ebx + 0x14], 0xffff0000
jle case.0x4f8ee8.136
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
je case.default.0x4f9c58
call dword [sym.imp.USER32.dll_GetCapture]
cmp esi, eax
jne case.default.0x4f9c58
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.default.0x4f9c58
mov dword [edi + 0xf8], 0xffffffff
mov dword [edi + 0xfc], 0xffffffff
mov byte [edi + 0x100], 0
call fcn.004d5430
mov edi, eax
test edi, edi
je case.0x4f8ee8.136
mov ecx, dword [edi]
mov esi, dword [ecx + 0x18]
lea ecx, [ebp - 0x14]
call fcn.0040c1f0
push eax
mov ecx, edi
mov dword [ebp - 4], 4
call esi
lea ecx, [ebp - 0x14]
call fcn.0040d480
xor eax, eax
jmp 0x4f8f68
cmp byte [edi + 0x100], 0
lea esi, [edi + 0xf8]
je 0x4f97e4
call fcn.004d5430
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4f97bd
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.0040c1f0
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.0040d480
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.0051723e
add esp, 4
mov edi, dword [ebx + 8]
push edi
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4f97e7
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 0x4f97e7
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 0x4f8f5a
push dword [ebx + 0x14]
lea ecx, [edi + 0xf8]
push esi
push edi
call fcn.004e38f0
xor eax, eax
jmp 0x4f8f68
push dword [ebx + 0x14]
lea eax, [ebp - 0x28]
push eax
call fcn.004dd6e0
push 0
mov ecx, edi
push dword [eax + 4]
push dword [eax]
call fcn.004c44b0
xor eax, eax
jmp 0x4f8f68
cmp eax, 0x319
ja 0x4f9cbf
je 0x4f9c41
add eax, 0xfffffdff
cmp eax, 0xdf
ja case.default.0x4f9c58
movzx eax, byte [eax + 0x4f9e74]
jmp dword [eax*4 + 0x4f9e2c]
push 0
jmp 0x4f9873
push 0
push 1
jmp 0x4f9875
push 1
push 0
push dword [ebx + 0x14]
push dword [ebx + 0x10]
call fcn.004e5580
test al, al
je case.default.0x4f9c58
xor eax, eax
jmp 0x4f8f68
mov byte [edi + 0x92], 0
call fcn.004bb620
test al, al
jne case.0x4f8ee8.136
mov esi, dword [0x5889b4]
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.004bf320
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.004dbe20
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.004e49f0
xor eax, eax
jmp 0x4f8f68
push dword [ebx + 0x14]
lea eax, [ebp - 0x30]
push eax
call fcn.004dd6e0
cmp dword [0x5889bc], 0
movss xmm0, dword [eax]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x1c], xmm0
je 0x4f9990
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xffffff80
cmp eax, 0xff515780
je case.0x4f8ee8.136
call fcn.004bb620
test al, al
jne case.0x4f8ee8.136
mov esi, dword [edi + 0x70]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, esi
je 0x4f99b1
push esi
call dword [sym.imp.USER32.dll_SetCapture]
push 1
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x20]
call fcn.004c44b0
push edi
call fcn.004edbc0
add esp, 4
test al, al
je case.0x4f8ee8.136
push dword [ebx + 0x10]
call fcn.005081e0
add esp, 4
mov byte [edi + 0x91], 1
mov esi, dword [0x5889b4]
xorps xmm0, xmm0
push 0
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.004dbe20
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.004e49f0
xor eax, eax
jmp 0x4f8f68
push dword [ebx + 0x14]
lea eax, [ebp - 0x30]
push eax
call fcn.004dd6e0
push dword [ebx + 0x10]
mov ecx, edi
push dword [eax + 4]
push dword [eax]
call fcn.004c46d0
xor eax, eax
jmp 0x4f8f68
push 1
push dword [ebx + 0x10]
call fcn.004c47c0
xor eax, eax
jmp 0x4f8f68
push 0
push dword [ebx + 0x10]
call fcn.004c47c0
xor eax, eax
jmp 0x4f8f68
cmp byte [edi + 0x94], 0
je 0x4f9a8e
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x4f9a87
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [edi + 0x94], 0
cmp byte [edi + 0x91], 0
je case.0x4f8ee8.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.004bf320
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.004c46d0
xor eax, eax
jmp 0x4f8f68
cmp dword [0x5889c0], 0
je case.default.0x4f9c58
push dword [ebx + 0x14]
push dword [ebx + 0x10]
call fcn.004c48f0
jmp 0x4f8f68
push dword [ebx + 0x10]
push dword [ebx + 0x14]
call fcn.004e5d70
jmp 0x4f8f68
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.004e3d00
jmp 0x4f8f68
mov eax, dword [edi + 4]
mov al, byte [eax + 0x81]
shr al, 1
not al
test al, 1
jne case.default.0x4f9c58
mov eax, 3
jmp 0x4f8f68
mov ecx, dword [0x5887e4]
test ecx, ecx
je case.default.0x4f9c58
mov eax, dword [ebx + 0x10]
add eax, 0xfffffffe
cmp eax, 0x10
ja case.default.0x4f9c58
movzx eax, byte [eax + 0x4f9f60]
jmp dword [eax*4 + 0x4f9f54]
mov eax, dword [ecx]
call dword [eax + 0x20]
jmp case.default.0x4f9c58
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp case.default.0x4f9c58
call fcn.004ff3c0
test al, al
jne case.default.0x4f9c58
mov eax, dword [ebx + 0x10]
add eax, 0xfffffffc
cmp eax, 0xd
ja case.default.0x4f9c58
movzx eax, byte [eax + 0x4f9f7c]
jmp dword [eax*4 + 0x4f9f74]
cmp dword [edi + 0x1c], 0
je case.default.0x4f9c58
mov eax, dword [edi + 8]
and eax, 0x18
cmp al, 0x18
jne case.default.0x4f9c58
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
test al, al
jne case.default.0x4f9c58
mov ecx, dword [edi + 0x1c]
mov byte [edi + 0x94], 1
mov eax, dword [ecx]
call dword [eax + 8]
jmp case.default.0x4f9c58
cmp dword [ebx + 0x10], 1
lea ecx, [edi + 0xf8]
sete al
movzx eax, al
push eax
push esi
call fcn.004e5d30
and dword [ebx + 0x14], 0x7fffffff
jmp case.default.0x4f9c58
mov eax, dword [ebx + 0x14]
shr eax, 0x10
and eax, 0xfff
add eax, 0xfffffff5
cmp eax, 3
ja case.default.0x4f9c58
jmp dword [eax*4 + 0x4f9f8c]
mov esi, 0x30000
jmp 0x4f9c79
mov esi, 0x30001
jmp 0x4f9c79
mov esi, 0x30002
jmp 0x4f9c79
mov esi, 0x30003
call fcn.00507720
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp dword [edi + 0x70], eax
jne case.default.0x4f9c58
mov eax, dword [0x5889b4]
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.004e4660
test al, al
je case.default.0x4f9c58
mov eax, 1
jmp 0x4f8f68
mov esi, eax
jmp 0x4f8f57