joyce8/EMBER2024-capa huggingface dataset:
Function at 0xadb338
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0xb659e8
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0xadb3fc
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0xadb370
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0xadb413
dec edx
je 0xadb454
jmp 0xadb4b1
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0xadb4b1
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0xadc794
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00a15270
xor eax, eax
push ebp
push 0xadc8e2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.00adc5c4
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00a15280
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0xadc8c1
xor eax, eax
push ebp
push 0xadc8ba
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0xadc8a3
xor eax, eax
push ebp
push 0xadc89c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0xadc885
xor eax, eax
push ebp
push 0xadc87e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.00adc5f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xadc885
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xadc8a3
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xadc8c1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.00adc678
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xadc8e9
lea eax, [ebp - 4]
call fcn.00a14db0
ret

Function at 0xae4e50
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0xb75cc8
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0xae4e72
shr eax, 1
xor eax, 0xedb88320
jmp 0xae4e74
shr eax, 1
dec edx
jne 0xae4e60
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0xae4e59
mov byte [0xb760c8], 1
pop esi
pop ebx
ret

Function at 0xae4e90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0xb760c8], 0
jne 0xae4ea7
call fcn.00ae4e50
mov eax, edi
dec eax
test eax, eax
jl 0xae4ed0
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0xb75cc8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0xae4eb1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0xb093b4
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0xb0943d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xb77484
push 0x202
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0xb09427
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00a1d478
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0xb09454
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0xb7432c]
mov dl, 1
mov eax, dword [0xb08b38]
call fcn.00a1ddb8
call fcn.00a14724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb09444
lea eax, [ebp - 0x1c]
call fcn.00a14db0
ret

Function at 0xb09b54
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00b09a70
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00a1414c
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, eax
mov ecx, 0xb09bbc
mov eax, ebx
call fcn.00b092f8
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0xb09bae
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00a1414c
pop esi
pop ebx
ret

Function at 0xb09c88
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0xb09d0f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00a14e48
mov eax, dword [ebp - 0x10]
call fcn.00a15280
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 4
call fcn.00a13764
cmp dword [ebp - 8], 0
je 0xb09cf3
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [ebp - 0xc], cl
mov cl, byte [edx + 1]
mov byte [ebp - 0xb], cl
mov cl, byte [edx + 2]
mov byte [ebp - 0xa], cl
mov al, byte [edx + 3]
mov byte [ebp - 9], al
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb09d16
lea eax, [ebp - 0x10]
call fcn.00a14db0
ret
Function at 0xb09e78
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0xb09ea9
mov ecx, dword [0xb741c0]
mov dl, 1
mov eax, dword [0xb08b38]
call fcn.00a1dd7c
call fcn.00a14724
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0xb09ed6
mov ecx, dword [0xb740e0]
mov dl, 1
mov eax, dword [0xb08b38]
call fcn.00a1dd7c
call fcn.00a14724
xor eax, eax
push ebp
push 0xb09f52
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00a1414c
cmp byte [ebp + 8], 0
je 0xb09f2e
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00b09da0
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
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 eax, dword [ebp - 4]
call fcn.00b09b54
jmp 0xb09f48
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00b095e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb09f6f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0xb0a2e4
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xb0a487
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00b09908
xor eax, eax
push ebp
push 0xb0a46a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xb0a337
call fcn.00a147d0
jmp 0xb0a471
cmp byte [ebp + 8], 0
jne 0xb0a352
push 0
push esi
push edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
jmp 0xb0a3cb
xor eax, eax
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x14], eax
cmp esi, dword [ebp - 8]
jle 0xb0a3cb
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 8]
add dword [ebp - 0x10], eax
push 0
mov eax, esi
sub eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ebx, eax
cmp ebx, 0xffffffff
jne 0xb0a3a1
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0xb0a3cb
push 0xa
call sub.kernel32.dll_Sleep
jmp 0xb0a3a4
add dword [ebp - 8], ebx
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x14]
cmp eax, 0xea60
jae 0xb0a3cb
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xb0a3c6
call fcn.00a147d0
jmp 0xb0a471
cmp esi, dword [ebp - 8]
jg 0xb0a364
inc ebx
jne 0xb0a454
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0xb0a454
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00a1414c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0xb0a454
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.00a1d478
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0xb0a4a4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0xb7432c]
mov dl, 1
mov eax, dword [0xb08b38]
call fcn.00a1ddb8
call fcn.00a14724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a471
mov eax, dword [ebp - 4]
call fcn.00b09914
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a48e
lea eax, [ebp - 0x30]
call fcn.00a14db0
ret
Function at 0xb0a4f0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xb0a63a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00b09908
xor eax, eax
push ebp
push 0xb0a61d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0xb0a555
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0xb0a555
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0xb0a607
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xb0a568
call fcn.00a147d0
jmp 0xb0a624
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0xb0a607
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0xb0a607
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00a1414c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0xb0a607
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00a1d478
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0xb0a654
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0xb7432c]
mov dl, 1
mov eax, dword [0xb08b38]
call fcn.00a1ddb8
call fcn.00a14724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a624
mov eax, dword [ebp - 4]
call fcn.00b09914
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a641
lea eax, [ebp - 0x28]
call fcn.00a14db0
ret
Function at 0xb13d4c
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret

