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 + 0x2175c], 1
je 0x5818c1
cmp dword [esi + 0x2175c], 4
je 0x5818c1
cmp byte [esi + 0x215d0], 0
je 0x5815f7
cmp byte [esi + 0x21650], 0
je 0x5815f7
push ecx
mov ecx, 0x6c52c0
call fcn.0057edc0
add esp, 4
test al, al
je 0x5815f7
movss xmm3, dword [0x68c5fc]
lea eax, [ebp - 4]
movss xmm2, dword [0x68c600]
movss xmm1, dword [0x68c5ec]
push eax
push ecx
mov ecx, dword [0x8787e4]
mov dword [esp], 0x42900000
call fcn.00584220
cmp dword [0x8787b0], 0
je 0x5815f7
mov ecx, esi
call fcn.00587800
movss xmm1, dword [0x68c5f8]
movss xmm0, dword [0x68c60c]
call fcn.00580b00
test al, al
je 0x58162b
push 5
push 0
push 0x68a47f
push str.https:__www.facebook.com_warzsiam.in.th_
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
movd xmm1, dword [0x8787b8]
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 [0x8787b4]
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 [0x68c5fc]
lea eax, [ebp - 4]
movss xmm2, dword [0x68c610]
movss xmm1, dword [0x68c5ec]
push eax
push ecx
mov ecx, dword [0x8787dc]
mov dword [esp], 0x42900000
call fcn.00584220
mov ebx, dword [0x8787b0]
test ebx, ebx
je 0x5816e6
push 5
push 0
push 0x68a47f
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 [0x8787b0]
mov eax, dword [esi + 0x215cc]
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.005a43d0
mov ecx, dword [0x8787c8]
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.0059f490
mov ebx, dword [0x8787b0]
mov eax, dword [0x88730c]
test al, 1
jne 0x581794
xor edx, edx
or eax, 1
cmp byte [esi + 0x215d0], dl
mov dword [0x88730c], eax
setne dl
mov dword [0x887310], edx
jmp 0x58179a
mov edx, dword [0x887310]
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 [0x887310], edx
mov dword [0x6c65b4], 0x878e48
mov dword [0x6c65b0], 0x878e48
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 [0x887310], edx
mov dword [0x6c65b4], 0x878e48
mov dword [0x6c65b0], 0x878e48
movss xmm1, dword [0x6c52e4]
lea ecx, [esi + 0x215d0]
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 [0x887310]
jne 0x581852
cmp byte [esi + 0x215d0], 0
mov ecx, 1
cmovne eax, ecx
mov dword [0x887310], eax
movss xmm1, dword [0x6c52d4]
lea ecx, [esi + 0x21650]
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 [0x887310], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xd
jne 0x5819e8
cmp byte [esi + 0x21650], 0
je 0x5819e8
cmp byte [esi + 0x215d0], 0
je 0x5819e8
mov ecx, esi
call fcn.00587800
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x6c52ec]
lea eax, [ebp - 0x10]
addss xmm0, dword [0x68c5d4]
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 [0x68c5d4]
movss dword [esp + 8], xmm0
movss xmm0, dword [0x6c52e4]
subss xmm0, dword [0x68c5d0]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x6c52e0]
subss xmm0, dword [0x68c5d0]
movss dword [esp], xmm0
call fcn.005a43d0
movss xmm0, dword [0x6c52dc]
lea eax, [ebp - 0x14]
addss xmm0, dword [0x68c5d4]
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 [0x68c5d4]
movss dword [esp + 8], xmm0
movss xmm0, dword [0x6c52d4]
subss xmm0, dword [0x68c5d0]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x6c52d0]
subss xmm0, dword [0x68c5d0]
movss dword [esp], xmm0
call fcn.005a43d0
movss xmm1, dword [0x6c52e4]
lea ecx, [esi + 0x215d0]
movss xmm0, dword [0x6c52e0]
add esp, 0x1c
xor dl, dl
push 0x20
push 0
call fcn.00580330
movss xmm1, dword [0x6c52d4]
lea ecx, [esi + 0x21650]
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