joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015217
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002d711
call fcn.10017005
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015234
xor eax, eax
jmp 0x10015311
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001530f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x100152e5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000128b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000128b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.10028107
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x100152ef
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10015264
jmp 0x10015308
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016faf
ret

Function at 0x10028107
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10028116
pop dword [ebp - 0x18]
mov eax, 0x16b36dfd
sub eax, 0x6b0ece7
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x40050
push 0
mov eax, 0x2f75aed3
add eax, 0xe08d4289
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x4710
mov esi, eax
mov edi, 0x33ae6f61
sub edi, 0x23a9c361
add edi, dword [ebp - 0x18]
mov edx, 0xc87ade81
sub edx, 0xfcb740d4
add dword [ebp - 0x10], ecx
mov ebx, dword [edi]
xor dword [ebp - 0xc], 0xf2f046ca
xor ebx, edx
sub dword [ebp - 0x14], 0xcf30c6d4
mov dword [esi], ebx
mov dword [ebp - 8], 0x58c2e14c
add esi, 0xfb9695c6
add esi, 0x4696a3e
add edi, 0x94a38af1
add edi, 0x6b5c7513
loop 0x1002816f
add eax, 0xf79e3c30
sub eax, 0xf79d2d1d
xor ebx, ebx
add ebx, eax
add eax, 0xb27d158b
add eax, 0x4d82ea7a
mov ecx, 0xb50a6f76
sub ecx, 0xa50a6f76
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x40e603
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc00
lea eax, [ebp - 0x400]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040e570
add esp, 8
push 0x43f3b8
lea edx, [ebp - 0x400]
push edx
push 0x43f3c4
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0x800]
push ecx
push 0x400
lea edx, [ebp - 0xc00]
push edx
push 0x43f3cc
push str.LicType
push 0x43f3d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x43f3e0
lea eax, [ebp - 0xc00]
push eax
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x40e696
mov dword [0x44d520], 2
jmp 0x40e6e2
push 0x43f3e4
lea ecx, [ebp - 0xc00]
push ecx
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x40e6ce
mov dword [0x44d520], 1
push 1
call fcn.0040b730
add esp, 4
jmp 0x40e6e2
mov dword [0x44d520], 1
push 0
call fcn.0040b730
add esp, 4
lea edx, [ebp - 0x800]
push edx
push 0
push str.NetType
push str.LockSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x44d4d8], eax
lea eax, [ebp - 0x800]
push eax
push 0x40
push 0x44d4dc
push str.127.0.0.1
push 0x43f404
push 0x43f408
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x800]
push ecx
push 0x1f40
push str.Port
push str.ServerInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x44d51c], eax
mov dword [0x44e948], 0
mov dword [0x44e94c], 0
lea edx, [ebp - 0x800]
push edx
push 0
push str.Repeat
push str.LogSet4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x43f3a0], eax
cmp dword [0x43f3a0], 0x1388
jle 0x40e78c
mov dword [0x43f3a0], 0x1388
lea eax, [ebp - 0x400]
push eax
push 0x44e950
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [0x44d520]
mov esp, ebp
pop ebp
ret

Function at 0x414131
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
push 0x44db24
call sub.MSVCRT.dll_strcpy
add esp, 8
mov dword [ebp - 4], 1
mov dword [0x44df10], 0x44db24
push 0x44eb58
push 0
push 0x44df0c
push 0x40f862
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x44eb54], eax
cmp dword [0x44eb54], 0
jne 0x414189
mov dword [ebp - 4], 0
jmp 0x414196
mov ecx, dword [0x44eb54]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x41676f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push esi
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x274], 0x4401b4
lea eax, [ebp - 0x130]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], 0xc8
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x268], ecx
mov dword [ebp - 4], 0xc8
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x268]
push eax
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x278]
push eax
mov ecx, dword [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp dword [ebp - 0x278], 0
jne 0x41680a
mov dword [ebp - 0x278], 0x3c1a3dec
mov ecx, dword [ebp - 0x278]
shr ecx, 0x10
mov edx, dword [ebp + 8]
mov word [edx], cx
mov eax, dword [ebp - 0x278]
and eax, 0xffff
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
mov edx, dword [ebp + 8]
xor eax, eax
mov ax, word [edx]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ax, word [edx]
cdq
mov esi, 3
idiv esi
add ecx, eax
mov eax, dword [ebp + 0x10]
mov word [eax], cx
mov ecx, dword [ebp + 8]
mov dx, word [ecx]
xor dx, 0xa4b3
mov eax, dword [ebp + 8]
mov word [eax], dx
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx]
xor dx, 0x1e3f
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x425df0
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4338e2
push eax
mov al, byte [0x44030d]
mov dword fs:[0], esp
sub esp, 0x1a0
test al, al
je 0x426004
mov eax, dword [esp + 0x1b0]
mov byte [0x44030d], 0
test eax, eax
mov byte [0x44030c], 1
je 0x425e3c
push eax
mov ecx, 0x44f370
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x1b4]
test eax, eax
je 0x425e4c
mov dword [0x44f374], eax
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x1a8], 0
test eax, eax
je 0x425e6e
push eax
jmp 0x425e73
push 0x440328
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 4]
push 0x1e
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1b0], 1
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 4]
mov byte [esp + 0x1a8], 1
call sub.MFC42.DLL_CString::CString
push str.__NCB_080529_1120
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 4]
push 0x11
push ecx
lea ecx, [esp + 8]
mov byte [esp + 0x1b0], 3
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1ac], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 4]
mov byte [esp + 0x1a8], 3
call sub.MFC42.DLL_CString::CString
push 0x440310
lea ecx, [esp + 0xc]
call fcn.0043218c
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 8]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
mov ecx, 0x44f36c
mov byte [esp + 0x1ac], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 4]
mov byte [esp + 0x1a8], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x1a8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1a8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov dword [esp + 0x1a8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x44f374]
test eax, eax
je 0x425fe3
mov edx, dword [0x44f370]
mov eax, dword [edx - 8]
test eax, eax
je 0x425fe3
lea eax, [esp + 0x10]
push eax
push 4
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x425fbc
mov byte [0x44030c], 0
call fcn.00429f30
mov cl, byte [0x44030c]
test cl, cl
jne 0x426010
or eax, 0xffffffff
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
add esp, 0x1ac
ret
mov byte [0x44030c], 0
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
add esp, 0x1ac
ret
mov al, byte [0x44030c]
neg al
sbb eax, eax
neg eax
dec eax
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
add esp, 0x1ac
ret
Function at 0x42aae0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
mov dword [esi], 0x436e3c
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0xc]
push 0xc8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42ab13
mov edx, dword [esi + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 8]
push ecx
call edi
mov edx, dword [esi + 4]
push edx
call edi
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
pop esi
ret

Function at 0x42ad20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x433c08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
or eax, 0xffffffff
push esi
mov dword [esp + 0x14], eax
push edi
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x30]
mov edi, ecx
mov byte [esp + 0x10], al
mov byte [esp + 0x11], 0
mov byte [esp + 0x1c], al
mov byte [esp + 0x1d], 0
call dword [sym.imp.MSVCRT.dll__getpid]
mov word [esp + 0x1e], ax
call dword [sym.imp.MSVCRT.dll_rand]
lea esi, [edi + 0x14]
mov dword [esp + 0x18], eax
test esi, esi
mov dword [esp + 8], 0x436e58
mov dword [esp + 0xc], esi
je 0x42ad8f
lea ecx, [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0xc]
lea ecx, [edi + 4]
lea edx, [esp + 0x10]
mov dword [esp + 0x28], 0
push edx
push 1
push eax
call fcn.0042b120
test esi, esi
je 0x42adb8
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x20]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x42fba0
Capabilities:
Get disk information

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push eax
xor ebp, ebp
call fcn.0042fd80
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x42fbc8
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
pop ecx
ret
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx]
lea eax, [edx*4 + 4]
push eax
call sub.MSVCRT.dll_malloc
mov esi, dword [esp + 0x20]
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi], edi
jne 0x42fbf2
pop edi
pop esi
mov dword [ebx], eax
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [ebx]
xor eax, eax
push 0x8000
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call sub.MSVCRT.dll_malloc
add esp, 4
mov ebx, eax
mov ecx, 0x2000
xor eax, eax
mov edi, ebx
push 0x8000
push ebx
push eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jne 0x42fc55
mov eax, dword [esp + 0x20]
push ebx
mov dword [eax], 0
call sub.MSVCRT.dll_free
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0x8000]
cmp eax, ecx
jae 0x42fd5b
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42fd57
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push edx
call sub.MSVCRT.dll__memicmp
add esp, 0xc
test eax, eax
jne 0x42fd36
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 8
push ecx
call sub.MSVCRT.dll_malloc
mov ecx, dword [esi]
mov edi, ebx
add esp, 4
mov dword [ecx + ebp*4], eax
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi]
repne scasb al, byte es:[edi]
mov edi, dword [edx + ebp*4]
not ecx
add ecx, 3
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi]
mov edi, ebx
not ecx
mov edx, dword [eax + ebp*4]
add ecx, 3
mov dword [edx], ecx
mov eax, dword [esi]
mov edx, dword [str.._]
mov ecx, dword [eax + ebp*4]
add ecx, 4
mov dword [ecx], edx
mov al, byte [0x44c044]
mov byte [ecx + 4], al
mov ecx, dword [esi]
xor eax, eax
mov edx, dword [ecx + ebp*4]
or ecx, 0xffffffff
add edx, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
add eax, 0x8000
lea ebx, [ebx + ecx + 1]
cmp ebx, eax
jb 0x42fc67
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push eax
mov dword [ecx], ebp
call sub.MSVCRT.dll_free
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x430c60
Capabilities:
Get hostname

Disassembly:
mov eax, dword [ecx + 0x10]
push esi
lea esi, [ecx + 0x10]
push edi
test eax, eax
jne 0x430c89
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
inc eax
pop edi
neg eax
sbb eax, eax
pop esi
neg eax
dec eax
ret 8
call fcn.00430fa0
push eax
push 4
push esi
call fcn.00431cf0
add esp, 0xc
test eax, eax
je 0x430d16
mov esi, dword [eax]
test esi, esi
je 0x430d16
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
dec ecx
cmp ecx, eax
jb 0x430cf0
test eax, eax
jbe 0x430cda
mov edx, dword [esp + 0xc]
lea ecx, [eax - 1]
push ebx
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
pop ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [edx + eax - 1], 0
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 0x27
pop edi
mov eax, 0xfffffffe
pop esi
ret 8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret 8
pop edi
or eax, 0xffffffff
pop esi
ret 8

Function at 0x431340
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x43136f
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
pop esi
ret

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

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x4313cf
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
pop esi
ret

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

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x431444
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
pop esi
ret

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

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x431484
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
pop esi
ret
Function at 0x431490
Capabilities:
Set socket configuration

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
cmp ecx, 0xffff
jne 0x4314b4
cmp eax, 4
jne 0x4314a8
xor eax, eax
ret
cmp eax, 0x400
jne 0x4314b4
mov eax, 4
mov edx, dword [esp + 0x14]
push esi
push edi
push edx
mov edx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x18]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4314fb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [sym.imp.MSVCRT.dll__errno]
mov esi, eax
call edi
mov dword [eax], esi
or esi, 0xffffffff
call edi
cmp dword [eax], 0x273d
jne 0x4314fb
call edi
mov dword [eax], 0x59
mov eax, esi
pop edi
pop esi
ret

Function at 0x431cd0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
ret

Function at 0x431d50
Capabilities:
Get socket status

Disassembly:
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x431d5c
xor eax, eax
jmp 0x431d61
call fcn.00430f10
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_select]
ret
Function at 0x10001cc5
Capabilities:
Get system information on windows

Disassembly:
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x18]
jae 0x100029ef
jmp 0x10002684
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x100010ca
mov edx, dword [ebp - 8]
add edx, 0x28
mov dword [ebp - 8], edx
jmp 0x1000120e
push ebp
mov ebp, esp
sub esp, 0x40
mov byte [ebp - 1], 0
cmp dword [0x10003882], 0
jne 0x10003e3c
jmp 0x10002da5
add esp, 8
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.100037a9
jmp 0x10002d7a
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
and ecx, 0x10000000
je 0x1000388d
jmp 0x100012ea
mov eax, dword [ebp - 0x3c]
sub eax, 1
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10004022
jmp 0x10001d74
mov dword [0x10003882], 0
jmp 0x1000431d
add esp, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
jmp 0x100010ca
jmp 0x1000431d
add esp, 8
and eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
add edx, 0x28
mov dword [ebp - 8], edx
jmp 0x1000120e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10004022
jmp 0x10003792
mov eax, fcn.10001cc5
sub eax, dword [fcn.10001cc5]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [0x10004b94]
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
jmp 0x1000269f
mov esp, ebp
pop ebp
ret

Function at 0x10004022
Capabilities:
Allocate or change rwx memory

Disassembly:
xor eax, eax
jmp 0x10004d9a
test eax, eax
jne 0x100068bf
jmp 0x10001a3a
push 0x1c
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
jmp 0x10001863
xor eax, eax
jmp 0x10004d9a
mov eax, 1
jmp 0x10004d9a
xor eax, eax
jmp 0x10004d9a
mov eax, 1
jmp 0x10004d9a
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
or edx, 0x40
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
jmp 0x100036bb
test eax, eax
jne 0x10001a79
jmp 0x100020e5
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0xc], 0
jne 0x100019a3
jmp 0x100017b5
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
and edx, 0xffffff80
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
and eax, 0x80
je 0x10003370
jmp 0x10002b15
Function at 0x4a41e8
Capabilities:
Encode data using xor

Disassembly:
out 0x94, eax
pop ecx
dec eax
push ss
dec ecx
invalid
aad 0xc3
leave
jp 0x4a41aa
mov ah, 0xda
sal bl, 1
jl 0x4a41f5
inc eax
dec edx
test al, cl
cmc
inc edx
jmp 0x7d1c7493
add eax, 0x74d49941
cdq
aam 0x74
jae 0x4a41aa
pop ss
push ebx
test eax, 0xe2da9347
shl bl, 0x55
cmpsd dword [esi], dword es:[edi]
pop esp
rcr dword [edx + ecx + 0x43], 0xc3
xor al, 0xa9
inc ebp
shr dword [ebx - 0x4b], cl
cwde
jbe 0x4a4265
aaa
jp 0x4a41ce
loop 0x4a41b4
invalid
loop 0x4a41d0
cli
add edx, dword [ebx - 0x4dbb7e9b]
inc esp
mov eax, dword fs:[0x47c07cf1]
dec edx
ret
dec eax
daa
mov bl, 0x36
sti
xor dword [edx + 4], ebx
and byte [ecx + 0x7bff9f4], bh
loope 0x4a4265
cmpsd dword [esi], dword es:[edi]
scasb al, byte es:[edi]
test dword [edx + ebx*4], esi
cmpsd dword [esi], dword es:[edi]
test eax, 0xfbb8a799
mov edi, 0xc627d1d
xor eax, 0x46c9129d
pshufw mm7, qword [ecx + ebp*2], 0x3e
into
and dl, dh
adc eax, 0xb4b33421
int1
and eax, 0xa385d563
popfd
pushfd
and ecx, dword [esi + 0x35]
into
bound ebx, qword [ebx]
test dword [edi + edx], esi
or ch, byte [ebx]
adc al, 0x62
lodsb al, byte [esi]
and al, 0x27
cmp ah, byte [esi - 0x11]
push ebp
mov edx, ds
cmpsb byte [esi], byte es:[edi]
popfd
rcr dword [edi - 0x1235fa0d], cl
imul di, word [edi + 0x2b103fea], 0x1214
mov ebp, 0x99715941
inc esi
xor byte [ebx - 0x1c], dh
call 0xacfdcc83
scasb al, byte es:[edi]
cld
mov eax, dword [0xccabc859]
adc eax, 0x3ad9d65
adc edi, dword [ebx - 0x5d139c7c]
jnp 0x4a4320
push cs
xchg ebx, eax
adc dword [edx + 0x64], 0xc52e12ac
dec esp
int 0x2e
cmp esp, ebp
cmc
and edx, dword [ecx]
sub eax, 0x562a8cd6
sti
into
push edx
cmp eax, 0x7556eb5e
rcl dword [edx], cl
lahf
aam 0xd3
invalid
rol edi, cl
xor cl, byte [ebx]
arpl word [ebp + 0x58], sp
jb 0x4a42a3
out dx, eax
scasd eax, dword es:[edi]
xchg edi, eax
mov dl, 0x95
sub ecx, dword [ebx + 0x54]
dec ebx
push esp
add ecx, eax
cmpsb byte [esi], byte es:[edi]
add byte [edx], dh
pop edi
jns 0x4a430f
fbld tbyte [0xe48527c1]
in eax, 0x42
mov edx, dword [edx + 0x66]
push edx
add al, 0x8b
pushal
xchg esi, eax
wait
movsd dword es:[edi], dword [esi]
mov al, byte [0xf274853a]
invalid