Function at 0xb13e24
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffecc
mov dword [esp], eax
lea edi, [esp + 0x114]
mov dword [esp + 4], edx
mov esi, 0x10
lea ebx, [esp + 0x14]
mov eax, dword [esp + 4]
mov eax, dword [eax]
call fcn.00b12ed4
mov dword [ebx], eax
add dword [esp + 4], 4
add ebx, 4
dec esi
jne 0xb13e45
mov esi, 0x30
lea ebx, [esp + 0x18]
mov eax, dword [ebx]
call fcn.00b13d84
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x34]
call fcn.00b13da8
mov edx, dword [ebx - 4]
add edx, dword [esp + 8]
add edx, dword [ebx + 0x20]
add eax, edx
mov dword [ebx + 0x3c], eax
add ebx, 4
dec esi
jne 0xb13e66
mov esi, 8
mov eax, dword [esp]
mov edx, edi
mov ecx, dword [eax]
mov dword [edx], ecx
add edx, 4
add eax, 4
dec esi
jne 0xb13e98
mov esi, 0x40
mov ebx, 0xb6d02c
lea ebp, [esp + 0x14]
mov eax, dword [edi]
call fcn.00b13dcc
mov dword [esp + 8], eax
mov eax, dword [edi]
mov edx, eax
and edx, dword [edi + 4]
and eax, dword [edi + 8]
xor edx, eax
mov eax, dword [edi + 4]
and eax, dword [edi + 8]
xor edx, eax
mov eax, edx
add eax, dword [esp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x10]
call fcn.00b13df8
mov edx, dword [edi + 0x10]
and edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
not ecx
and ecx, dword [edi + 0x18]
xor edx, ecx
mov dword [esp + 0x10], edx
add eax, dword [edi + 0x1c]
add eax, dword [esp + 0x10]
add eax, dword [ebx]
add eax, dword [ebp]
mov edx, dword [edi + 0x18]
mov dword [edi + 0x1c], edx
mov edx, dword [edi + 0x14]
mov dword [edi + 0x18], edx
mov edx, dword [edi + 0x10]
mov dword [edi + 0x14], edx
mov edx, dword [edi + 0xc]
add edx, eax
mov dword [edi + 0x10], edx
mov edx, dword [edi + 8]
mov dword [edi + 0xc], edx
mov edx, dword [edi + 4]
mov dword [edi + 8], edx
mov edx, dword [edi]
mov dword [edi + 4], edx
add eax, dword [esp + 0xc]
mov dword [edi], eax
add ebp, 4
add ebx, 4
dec esi
jne 0xb13eb3
mov esi, 8
mov eax, edi
mov edx, dword [esp]
mov ecx, dword [eax]
add dword [edx], ecx
add edx, 4
add eax, 4
dec esi
jne 0xb13f4c
add esp, 0x134
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0xb14094
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
ret
Function at 0xb15114
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
lea ebx, [ebp - 8]
mov eax, dword [0xb6d3ac]
mov dword [ebx], eax
mov eax, dword [0xb6d3b0]
mov dword [ebx + 4], eax
call fcn.00b14f94
xor eax, dword [ebx]
xor edx, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebp - 0xc], 0xb6d3b8
mov eax, dword [ebp - 0xc]
cdq
add eax, dword [ebx]
adc edx, dword [ebx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
mov dword [ebx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
lea eax, [ebp - 0x143]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cdq
add eax, dword [ebx]
adc edx, dword [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], eax
push 0
call sub.kernel32.dll_Sleep_1
call fcn.00b14f94
add eax, dword [ebx]
adc edx, dword [ebx + 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
mov dword [ebx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 4], eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_QueryPerformanceFrequency
test eax, eax
je 0xb151c4
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
xor eax, dword [ebp - 0x18]
xor edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebp - 0x10], pe_nt_image_headers32
lea eax, [ebp - 0x143]
xor ecx, ecx
mov edx, 0x103
call fcn.00a13764
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x143]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0xb15217
lea eax, [ebp - 0x143]
mov edx, dword [ebp - 0x10]
call fcn.00b150d8
xor edx, edx
add eax, dword [ebx]
adc edx, dword [ebx + 4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x38]
mov dword [ebx], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 4], eax
mov dword [ebp - 0x10], pe_nt_image_headers32
lea eax, [ebp - 0x143]
xor ecx, ecx
mov edx, 0x103
call fcn.00a13764
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x143]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0xb1526a
lea eax, [ebp - 0x143]
mov edx, dword [ebp - 0x10]
call fcn.00b150d8
xor edx, edx
add eax, dword [ebx]
adc edx, dword [ebx + 4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x40]
mov dword [ebx], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 4], eax
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
xor eax, dword [ebx]
xor edx, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov eax, dword [ebx]
call fcn.00b14f18
mov dword [ebx], eax
mov eax, dword [ebx + 4]
call fcn.00b14f38
mov dword [ebx + 4], eax
mov eax, dword [ebx]
mov dword [0xb6d3b8], eax
mov eax, dword [ebx + 4]
mov dword [0xb6d3bc], eax
mov byte [0xb6d3b4], 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xb177b0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], ecx
mov ebx, edx
cmp ebx, 0x80
jle 0xb177de
push 0xb17908
mov ecx, 2
mov dl, 1
mov eax, dword [0xb17698]
call fcn.00b176ec
call fcn.00a14724
cmp ebx, 1
jge 0xb177fe
push 0xb17930
mov ecx, 2
mov dl, 1
mov eax, dword [0xb17698]
call fcn.00b176ec
call fcn.00a14724
cmp dword [ebp - 4], 0
jle 0xb1780d
cmp dword [ebp - 4], 0x400
jle 0xb17828
push 0xb17954
mov ecx, 3
mov dl, 1
mov eax, dword [0xb17698]
call fcn.00b176ec
call fcn.00a14724
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.00a12ef4
mov edx, ebx
cmp edx, 0x7f
jg 0xb17865
mov eax, dword [ebp + 8]
lea eax, [eax + edx - 1]
mov ecx, edx
sub ecx, ebx
mov esi, dword [ebp + 8]
mov cl, byte [esi + ecx]
add cl, byte [eax]
and ecx, 0xff
mov cl, byte [ecx + 0xb6d900]
mov byte [eax + 1], cl
inc edx
inc eax
cmp edx, 0x80
jne 0xb17840
mov ebx, dword [ebp - 4]
add ebx, 7
test ebx, ebx
jns 0xb17872
add ebx, 7
sar ebx, 3
mov ecx, dword [ebp - 4]
add ecx, 8
xor eax, eax
mov al, bl
shl eax, 3
sub ecx, eax
mov eax, 1
shl eax, cl
push eax
mov eax, 0xff
pop edx
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
mov esi, ebx
and esi, 0xff
mov edx, 0x80
sub edx, esi
mov ecx, dword [ebp + 8]
and al, byte [ecx + edx]
and eax, 0xff
mov ecx, dword [ebp + 8]
mov al, byte [eax + 0xb6d900]
mov byte [ecx + edx], al
mov edx, 0x7f
sub edx, esi
cmp edx, 0
jl 0xb178f7
mov eax, dword [ebp + 8]
lea eax, [eax + edx + 1]
xor ecx, ecx
mov cl, bl
add ecx, edx
mov esi, dword [ebp + 8]
mov cl, byte [esi + ecx]
xor cl, byte [eax]
and ecx, 0xff
mov cl, byte [ecx + 0xb6d900]
mov byte [eax - 1], cl
dec edx
dec eax
cmp edx, 0xffffffff
jne 0xb178d3
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0xb18188
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax + 4], edx
xor esi, esi
mov ebx, 0xb6da00
mov al, byte [ebx]
dec eax
xor edx, edx
mov dl, al
mov ecx, edx
and ecx, 0x1f
push ecx
mov ecx, 0x1f
pop edi
sub ecx, edi
mov edi, 1
shl edi, cl
shr edx, 5
mov eax, dword [esp]
and edi, dword [eax + edx*4]
je 0xb18203
mov eax, esi
and eax, 0x8000001f
jns 0xb181e2
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, 0x1f
sub ecx, eax
mov eax, 1
shl eax, cl
mov edx, esi
test edx, edx
jns 0xb181f9
add edx, 0x1f
sar edx, 5
mov ecx, dword [esp + 4]
or dword [ecx + edx*4], eax
inc esi
inc ebx
cmp esi, 0x38
jne 0xb181ad
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret