joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e75c
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 0x1c]
push esi
push 0x10
xor esi, esi
push esi
push eax
call fcn.005077d5
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x28
call dword [0x6e005c]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x47e7d8
lea eax, [ebp - 0xc]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x47e7cd
mov eax, dword [ebp - 0xc]
push esi
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esi, eax
push dword [ebp - 4]
call dword [0x6e002c]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47e935
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x6ca4ed
call fcn.006b9c3c
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor edi, edi
mov dword [ebp - 0x18], edi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 2
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x47e992
push 0x73a9e8
mov ecx, esi
call fcn.00411aae
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
jne 0x47e9b7
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x73a9e8
mov ecx, esi
call fcn.00411aae
xor ebx, ebx
inc ebx
jmp 0x47e979
push ebx
call dword [0x6e01bc]
test eax, eax
jne 0x47e9cb
push ebx
call dword [0x6e0210]
jmp 0x47e9a0
push eax
lea ecx, [ebp - 0x40]
call fcn.004a63fc
mov byte [ebp - 4], 3
push ebx
call dword [0x6e0210]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.00461197
xor ebx, ebx
inc ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.004ab703
jmp 0x47e97c
Function at 0x47ea35
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x6c294c
call fcn.006b9c3c
push esi
and dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 0x18]
inc eax
push eax
push 2
call dword [0x6e018c]
mov esi, eax
test esi, esi
jne 0x47ea6d
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x47eaae
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
inc eax
push eax
push ecx
push esi
call dword [0x6e01bc]
push eax
call fcn.0068bfa0
add esp, 0xc
push esi
call dword [0x6e0210]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [0x6e0194]
xor esi, esi
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
push 0
push 1
call fcn.00411bc8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4a5450
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x6ca7cc
call fcn.006b9c3c
push ecx
xor eax, eax
mov dword [ebp - 0x10], ecx
mov dword [ecx], eax
mov byte [ecx + 4], al
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ebp - 4], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov byte [ecx + 0x1c], al
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov byte [ecx + 0x28], al
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], eax
mov byte [ecx + 0x34], al
or dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4a6f11
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6caa03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
xor edi, edi
mov dword [ebp - 4], edi
test byte [esi + 0x3c], 1
je 0x4a6f76
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4a6f55
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
jmp 0x4a6f62
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax]
lea ecx, [eax + ecx*2]
mov eax, dword [esi + 0xc]
push 2
sub ecx, dword [eax]
sar ecx, 1
push ecx
push dword [eax]
call fcn.0040f4e4
add esp, 0xc
mov eax, dword [esi + 0xc]
mov dword [eax], edi
mov eax, dword [esi + 0x1c]
mov dword [eax], edi
mov eax, dword [esi + 0x2c]
mov dword [eax], edi
mov eax, dword [esi + 0x10]
mov dword [eax], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov eax, dword [esi + 0x30]
mov dword [eax], edi
and dword [esi + 0x3c], 0xfffffffe
mov dword [esi + 0x38], edi
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004a732a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4f477a
Capabilities:
Connect socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
lea eax, [esp + 0x14]
push ebx
push esi
push edi
push eax
push 0x202
mov ebx, edx
mov edi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4f484f
push eax
push 1
push 2
pop eax
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x4f484f
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4f484f
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.0068bfa0
add esp, 0xc
push 2
pop eax
push ebx
mov word [esp + 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
lea eax, [esp + 0x10]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x4f484f
cmp byte [ebp + 8], al
je 0x4f484b
push 0x1f4
call dword [0x6e016c]
cmp dword [0x790348], 0x10
mov eax, 0x790334
push 0
push dword [0x790344]
cmovae eax, dword [0x790334]
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x4f484f
mov eax, dword [0x790344]
add dword [0x7a03a0], eax
mov eax, esi
jmp 0x4f4851
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f4858
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0068aad0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push edi
push eax
mov esi, ecx
mov edi, edx
push 0x4004667f
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x4f4888
xor eax, eax
jmp 0x4f48e6
cmp dword [ebp - 4], 0
je 0x4f48e3
push ebx
mov ebx, 0x2000
lea eax, [ebp - 0x2004]
push ebx
push 0
push eax
call fcn.005077d5
add esp, 0xc
lea eax, [ebp - 0x2004]
push 0
push ebx
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 4], eax
pop ebx
test eax, eax
je 0x4f4884
add dword [0x7a02bc], eax
push 0
push eax
lea eax, [ebp - 0x2004]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x4f4884
mov eax, dword [ebp - 4]
add dword [0x7a03a0], eax
xor eax, eax
inc eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f56f5
Capabilities:
Enumerate devices by category

