joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b6550
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
je 0x4b661d
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 6], eax
mov dword [esp + 0xa], eax
push edi
mov dword [esp + 0x12], eax
push edx
mov word [esp + 0x1a], ax
mov word [esp + 0xc], 2
mov dword [esp + 0x10], ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xa], ax
lea eax, [esp + 8]
push eax
push ebx
mov ecx, esi
call fcn.004b7370
mov edi, eax
test edi, edi
jne 0x4b65c2
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8
movzx ecx, byte [esp + 0xf]
movzx edx, byte [esp + 0xe]
movzx eax, byte [esp + 0xd]
push edi
push ecx
movzx ecx, byte [esp + 0x14]
push edx
push eax
push ecx
push str.CCommEngine__::Connect__d._d._d._d__session_is__08X_n
call fcn.004d2e60
add esp, 0x18
push 0x10
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4b661a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4b661a
lea eax, [ebx + 4]
call fcn.004b7750
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x4b6a90
Capabilities:
Hash data using sha1
Send data
Send data on socket

Disassembly:
mov eax, 0x856c
call fcn.005574a0
push ebx
push edi
push 0x10
lea eax, [esp + 0x57a]
push eax
mov eax, dword [esp + 0x8580]
xor ebx, ebx
add eax, 4
mov edi, ecx
mov byte [esp + 0x278], bl
call fcn.004b4800
test al, al
jne 0x4b6acf
pop edi
pop ebx
add esp, 0x856c
ret 0x10
push ebp
push esi
push 0x10
lea ecx, [esp + 0x592]
push edi
push ecx
call fcn.00555610
mov eax, dword [esp + 0x8590]
movzx eax, word [eax + 0xe]
mov edx, dword [esp + 0x8598]
add eax, 0x1f
mov dword [esp + 0x5aa], edx
cdq
and edx, 0xf
add eax, edx
mov esi, eax
sar esi, 4
mov ebp, esi
shl ebp, 4
lea eax, [ebp - 0x10]
add esp, 0xc
cmp eax, 0x7fca
jbe 0x4b6b37
push eax
push str.CCommP2P__::SendEnc_...__failed_because_encrypted_body_len_is_too_large____d_n
call fcn.004d2e60
add esp, 8
pop esi
pop ebp
pop edi
xor al, al
pop ebx
add esp, 0x856c
ret 0x10
mov eax, dword [esp + 0x8580]
mov eax, dword [eax + 0x284]
lea ecx, [esp + 0x57e]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
mov dword [esp + 0x28], 0xc3d2e1f0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x74], ebx
call fcn.004c00b0
mov eax, edi
add esp, 8
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4b6b92
sub eax, ecx
lea ecx, [esp + 0x10]
push edi
push ecx
call fcn.004c00b0
lea edx, [esp + 0x8594]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, 4
call fcn.004c00b0
lea ebx, [esp + 0x20]
call fcn.004c0330
push 1
lea edi, [esp + 0x84]
mov edx, 0x10
mov ecx, ebx
call fcn.004bd600
mov edx, dword [esp + 0x8598]
lea ecx, [esp + 0x84]
push ecx
mov eax, esi
lea ecx, [esp + 0x5ba]
call fcn.004b47a0
mov esi, dword [esp + 0x85a0]
mov ecx, dword [esp + 0x8598]
add esp, 0x18
push 0x10
push esi
add ebp, 0x26
push 0
movzx edx, bp
push edx
mov edx, dword [ecx + 0x288]
lea eax, [esp + 0x58c]
push eax
push edx
mov word [esp + 0x594], bp
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x4b6c5a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CCommP2P__::SendEnc_...__failed_while_sendto___with__d_n
call fcn.004d2e60
add esp, 8
pop esi
pop ebp
pop edi
xor al, al
pop ebx
add esp, 0x856c
ret 0x10
movzx eax, word [esp + 0x57c]
lea edi, [esp + 0x57c]
mov ecx, 0x300
lea ebx, [esp + 0x27c]
call fcn.004bcd60
movzx ecx, word [esi + 2]
mov edx, dword [esi + 4]
push eax
movzx eax, word [esp + 0x580]
push eax
push ecx
push edx
push str._tU_SENT____IP_08X_PORT_04X_LEN_d___s_n
call fcn.004d2e60
add esp, 0x14
pop esi
pop ebp
pop edi
mov al, 1
pop ebx
add esp, 0x856c
ret 0x10
Function at 0x4b7370
Capabilities:
Access peb ldr_data
Get ntdll base address
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x565a68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [esp + 0x44]
push ebx
push ebp
mov ebp, dword [esp + 0x48]
push esi
mov esi, ecx
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0xa
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x44], ebx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push 0x8004667e
push esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x58], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov edx, dword [ebp + 0x20]
push 0x33
push 0x478
push edx
push esi
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
jne 0x4b743b
lea ecx, [esp + 0x24]
call fcn.004b8fc0
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
push edi
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [esp + 0x58]
push eax
push 0x1002
push 0xffff
push esi
mov dword [esp + 0x68], 0x717a
call edi
push 4
lea ecx, [esp + 0x58]
push ecx
push 0x1001
push 0xffff
push esi
call edi
mov edx, dword [ebp + 8]
lea esi, [ebp + 4]
push ebx
push edx
lea edi, [esp + 0x18]
mov eax, esi
call fcn.004b8f50
mov edi, eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4b7492
mov dword [eax], edi
jmp 0x4b7494
mov dword [esi], edi
lea ecx, [esp + 0x28]
mov dword [esi + 4], edi
call fcn.004b8fc0
mov ecx, dword [esp + 0x40]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8

Function at 0x4b74c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, 0x717c
call fcn.005574a0
mov eax, dword [esp + 0x7180]
test eax, eax
push esi
mov esi, ecx
jne 0x4b7515
mov ecx, dword [esi + 8]
push eax
push 0x717a
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x4b7506
mov eax, esi
xor ecx, ecx
mov edx, edi
call fcn.004b6630
pop esi
add esp, 0x717c
ret 4
cmp eax, 0xffffffff
jne 0x4b7544
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x4b7563
cmp eax, 0x2733
je 0x4b7563
mov edx, dword [edi]
push 0
push 0
push esi
push eax
mov ecx, edi
call dword [edx]
mov eax, dword [edi + 4]
test eax, eax
je 0x4b7563
nop
cmp esi, eax
je 0x4b755d
mov eax, dword [eax]
test eax, eax
jne 0x4b7530
pop esi
add esp, 0x717c
ret 4
mov edx, dword [edi]
push eax
lea eax, [esp + 8]
push eax
push esi
push 0
mov ecx, edi
call dword [edx]
pop esi
add esp, 0x717c
ret 4
push edi
call fcn.004b5c30
pop esi
add esp, 0x717c
ret 4
Function at 0x4b7570
Capabilities:
Send data
Send data on socket

Disassembly:
test eax, eax
jne 0x4b7638
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4b75ff
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_send]
push edi
lea edi, [ebx + 0x20]
push esi
nop
mov esi, dword [edi]
add esi, 8
mov eax, dword [esi + 0x717c]
mov ecx, dword [ebx + 8]
push 0
push eax
push esi
push ecx
call ebp
cmp eax, 0xffffffff
je 0x4b7602
mov ecx, dword [esi + 0x717c]
cmp eax, ecx
jge 0x4b75cb
sub ecx, eax
push ecx
add eax, esi
push eax
push esi
mov dword [esi + 0x717c], ecx
call fcn.00554080
add esp, 0xc
jmp 0x4b7595
mov ecx, dword [edi]
mov eax, dword [ecx]
xor esi, esi
cmp eax, esi
mov dword [edi], eax
je 0x4b75dc
mov dword [eax + 4], esi
jmp 0x4b75df
mov dword [edi + 4], esi
mov edx, dword [edi + 0x10]
mov dword [ecx], edx
mov eax, dword [edi + 8]
dec eax
mov dword [edi + 0x10], ecx
mov dword [edi + 8], eax
jne 0x4b75f7
mov ecx, edi
call fcn.004b8fc0
cmp dword [ebx + 0x28], esi
jne 0x4b7590
pop esi
pop edi
pop ebp
ret 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4b75fc
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
je 0x4b7625
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
cmp eax, 0xffffffff
jne 0x4b75fc
mov edx, dword [esp + 0x10]
mov eax, ebx
xor ecx, ecx
call fcn.004b6630
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
je 0x4b764e
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
cmp eax, 0xffffffff
jne 0x4b75ff
mov edx, dword [esp + 4]
mov eax, ebx
xor ecx, ecx
call fcn.004b6630
ret 4
Function at 0x4bb980
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x7184
call fcn.005574a0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
test edi, edi
mov esi, edx
jle 0x4bb9e3
cmp edi, 0x717a
jg 0x4bb9e3
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x4bb9ee
lea ecx, [ecx]
mov eax, dword [ebx + 8]
push 0
push edi
push esi
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x4bb9d6
sub edi, eax
add esi, eax
test edi, edi
jg 0x4bb9b0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4bb9ee
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x24]
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov dword [esp + 0x718c], edi
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add ebx, 0x20
push 0
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004bc410
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4bba36
mov dword [ecx], eax
test eax, eax
mov dword [ebx + 4], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
mov dword [ebx], eax
mov dword [ebx + 4], eax
test eax, eax
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4bba70
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, dword [eax + 4]
sub esp, 0x14
test eax, eax
je 0x4bba8a
lea ebx, [ebx]
cmp ecx, eax
je 0x4bba92
mov eax, dword [eax]
test eax, eax
jne 0x4bba80
xor al, al
add esp, 0x14
ret 8
mov eax, dword [ecx + 8]
cmp eax, 0xffffffff
je 0x4bba8a
lea ecx, [esp]
push ecx
lea edx, [esp + 8]
push edx
push eax
mov dword [esp + 0xc], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x4bba8a
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov dx, word [esp + 6]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov word [eax], dx
mov al, 1
add esp, 0x14
ret 8
Function at 0x4bcde0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x565f00
push eax
mov eax, dword [0x5e50f4]
mov dword fs:[0], esp
sub esp, 0x24
cmp eax, 0xffffffff
jne 0x4bceec
mov eax, dword [0x884914]
push ebp
push esi
push edi
mov ecx, 0x884914
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea esi, [esp + 0x10]
mov dword [esp + 0x38], 0
call fcn.00413de0
mov byte [esp + 0x38], 1
mov ecx, dword [eax]
push str.Gunbound.erl
push ecx
push 0x5857a8
lea edi, [esp + 0x18]
call fcn.00417a00
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4bce6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 0xc]
push ebp
call fcn.00554ec6
add esp, 4
push 0
push 0x8000080
push 4
push 0
push 1
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x5e50f4], eax
je 0x4bcec7
mov ecx, 5
mov esi, str._r_n_r_n_t_tSTARTING_LOG_r_n_r_n
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x16
movsw word es:[edi], word [esi]
lea edx, [esp + 0x24]
push edx
push eax
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
jg 0x4bceec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x4bcf00
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x5e50f4]
sub esp, 0x404
cmp eax, 0xffffffff
je 0x4bcf59
mov ecx, dword [esp + 0x408]
lea eax, [esp + 0x40c]
push eax
push ecx
lea edx, [esp + 0xc]
push 0x400
push edx
call fcn.005558b2
add esp, 0x10
test eax, eax
jge 0x4bcf40
cmp eax, 0xffffffff
jne 0x4bcf59
mov eax, 0x400
push 0
lea ecx, [esp + 4]
push ecx
push eax
mov eax, dword [0x5e50f4]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0x404
ret
Function at 0x4bfc90
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x28c
push ebx
push ebp
mov ebp, dword [esp + 0x2a4]
xor ebx, ebx
push edi
mov edi, eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
mov dword [esp + 0x1c], 0xc3d2e1f0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x68], ebx
xor al, al
lea ebx, [ebx]
movzx ecx, al
cmp byte [ecx + esi], bl
je 0x4bfcf0
inc al
cmp al, 0x10
jb 0x4bfce0
mov al, 0x10
lea edx, [esp + 0xc]
movzx eax, al
push esi
push edx
call fcn.004c00b0
mov eax, edi
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4bfd06
lea ecx, [esp + 0xc]
push edi
sub eax, edx
push ecx
call fcn.004c00b0
lea edx, [esp + 0x2ac]
push edx
lea eax, [esp + 0x18]
push eax
mov eax, 4
call fcn.004c00b0
lea ebx, [esp + 0x1c]
call fcn.004c0330
mov edi, dword [esp + 0x2ac]
push 3
mov edx, 0x10
mov ecx, ebx
call fcn.004bd600
add esp, 0x14
cmp ax, 1
je 0x4bfd64
pop edi
pop ebp
xor al, al
pop ebx
add esp, 0x28c
ret
mov ecx, dword [esp + 0x2a0]
push 1
lea edi, [esp + 0x90]
mov edx, 0x10
mov byte [esp + 0x298], 0
call fcn.004bd600
push 0x10
lea ecx, [esp + 0x74]
push esi
push ecx
call fcn.00555610
mov edx, dword [esp + 0x2b4]
mov eax, edi
push eax
mov dword [esp + 0x90], edx
push ebp
lea edx, [esp + 0x84]
call fcn.004bda60
add esp, 0x18
cmp ax, 1
jne 0x4bfde5
mov ecx, edi
push ecx
add ebp, 0x10
push ebp
lea edx, [esp + 0x84]
call fcn.004bda60
add esp, 8
cmp ax, 1
jne 0x4bfde5
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28c
ret
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28c
ret

Function at 0x4c03f0
Capabilities:
Hash data using sha1

Disassembly:
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
ret
Function at 0x4ce530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5660ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esi], vtable.Xenesis2::Foundation::Process::xThread_0__10_.0
mov dword [esi + 4], 0xffffffff
mov byte [esi + 0xc], bl
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 8], eax
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.Xenesis2::Foundation::Memory::xEncryptMemory.0
lea ebp, [esi + 0x10]
call fcn.0044c5c0
mov dword [ebp + 4], eax
mov cl, 1
mov byte [eax + 0x11], cl
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], ebx
push 0x40000
mov byte [esp + 0x28], cl
call fcn.0054bf24
mov dword [esi + 0x1c], eax
push 0x8000
mov byte [esp + 0x2c], 2
call fcn.0054bf24
mov dword [esi + 0x20], eax
push 0x8000
mov byte [esp + 0x30], 3
call fcn.0054bf24
add esp, 0xc
mov dword [esi + 0x24], eax
lea eax, [esi + 0x34]
push eax
mov dword [esi + 0x28], ebx
mov byte [esi + 0x30], bl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x24], 5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00554f5f
mov edi, dword [esi + 0x1c]
xor eax, eax
mov ecx, 0x10000
rep stosd dword es:[edi], eax
mov edi, dword [esi + 0x20]
mov ecx, 0x2000
rep stosd dword es:[edi], eax
mov edi, dword [esi + 0x24]
mov ecx, 0x2000
add esp, 4
rep stosd dword es:[edi], eax
xor edi, edi
jmp 0x4ce620
push esi
mov eax, edi
call fcn.004ce7b0
inc edi
cmp edi, 0x2000
jb 0x4ce620
xor edi, edi
mov dword [esp + 0x10], edi
lea eax, [esp + 0x14]
push eax
lea ebx, [esp + 0x14]
mov eax, ebp
call fcn.00417a20
inc edi
cmp edi, 0x10000
mov dword [esp + 0x10], edi
jb 0x4ce637
call fcn.00554f6c
push esi
push 0
push 0x4ce960
mov dword [esi + 0x2c], eax
mov byte [esi + 0xc], 1
call fcn.00554c65
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4ce9e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x565ed8
push eax
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x1c]
push edi
call fcn.004cee40
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], eax
mov byte [esi + 0x14], bl
mov byte [esi + 0x15], bl
mov byte [esi + 0x16], bl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
or eax, 0xffffffff
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x18], ecx
lea edi, [esi + 0x34]
mov dword [esi], vtable.Xenesis2::Utility::Interface::xInterface.0
mov byte [esi + 0x28], bl
mov dword [esi + 0x30], ebx
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4cea60
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.00402ab0
mov dl, byte [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov al, 1
mov byte [esi + 0x50], al
mov byte [esi + 0x52], al
mov al, byte [esp + 0x34]
mov byte [esi + 0x51], bl
mov byte [esi + 0x54], bl
mov byte [esi + 0x55], al
mov byte [esi + 0x56], bl
mov byte [esi + 0x57], bl
mov byte [esi + 0x58], bl
mov byte [esi + 0x53], dl
pop edi
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x18

Function at 0x4d1b54
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
cmp dword [eax], 0x1000001
je 0x4d1b6b
push eax
mov ecx, esi
call fcn.004ceb90
pop esi
ret 4
mov eax, dword [eax + 4]
sub eax, 0x2a8
je 0x4d1b83
dec eax
jne 0x4d1bbb
call fcn.004d1cd0
mov al, 1
pop esi
ret 4
cmp dword [0x887ae0], 0x5e
push 1
push 0
push 0
jne 0x4d1b99
push 0x160
jmp 0x4d1b9e
push 0xcf
push 0x88a3dc
call fcn.004475f0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
call fcn.004d1cd0
mov al, 1
pop esi
ret 4
Function at 0x4d20e4
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x50
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x51]
xor ebx, ebx
cmp al, bl
je 0x4d21ed
call fcn.004cecd0
cmp byte [eax + 0x8c], bl
jne 0x4d21ed
cmp byte [esi + 0x50], bl
je 0x4d21ed
push edi
call fcn.004cecd0
mov eax, dword [eax + 0x88]
cmp eax, 9
je 0x4d218f
cmp eax, 0xd
je 0x4d214d
cmp eax, 0x1b
jne 0x4d21e0
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], 0x3000004
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
lea edi, [esp + 0xc]
jmp 0x4d21d9
cmp byte [esi + 0x28], bl
je 0x4d216f
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x1c], 0x3000001
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea edi, [esp + 0x1c]
jmp 0x4d21d9
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x24]
mov dword [esp + 0x2c], 0x3000002
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
lea edi, [esp + 0x2c]
jmp 0x4d21d9
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x4d21bb
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x3c], 0x3000002
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
lea edi, [esp + 0x3c]
jmp 0x4d21d9
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x4c], 0x3000002
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebx
lea edi, [esp + 0x4c]
mov eax, esi
call fcn.0040b010
call fcn.004cecd0
mov byte [eax + 0x8c], 1
pop edi
pop esi
pop ebx
add esp, 0x50
ret
Function at 0x4f9c70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x48
mov ecx, dword [esp + 0x4c]
and ecx, 0xff00
xor al, al
cmp ecx, 0xff00
sete cl
mov dl, cl
neg dl
push ebp
push edi
mov byte [esp + 0xa], al
mov byte [esp + 0xb], cl
sbb edx, edx
add edx, 6
mov ebp, edx
xor edi, edi
test ebp, ebp
jle 0x4f9e05
push ebx
push esi
jmp 0x4f9cb0
mov cl, byte [esp + 0x13]
nop
test cl, cl
je 0x4f9d66
mov ecx, dword [0x887734]
mov edx, dword [ecx + edi*8 + 0x1a5d0]
lea eax, [esp + 0x18]
push eax
push edx
call fcn.004ce8c0
mov ebx, 1
mov esi, eax
call fcn.00403230
cmp byte [esp + 0x18], 0xff
jne 0x4f9df6
mov ecx, dword [0x887734]
mov edx, dword [ecx + edi*8 + 0x1a5d8]
lea eax, [esp + 0x28]
push eax
push edx
call fcn.004ce8c0
mov esi, eax
call fcn.00403230
mov al, byte [esp + 0x28]
xor al, byte [esp + 0x5c]
jne 0x4f9df6
mov edx, dword [0x887734]
mov eax, dword [edx + edi*8 + 0x1a5d0]
push 1
lea ecx, [esp + 0x18]
push ecx
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edx, dword [0x887734]
mov eax, dword [edx + edi*8 + 0x1a5d8]
push 1
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], ebx
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
inc edi
jmp 0x4f9df1
mov edx, dword [0x887734]
mov eax, dword [edx + edi*8 + 0x1a5d0]
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.004ce8c0
mov ebx, 1
mov esi, eax
call fcn.00403230
cmp byte [esp + 0x38], 0xff
jne 0x4f9d94
inc edi
jmp 0x4f9df6
mov edx, dword [0x887734]
mov eax, dword [edx + edi*8 + 0x1a5d0]
lea ecx, [esp + 0x48]
push ecx
push eax
call fcn.004ce8c0
mov ebx, 1
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x48]
and ecx, 0xff
cmp eax, ecx
jne 0x4f9df6
mov eax, dword [0x887734]
mov ecx, dword [eax + edi*8 + 0x1a5d0]
push ebx
lea edx, [esp + 0x18]
push edx
push ecx
mov dword [esp + 0x20], 0
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov byte [esp + 0x12], 1
inc edi
cmp edi, ebp
jl 0x4f9cab
mov al, byte [esp + 0x12]
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x48
ret 4
Function at 0x50d500
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x565ec6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push esi
push edi
push str.MuteList.txt
push 0x885e80
lea eax, [esp + 0x40]
push 0x5857a8
xor edi, edi
push eax
mov dword [esp + 0x48], edi
call fcn.00553270
add esp, 0x10
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [0x887734]
mov eax, dword [edx + 0x4f0c4]
mov esi, dword [eax]
cmp esi, eax
mov dword [esp + 8], esi
je 0x50d609
push edi
lea eax, [esp + 0x1c]
push 0x584fc0
push eax
call fcn.00553270
mov eax, dword [esi + 0x24]
add esp, 0xc
inc edi
cmp eax, 0x10
jb 0x50d585
mov ecx, dword [esi + 0x10]
jmp 0x50d588
lea ecx, [esi + 0x10]
push ecx
mov edx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00407cf0
push ecx
mov dword [esp + 0x14c], 0
mov eax, esp
mov dword [esp + 0x14], esp
push eax
lea ecx, [esp + 0x24]
call fcn.00407cf0
push 0xd9038
push 0x88a3dc
mov byte [esp + 0x154], 1
call fcn.004475f0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, eax
call fcn.00407cf0
mov dword [esp + 0x150], 0xffffffff
call fcn.0040bf40
add esp, 0xc
lea edx, [esp + 8]
call fcn.0042e910
mov edx, dword [0x887734]
mov esi, dword [esp + 8]
cmp esi, dword [edx + 0x4f0c4]
jne 0x50d564
mov ecx, dword [esp + 0x13c]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x140
ret