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 + 0x21784], 1
je 0x5813eb
cmp dword [esi + 0x21784], 4
je 0x5813eb
cmp byte [esi + 0x215f8], 0
je 0x5810b7
cmp byte [esi + 0x21678], 0
je 0x5810b7
push ecx
mov ecx, 0x6a40f0
call fcn.0057ea30
add esp, 4
test al, al
je 0x5810b7
movss xmm3, dword [0x676998]
lea eax, [ebp - 4]
movss xmm2, dword [0x67699c]
movss xmm1, dword [0x676988]
push eax
push ecx
mov ecx, dword [0x74db84]
mov dword [esp], 0x42900000
call fcn.00583af0
cmp dword [0x74db50], 0
je 0x5810b7
mov ecx, esi
call fcn.005871a0
movss xmm1, dword [0x676994]
movss xmm0, dword [0x6769a8]
call fcn.00580550
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
test al, al
je 0x5810ed
push 5
push 0
push 0x674dcc
push str.https:__www.facebook.com_warzsiam.in.th_
push str.open
push 0
call ebx
mov ecx, dword [0x74db58]
movss xmm2, dword [0x6a40e0]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm2
jb 0x5811a5
movss xmm0, dword [0x6a40e8]
addss xmm0, xmm2
comiss xmm0, xmm1
jb 0x5811a5
movd xmm2, dword [0x74db54]
movss xmm1, dword [0x6a40e4]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jb 0x5811a5
movss xmm0, dword [0x6a40ec]
addss xmm0, xmm1
comiss xmm0, xmm2
jb 0x5811a5
movss xmm3, dword [0x676998]
lea eax, [ebp - 4]
movss xmm2, dword [0x6769ac]
movss xmm1, dword [0x676988]
push eax
push ecx
mov ecx, dword [0x74db7c]
mov dword [esp], 0x42900000
call fcn.00583af0
cmp dword [0x74db50], 0
je 0x58119f
push 5
push 0
push 0x674dcc
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 [0x74db58]
mov eax, dword [esi + 0x215f4]
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.00597870
mov ecx, dword [0x74db68]
lea eax, [ebp - 0xc]
add esp, 0x1c
mov dword [ebp - 0xc], 0xffff1a1a
push 1
push dword [esi + 0x215f4]
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.00592910
mov ecx, dword [0x74db58]
mov eax, dword [0x74feec]
test al, 1
jne 0x581252
or eax, 1
mov dword [0x74feec], eax
xor eax, eax
cmp byte [esi + 0x215f8], al
setne al
mov dword [0x74fef0], eax
jmp 0x581257
mov eax, dword [0x74fef0]
cmp dword [0x74db50], 0
movss xmm1, dword [0x6a4114]
movss xmm2, dword [0x6a4110]
je 0x581338
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm2
jb 0x5812cb
movaps xmm0, xmm2
addss xmm0, dword [0x6a4118]
comiss xmm0, xmm3
jb 0x5812cb
movd xmm3, dword [0x74db54]
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm1
jb 0x5812cb
movaps xmm0, xmm1
addss xmm0, dword [0x6a411c]
comiss xmm0, xmm3
jb 0x5812cb
xor eax, eax
mov dword [0x74fef0], eax
mov dword [0x6a53e4], 0x74e1e8
mov dword [0x6a53e0], 0x74e1e8
cmp dword [0x74db50], 0
je 0x581338
movss xmm0, dword [0x6a4100]
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm0
jb 0x581338
addss xmm0, dword [0x6a4108]
comiss xmm0, xmm3
jb 0x581338
movd xmm3, dword [0x74db54]
movss xmm0, dword [0x6a4104]
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm0
jb 0x581338
addss xmm0, dword [0x6a410c]
comiss xmm0, xmm3
jb 0x581338
mov eax, 1
mov dword [0x74fef0], eax
mov dword [0x6a53e4], 0x74e1e8
mov dword [0x6a53e0], 0x74e1e8
test eax, eax
lea ecx, [esi + 0x215f8]
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 [0x74fef0]
jne 0x58137c
cmp byte [esi + 0x215f8], 0
mov ecx, 1
cmovne eax, ecx
mov dword [0x74fef0], eax
movss xmm1, dword [0x6a4104]
lea ecx, [esi + 0x21678]
movss xmm0, dword [0x6a4100]
cmp eax, 1
push 0x20
push 1
sete dl
call fcn.0057fd90
add esp, 8
cmp eax, 9
jne 0x5813ba
mov dword [0x74fef0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xd
jne 0x581512
cmp byte [esi + 0x21678], 0
je 0x581512
cmp byte [esi + 0x215f8], 0
je 0x581512
mov ecx, esi
call fcn.005871a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x6a411c]
lea eax, [ebp - 0x10]
addss xmm0, dword [0x676970]
push 0
push 0
push eax
sub esp, 0x10
mov dword [ebp - 0x10], 0x64000000
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x6a4118]
addss xmm0, dword [0x676970]
movss dword [esp + 8], xmm0
movss xmm0, dword [0x6a4114]
subss xmm0, dword [0x67696c]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x6a4110]
subss xmm0, dword [0x67696c]
movss dword [esp], xmm0
call fcn.00597870
movss xmm0, dword [0x6a410c]
lea eax, [ebp - 0x14]
addss xmm0, dword [0x676970]
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 [0x6a4108]
addss xmm0, dword [0x676970]
movss dword [esp + 8], xmm0
movss xmm0, dword [0x6a4104]
subss xmm0, dword [0x67696c]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x6a4100]
subss xmm0, dword [0x67696c]
movss dword [esp], xmm0
call fcn.00597870
movss xmm1, dword [0x6a4114]
lea ecx, [esi + 0x215f8]
movss xmm0, dword [0x6a4110]
add esp, 0x1c
xor dl, dl
push 0x20
push 0
call fcn.0057fd90
movss xmm1, dword [0x6a4104]
lea ecx, [esi + 0x21678]
movss xmm0, dword [0x6a4100]
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