Function at 0x580f40
Capabilities:
Create process on windows
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x70
mov esi, ecx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp dword [esi + 0x21774], 1
je 0x58130b
cmp dword [esi + 0x21774], 4
je 0x58130b
cmp byte [esi + 0x215d0], 0
je 0x580fd7
cmp byte [esi + 0x21650], 0
je 0x580fd7
push ecx
mov ecx, 0x6cc100
call fcn.0057e950
add esp, 4
test al, al
je 0x580fd7
movss xmm3, dword [0x676b20]
lea eax, [ebp - 4]
movss xmm2, dword [0x676b24]
movss xmm1, dword [0x676b10]
push eax
push ecx
mov ecx, dword [0x775bb4]
mov dword [esp], 0x42900000
call fcn.005839d0
cmp dword [0x775b80], 0
je 0x580fd7
mov ecx, esi
call fcn.00587040
movss xmm1, dword [0x676b1c]
movss xmm0, dword [0x676b30]
call fcn.00580470
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
test al, al
je 0x58100d
push 5
push 0
push 0x674e14
push str.https:__www.facebook.com_warzsiam.in.th_
push str.open
push 0
call ebx
mov ecx, dword [0x775b88]
movss xmm2, dword [0x6cc0f0]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm2
jb 0x5810c5
movss xmm0, dword [0x6cc0f8]
addss xmm0, xmm2
comiss xmm0, xmm1
jb 0x5810c5
movd xmm2, dword [0x775b84]
movss xmm1, dword [0x6cc0f4]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jb 0x5810c5
movss xmm0, dword [0x6cc0fc]
addss xmm0, xmm1
comiss xmm0, xmm2
jb 0x5810c5
movss xmm3, dword [0x676b20]
lea eax, [ebp - 4]
movss xmm2, dword [0x676b34]
movss xmm1, dword [0x676b10]
push eax
push ecx
mov ecx, dword [0x775bac]
mov dword [esp], 0x42900000
call fcn.005839d0
cmp dword [0x775b80], 0
je 0x5810bf
push 5
push 0
push 0x674e14
push str.https:__warzsiam.in.th__pageregister
push str.open
push 0
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x775b88]
mov eax, dword [esi + 0x215cc]
cmp byte [eax], 0
je 0x58114f
push 0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x96000000
push eax
sub esp, 0x10
mov dword [esp + 0xc], 0x41c80000
mov dword [esp + 8], 0x43a58000
mov dword [esp + 4], 0x43910000
mov dword [esp], 0x43660000
call fcn.00597940
mov ecx, dword [0x775b98]
lea eax, [ebp - 0xc]
add esp, 0x1c
mov dword [ebp - 0xc], 0xffff1a1a
push 1
push dword [esi + 0x215cc]
push eax
sub esp, 0x10
mov dword [esp + 0xc], 0x41c80000
mov dword [esp + 8], 0x43a58000
mov dword [esp + 4], 0x43910000
mov dword [esp], 0x43660000
call fcn.005929d0
mov ecx, dword [0x775b88]
mov eax, dword [0x777f1c]
test al, 1
jne 0x581172
or eax, 1
mov dword [0x777f1c], eax
xor eax, eax
cmp byte [esi + 0x215d0], al
setne al
mov dword [0x777f20], eax
jmp 0x581177
mov eax, dword [0x777f20]
cmp dword [0x775b80], 0
movss xmm1, dword [0x6cc124]
movss xmm2, dword [0x6cc120]
je 0x581258
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm2
jb 0x5811eb
movaps xmm0, xmm2
addss xmm0, dword [0x6cc128]
comiss xmm0, xmm3
jb 0x5811eb
movd xmm3, dword [0x775b84]
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm1
jb 0x5811eb
movaps xmm0, xmm1
addss xmm0, dword [0x6cc12c]
comiss xmm0, xmm3
jb 0x5811eb
xor eax, eax
mov dword [0x777f20], eax
mov dword [0x6cd3f4], 0x776218
mov dword [0x6cd3f0], 0x776218
cmp dword [0x775b80], 0
je 0x581258
movss xmm0, dword [0x6cc110]
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm0
jb 0x581258
addss xmm0, dword [0x6cc118]
comiss xmm0, xmm3
jb 0x581258
movd xmm3, dword [0x775b84]
movss xmm0, dword [0x6cc114]
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm0
jb 0x581258
addss xmm0, dword [0x6cc11c]
comiss xmm0, xmm3
jb 0x581258
mov eax, 1
mov dword [0x777f20], eax
mov dword [0x6cd3f4], 0x776218
mov dword [0x6cd3f0], 0x776218
test eax, eax
lea ecx, [esi + 0x215d0]
push 0x40
push 0
sete dl
movaps xmm0, xmm2
call fcn.0057fcb0
add esp, 8
cmp eax, 9
jne 0x58127e
mov eax, 1
jmp 0x581297
cmp eax, 0xd
mov eax, dword [0x777f20]
jne 0x58129c
cmp byte [esi + 0x215d0], 0
mov ecx, 1
cmovne eax, ecx
mov dword [0x777f20], eax
movss xmm1, dword [0x6cc114]
lea ecx, [esi + 0x21650]
movss xmm0, dword [0x6cc110]
cmp eax, 1
push 0x20
push 1
sete dl
call fcn.0057fcb0
add esp, 8
cmp eax, 9
jne 0x5812da
mov dword [0x777f20], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xd
jne 0x581432
cmp byte [esi + 0x21650], 0
je 0x581432
cmp byte [esi + 0x215d0], 0
je 0x581432
mov ecx, esi
call fcn.00587040
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x6cc12c]
lea eax, [ebp - 0x10]
addss xmm0, dword [0x676af8]
push 0
push 0
push eax
sub esp, 0x10
mov dword [ebp - 0x10], 0x64000000
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x6cc128]
addss xmm0, dword [0x676af8]
movss dword [esp + 8], xmm0
movss xmm0, dword [0x6cc124]
subss xmm0, dword [0x676af4]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x6cc120]
subss xmm0, dword [0x676af4]
movss dword [esp], xmm0
call fcn.00597940
movss xmm0, dword [0x6cc11c]
lea eax, [ebp - 0x14]
addss xmm0, dword [0x676af8]
add esp, 0x1c
mov dword [ebp - 0x14], 0x64000000
push 0
push 0
push eax
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x6cc118]
addss xmm0, dword [0x676af8]
movss dword [esp + 8], xmm0
movss xmm0, dword [0x6cc114]
subss xmm0, dword [0x676af4]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x6cc110]
subss xmm0, dword [0x676af4]
movss dword [esp], xmm0
call fcn.00597940
movss xmm1, dword [0x6cc124]
lea ecx, [esi + 0x215d0]
movss xmm0, dword [0x6cc120]
add esp, 0x1c
xor dl, dl
push 0x20
push 0
call fcn.0057fcb0
movss xmm1, dword [0x6cc114]
lea ecx, [esi + 0x21650]
movss xmm0, dword [0x6cc110]
xor dl, dl
push 0x20
push 1
call fcn.0057fcb0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret