Function at 0x581040
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 + 0x2176c], 1
je 0x58140b
cmp dword [esi + 0x2176c], 4
je 0x58140b
cmp byte [esi + 0x215f8], 0
je 0x5810d7
cmp byte [esi + 0x2165c], 0
je 0x5810d7
push ecx
mov ecx, 0x6a40f0
call fcn.0057e940
add esp, 4
test al, al
je 0x5810d7
movss xmm3, dword [0x676a8c]
lea eax, [ebp - 4]
movss xmm2, dword [0x676a90]
movss xmm1, dword [0x676a7c]
push eax
push ecx
mov ecx, dword [0x74db84]
mov dword [esp], 0x42900000
call fcn.00583d10
cmp dword [0x74db50], 0
je 0x5810d7
mov ecx, esi
call fcn.00587350
movss xmm1, dword [0x676a88]
movss xmm0, dword [0x676a9c]
call fcn.00580570
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
test al, al
je 0x58110d
push 5
push 0
push 0x674e48
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 0x5811c5
movss xmm0, dword [0x6a40e8]
addss xmm0, xmm2
comiss xmm0, xmm1
jb 0x5811c5
movd xmm2, dword [0x74db54]
movss xmm1, dword [0x6a40e4]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jb 0x5811c5
movss xmm0, dword [0x6a40ec]
addss xmm0, xmm1
comiss xmm0, xmm2
jb 0x5811c5
movss xmm3, dword [0x676a8c]
lea eax, [ebp - 4]
movss xmm2, dword [0x676aa0]
movss xmm1, dword [0x676a7c]
push eax
push ecx
mov ecx, dword [0x74db7c]
mov dword [esp], 0x42900000
call fcn.00583d10
cmp dword [0x74db50], 0
je 0x5811bf
push 5
push 0
push 0x674e48
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 0x58124f
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.00597f30
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.00592fd0
mov ecx, dword [0x74db58]
mov eax, dword [0x74feec]
test al, 1
jne 0x581272
or eax, 1
mov dword [0x74feec], eax
xor eax, eax
cmp byte [esi + 0x215f8], al
setne al
mov dword [0x74fef0], eax
jmp 0x581277
mov eax, dword [0x74fef0]
cmp dword [0x74db50], 0
movss xmm1, dword [0x6a4114]
movss xmm2, dword [0x6a4110]
je 0x581358
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm2
jb 0x5812eb
movaps xmm0, xmm2
addss xmm0, dword [0x6a4118]
comiss xmm0, xmm3
jb 0x5812eb
movd xmm3, dword [0x74db54]
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm1
jb 0x5812eb
movaps xmm0, xmm1
addss xmm0, dword [0x6a411c]
comiss xmm0, xmm3
jb 0x5812eb
xor eax, eax
mov dword [0x74fef0], eax
mov dword [0x6a53e4], 0x74e1e8
mov dword [0x6a53e0], 0x74e1e8
cmp dword [0x74db50], 0
je 0x581358
movss xmm0, dword [0x6a4100]
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm0
jb 0x581358
addss xmm0, dword [0x6a4108]
comiss xmm0, xmm3
jb 0x581358
movd xmm3, dword [0x74db54]
movss xmm0, dword [0x6a4104]
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm0
jb 0x581358
addss xmm0, dword [0x6a410c]
comiss xmm0, xmm3
jb 0x581358
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.0057fdb0
add esp, 8
cmp eax, 9
jne 0x58137e
mov eax, 1
jmp 0x581397
cmp eax, 0xd
mov eax, dword [0x74fef0]
jne 0x58139c
cmp byte [esi + 0x215f8], 0
mov ecx, 1
cmovne eax, ecx
mov dword [0x74fef0], eax
movss xmm1, dword [0x6a4104]
lea ecx, [esi + 0x2165c]
movss xmm0, dword [0x6a4100]
cmp eax, 1
push 0x20
push 1
sete dl
call fcn.0057fdb0
add esp, 8
cmp eax, 9
jne 0x5813da
mov dword [0x74fef0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xd
jne 0x581532
cmp byte [esi + 0x2165c], 0
je 0x581532
cmp byte [esi + 0x215f8], 0
je 0x581532
mov ecx, esi
call fcn.00587350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x6a411c]
lea eax, [ebp - 0x10]
addss xmm0, dword [0x676a64]
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 [0x676a64]
movss dword [esp + 8], xmm0
movss xmm0, dword [0x6a4114]
subss xmm0, dword [0x676a60]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x6a4110]
subss xmm0, dword [0x676a60]
movss dword [esp], xmm0
call fcn.00597f30
movss xmm0, dword [0x6a410c]
lea eax, [ebp - 0x14]
addss xmm0, dword [0x676a64]
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 [0x676a64]
movss dword [esp + 8], xmm0
movss xmm0, dword [0x6a4104]
subss xmm0, dword [0x676a60]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x6a4100]
subss xmm0, dword [0x676a60]
movss dword [esp], xmm0
call fcn.00597f30
movss xmm1, dword [0x6a4114]
lea ecx, [esi + 0x215f8]
movss xmm0, dword [0x6a4110]
add esp, 0x1c
xor dl, dl
push 0x20
push 0
call fcn.0057fdb0
movss xmm1, dword [0x6a4104]
lea ecx, [esi + 0x2165c]
movss xmm0, dword [0x6a4100]
xor dl, dl
push 0x20
push 1
call fcn.0057fdb0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret