Function at 0x479210
Capabilities:
Log keystrokes
Resolve function by parsing pe exports

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 0x5daa4b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x130
mov eax, dword [0x65a06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x90], edi
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], ecx
cmp edx, 0x100
ja 0x47981b
je case.0x479843.260
add edx, 0xfffffffa
cmp edx, 0xa1
ja case.default.0x47a312
movzx eax, byte [edx + 0x47a430]
jmp dword [eax*4 + 0x47a3d0]
mov eax, dword [edi + 8]
test al, 4
je 0x4792df
or eax, 0xffffffff
jmp 0x4797ad
mov ecx, edi
call fcn.004763d0
xor eax, eax
jmp 0x4797ad
mov ecx, edi
call fcn.004763d0
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
jne case.0x47a24c.3
xor eax, eax
jmp 0x4797ad
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
jne case.default.0x47a312
mov eax, 1
jmp 0x4797ad
push ecx
mov ecx, edi
call fcn.00478820
jmp 0x4797ad
mov eax, dword [ecx + 0x18]
and eax, 3
cmp al, 3
jne 0x47931a
push 0x64
lea ecx, [edi + 0x44]
call fcn.0050a2b0
jmp case.0x47a24c.3
mov ecx, edi
call fcn.00478c80
jmp 0x479dc7
call fcn.00474cb0
mov ecx, edi
call fcn.00564410
jmp case.0x47a24c.3
cmp byte [edi + 0x73], 0
je 0x479347
mov byte [edi + 0x73], 0
call dword [sym.imp.USER32.dll_DestroyCaret]
mov ecx, dword [edi + 4]
mov edx, dword [0x666e0c]
cmp edx, ecx
je 0x47936f
mov eax, edx
test eax, eax
je 0x47936b
nop word [eax + eax]
mov eax, dword [eax + 0x18]
cmp eax, ecx
je 0x47936f
test eax, eax
jne 0x479360
xor al, al
jmp 0x479371
mov al, 1
test al, al
je 0x479472
lea ecx, [ebp - 0x9c]
call fcn.00483d90
mov edx, dword [edi + 0x30]
mov ecx, dword [eax]
mov dword [edi + 0x30], ecx
mov dword [eax], edx
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
je 0x4793af
lea eax, [ecx + 4]
or edx, 0xffffffff
lock xadd dword [eax], edx
lea eax, [edx - 1]
test eax, eax
jne 0x4793af
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4793bb
mov eax, dword [eax + 8]
jmp 0x4793bd
xor eax, eax
test eax, eax
je 0x479472
mov eax, dword [0x666e10]
mov dword [0x666e0c], 0
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x479411
push 0xd8
call fcn.00494bd4
add esp, 4
mov dword [ebp - 0x88], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.005b6b70
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x84], eax
mov dword [0x666e10], eax
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x88]
push 5
push 5
push 1
add eax, 0xc
mov dword [ebp - 0x88], 0
push ecx
push eax
call fcn.00404f40
add esp, 0x14
test eax, eax
je 0x47945d
mov ecx, dword [ebp - 0x84]
mov ecx, dword [ecx + 0x14]
call fcn.005093a0
test al, al
jne 0x47945d
mov eax, dword [ebp - 0x84]
xor ecx, ecx
mov eax, dword [eax + 0x14]
add eax, 0xc
xchg dword [eax], ecx
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x479469
mov ecx, dword [ecx + 8]
jmp 0x47946b
xor ecx, ecx
push 0
call fcn.005b9b10
call fcn.005bd0a0
test eax, eax
je case.0x47a24c.3
mov ecx, eax
call fcn.005bf830
test eax, eax
je case.0x47a24c.3
test byte [eax + 8], 2
je case.0x47a24c.3
mov ecx, edi
call fcn.0047a690
jmp case.0x47a24c.3
test esi, esi
jne 0x47955a
call fcn.005c26d0
mov esi, eax
cmp byte [esi + 0x8c], 0
lea edi, [esi + 0x8c]
jne 0x47955a
mov dword [ebp - 0xf8], edi
mov byte [ebp - 0xf4], 0
mov byte [edi], 1
mov dword [ebp - 4], 3
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x88], eax
test eax, eax
je 0x479557
push 0
push 0x65ce14
push 0x65cc98
push 0
push eax
mov dword [esi + 0x78], 0
call fcn.004ac1c8
add esp, 0x14
test eax, eax
je 0x479515
push 1
mov ecx, eax
call fcn.005c1550
movups xmm1, xmmword [esi + 0x7c]
mov ecx, dword [ebp - 0x88]
movaps xmm0, xmm1
psrldq xmm0, 0xc
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
push eax
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
push eax
movd eax, xmm0
push eax
movd eax, xmm1
push eax
call fcn.005c3bd0
mov dword [esi + 0x78], 0
mov byte [edi], 0
mov ecx, dword [0x666f14]
test ecx, ecx
je 0x47956b
push 0xa
call fcn.0050a2b0
mov dword [0x666f48], 0xffffffff
xor eax, eax
jmp 0x4797ad
movzx eax, si
cmp eax, 1
je 0x47958d
cmp eax, 2
jne case.default.0x47a312
push esi
mov ecx, edi
call fcn.00478df0
xor eax, eax
jmp 0x4797ad
test esi, esi
jne case.default.0x47a312
cmp byte [0x65ac34], 0
mov edi, ecx
jne 0x47979c
mov esi, 1
jmp 0x47979c
test esi, esi
je case.default.0x47a312
mov ecx, dword [edi + 4]
push 1
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [edi + 4]
call fcn.005b9cd0
jmp case.0x47a24c.3
mov ecx, dword [edi + 4]
call fcn.005bd1f0
test al, al
jne case.0x47929c.136
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x38]
xor eax, eax
jmp 0x4797ad
mov ecx, dword [0x666df4]
test ecx, ecx
je 0x4792ea
mov eax, dword [ecx]
call dword [eax + 0x1c]
call fcn.005095c0
mov ecx, dword [eax + 4]
xor eax, eax
test ecx, ecx
setne al
jmp 0x4797ad
push 0
push 0
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [0x666e10]
test eax, eax
jne 0x479668
push 0xd8
call fcn.00494bd4
add esp, 4
mov dword [ebp - 0x88], eax
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.005b6b70
mov dword [ebp - 4], 0xffffffff
mov dword [0x666e10], eax
mov ecx, dword [eax + 0x58]
call fcn.005b75a0
cmp byte [edi + 0x70], 0
je case.0x47a24c.3
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
cmp eax, vtable.juce::HWNDComponentPeer.1.0
jne 0x47a39f
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x2c
push eax
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [ebp - 0x48], 2
sete al
test al, al
jne case.0x47a24c.3
mov eax, dword [0x666e10]
test eax, eax
jne 0x4796e3
push 0xd8
call fcn.00494bd4
add esp, 4
mov dword [ebp - 0x88], eax
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.005b6b70
mov dword [ebp - 4], 0xffffffff
mov dword [0x666e10], eax
mov edx, dword [edi + 4]
sub esp, 0x10
mov esi, dword [eax + 0x58]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, dword [edx + 0x24]
mov ecx, dword [edx + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, esp
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x130]
movups xmm0, xmmword [ebp - 0x24]
push edx
xor edx, edx
movups xmmword [eax], xmm0
call fcn.00484a30
movups xmm0, xmmword [ebp - 0x130]
add esp, 0x14
mov ecx, esi
push 0
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.005b7f10
mov ecx, dword [edi + 4]
movups xmm0, xmmword [eax + 0x14]
sub esp, 0x10
mov dword [ebp - 4], 6
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
fstp dword [ebp - 0x88]
movss xmm1, dword [ebp - 0x88]
lea ecx, [ebp - 0x140]
call fcn.00445430
mov dword [ebp - 4], 0xffffffff
mov eax, esp
movups xmm0, xmmword [ebp - 0x140]
mov ecx, dword [edi + 0x54]
mov edx, 0x614
push 0
movups xmmword [eax], xmm0
call fcn.0055b460
add esp, 0x14
mov esi, dword [ebp - 0x84]
mov edi, dword [ebp - 0x80]
push edi
push esi
push dword [ebx + 0xc]
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00494b92
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
mov eax, 4
jmp 0x4797ad
cmp ecx, 0xffffffe7
jne case.default.0x47a312
mov ecx, dword [edi + 4]
call fcn.005b8a20
test eax, eax
je case.0x47a24c.3
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], 0
push ecx
push 0xffffffffffffffe7
mov edx, esi
mov ecx, eax
call fcn.0055bdb0
add esp, 8
test al, al
je case.0x47a24c.3
mov eax, dword [ebp - 0x90]
mov byte [edi + 0xba], 1
jmp 0x4797ad
cmp edx, 0x200
ja 0x479d88
je 0x479d64
add edx, 0xfffffeff
cmp edx, 0x1f
ja case.default.0x47a312
movzx eax, byte [edx + 0x47a500]
jmp dword [eax*4 + 0x47a4d4]
push ecx
mov ecx, edi
call fcn.00477470
jmp 0x479dc7
push esi
mov ecx, edi
call fcn.004780a0
test al, al
jne case.0x47929c.136
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, dword [ebp - 0x80]
test eax, eax
je 0x47979c
push edi
push esi
push dword [ebx + 0xc]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x47979c
push esi
mov ecx, edi
call fcn.00477fa0
test al, al
jne case.0x47929c.136
push dword [ebp - 0x80]
mov ecx, edi
push esi
push dword [ebx + 0xc]
call fcn.004782e0
jmp case.0x47a24c.3
mov dword [ebp - 0x90], esi
call fcn.00474cb0
mov eax, dword [ebp - 0x80]
sar eax, 0x10
movzx ecx, al
lea eax, [esi - 0x30]
mov dword [ebp - 0x98], esi
cmp eax, 9
ja 0x4798f5
lea eax, [ecx - 0x47]
cmp eax, 0xb
ja case.0x4798e0.74
movzx eax, byte [eax + 0x47a528]
jmp dword [eax*4 + 0x47a520]
lea eax, [esi + 0x10030]
mov dword [ebp - 0x90], eax
jmp case.0x4798e0.74
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 1
push ecx
call esi
push 2
push eax
call esi
mov esi, dword [ebp - 0x90]
movzx eax, ax
test eax, eax
cmovne esi, eax
mov dword [ebp - 0x90], esi
mov esi, dword [ebp - 0x84]
cmp esi, 0x20
jae case.0x4798e0.74
test byte [0x666f10], 6
mov eax, esi
mov ecx, 0
cmovne eax, ecx
mov dword [ebp - 0x98], eax
mov eax, dword [0x666f10]
mov ecx, dword [ebp - 0x90]
and eax, 0xffffff8f
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xe4], ecx
mov ecx, edi
push eax
call fcn.00564b50
test al, al
je 0x47989c
xor eax, eax
jmp 0x4797ad
mov eax, 0x10000
jmp 0x4797ad
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
jne case.default.0x47a312
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
cmp eax, vtable.juce::HWNDComponentPeer.1.0
jne 0x47a3a8
mov al, byte [edi + 0x70]
test al, al
je 0x4799d1
push 0
push 0xf120
push esi
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
call esi
push 1
push 0xf010
push dword [ebp - 0x84]
call esi
jmp 0x479793
mov eax, dword [edi]
cmp eax, vtable.juce::HWNDComponentPeer.1.0
jne 0x47a3b1
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x2c
push eax
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [ebp - 0x74], 2
sete al
test al, al
jne case.0x47a24c.3
push 1
push 0xf030
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp case.0x47a24c.3
mov eax, esi
and eax, 0xfff0
cmp eax, 0xf060
ja 0x479aba
je 0x479a84
sub eax, 0xf020
je 0x479a57
sub eax, 0x10
jne case.default.0x47a312
mov ecx, edi
call fcn.0047a690
test al, al
jne case.0x47929c.136
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x38]
xor eax, eax
jmp 0x4797ad
mov ecx, edi
call fcn.0047a690
test al, al
jne case.0x47929c.136
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
jne case.0x47a24c.3
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x30]
xor eax, eax
jmp 0x4797ad
mov ecx, edi
call fcn.0047a690
test al, al
jne case.0x47929c.136
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
je case.0x47a24c.3
push 0
push 0
push 0x10
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x4797ad
sub eax, 0xf100
je 0x479b3a
sub eax, 0x20
jne case.default.0x47a312
mov ecx, edi
call fcn.0047a690
test al, al
jne case.0x47929c.136
mov eax, dword [edi + 8]
mov ecx, edi
shr eax, 3
test al, 1
mov eax, dword [edi]
je 0x479b04
mov eax, dword [eax + 0x3c]
call eax
test al, al
je case.0x47a24c.3
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x38]
xor eax, eax
jmp 0x4797ad
mov eax, dword [eax + 0x34]
call eax
test al, al
mov ecx, edi
mov eax, dword [edi]
je 0x479b1d
push 0
call dword [eax + 0x30]
xor eax, eax
jmp 0x4797ad
mov eax, dword [eax + 0x3c]
call eax
test al, al
je case.0x47929c.136
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x38]
xor eax, eax
jmp 0x4797ad
test ecx, 0xffff0000
jle case.0x47929c.136
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
je case.default.0x47a312
call dword [sym.imp.USER32.dll_GetCapture]
cmp dword [ebp - 0x94], eax
jne case.0x47a24c.3
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x47a24c.3
mov ecx, edi
mov dword [edi + 0xd0], 0xffffffff
mov dword [edi + 0xd4], 0xffffffff
mov byte [edi + 0xd8], 0
call fcn.005648f0
test eax, eax
je case.0x47929c.136
mov ecx, dword [eax]
mov dword [ebp - 0x98], 0x612d9c
mov edx, dword [ecx + 0x18]
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 7
push ecx
mov ecx, eax
call edx
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff8
mov eax, dword [ecx]
test eax, 0x30000000
jne case.0x47929c.136
or eax, 0xffffffff
lock xadd dword [ecx], eax
test eax, eax
jne case.0x47929c.136
push ecx
call fcn.00494c04
add esp, 4
xor eax, eax
jmp 0x4797ad
cmp byte [edi + 0xd8], 0
lea eax, [edi + 0xd0]
mov dword [ebp - 0x84], eax
je 0x479d34
mov ecx, edi
call fcn.005648f0
mov edi, eax
test edi, edi
je 0x479cfd
mov ecx, dword [edi]
push dword [ebp - 0x84]
mov edx, dword [ecx + 0xc]
mov ecx, edi
call edx
mov ecx, dword [edi]
mov dword [ebp - 0xa4], 0x612d9c
mov eax, dword [ecx + 0x18]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 8
push ecx
mov ecx, edi
call eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff8
mov eax, dword [ecx]
test eax, 0x30000000
jne 0x479c78
or eax, 0xffffffff
lock xadd dword [ecx], eax
test eax, eax
jne 0x479c78
push ecx
call fcn.00494c04
add esp, 4
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax]
mov dword [eax + 4], ecx
mov eax, dword [edi]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], ecx
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, edi
call dword [eax + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
movq qword [ebp - 0xb0], xmm0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 4], 9
lea ecx, [ebp - 0xb0]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x10]
push dword [ebp - 0xb0]
mov dword [ebp - 0xa8], 0
call fcn.004af8b3
add esp, 4
mov edi, dword [ebp - 0x94]
push edi
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov dword [ebp - 0x88], eax
test eax, eax
je 0x479d2e
push 0
push 0
push 0x11
push eax
call dword [sym.imp.IMM32.dll_ImmNotifyIME]
push dword [ebp - 0x88]
push edi
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov eax, dword [ebp - 0x84]
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov byte [eax + 8], 0
jmp case.0x47a24c.3
push ecx
push dword [ebp - 0x94]
lea ecx, [edi + 0xd0]
push edi
call fcn.0047a780
xor eax, eax
jmp 0x4797ad
push ecx
lea eax, [ebp - 0x100]
mov ecx, edi
push eax
call fcn.00479070
mov ecx, edi
push dword [eax + 4]
push dword [eax]
push 0
call fcn.00476ef0
xor eax, eax
jmp 0x4797ad
cmp edx, 0x319
ja case.default.0x47a312
je 0x47a2fc
add edx, 0xfffffdff
cmp edx, 0xdf
ja case.default.0x47a312
movzx eax, byte [edx + 0x47a57c]
jmp dword [eax*4 + 0x47a534]
push 0
push 0
push ecx
push esi
mov ecx, edi
call fcn.00477ab0
test al, al
je case.0x47a24c.3
xor eax, eax
jmp 0x4797ad
push 0
push 1
jmp 0x479dbe
push 1
jmp 0x479dbc
mov byte [edi + 0x72], 0
call fcn.00476e50
test al, al
jne case.0x47929c.136
mov esi, dword [0x666f10]
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]
push ecx
push edx
mov edx, dword [ebp - 0x90]
lea ecx, [ebp - 0x108]
mov edi, dword [eax + 0x2c]
mov edx, dword [edx + 0x54]
call fcn.0055b710
mov ecx, dword [ebp - 0x90]
add esp, 8
movd xmm1, dword [eax + 4]
movd xmm0, dword [eax]
lea eax, [ebp - 0xd0]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xb4], xmm1
push dword [ebp - 0xb4]
movss dword [ebp - 0xb8], xmm0
push dword [ebp - 0xb8]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
push dword [ebp - 0xcc]
push dword [ebp - 0xd0]
push 0
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.0055b070
push edx
push eax
push ecx
mov ecx, dword [ebp - 0x90]
xorps xmm3, xmm3
mov dword [esp], 0
push esi
push 0
call fcn.005650b0
xor eax, eax
jmp 0x4797ad
push ecx
lea eax, [ebp - 0x110]
mov ecx, edi
push eax
call fcn.00479070
cmp dword [0x66700c], 0
movss xmm0, dword [eax]
movss dword [ebp - 0xa0], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x9c], xmm0
je 0x479ef9
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xffffff80
cmp eax, 0xff515780
je case.0x47929c.136
call fcn.00476e50
test al, al
jne case.0x47929c.136
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x88], eax
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [ebp - 0x88]
cmp eax, ecx
je 0x479f26
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
push dword [ebp - 0x9c]
mov ecx, edi
push dword [ebp - 0xa0]
push 1
call fcn.00476ef0
mov ecx, edi
call fcn.005652c0
test al, al
je case.0x47929c.136
mov ecx, esi
call fcn.00474d30
push dword [ebp - 0x9c]
xorps xmm0, xmm0
mov byte [edi + 0x71], 1
push dword [ebp - 0xa0]
mov esi, dword [0x666f10]
push 0
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.0055b070
push edx
push eax
push ecx
mov dword [esp], 0
xorps xmm3, xmm3
push esi
push 0
mov ecx, edi
call fcn.005650b0
xor eax, eax
jmp 0x4797ad
push ecx
lea eax, [ebp - 0x118]
mov ecx, edi
push eax
call fcn.00479070
mov ecx, edi
push dword [eax + 4]
push dword [eax]
push esi
call fcn.00477130
xor eax, eax
jmp 0x4797ad
push 1
push esi
mov ecx, edi
call fcn.004772e0
xor eax, eax
jmp 0x4797ad
push 0
push esi
mov ecx, edi
call fcn.004772e0
xor eax, eax
jmp 0x4797ad
cmp byte [edi + 0x74], 0
je 0x479ffa
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x479ff6
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [edi + 0x74], 0
cmp byte [edi + 0x71], 0
je case.0x47929c.136
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx edx, ax
shr eax, 0x10
movsx ecx, ax
mov eax, dword [edi]
push ecx
push edx
mov edx, dword [edi + 0x54]
lea ecx, [ebp - 0x120]
mov esi, dword [eax + 0x2c]
call fcn.0055b710
add esp, 8
mov ecx, edi
movd xmm1, dword [eax + 4]
movd xmm0, dword [eax]
lea eax, [ebp - 0xd8]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xbc], xmm1
push dword [ebp - 0xbc]
movss dword [ebp - 0xc0], xmm0
push dword [ebp - 0xc0]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
push 0
call fcn.00477130
xor eax, eax
jmp 0x4797ad
mov eax, dword [edi + 8]
shr eax, 3
test al, 1
je case.0x47929c.136
mov edi, ecx
jmp 0x47979c
cmp dword [0x667020], 0
je case.default.0x47a312
push ecx
push esi
mov ecx, edi
call fcn.00477690
jmp 0x4797ad
push esi
push ecx
mov ecx, edi
call fcn.004783f0
jmp 0x4797ad
movups xmm0, xmmword [ecx]
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x88], eax
movups xmmword [ebp - 0x24], xmm0
call fcn.0055ba90
mov ecx, dword [0x667028]
test ecx, ecx
je 0x47a10a
mov eax, dword [0x667008]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x47a10a
push dword [ebp - 0x88]
call ecx
push eax
call dword [ebp - 0x9c]
cmp eax, 2
sete al
jmp 0x47a10f
call fcn.0055b9e0
test al, al
je case.0x47929c.136
shr esi, 0x10
movsd xmm1, qword [edi + 0xb0]
movaps xmm2, xmm1
movd xmm3, esi
cvtdq2pd xmm3, xmm3
divsd xmm3, qword [0x627e48]
movaps xmm0, xmm3
subsd xmm2, xmm3
maxsd xmm0, xmm1
andps xmm2, xmmword [0x628300]
mulsd xmm0, qword [0x627b88]
comisd xmm0, xmm2
jae case.0x47929c.136
movsd xmm0, qword [0x627b58]
comisd xmm0, xmm2
ja case.0x47929c.136
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movsd qword [edi + 0xb0], xmm3
mov al, byte [edi + 0xb8]
mov byte [ebp - 0x89], al
mov eax, dword [ebp - 0x18]
push 0x14
sub eax, edx
mov byte [edi + 0xb8], 1
push eax
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov al, byte [ebp - 0x89]
mov byte [edi + 0xb8], al
test al, al
jne case.0x47929c.136
mov ecx, edi
call fcn.004761f0
push 0
push 0
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [edi + 0x28]
test esi, esi
jle case.0x47929c.136
mov eax, dword [edi + 0x28]
dec esi
cmp esi, eax
jl 0x47a1f2
lea esi, [eax - 1]
mov eax, esi
shr eax, 0x1f
xor al, 1
je case.0x47929c.136
mov eax, dword [edi + 0x20]
sub esp, 8
movsd xmm0, qword [edi + 0xb0]
mov ecx, dword [eax + esi*4]
movsd qword [esp], xmm0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47a1d2
mov eax, dword [edi + 4]
mov al, byte [eax + 0x7d]
shr al, 1
not al
test al, 1
jne case.default.0x47a312
mov eax, 3
jmp 0x4797ad
mov ecx, dword [0x666df4]
test ecx, ecx
je case.0x47a24c.3
lea eax, [esi - 2]
cmp eax, 0x10
ja case.0x47a24c.3
movzx eax, byte [eax + 0x47a668]
jmp dword [eax*4 + 0x47a65c]
mov eax, dword [ecx]
cmp eax, 0x61bf60
jne 0x47a3bd
jmp case.0x47a24c.3
mov eax, dword [ecx]
cmp eax, 0x61bf60
jne 0x47a3c5
jmp case.0x47a24c.3
mov ecx, edi
call fcn.0047a690
test al, al
jne case.0x47a24c.3
cmp esi, 4
je 0x47a297
lea eax, [esi - 0xa]
cmp eax, 7
ja case.0x47a24c.3
cmp dword [edi + 0x1c], 0
je 0x47a2b8
mov eax, dword [edi + 8]
and eax, 0x18
cmp al, 0x18
jne 0x47a2b8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x40]
call eax
test al, al
jne 0x47a2b8
mov al, 1
jmp 0x47a2ba
xor al, al
test al, al
je case.0x47a24c.3
mov ecx, dword [edi + 0x1c]
mov byte [edi + 0x74], 1
mov eax, dword [ecx]
call dword [eax + 8]
jmp case.0x47a24c.3
cmp esi, 1
lea ecx, [edi + 0xd0]
sete al
movzx eax, al
push eax
push dword [ebp - 0x94]
call fcn.0047a740
mov edi, dword [ebp - 0x80]
and edi, 0x7fffffff
jmp 0x47979c
mov eax, ecx
shr eax, 0x10
and eax, 0xfff
add eax, 0xfffffff5
cmp eax, 3
ja case.default.0x47a312
jmp dword [eax*4 + 0x47a67c]
mov dword [ebp - 0x84], 0x30000
jmp 0x47a347
mov dword [ebp - 0x84], 0x30001
jmp 0x47a347
mov dword [ebp - 0x84], 0x30002
jmp 0x47a347
mov dword [ebp - 0x84], 0x30003
call fcn.00474cb0
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp dword [edi + 0x54], eax
jne case.0x47a24c.3
mov eax, dword [0x666f10]
mov ecx, dword [ebp - 0x84]
and eax, 0xffffff8f
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], ecx
mov ecx, edi
push eax
mov dword [ebp - 0xe8], 0
call fcn.00564b50
test al, al
je case.0x47a24c.3
mov eax, 1
jmp 0x4797ad
mov ecx, edi
call edx
jmp 0x4796a5
mov ecx, edi
call edx
jmp 0x4799a9
mov eax, dword [eax + 0x34]
mov ecx, edi
call eax
jmp 0x4799f9
call dword [eax + 0x20]
jmp case.0x47a24c.3
call dword [eax + 0x24]
jmp case.0x47a24c.3