Disassembly:
push ebx
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [0x7a0468], eax
test eax, eax
je 0x4f5711
call fcn.004f5636
push esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x7a0430
push 0x73ea38
push 1
push ebx
push 0x743334
call esi
mov dword [0x7a0468], eax
test eax, eax
je 0x4f573a
call fcn.004f5636
push 0x7a0420
push 0x743304
push 1
push ebx
push 0x743344
call esi
mov dword [0x7a0468], eax
test eax, eax
je 0x4f575c
call fcn.004f5636
mov eax, dword [0x7a0420]
push dword [0x7a0430]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [0x7a0468], eax
test eax, eax
je 0x4f577b
call fcn.004f5636
call fcn.004f6864
push eax
push 0x73eaa8
push 1
push ebx
push 0x743324
call esi
mov dword [0x7a0468], eax
pop esi
test eax, eax
je 0x4f579f
call fcn.004f5636
mov eax, dword [0x7a042c]
push ebx
push 0x7a041c
push 0x743314
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [0x7a0468], eax
test eax, eax
je 0x4f57c3
call fcn.004f5636
mov eax, edi
pop edi
pop ebx
ret

Function at 0x4f6870
Capabilities:
Encrypt data using camellia

Disassembly:
mov eax, 0x6d4821
call fcn.006b9c3c
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
xor ecx, ecx
inc ecx
mov byte [ebp - 4], cl
mov al, byte [ebp + 8]
cmp al, cl
jne 0x4f68bb
movzx eax, byte [ebp + 0xc]
mov al, byte [eax + 0x734ae0]
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp al, 2
jne 0x4f68e8
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x28]
movzx ecx, byte [ebp + 0xc]
add ecx, 0x734ae0
push eax
call fcn.004f9c15
pop ecx
jmp 0x4f68a5
cmp al, 3
jne 0x4f6908
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x34], ebx
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x38]
jmp 0x4f68d5
mov dword [ebp - 0x40], 8
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ebx
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp + 0xc]
call fcn.004f9c15
pop ecx
movzx eax, al
jmp 0x4f689f
Function at 0x526060
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0xc], 0
xorps xmm0, xmm0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, ecx
movlpd qword [ebp - 0x10], xmm0
jb 0x526112
mov ecx, dword [ebp + 8]
ja 0x52608d
test ecx, ecx
je 0x526112
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
cmp dword [esi + 0x28], 0x10
jne 0x5260f4
xorps xmm0, xmm0
lea edx, [esi + 8]
movlpd qword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
nop word [eax + eax]
add byte [edx + eax], 1
jne 0x5260c3
add eax, 1
adc ecx, 0
jne 0x5260c3
cmp eax, 8
jb 0x5260b0
mov ecx, dword [esi]
lea eax, [ebp - 0xc]
push 0
push eax
push 0x10
lea eax, [esi + 0x18]
push eax
push 0
push 0
push 0
push 0x10
push edx
push dword [ecx + 4]
call dword [sym.imp.bcrypt.dll_BCryptEncrypt]
test eax, eax
js 0x52611b
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x28]
mov al, byte [eax + esi + 0x18]
xor byte [edi + edx], al
inc dword [esi + 0x28]
add edi, 1
adc ebx, 0
cmp ebx, dword [ebp + 0xc]
ja 0x526112
jb 0x526093
cmp edi, ecx
jb 0x526093
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5262b0
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, edx
push esi
mov dword [ebp - 4], eax
mov ebx, ecx
call fcn.00526060
add esp, 8
test al, al
je 0x526306
mov eax, dword [ebx + 4]
test eax, eax
je 0x526306
cmp dword [ebp + 0xc], 0
ja 0x526306
jb 0x5262e6
cmp esi, 0xffffffff
ja 0x526306
push 0
push esi
push dword [ebp - 4]
push dword [eax + 4]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
setns al
test al, al
je 0x526306
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x526310
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov dword [ebp - 4], edx
push esi
mov eax, dword [ebx + 4]
test eax, eax
je 0x526367
cmp dword [ebp + 0xc], 0
ja 0x526367
mov esi, dword [ebp + 8]
jb 0x526334
cmp esi, 0xffffffff
ja 0x526367
push 0
push esi
push edx
push dword [eax + 4]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
setns al
test al, al
je 0x526367
push dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov ecx, ebx
push esi
call fcn.00526060
add esp, 8
test al, al
je 0x526367
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5717f8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6da4f2
call fcn.006b9c3c
push ecx
xor eax, eax
push ebx
mov ebx, ecx
push esi
push edi
push 0x38
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x44], eax
call fcn.00689e2f
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
mov dword [esi], vtable.ISampleGrabberCB.0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x1c]
push ecx
mov dword [esi], vtable.SampleGrabberCallback.0
call dword [0x6e029c]
xor eax, eax
push eax
push eax
push 1
push eax
mov dword [esi + 4], eax
mov word [esi + 0x10], ax
mov dword [esi + 8], eax
call dword [0x6e0058]
mov dword [esi + 0x34], eax
or dword [ebp - 4], 0xffffffff
xor ecx, ecx
mov dword [ebx + 0x60], esi
lea edi, [ebx + 0x4c]
mov byte [esi + 0x10], cl
mov eax, 0x744174
mov esi, eax
push 0x1fe
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
mov dword [ebx + 0x74], 2
mov dword [ebx + 0x78], ecx
lea edi, [ebx + 0x14]
mov dword [ebx], ecx
lea eax, [ebx + 0x184]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], 0x280
mov dword [ebx + 0x10], 0x1e0
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or dword [ebx + 0x7c], 0xffffffff
or dword [ebx + 0x80], 0xffffffff
mov dword [ebx + 0x6c], 0x2710
mov dword [ebx + 0x70], ecx
mov dword [ebx + 0x64], 1
mov word [ebx + 0x68], cx
mov byte [ebx + 0x6a], cl
call fcn.005077d5
push 0xff
lea eax, [ebx + 0x84]
push 0
push eax
call fcn.005077d5
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5b5ad0
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
push edi
push 4
pop edi
push esi
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp + 0x14], esi
call fcn.005077d5
add esp, 0xc
lea eax, [ebp - 8]
push 0xf0000000
push dword [ebp + 0x18]
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x5b5b89
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push dword [ebp + 0x1c]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x5b5b6c
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x5b5b6c
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
call edi
test eax, eax
je 0x5b5b6c
cmp esi, dword [ebp - 0xc]
jb 0x5b5b6c
push ebx
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push 2
push dword [ebp - 4]
call edi
cmp dword [ebp - 4], ebx
je 0x5b5b7a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 8], ebx
je 0x5b5b89
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5b892e
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x78ebd8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x5b8969
push eax
push str.WSAStartup_failed___d_
push esi
call fcn.0059b8d5
add esp, 0xc
jmp 0x5b8991
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x5b8984
shr eax, 8
test al, al
jne 0x5b8984
xor eax, eax
jmp 0x5b8994
push str.insufficient_winsock_version_to_support_telnet
push esi
call fcn.0059b8d5
pop ecx
pop ecx
push 2
pop eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0068a492
mov esp, ebp
pop ebp
ret

Function at 0x5b90d1
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov byte [ebp + 0xa], al
lea eax, [ebp + 8]
mov edi, dword [esi]
push 3
push eax
push dword [esi + 0x1a8]
mov byte [ebp + 8], 0xff
mov byte [ebp + 9], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x5b9119
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.0059b8d5
add esp, 0xc
push dword [ebp + 0x10]
push ebx
push str.SENT
push dword [esi]
call fcn.005b8a5c
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5cc049
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x78c070]
mov edi, eax
pop ecx
test edi, edi
je 0x5cc135
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x5cc0b2
push ecx
call dword [esi]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call dword [esi + 4]
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
call dword [esi + 8]
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x5cc0b8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
call dword [esi]
push dword [edi + 8]
call dword [esi]
mov eax, dword [ebp + 0x10]
xor ebx, ebx
pop ecx
pop ecx
test eax, eax
je 0x5cc12d
mov dword [ebp - 8], eax
mov ebx, eax
mov eax, dword [ebp - 4]
push 1
mov al, byte [eax]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
push dword [edi + 4]
call dword [esi + 4]
mov ecx, dword [ebp - 4]
push 1
mov al, byte [ecx]
xor al, 0x5c
inc ecx
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
push dword [edi + 8]
mov dword [ebp - 4], ecx
call dword [esi + 4]
add esp, 0x18
sub ebx, 1
jne 0x5cc0d2
mov ebx, dword [ebp - 8]
jmp 0x5cc12d
push 1
push 0x6f1557
push dword [edi + 4]
call dword [esi + 4]
push 1
push 0x6f1558
push dword [edi + 8]
call dword [esi + 4]
add esp, 0x18
inc ebx
cmp ebx, dword [esi + 0x10]
jb 0x5cc10f
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5cd610
Capabilities:
Create thread

Disassembly:
push ebx
push edi
mov edi, ecx
mov edx, dword [edi]
lea eax, [edx + 0x10]
push eax
push 4
push edx
push 0x5cd670
push 0
push 0
call fcn.00694f05
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x5cd639
pop edi
xor al, al
pop ebx
ret
mov eax, dword [edi]
push esi
add eax, 4
lock inc dword [eax]
mov esi, dword [edi]
mov eax, dword [esi + 8]
test eax, eax
je 0x5cd657
cmp eax, 0xffffffff
je 0x5cd657
push eax
call dword [0x6e002c]
mov dword [esi + 8], ebx
mov eax, dword [edi]
push dword [eax + 8]
call dword [0x6e0154]
pop esi
pop edi
mov al, 1
pop ebx
ret
Function at 0x6acc71
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006acaf0

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..retplne
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x32a1387
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..reloc
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x531787f
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4032fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x460020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403394
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403374
xor eax, eax
push ebp
push 0x40336d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4033b0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403374
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x460020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x460020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404078
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x462048], 0
je 0x4040d9
cmp word [0x46221c], 0xd7b2
jne 0x4040a1
cmp dword [0x462224], 0
jbe 0x4040a1
mov eax, 0x462218
call dword [0x462234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46006c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404100
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x460030], 0
jne 0x4040f5
push 0
push 0x460064
push 0x46006c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404254
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402a38
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x462049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40421c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc