joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4adef0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4adf42
call fcn.004d9850
push dword [ebp + 0x20]
lea edi, [esi + 0xd44]
push edi
call fcn.00433710
add esp, 8
test eax, eax
je 0x4adf42
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
push 0x18d7
push edi
mov esi, eax
call fcn.00433ae0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
ret
pop edi
mov eax, 2
pop esi
pop ebp
ret
Function at 0x4adfb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x198]
push 0x190
xor ebx, ebx
mov byte [ebp - 8], 0
push ebx
push eax
call fcn.004e69c0
add esp, 0xc
test edi, edi
je 0x4ae210
push edi
push dword [0x6801f4]
call fcn.00491320
add esp, 8
test eax, eax
je 0x4ae1f8
push esi
mov esi, dword [edi + 0xacc]
lea eax, [ebp - 0x19c]
push eax
push 0x4004667f
push esi
mov dword [ebp - 0x19c], 0
call sub.WSOCK32.dll_ioctlsocket
cmp dword [ebp - 0x19c], 0
jbe 0x4ae1e5
push 0
push 0x50
lea eax, [ebp - 0x198]
push eax
push esi
call sub.WSOCK32.dll_recv
mov esi, eax
test esi, esi
jle 0x4ae1e5
xor eax, eax
add ebx, esi
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x1a4], ebx
nop dword [eax]
lea ecx, [ebp - 0x198]
add eax, ecx
push edi
push dword [0x6801f4]
mov dword [ebp - 0x1a8], eax
mov bl, byte [eax]
call fcn.00491320
add esp, 8
test eax, eax
je 0x4ae195
cmp dword [edi + 0x58], 0
jne 0x4ae0a2
cmp bl, 0xff
jb case.0x4ae158.243
mov dword [edi + 0x58], 1
jmp 0x4ae1c0
cmp dword [edi + 0x5c], 0
je 0x4ae0bb
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
jmp 0x4ae1c0
cmp dword [edi + 0x60], 0
je 0x4ae0f4
test bl, bl
je 0x4ae0e1
movzx eax, bl
push eax
push 0xfc
push 0xff
push dword [edi + 0xacc]
call fcn.004b1370
add esp, 0x10
mov dword [edi + 0x58], 0
mov dword [edi + 0x60], 0
jmp 0x4ae1c0
cmp dword [edi + 0x64], 0
je 0x4ae12e
cmp bl, 1
jbe 0x4ae11b
movzx eax, bl
push eax
push 0xfe
push 0xff
push dword [edi + 0xacc]
call fcn.004b1370
add esp, 0x10
mov dword [edi + 0x58], 0
mov dword [edi + 0x64], 0
jmp 0x4ae1c0
cmp dword [edi + 0x68], 0
je 0x4ae144
mov dword [edi + 0x58], 0
mov dword [edi + 0x68], 0
jmp 0x4ae1c0
movzx eax, bl
add eax, 0xffffff0e
cmp eax, 0xd
ja case.0x4ae158.243
movzx eax, byte [eax + 0x4ae240]
jmp dword [eax*4 + 0x4ae224]
mov dword [edi + 0x58], 0
jmp case.0x4ae158.243
mov dword [edi + 0x5c], 1
jmp 0x4ae1c0
mov dword [edi + 0x60], 1
jmp 0x4ae1c0
mov dword [edi + 0x68], 1
jmp 0x4ae1c0
mov dword [edi + 0x64], 1
jmp 0x4ae1c0
mov dword [edi + 0x58], 0
jmp 0x4ae1c0
push str.C:UsersOfficeDocumentsVisual_StudioPAULATelNet.c
push 0x12a6
push edi
push str.Invalid_HTELNET:__p___Line__d__in__s
call fcn.00424fd0
add esp, 0x10
mov eax, dword [ebp - 0x1a8]
movzx eax, byte [eax]
push eax
push edi
call fcn.004ad7e0
add esp, 8
mov eax, dword [ebp - 0x1a0]
inc eax
mov dword [ebp - 0x1a0], eax
cmp eax, esi
jl 0x4ae060
cmp dword [ebp + 0xc], 0
mov ebx, dword [ebp - 0x1a4]
jne 0x4ae003
pop esi
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
push str.C:UsersOfficeDocumentsVisual_StudioPAULATelNet.c
push 0x17ef
push edi
push str.Invalid_HTELNET:__p___Line__d__in__s
call fcn.00424fd0
add esp, 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
Function at 0x4ae18c
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x198]
push 0x190
xor ebx, ebx
mov byte [ebp - 8], 0
push ebx
push eax
call fcn.004e69c0
add esp, 0xc
test edi, edi
je 0x4ae210
push edi
push dword [0x6801f4]
call fcn.00491320
add esp, 8
test eax, eax
je 0x4ae1f8
push esi
mov esi, dword [edi + 0xacc]
lea eax, [ebp - 0x19c]
push eax
push 0x4004667f
push esi
mov dword [ebp - 0x19c], 0
call sub.WSOCK32.dll_ioctlsocket
cmp dword [ebp - 0x19c], 0
jbe 0x4ae1e5
push 0
push 0x50
lea eax, [ebp - 0x198]
push eax
push esi
call sub.WSOCK32.dll_recv
mov esi, eax
test esi, esi
jle 0x4ae1e5
xor eax, eax
add ebx, esi
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x1a4], ebx
nop dword [eax]
lea ecx, [ebp - 0x198]
add eax, ecx
push edi
push dword [0x6801f4]
mov dword [ebp - 0x1a8], eax
mov bl, byte [eax]
call fcn.00491320
add esp, 8
test eax, eax
je 0x4ae195
cmp dword [edi + 0x58], 0
jne 0x4ae0a2
cmp bl, 0xff
jb case.0x4ae158.243
mov dword [edi + 0x58], 1
jmp 0x4ae1c0
cmp dword [edi + 0x5c], 0
je 0x4ae0bb
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
jmp 0x4ae1c0
cmp dword [edi + 0x60], 0
je 0x4ae0f4
test bl, bl
je 0x4ae0e1
movzx eax, bl
push eax
push 0xfc
push 0xff
push dword [edi + 0xacc]
call fcn.004b1370
add esp, 0x10
mov dword [edi + 0x58], 0
mov dword [edi + 0x60], 0
jmp 0x4ae1c0
cmp dword [edi + 0x64], 0
je 0x4ae12e
cmp bl, 1
jbe 0x4ae11b
movzx eax, bl
push eax
push 0xfe
push 0xff
push dword [edi + 0xacc]
call fcn.004b1370
add esp, 0x10
mov dword [edi + 0x58], 0
mov dword [edi + 0x64], 0
jmp 0x4ae1c0
cmp dword [edi + 0x68], 0
je 0x4ae144
mov dword [edi + 0x58], 0
mov dword [edi + 0x68], 0
jmp 0x4ae1c0
movzx eax, bl
add eax, 0xffffff0e
cmp eax, 0xd
ja case.0x4ae158.243
movzx eax, byte [eax + 0x4ae240]
jmp dword [eax*4 + 0x4ae224]
mov dword [edi + 0x58], 0
jmp case.0x4ae158.243
mov dword [edi + 0x5c], 1
jmp 0x4ae1c0
mov dword [edi + 0x60], 1
jmp 0x4ae1c0
mov dword [edi + 0x68], 1
jmp 0x4ae1c0
mov dword [edi + 0x64], 1
jmp 0x4ae1c0
mov dword [edi + 0x58], 0
jmp 0x4ae1c0
push str.C:UsersOfficeDocumentsVisual_StudioPAULATelNet.c
push 0x12a6
push edi
push str.Invalid_HTELNET:__p___Line__d__in__s
call fcn.00424fd0
add esp, 0x10
mov eax, dword [ebp - 0x1a8]
movzx eax, byte [eax]
push eax
push edi
call fcn.004ad7e0
add esp, 8
mov eax, dword [ebp - 0x1a0]
inc eax
mov dword [ebp - 0x1a0], eax
cmp eax, esi
jl 0x4ae060
cmp dword [ebp + 0xc], 0
mov ebx, dword [ebp - 0x1a4]
jne 0x4ae003
pop esi
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
push str.C:UsersOfficeDocumentsVisual_StudioPAULATelNet.c
push 0x17ef
push edi
push str.Invalid_HTELNET:__p___Line__d__in__s
call fcn.00424fd0
add esp, 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
Function at 0x4aee30
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x1c]
lea eax, [ebp - 0x148]
push edi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
push 0x144
push 0
push eax
mov dword [ebp - 0x15c], 0
movlpd qword [ebp - 0x158], xmm0
call fcn.004e69c0
add esp, 0xc
lea ebx, [ebp - 0x148]
test edi, edi
je 0x4af088
push edi
push dword [0x6801f4]
call fcn.00491320
add esp, 8
test eax, eax
jne 0x4aeec1
push str.C:UsersOfficeDocumentsVisual_StudioPAULATelNet.c
push 0x163d
push edi
push str.Invalid_HTELNET:__p___Line__d__in__s
call fcn.00424fd0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
xor edx, edx
mov ecx, dword [edi + 0xe8]
test eax, eax
cmovns edx, eax
mov dword [ebp - 0x150], edx
lea eax, [edx + esi]
cmp eax, ecx
jle 0x4aeee2
mov esi, ecx
sub esi, edx
mov eax, dword [edi + 0xf0]
movzx ecx, ax
mov dword [ebp - 0x14c], ecx
mov ecx, dword [ebp + 0xc]
add eax, ecx
cmp eax, dword [edi + 0xec]
jl 0x4aef35
cmp ecx, dword [edi + 0xdc]
jg 0x4aef12
push edi
call fcn.004acbb0
mov ecx, dword [ebp + 0xc]
add esp, 4
mov eax, dword [edi + 0xf0]
movzx edx, ax
add eax, ecx
mov dword [ebp - 0x14c], edx
mov edx, dword [ebp - 0x150]
cmp eax, dword [edi + 0xec]
jge 0x4af088
test ecx, ecx
js 0x4af088
test esi, esi
jle 0x4af088
add ecx, dword [ebp - 0x14c]
movzx eax, dx
mov word [ebp - 0x158], ax
dec eax
movzx edx, si
add eax, edx
mov word [ebp - 0x156], cx
mov dword [ebp - 0x160], edx
mov word [ebp - 0x154], ax
mov word [ebp - 0x152], cx
cmp esi, 0x50
jle 0x4aefa2
push 4
push esi
call fcn.004eea94
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4af088
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x150], 1
jmp 0x4aefac
mov dword [ebp - 0x150], 0
movzx ecx, word [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0x14c], eax
mov eax, 1
mov word [ebp - 0x15a], ax
mov al, byte [ebp + 0x14]
mov word [ebp - 0x15c], dx
nop
dec esi
mov byte [ebx + esi*4], al
mov word [ebx + esi*4 + 2], cx
test esi, esi
jg 0x4aefd0
mov esi, dword [edi + 0x104]
call fcn.004d9850
lea eax, [edi + 0xd44]
push 0x166f
push eax
call fcn.00433710
add esp, 8
test eax, eax
je 0x4af076
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x14c]
push dword [ebp - 0x15c]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
mov esi, eax
lea eax, [edi + 0xd44]
push 0x18d7
push eax
call fcn.00433ae0
add esp, 8
test esi, esi
jne 0x4af076
movsx eax, word [ebp - 0x154]
push eax
movsx eax, word [ebp - 0x152]
push eax
movsx eax, word [ebp - 0x158]
push eax
movsx eax, word [ebp - 0x156]
push eax
mov eax, dword [ebp - 0x160]
push esi
push esi
push 1
cwde
push eax
push dword [ebx]
push dword [edi + 0x104]
push str.WriteConsoleOutput__p___c____d__d_____d__d_____d__d__d__d___FAILED_within_SetLine__:__GetLastError_
call fcn.00424a90
add esp, 0x2c
cmp dword [ebp - 0x150], 0
je 0x4af088
push ebx
call fcn.004eea9f
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
Function at 0x4b13b0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 8]
je 0x4b13f2
cmp dword [ebp + 0x10], 0
jle 0x4b13f2
test esi, esi
je 0x4b13f2
push esi
push dword [0x6801f4]
call fcn.00491320
add esp, 8
test eax, eax
jne 0x4b13f7
push str.C:UsersOfficeDocumentsVisual_StudioPAULATelNet.c
push 0x288
push esi
push str.Invalid_HTELNET:__p___Line__d__in__s
call fcn.00424fd0
add esp, 0x10
xor eax, eax
pop esi
pop ebp
ret
push 0x288
push esi
call fcn.004ad0f0
add esp, 8
test eax, eax
je 0x4b13f2
inc dword [esi + 0xd28]
cmp dword [esi + 0xd30], 0
push ebx
push edi
lea edi, [esi + 0xd28]
mov ebx, edi
jne 0x4b146c
push 4
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x1388
push eax
push 0x1005
push 0xffff
push dword [esi + 0xacc]
call sub.WSOCK32.dll_setsockopt
test eax, eax
je 0x4b1462
call sub.WSOCK32.dll_WSAGetLastError
push eax
push esi
push str.:4:TelNetSendBinary__s__EAP:_Failed_to_set_the_send_time_out:_WSAGetLastError___d
call fcn.00424a90
add esp, 0xc
lea ebx, [esi + 0xd28]
mov dword [esi + 0xd30], 1
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0xacc]
call sub.WSOCK32.dll_send
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x4b14a2
cmp dword [ebp + 0x10], 0x19
mov edi, ebx
jle 0x4b14a2
call sub.WSOCK32.dll_WSAGetLastError
push eax
push esi
push str.:5:TelNetSendBinary__s__FAILED:_send___FAILED:_WSAGetLastError___d
call fcn.00424a90
add esp, 0xc
dec dword [edi]
lea eax, [esi + 0xb20]
push 0x1934
push eax
call fcn.00433ae0
mov eax, dword [ebp + 0xc]
add esp, 8
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x4b14c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x204]
push esi
push edi
mov edi, 0x200
push edi
push 0
push eax
call fcn.004e69c0
mov eax, dword [ebp + 0x10]
add esp, 0xc
test eax, eax
je 0x4b1678
cmp byte [eax], 0
je 0x4b1678
lea esi, [ebp - 0x204]
call fcn.004041c0
mov ecx, eax
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
mov eax, esi
mov dword [ebp - 0x208], ecx
push 0x1ff
push eax
mov eax, dword [ecx]
push dword [ecx + 4]
or eax, 1
push eax
call fcn.004eea53
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
cmp eax, ecx
jne 0x4b15a5
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x4b1558
push esi
call fcn.004eea9f
add esp, 4
add edi, edi
lea eax, [edi + 0xa]
push eax
push 1
call fcn.004eea94
mov esi, eax
add esp, 8
test esi, esi
je 0x4b1678
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
lea ecx, [edi - 1]
push ecx
mov ecx, dword [ebp - 0x208]
push esi
mov eax, dword [ecx]
push dword [ecx + 4]
or eax, 1
push eax
call fcn.004eea53
add esp, 0x1c
mov ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
cmp eax, ecx
je 0x4b1545
push esi
call fcn.004ace70
mov edi, esi
add esp, 4
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4b15b3
mov eax, dword [ebp + 0xc]
sub edi, ecx
test eax, eax
je 0x4b15d5
cmp eax, 0x7ffffffe
ja 0x4b15cd
push eax
jmp 0x4b15cf
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
je 0x4b1665
push ebx
push dword [0x6801f4]
call fcn.00491320
add esp, 8
test eax, eax
je 0x4b164d
push 0x2ca
push ebx
call fcn.004ad0f0
add esp, 8
test eax, eax
je 0x4b1665
push 0
push edi
push esi
push dword [ebx + 0xacc]
call sub.WSOCK32.dll_send
lea ecx, [ebx + 0xb20]
mov edi, eax
push 0x1934
push ecx
call fcn.00433ae0
lea eax, [ebp - 0x204]
add esp, 8
cmp esi, eax
je 0x4b163a
push esi
call fcn.004eea9f
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
push str.C:UsersOfficeDocumentsVisual_StudioPAULATelNet.c
push 0x2ca
push ebx
push str.Invalid_HTELNET:__p___Line__d__in__s
call fcn.00424fd0
add esp, 0x10
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x4b1678
push esi
call fcn.004eea9f
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret

Function at 0x4b24f0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4b2542
call fcn.004d9850
push dword [ebp + 0x20]
lea edi, [esi + 0xd44]
push edi
call fcn.00433710
add esp, 8
test eax, eax
je 0x4b2542
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
push 0x18d7
push edi
mov esi, eax
call fcn.00433ae0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret
Function at 0x4d6cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 0xc]
movups xmmword [esi], xmm0
test edi, edi
jne 0x4d6d02
push str.legls.dat
push edi
call fcn.0047d960
add esp, 8
mov edi, eax
test esi, esi
je 0x4d6d0c
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push edi
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x4d6d72
push 0xbba
push str.C:UsersOfficeDocumentsVisual_StudioPAULATime.c
push 0x50a5d0
push edi
call fcn.0042c170
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4d6d72
push edi
push 1
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push 0x10
push eax
movups xmmword [ebp - 0x14], xmm0
call fcn.004e91b7
push edi
call fcn.0042bfc0
add esp, 0x14
mov eax, esi
test esi, esi
je 0x4d6d74
movups xmm0, xmmword [ebp - 0x14]
pop edi
movups xmmword [esi], xmm0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
Function at 0x4d83f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4d8413
xorps xmm0, xmm0
movups xmmword [edi], xmm0
push esi
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x4d8482
push 0xbba
push str.C:UsersOfficeDocumentsVisual_StudioPAULATime.c
push 0x50a5d0
push esi
call fcn.0042c170
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4d8482
push ebx
push 1
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push 0x10
push eax
movups xmmword [ebp - 0x14], xmm0
call fcn.004e91b7
push ebx
lea esi, [eax - 1]
neg esi
sbb esi, esi
call fcn.0042bfc0
add esp, 0x14
test edi, edi
je 0x4d846e
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [edi], xmm0
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
Function at 0x4da7a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push edi
xor ebx, ebx
movlpd qword [ebp - 0x1c], xmm0
xor edi, edi
mov dword [0x683638], eax
movups xmmword [ebp - 0x14], xmm0
test eax, eax
je 0x4da8a7
call fcn.004d9850
mov dword [0x68363c], eax
cmp dword [0x683638], ebx
jne 0x4da90f
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
nop
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x4da8f7
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test ebx, ebx
jne 0x4da81e
call fcn.0040e1d0
mov ebx, eax
test ebx, ebx
je 0x4da8f9
test edi, edi
jne 0x4da8f9
lea eax, [ebp - 0x14]
push eax
call fcn.0040e1d0
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 6
call esi
push 4
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, dword [ebp - 0x10]
add eax, 3
mov ecx, dword [ebp - 0xc]
add eax, esi
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, 0x55555556
imul ecx
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
cmp eax, dword [ebp - 0x14]
jle 0x4da8ea
cmp eax, ecx
jge 0x4da8ea
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [ebp - 0x18], eax
jle 0x4da8f0
push 0xf
call esi
add eax, dword [ebp - 0x10]
cmp dword [ebp - 0x18], eax
jge 0x4da8f0
mov dword [0x68361c], 1
call fcn.004d9850
mov dword [0x683620], eax
jmp 0x4da8f9
call fcn.004d9850
sub eax, dword [0x68363c]
cmp eax, 0xde
jae 0x4da7dc
call fcn.004d9850
sub eax, dword [0x68363c]
push eax
push str.:7:CheckForMouseButton___was_called_consecutively_too_quickly:__dms
call fcn.00424fd0
add esp, 8
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, 1
jmp 0x4da8f9
xor edi, edi
push 0x16
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x683638], 0
je 0x4da7f0
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret 4
Function at 0x4e5b37
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x4e5b6c
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x4e5b69
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x4e5b75
add edx, 0x28
cmp edx, esi
jne 0x4e5b57
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x4e5b72

Function at 0x4e5fd8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4e6017
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4e6017
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4e6017
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4e6017
cmp dword [ecx + 0x74], 0xe
jbe 0x4e6017
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4e9a33
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004e50f0
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004fa519
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4e9a75
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4e9bd1
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004e57b0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x684040]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004fc7bb
mov ecx, dword [esi*4 + 0x684040]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x4e9bca
cmp eax, dword [ecx + edi + 0x24]
jne 0x4e9bca
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4e9bca
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004fc7bb
add esp, 0x14
test edx, edx
jl 0x4e9bca
jg 0x4e9b40
test eax, eax
jb 0x4e9bca
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4e9bca
jl 0x4e9b5a
cmp dword [ebp - 0x1008], eax
ja 0x4e9bca
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4e9b78
test ebx, ebx
je 0x4e9bb1
cmp ecx, edi
jae 0x4e9bb1
mov al, byte [ecx]
cmp al, 0xd
jne 0x4e9b92
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4e9b9e
cmp byte [ecx + 1], 0xa
jne 0x4e9b9e
inc ecx
jmp 0x4e9b9e
movzx eax, al
movsx eax, byte [eax + 0x581b50]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4e9b78
cmp edx, ebx
jne 0x4e9b78
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4e9bcf
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004e50dc
leave
ret