joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e41b0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0xc
cmp dword [esp + 0x14], 0x1f
push ebx
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x124]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 4], eax
jne 0x5e431c
push ebp
push esi
lea ebp, [ecx + 0x1cc4]
push edi
lea edi, [ecx + 0x1ec4]
mov eax, ebp
mov dword [edi], ebp
cmp ebp, edi
jae 0x5e41f4
lea eax, [ebp + 1]
mov byte [ebp], 0xff
mov dword [edi], eax
cmp eax, edi
jae 0x5e4208
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x5e4208
mov byte [eax], 0x1f
inc dword [edi]
movzx eax, word [ecx + 0x1ca8]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
shr eax, 8
mov dword [esp + 0x14], eax
movzx ecx, word [ecx + 0x1caa]
push ecx
call esi
mov ecx, dword [edi]
mov edx, eax
shr edx, 8
mov dword [esp + 0x18], eax
cmp ecx, edi
jae 0x5e4285
mov eax, dword [esp + 0x24]
mov byte [ecx], al
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x5e4285
mov eax, dword [esp + 0x14]
mov byte [ecx], al
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x5e4285
mov eax, dword [esp + 0x18]
mov byte [ecx], al
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x5e4285
mov byte [ecx], dl
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x5e4285
mov byte [ecx], 0xff
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x5e4285
mov byte [ecx], 0xf0
mov ecx, dword [edi]
inc ecx
mov esi, dword [esp + 0x20]
mov dword [edi], ebp
mov dword [esi + 0x1ec8], ecx
lea eax, [esi + 0x1cc6]
sub ecx, ebp
sub ecx, 2
push ecx
push eax
push 0x3e
push ebx
call fcn.005e3d20
mov eax, dword [esp + 0x20]
add esp, 0x10
push 0
push 3
push ebp
push dword [eax + 0x1a0]
mov ebp, dword [sym.imp.WS2_32.dll_send]
call ebp
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x5e42db
call edi
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.005a7430
add esp, 0xc
push 4
lea eax, [esi + 0x1cc7]
push eax
push ebx
call fcn.005e4070
add esp, 0xc
lea eax, [esi + 0x1ccb]
push 0
push 2
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x1a0]
call ebp
test eax, eax
jns 0x5e4319
call edi
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.005a7430
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x5e4330
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x80c
mov eax, dword [0x6ec7c0]
xor eax, esp
mov dword [esp + 0x808], eax
push ebx
mov ebx, dword [esp + 0x814]
push ebp
push esi
mov dword [esp + 0xc], ebx
mov esi, dword [ebx + 0x124]
mov ebp, dword [ebx + 0x18]
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x1ec8]
sub eax, dword [esi + 0x1ec4]
add eax, 2
push eax
lea eax, [esi + 0x1cc4]
push eax
push 0x3c
push ebx
call fcn.005e3d20
mov eax, dword [esi + 0x1ec4]
add esp, 0x10
mov cl, byte [eax]
inc eax
mov dword [esi + 0x1ec4], eax
cmp cl, 0x18
je 0x5e4508
cmp cl, 0x23
je 0x5e44e5
cmp cl, 0x27
jne 0x5e4590
push edi
push 0
push 0x27
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [esp + 0x2c]
push 0x800
push eax
call fcn.005aeda0
mov esi, dword [esi + 0x1cb0]
add esp, 0x1c
mov edi, 4
test esi, esi
je 0x5e4465
mov edx, dword [esi]
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5e43f0
sub ecx, ebx
lea eax, [ecx + 1]
add eax, edi
cmp eax, 0x7fa
jae 0x5e4456
push 0x2c
push edx
call fcn.0060de3d
mov ebx, 0x800
lea ebp, [esp + 0x20]
mov edx, eax
add esp, 8
sub ebx, edi
add ebp, edi
test edx, edx
jne 0x5e4437
push dword [esi]
push eax
push str._c_s
push ebx
push ebp
call fcn.005aeda0
add esp, 0x14
jmp 0x5e4454
mov ecx, dword [esi]
lea eax, [edx + 1]
push eax
push 1
push ecx
sub edx, ecx
push edx
push 0
push str._c_.s_c_s
push ebx
push ebp
call fcn.005aeda0
add esp, 0x20
add edi, eax
mov esi, dword [esi + 4]
test esi, esi
jne 0x5e43e4
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
push 0xf0
push 0xff
mov eax, 0x800
sub eax, edi
push str._c_c
push eax
lea eax, [esp + 0x28]
add eax, edi
push eax
call fcn.005aeda0
add esp, 0x14
lea eax, [edi + 2]
push 0
push eax
lea eax, [esp + 0x20]
push eax
push dword [ebp + 0x1a0]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x5e44bb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.005a7430
add esp, 0xc
push edi
lea eax, [esp + 0x1e]
push eax
push 0x3e
push ebx
call fcn.005e3d20
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00604ed9
add esp, 0x80c
ret
lea edx, [esi + 0x1c28]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5e44f0
push 0xf0
push 0xff
push edx
push 0
push 0x23
jmp 0x5e4529
lea edx, [esi + 0x1c08]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5e4513
push 0xf0
push 0xff
push edx
push 0
push 0x18
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
sub ecx, esi
lea eax, [esp + 0x34]
push 0x800
push eax
lea esi, [ecx + 6]
call fcn.005aeda0
add esp, 0x28
lea eax, [esp + 0x14]
push 0
push esi
push eax
push dword [ebp + 0x1a0]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x5e457c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.005a7430
add esp, 0xc
lea eax, [esi - 2]
push eax
lea eax, [esp + 0x1a]
push eax
push 0x3e
push ebx
call fcn.005e3d20
add esp, 0x10
mov ecx, dword [esp + 0x814]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00604ed9
add esp, 0x80c
ret
Function at 0x5e56d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x8c
mov eax, dword [0x6ec7c0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
mov ebp, dword [esp + 0x98]
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0x18]
mov edi, dword [eax + 0x2e0]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x80
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi + 0x13c]
push ebx
add eax, 4
push eax
push dword [edi + 0x148]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [edi + 0x134], eax
cmp dword [edi + 0x130], ebx
jne 0x5e5756
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea eax, [edi + 0xb0]
push eax
call fcn.0060ddef
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [edi + 0x130], eax
mov esi, dword [edi + 0x134]
cmp esi, 4
jge 0x5e5791
push str.Received_too_short_packet
push ebp
call fcn.005a7430
add esp, 8
mov dword [edi + 0xc], 7
mov eax, ebx
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00604ed9
add esp, 0x8c
ret
mov edx, dword [edi + 0x148]
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
mov dword [edi + 0xc], ecx
dec ecx
cmp ecx, 5
ja case.0x5e57b0.1
jmp dword [ecx*4 + 0x5e589c]
cmp esi, 4
jle case.0x5e57b0.4
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, word [edi + 0x144]
inc eax
movzx eax, ax
cmp eax, ecx
jne case.0x5e57b0.4
lea eax, [esi - 4]
push eax
lea eax, [edx + 4]
push eax
push 1
push ebp
call fcn.005a8380
mov ebx, eax
add esp, 0x10
test ebx, ebx
je case.0x5e57b0.4
push 5
push edi
call fcn.005e61b0
add esp, 8
jmp 0x5e5776
movzx ecx, byte [edx + 2]
lea eax, [edx + 4]
mov dword [esp + 0x14], eax
add esi, 0xfffffffc
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
lea eax, [edx + 4]
push esi
push eax
mov dword [edi + 8], ecx
call fcn.005e6220
add esp, 8
cmp eax, esi
jae case.0x5e57b0.4
push dword [esp + 0x14]
push str.TFTP_error:__s
push ebp
call fcn.005a7500
jmp 0x5e5871
lea eax, [esi - 2]
push eax
lea eax, [edx + 2]
push eax
push edi
call fcn.005e5480
mov ebx, eax
add esp, 0xc
test ebx, ebx
je case.0x5e57b0.4
jmp 0x5e5776
push str.Internal_error:_Unexpected_packet
push 0x67ffd4
push ebp
call fcn.005a7430
add esp, 0xc
push ebp
call fcn.005b84c0
add esp, 4
test eax, eax
je 0x5e5776
push 5
push edi
call fcn.005e61b0
add esp, 8
mov eax, 0x2a
jmp 0x5e5778
Function at 0x5e8e60
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x4c
mov eax, dword [0x6ec7c0]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push esi
push edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x10], eax
cmp edi, 4
jb 0x5e8fdc
inc ebp
sub edi, 2
push str.0123456789abcdefABCDEF:.
push ebp
call dword [0x63e388]
add esp, 8
cmp edi, eax
je 0x5e8f5f
mov edi, eax
add eax, ebp
mov dword [esp + 0x14], eax
cmp byte [eax], 0x25
jne 0x5e8fdc
push 2
lea esi, [eax + 1]
xor ebx, ebx
push 0x68ed14
push esi
call dword [0x63e380]
add esp, 0xc
test eax, eax
jne 0x5e8ee1
mov cl, byte [esi + 2]
lea eax, [esi + 2]
test cl, cl
je 0x5e8ee1
cmp cl, 0x5d
cmovne esi, eax
mov al, byte [esi]
test al, al
je 0x5e8fdc
lea ecx, [esp + 0x18]
sub ecx, esi
cmp al, 0x5d
je 0x5e8f06
cmp ebx, 0xf
jge 0x5e8f06
mov byte [ecx + esi], al
inc ebx
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x5e8ef1
test ebx, ebx
je 0x5e8fdc
cmp byte [esi], 0x5d
jne 0x5e8fdc
cmp ebx, 0x10
jae 0x5e8ff4
lea eax, [esp + 0x18]
mov byte [esp + ebx + 0x18], 0
push eax
call dword [0x6ec2d4]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x14], eax
test eax, eax
jne 0x5e8f56
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00604ed9
add esp, 0x4c
ret
mov eax, dword [esp + 0x14]
mov word [eax], 0x5d
lea eax, [esp + 0x18]
mov byte [edi + ebp], 0
push eax
push ebp
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x5e8fdc
push 0x2e
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
push 0x17
call sub.WS2_32.dll_inet_ntop
test eax, eax
je 0x5e8fc3
lea edx, [esp + 0x28]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x5e8f94
sub edx, ecx
cmp edx, edi
jae 0x5e8fc3
lea ecx, [esp + 0x28]
mov esi, ebp
mov eax, ecx
sub esi, eax
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x5e8fb0
mov byte [edx + ebp + 1], al
mov edi, edx
mov byte [edi + ebp], 0x5d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00604ed9
add esp, 0x4c
ret
mov ecx, dword [esp + 0x58]
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00604ed9
add esp, 0x4c
ret
call fcn.0060550a
int3
Function at 0x5ed260
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x188
mov eax, dword [0x6ec7c0]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x18c]
push ebx
mov ebx, dword [esp + 0x194]
push esi
mov esi, dword [eax + 8]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x270]
test dword [eax + 0x44], 0x800
jne 0x5ed38d
push 0x80
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0x80
push 0
push eax
call fcn.0060ddfb
add esp, 0xc
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x98]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x5ed31a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x8c]
push 0x100
push eax
push esi
call fcn.005b9a50
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.005a7430
add esp, 0x1c
mov eax, 2
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00604ed9
add esp, 0x188
ret
lea eax, [esi + 0x11c]
push eax
lea eax, [esi + 0xea]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.005a9870
add esp, 0x10
test al, al
jne 0x5ed38d
mov esi, dword [0x63e2c0]
push edi
call esi
mov edi, dword [eax]
call esi
mov esi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push edi
call fcn.005b9a50
push eax
push dword [esi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.005a7430
add esp, 0x1c
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00604ed9
add esp, 0x188
ret
mov ecx, dword [esp + 0x18c]
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.00604ed9
add esp, 0x188
ret

Function at 0x605933
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x605972
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x605972
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x605972
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x605972
cmp dword [ecx + 0x74], 0xe
jbe 0x605972
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100a2d89
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 4]
je 0x100a699d
jmp 0x100a16a7
dec si
adc si, 0x82dd
mov esi, dword [eax + 0x3c]
or dh, 0xee
sar dh, cl
shl dh, cl
add esi, eax
not dh
stc
add dl, 0x4e
stc
mov edx, dword [esi + 0x78]
mov byte [esp], 0xe9
stc
test edx, edx
mov byte [esp], bl
jmp 0x10080cdc

Function at 0x100a377c
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp], 0x37096e85
mov word [esp], ax
mov byte [esp], 0xce
lea esp, [esp + 4]
call fcn.100a371a
call fcn.10080dd7
inc esi
invalid
Function at 0x10004890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100048c3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [ebp + 8]
push 0x100044a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100048c3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10005520
Capabilities:
Hash data using fnv

Disassembly:
mov al, byte [ecx]
test al, al
jne 0x10005529
mov eax, edx
ret
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
jmp fcn.10005520
Function at 0x10010cf0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, ecx
mov ecx, dword [0x1026a33c]
push esi
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je case.default.0x10010e0b
mov ecx, dword [0x1026a33c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je case.default.0x10010e0b
mov edi, dword [0x102a036c]
test edi, edi
je case.default.0x10010e0b
mov eax, dword [0x102a0368]
test eax, eax
jne 0x10010d64
mov edx, 0xe80c2f78
mov ecx, 0x102113c1
call fcn.10005520
mov edx, 0xc10bf213
mov ecx, 0x102112e9
mov esi, eax
call fcn.10005520
mov edx, esi
mov ecx, eax
call fcn.10133370
mov dword [0x102a0368], eax
cmp dword [eax + edi], 0
jle case.default.0x10010e0b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x10010d84
mov esi, 0x811c9dc5
jmp 0x10010d9a
movsx eax, al
inc ecx
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.10005520
mov esi, eax
mov ecx, dword [ebx]
push 0
push str.attacker
mov edx, dword [ecx + 0x18]
mov ecx, ebx
call edx
mov ecx, dword [0x1026a33c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x102a02f0]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
test eax, eax
je case.default.0x10010e0b
test esi, esi
je case.default.0x10010e0b
cmp esi, 0x1b30ddf0
jne case.default.0x10010e0b
cmp eax, dword [0x102a036c]
jne case.default.0x10010e0b
cmp byte [0x102a0418], 0
mov dword [0x102a0404], 0xff
je case.default.0x10010e0b
mov eax, dword [0x102a0458]
cmp eax, 3
ja case.default.0x10010e0b
jmp dword [eax*4 + 0x10010e78]
mov ecx, dword [0x102a0400]
push str.buttons_arena_switch_press_02.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop edi
pop esi
pop ebx
ret
mov ecx, dword [0x102a0400]
push str.buttons_button22.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop edi
pop esi
pop ebx
ret
mov ecx, dword [0x102a0400]
push str.survivalmoney_collect_01.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop edi
pop esi
pop ebx
ret
mov ecx, dword [0x102a0400]
push str.Ui_beep07.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop edi
pop esi
pop ebx
ret
Function at 0x10014b60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [0x102a036c]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x10014d4b
mov eax, dword [0x102a0368]
test eax, eax
jne 0x10014baa
mov edx, 0xe80c2f78
mov ecx, 0x102113c1
call fcn.10005520
mov edx, 0xc10bf213
mov ecx, 0x102112e9
mov esi, eax
call fcn.10005520
mov edx, esi
mov ecx, eax
call fcn.10133370
mov dword [0x102a0368], eax
cmp dword [eax + ebx], 0
jle 0x10014d4b
call fcn.1000c3f0
cmp eax, 9
je 0x10014d4b
cmp eax, 8
je 0x10014d4b
cmp eax, 0xa
je 0x10014d4b
cmp byte [0x102a05f2], 0
je 0x10014d4b
mov ecx, dword [0x10266228]
mov eax, dword [0x102a061c]
cmp ecx, 3
ja case.0x10014bf1.0
jmp dword [ecx*4 + 0x10014d50]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x10014c29
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x10014c29
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x10014d4b
test byte [0x102a06d4], 1
je 0x10014d44
mov eax, dword [0x102a03b0]
mov ebx, dword [0x102a036c]
test eax, eax
jne 0x10014c7b
mov edx, 0xe80c2f78
mov ecx, 0x102114d1
call fcn.10005520
mov edx, 0xc10bf213
mov ecx, 0x102112e9
mov esi, eax
call fcn.10005520
mov edx, esi
mov ecx, eax
call fcn.10133370
mov dword [0x102a03b0], eax
test byte [eax + ebx], 1
jne 0x10014d44
cmp byte [0x102a063d], 0
je 0x10014d35
cmp byte [0x102a0624], 0
je 0x10014d35
mov eax, dword [0x102a05fc]
test al, al
je 0x10014cc8
mov ecx, dword [0x1026a33c]
and dword [edi + 0x30], 0xfffffff7
push 0
push str._forward
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
mov eax, dword [0x102a05fc]
test ah, ah
je 0x10014ce7
mov ecx, dword [0x1026a33c]
and dword [edi + 0x30], 0xffffffef
push 0
push str._back
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x102a05fe], 0
je 0x10014d0e
mov ecx, dword [0x1026a33c]
and dword [edi + 0x30], 0xfffffdff
push 0
push str._moveleft
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x102a05ff], 0
je 0x10014d35
mov ecx, dword [0x1026a33c]
and dword [edi + 0x30], 0xfffffbff
push 0
push str._moveright
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
or dword [edi + 0x30], 2
mov byte [0x102a5f7e], 1
pop edi
pop esi
pop ebx
ret
mov byte [0x102a5f7e], 0
pop edi
pop esi
pop ebx
ret
Function at 0x10014d60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [0x102a036c]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x10014fbd
mov eax, dword [0x102a0368]
test eax, eax
jne 0x10014daa
mov edx, 0xe80c2f78
mov ecx, 0x102113c1
call fcn.10005520
mov edx, 0xc10bf213
mov ecx, 0x102112e9
mov esi, eax
call fcn.10005520
mov edx, esi
mov ecx, eax
call fcn.10133370
mov dword [0x102a0368], eax
cmp dword [eax + ebx], 0
jle 0x10014fbd
cmp byte [0x102a0600], 0
je 0x10014fbd
call fcn.1000c3f0
cmp eax, 9
je 0x10014fbd
cmp eax, 8
je 0x10014fbd
cmp eax, 0xa
je 0x10014fbd
mov ecx, dword [0x102a03b0]
mov ebx, dword [0x102a036c]
test ecx, ecx
jne 0x10014e22
mov edx, 0xe80c2f78
mov ecx, 0x102114d1
call fcn.10005520
mov edx, 0xc10bf213
mov ecx, 0x102112e9
mov esi, eax
call fcn.10005520
mov edx, esi
mov ecx, eax
call fcn.10133370
mov ecx, eax
mov dword [0x102a03b0], ecx
test byte [ecx + ebx], 1
mov eax, dword [0x102a02f8]
je 0x10014e38
mov edx, dword [eax + 0x1c]
mov dword [0x1029bbe8], edx
jmp 0x10014e3e
mov edx, dword [0x1029bbe8]
mov eax, dword [eax + 0x1c]
mov esi, dword [0x1026628c]
sub eax, edx
mov edx, dword [0x102a05d4]
cmp eax, 2
setle al
mov byte [0x102a06b4], al
cmp esi, 3
ja case.0x10014e5f.0
jmp dword [esi*4 + 0x10014fc4]
push edx
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x10014e97
push edx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x10014e97
push edx
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x10014fbd
mov al, byte [0x102a06b4]
mov ecx, dword [0x102a03b0]
test al, al
je 0x10014fb6
mov ebx, dword [0x102a036c]
test ecx, ecx
jne 0x10014eed
mov edx, 0xe80c2f78
mov ecx, 0x102114d1
call fcn.10005520
mov edx, 0xc10bf213
mov ecx, 0x102112e9
mov esi, eax
call fcn.10005520
mov edx, esi
mov ecx, eax
call fcn.10133370
mov ecx, eax
mov dword [0x102a03b0], ecx
test byte [ecx + ebx], 1
jne 0x10014fb6
cmp byte [0x102a063d], 0
je 0x10014fa7
cmp byte [0x102a0627], 0
je 0x10014fa7
mov eax, dword [0x102a05fc]
test al, al
je 0x10014f3a
mov ecx, dword [0x1026a33c]
and dword [edi + 0x30], 0xfffffff7
push 0
push str._forward
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
mov eax, dword [0x102a05fc]
test ah, ah
je 0x10014f59
mov ecx, dword [0x1026a33c]
and dword [edi + 0x30], 0xffffffef
push 0
push str._back
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x102a05fe], 0
je 0x10014f80
mov ecx, dword [0x1026a33c]
and dword [edi + 0x30], 0xfffffdff
push 0
push str._moveleft
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x102a05ff], 0
je 0x10014fa7
mov ecx, dword [0x1026a33c]
and dword [edi + 0x30], 0xfffffbff
push 0
push str._moveright
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
or dword [edi + 0x30], 4
mov byte [0x102a5f7d], 1
pop edi
pop esi
pop ebx
ret
mov byte [0x102a5f7d], 0
pop edi
pop esi
pop ebx
ret
Function at 0x10014fe0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [0x102a036c]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x100151ce
mov eax, dword [0x102a0368]
test eax, eax
jne 0x1001502a
mov edx, 0xe80c2f78
mov ecx, 0x102113c1
call fcn.10005520
mov edx, 0xc10bf213
mov ecx, 0x102112e9
mov esi, eax
call fcn.10005520
mov edx, esi
mov ecx, eax
call fcn.10133370
mov dword [0x102a0368], eax
cmp dword [eax + ebx], 0
jle 0x100151ce
call fcn.1000c3f0
cmp eax, 9
je 0x100151ce
cmp eax, 8
je 0x100151ce
cmp eax, 0xa
je 0x100151ce
cmp byte [0x102a05db], 0
je 0x100151ce
mov ecx, dword [0x10266260]
mov eax, dword [0x102a0654]
cmp ecx, 3
ja case.0x10015071.0
jmp dword [ecx*4 + 0x100151d4]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x100150a9
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x100150a9
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x100151ce
test byte [0x102a06d4], 1
je 0x100151c7
mov eax, dword [0x102a03b0]
mov ebx, dword [0x102a036c]
test eax, eax
jne 0x100150fb
mov edx, 0xe80c2f78
mov ecx, 0x102114d1
call fcn.10005520
mov edx, 0xc10bf213
mov ecx, 0x102112e9
mov esi, eax
call fcn.10005520
mov edx, esi
mov ecx, eax
call fcn.10133370
mov dword [0x102a03b0], eax
test byte [eax + ebx], 1
jne 0x100151c7
cmp byte [0x102a063d], 0
je 0x10015132
cmp byte [0x102a0625], 0
je 0x10015132
mov ecx, dword [0x1026a33c]
and dword [edi + 0x30], 0xfffffff7
push 0
push str._forward
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x102a05fd], 0
je 0x10015156
mov ecx, dword [0x1026a33c]
and dword [edi + 0x30], 0xffffffef
push 0
push str._back
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x102a05fe], 0
je 0x1001517d
mov ecx, dword [0x1026a33c]
and dword [edi + 0x30], 0xfffffdff
push 0
push str._moveleft
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x102a05ff], 0
je 0x100151a4
mov ecx, dword [0x1026a33c]
and dword [edi + 0x30], 0xfffffbff
push 0
push str._moveright
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
mov ecx, dword [edi + 0x30]
mov eax, ecx
or eax, 2
mov byte [0x102a5f7c], 1
cmp byte [0x102a062c], 0
cmovne ecx, eax
or ecx, 4
mov dword [edi + 0x30], ecx
pop edi
pop esi
pop ebx
ret
mov byte [0x102a5f7c], 0
pop edi
pop esi
pop ebx
ret