Function at 0x581560
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 0x5818c1
cmp dword [esi + 0x21784], 4
je 0x5818c1
cmp byte [esi + 0x215f8], 0
je 0x5815f7
cmp byte [esi + 0x21678], 0
je 0x5815f7
push ecx
mov ecx, 0x6c52c0
call fcn.0057edc0
add esp, 4
test al, al
je 0x5815f7
movss xmm3, dword [0x68c60c]
lea eax, [ebp - 4]
movss xmm2, dword [0x68c610]
movss xmm1, dword [0x68c5fc]
push eax
push ecx
mov ecx, dword [0x8839e4]
mov dword [esp], 0x42900000
call fcn.00584220
cmp dword [0x8839b0], 0
je 0x5815f7
mov ecx, esi
call fcn.00587880
movss xmm1, dword [0x68c608]
movss xmm0, dword [0x68c61c]
call fcn.00580b00
test al, al
je 0x58162b
push 5
push 0
push 0x68a48f
push str.https:__www.facebook.com_warzsiam.in.th_
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
movd xmm1, dword [0x8839b8]
movss xmm2, dword [0x6c52b0]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm2
jb 0x5816e0
movss xmm0, dword [0x6c52b8]
addss xmm0, xmm2
comiss xmm0, xmm1
jb 0x5816e0
movd xmm2, dword [0x8839b4]
movss xmm1, dword [0x6c52b4]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jb 0x5816e0
movss xmm0, dword [0x6c52bc]
addss xmm0, xmm1
comiss xmm0, xmm2
jb 0x5816e0
movss xmm3, dword [0x68c60c]
lea eax, [ebp - 4]
movss xmm2, dword [0x68c620]
movss xmm1, dword [0x68c5fc]
push eax
push ecx
mov ecx, dword [0x8839dc]
mov dword [esp], 0x42900000
call fcn.00584220
mov ebx, dword [0x8839b0]
test ebx, ebx
je 0x5816e6
push 5
push 0
push 0x68a48f
push str.https:__warzsiam.in.th__pageregister
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [0x8839b0]
mov eax, dword [esi + 0x215f4]
cmp byte [eax], 0
je 0x581770
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.005a4990
mov ecx, dword [0x8839c8]
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.0059fa30
mov ebx, dword [0x8839b0]
mov eax, dword [0x89270c]
test al, 1
jne 0x581794
xor edx, edx
or eax, 1
cmp byte [esi + 0x215f8], dl
mov dword [0x89270c], eax
setne dl
mov dword [0x892710], edx
jmp 0x58179a
mov edx, dword [0x892710]
test ebx, ebx
je 0x581801
push ecx
mov ecx, 0x6c52e0
call fcn.0057edc0
add esp, 4
test al, al
je 0x5817cc
xor edx, edx
mov dword [0x892710], edx
mov dword [0x6c65b4], 0x884048
mov dword [0x6c65b0], 0x884048
test ebx, ebx
je 0x581801
push ecx
mov ecx, 0x6c52d0
call fcn.0057edc0
add esp, 4
test al, al
je 0x581801
mov edx, 1
mov dword [0x892710], edx
mov dword [0x6c65b4], 0x884048
mov dword [0x6c65b0], 0x884048
movss xmm1, dword [0x6c52e4]
lea ecx, [esi + 0x215f8]
movss xmm0, dword [0x6c52e0]
test edx, edx
push 0x40
push 0
sete dl
call fcn.00580330
add esp, 8
cmp eax, 9
jne 0x581834
mov eax, 1
jmp 0x58184d
cmp eax, 0xd
mov eax, dword [0x892710]
jne 0x581852
cmp byte [esi + 0x215f8], 0
mov ecx, 1
cmovne eax, ecx
mov dword [0x892710], eax
movss xmm1, dword [0x6c52d4]
lea ecx, [esi + 0x21678]
movss xmm0, dword [0x6c52d0]
cmp eax, 1
push 0x20
push 1
sete dl
call fcn.00580330
add esp, 8
cmp eax, 9
jne 0x581890
mov dword [0x892710], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xd
jne 0x5819e8
cmp byte [esi + 0x21678], 0
je 0x5819e8
cmp byte [esi + 0x215f8], 0
je 0x5819e8
mov ecx, esi
call fcn.00587880
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x6c52ec]
lea eax, [ebp - 0x10]
addss xmm0, dword [0x68c5e4]
push 0
push 0
push eax
sub esp, 0x10
mov dword [ebp - 0x10], 0x64000000
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x6c52e8]
addss xmm0, dword [0x68c5e4]
movss dword [esp + 8], xmm0
movss xmm0, dword [0x6c52e4]
subss xmm0, dword [0x68c5e0]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x6c52e0]
subss xmm0, dword [0x68c5e0]
movss dword [esp], xmm0
call fcn.005a4990
movss xmm0, dword [0x6c52dc]
lea eax, [ebp - 0x14]
addss xmm0, dword [0x68c5e4]
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 [0x6c52d8]
addss xmm0, dword [0x68c5e4]
movss dword [esp + 8], xmm0
movss xmm0, dword [0x6c52d4]
subss xmm0, dword [0x68c5e0]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x6c52d0]
subss xmm0, dword [0x68c5e0]
movss dword [esp], xmm0
call fcn.005a4990
movss xmm1, dword [0x6c52e4]
lea ecx, [esi + 0x215f8]
movss xmm0, dword [0x6c52e0]
add esp, 0x1c
xor dl, dl
push 0x20
push 0
call fcn.00580330
movss xmm1, dword [0x6c52d4]
lea ecx, [esi + 0x21678]
movss xmm0, dword [0x6c52d0]
xor dl, dl
push 0x20
push 1
call fcn.00580330
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret