Function at 0x581020
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 + 0x216dc], 1
je 0x5813eb
cmp dword [esi + 0x216dc], 4
je 0x5813eb
cmp byte [esi + 0x215d0], 0
je 0x5810b7
cmp byte [esi + 0x21650], 0
je 0x5810b7
push ecx
mov ecx, 0x779210
call fcn.0057ea30
add esp, 4
test al, al
je 0x5810b7
movss xmm3, dword [0x68d58c]
lea eax, [ebp - 4]
movss xmm2, dword [0x68d590]
movss xmm1, dword [0x68d57c]
push eax
push ecx
mov ecx, dword [0x827b94]
mov dword [esp], 0x42900000
call fcn.00583b00
cmp dword [0x827b60], 0
je 0x5810b7
mov ecx, esi
call fcn.00587180
movss xmm1, dword [0x68d588]
movss xmm0, dword [0x68d59c]
call fcn.00580550
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
test al, al
je 0x5810ed
push 5
push 0
push 0x68b994
push str.https:__www.facebook.com_warzsiam.in.th_
push str.open
push 0
call ebx
mov ecx, dword [0x827b68]
movss xmm2, dword [0x779200]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm2
jb 0x5811a5
movss xmm0, dword [0x779208]
addss xmm0, xmm2
comiss xmm0, xmm1
jb 0x5811a5
movd xmm2, dword [0x827b64]
movss xmm1, dword [0x779204]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jb 0x5811a5
movss xmm0, dword [0x77920c]
addss xmm0, xmm1
comiss xmm0, xmm2
jb 0x5811a5
movss xmm3, dword [0x68d58c]
lea eax, [ebp - 4]
movss xmm2, dword [0x68d5a0]
movss xmm1, dword [0x68d57c]
push eax
push ecx
mov ecx, dword [0x827b8c]
mov dword [esp], 0x42900000
call fcn.00583b00
cmp dword [0x827b60], 0
je 0x58119f
push 5
push 0
push 0x68b994
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 [0x827b68]
mov eax, dword [esi + 0x215cc]
cmp byte [eax], 0
je 0x58122f
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.00597750
mov ecx, dword [0x827b78]
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.00592880
mov ecx, dword [0x827b68]
mov eax, dword [0x829efc]
test al, 1
jne 0x581252
or eax, 1
mov dword [0x829efc], eax
xor eax, eax
cmp byte [esi + 0x215d0], al
setne al
mov dword [0x829f00], eax
jmp 0x581257
mov eax, dword [0x829f00]
cmp dword [0x827b60], 0
movss xmm1, dword [0x779234]
movss xmm2, dword [0x779230]
je 0x581338
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm2
jb 0x5812cb
movaps xmm0, xmm2
addss xmm0, dword [0x779238]
comiss xmm0, xmm3
jb 0x5812cb
movd xmm3, dword [0x827b64]
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm1
jb 0x5812cb
movaps xmm0, xmm1
addss xmm0, dword [0x77923c]
comiss xmm0, xmm3
jb 0x5812cb
xor eax, eax
mov dword [0x829f00], eax
mov dword [0x77a504], 0x8281f8
mov dword [0x77a500], 0x8281f8
cmp dword [0x827b60], 0
je 0x581338
movss xmm0, dword [0x779220]
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm0
jb 0x581338
addss xmm0, dword [0x779228]
comiss xmm0, xmm3
jb 0x581338
movd xmm3, dword [0x827b64]
movss xmm0, dword [0x779224]
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm0
jb 0x581338
addss xmm0, dword [0x77922c]
comiss xmm0, xmm3
jb 0x581338
mov eax, 1
mov dword [0x829f00], eax
mov dword [0x77a504], 0x8281f8
mov dword [0x77a500], 0x8281f8
test eax, eax
lea ecx, [esi + 0x215d0]
push 0x40
push 0
sete dl
movaps xmm0, xmm2
call fcn.0057fd90
add esp, 8
cmp eax, 9
jne 0x58135e
mov eax, 1
jmp 0x581377
cmp eax, 0xd
mov eax, dword [0x829f00]
jne 0x58137c
cmp byte [esi + 0x215d0], 0
mov ecx, 1
cmovne eax, ecx
mov dword [0x829f00], eax
movss xmm1, dword [0x779224]
lea ecx, [esi + 0x21650]
movss xmm0, dword [0x779220]
cmp eax, 1
push 0x20
push 1
sete dl
call fcn.0057fd90
add esp, 8
cmp eax, 9
jne 0x5813ba
mov dword [0x829f00], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xd
jne 0x581512
cmp byte [esi + 0x21650], 0
je 0x581512
cmp byte [esi + 0x215d0], 0
je 0x581512
mov ecx, esi
call fcn.00587180
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x77923c]
lea eax, [ebp - 0x10]
addss xmm0, dword [0x68d564]
push 0
push 0
push eax
sub esp, 0x10
mov dword [ebp - 0x10], 0x64000000
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x779238]
addss xmm0, dword [0x68d564]
movss dword [esp + 8], xmm0
movss xmm0, dword [0x779234]
subss xmm0, dword [0x68d560]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x779230]
subss xmm0, dword [0x68d560]
movss dword [esp], xmm0
call fcn.00597750
movss xmm0, dword [0x77922c]
lea eax, [ebp - 0x14]
addss xmm0, dword [0x68d564]
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 [0x779228]
addss xmm0, dword [0x68d564]
movss dword [esp + 8], xmm0
movss xmm0, dword [0x779224]
subss xmm0, dword [0x68d560]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x779220]
subss xmm0, dword [0x68d560]
movss dword [esp], xmm0
call fcn.00597750
movss xmm1, dword [0x779234]
lea ecx, [esi + 0x215d0]
movss xmm0, dword [0x779230]
add esp, 0x1c
xor dl, dl
push 0x20
push 0
call fcn.0057fd90
movss xmm1, dword [0x779224]
lea ecx, [esi + 0x21650]
movss xmm0, dword [0x779220]
xor dl, dl
push 0x20
push 1
call fcn.0057fd90
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret