joyce8/EMBER2024-capa huggingface dataset:
Function at 0xaf2e14
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00a15288
xor eax, eax
push ebp
push 0xaf2f1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.00af23d8
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0xaf2ee3
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00a1a7d8
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00af36f8
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00a1a6bc
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00af376c
jmp 0xaf2ef5
xor edx, edx
mov eax, ebx
call fcn.00af36f8
xor edx, edx
mov eax, ebx
call fcn.00af376c
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaf2f24
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00a14dec
ret
Function at 0xaf8b20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0xaf8c91
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xaf8c6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00a14fb0
lea eax, [ebp - 0x118]
mov edx, 0xaf8ca8
call fcn.00a150a0
mov eax, dword [ebp - 0x118]
call fcn.00a15298
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0xaf8bde
lea eax, [ebp - 0x111]
call fcn.00a1aa5c
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00a14eb8
jmp 0xaf8be5
mov eax, esi
call fcn.00a14dc8
cmp bl, 0x61
jae 0xaf8c06
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.00a1ebd8
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00a14e1c
jmp 0xaf8c20
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.00a1eb4c
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00a14e1c
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0xaf8cb4
call fcn.00a1b17c
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00a14e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaf8c73
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0xb01554
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.00b01788
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.00b01788
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0xb015c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0xb015ed
inc esi
mov eax, edi
call fcn.00b015ac
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.00b01554
inc ebx
dec esi
jne 0xb015d7
pop edi
pop esi
pop ebx
ret
Function at 0xb0167c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00a15288
xor eax, eax
push ebp
push 0xb016f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00b015f4
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.00b015ac
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.00b01554
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0xb016bc
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb016f8
lea eax, [ebp - 4]
call fcn.00a14dc8
ret
Function at 0xb023f4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xb025d8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0xb02594
mov eax, dword [ebp - 4]
call fcn.00b03d7c
cmp ebx, eax
jge 0xb02594
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.00af1ac0
mov edx, dword [0xaf27ac]
call fcn.00a14118
mov esi, eax
mov eax, esi
call fcn.00af368c
test al, al
je 0xb0258a
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0xb0257e
xor eax, eax
push ebp
push 0xb02577
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00b029ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.00a2e9fc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00a15424
mov eax, dword [ebp - 8]
call fcn.00a152f0
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00b02770
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb025c2
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0xb02576
mov eax, dword [ebp - 4]
call fcn.00b02a30
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00a1ac64
jmp 0xb025c2
mov eax, dword [ebp - 8]
call fcn.00a14dc8
jmp 0xb025c2
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.00a1a0d0
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0xa2902c]
call fcn.00a1dd14
call fcn.00a1473c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb025df
lea eax, [ebp - 0x54]
call fcn.00a14dc8
ret
Function at 0xb0942c
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 0xb094b5
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 0xb0949f
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00a1d490
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, 0xb094cc
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 [0xb08bb0]
call fcn.00a1ddd0
call fcn.00a1473c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb094bc
lea eax, [ebp - 0x1c]
call fcn.00a14dc8
ret

Function at 0xb09bcc
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00b09ae8
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00a14164
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, 0xb09c34
mov eax, ebx
call fcn.00b09370
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0xb09c26
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.00a14164
pop esi
pop ebx
ret

Function at 0xb09d00
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 0xb09d87
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00a14e60
mov eax, dword [ebp - 0x10]
call fcn.00a15298
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 4
call fcn.00a1377c
cmp dword [ebp - 8], 0
je 0xb09d6b
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 0xb09d8e
lea eax, [ebp - 0x10]
call fcn.00a14dc8
ret
Function at 0xb09ef0
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 0xb09f21
mov ecx, dword [0xb741c0]
mov dl, 1
mov eax, dword [0xb08bb0]
call fcn.00a1dd94
call fcn.00a1473c
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 0xb09f4e
mov ecx, dword [0xb740e0]
mov dl, 1
mov eax, dword [0xb08bb0]
call fcn.00a1dd94
call fcn.00a1473c
xor eax, eax
push ebp
push 0xb09fca
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.00a14164
cmp byte [ebp + 8], 0
je 0xb09fa6
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.00b09e18
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.00b09bcc
jmp 0xb09fc0
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.00b09660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb09fe7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0xb0a1d4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00b09980
xor eax, eax
push ebp
push 0xb0a346
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0xb0a330
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0xb0a220
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xb0a22a
call fcn.00a147e8
jmp 0xb0a34d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00a2e9fc
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0xb0a325
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0xb0a2d8
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0xb0a2c5
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00a14164
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00b0a18c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0xb0a358]
cmp dl, byte [eax + 0x28]
je 0xb0a32c
call fcn.00a1dcac
jmp 0xb0a32c
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00a2ea1c
jmp 0xb0a32c
cmp edi, ebx
jge 0xb0a2f4
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00a2ea1c
jmp 0xb0a22a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00a2e9fc
cmp edx, dword [esp + 4]
jne 0xb0a314
cmp eax, dword [esp]
pop edx
pop eax
jne 0xb0a22a
push ebp
call fcn.00b0a18c
pop ecx
jmp 0xb0a32c
push ebp
call fcn.00b0a18c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a34d
mov eax, dword [ebp - 4]
call fcn.00b0998c
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xb0a35c
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 0xb0a4ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00b09980
xor eax, eax
push ebp
push 0xb0a4e2
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 0xb0a3af
call fcn.00a147e8
jmp 0xb0a4e9
cmp byte [ebp + 8], 0
jne 0xb0a3ca
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 0xb0a443
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 0xb0a443
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 0xb0a419
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0xb0a443
push 0xa
call sub.kernel32.dll_Sleep
jmp 0xb0a41c
add dword [ebp - 8], ebx
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x14]
cmp eax, 0xea60
jae 0xb0a443
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xb0a43e
call fcn.00a147e8
jmp 0xb0a4e9
cmp esi, dword [ebp - 8]
jg 0xb0a3dc
inc ebx
jne 0xb0a4cc
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0xb0a4cc
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00a14164
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 0xb0a4cc
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.00a1d490
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, 0xb0a51c
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 [0xb08bb0]
call fcn.00a1ddd0
call fcn.00a1473c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a4e9
mov eax, dword [ebp - 4]
call fcn.00b0998c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a506
lea eax, [ebp - 0x30]
call fcn.00a14dc8
ret
Function at 0xb0a568
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 0xb0a6b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00b09980
xor eax, eax
push ebp
push 0xb0a695
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0xb0a5cd
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0xb0a5cd
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 0xb0a67f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xb0a5e0
call fcn.00a147e8
jmp 0xb0a69c
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 0xb0a67f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0xb0a67f
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00a14164
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 0xb0a67f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00a1d490
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, 0xb0a6cc
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 [0xb08bb0]
call fcn.00a1ddd0
call fcn.00a1473c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a69c
mov eax, dword [ebp - 4]
call fcn.00b0998c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a6b9
lea eax, [ebp - 0x28]
call fcn.00a14dc8
ret
Function at 0xb13548
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0xb136a4
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0xb13dc4
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 0xb13e9c
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.00b12f4c
mov dword [ebx], eax
add dword [esp + 4], 4
add ebx, 4
dec esi
jne 0xb13ebd
mov esi, 0x30
lea ebx, [esp + 0x18]
mov eax, dword [ebx]
call fcn.00b13dfc
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x34]
call fcn.00b13e20
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 0xb13ede
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 0xb13f10
mov esi, 0x40
mov ebx, 0xb6d02c
lea ebp, [esp + 0x14]
mov eax, dword [edi]
call fcn.00b13e44
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.00b13e70
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 0xb13f2b
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 0xb13fc4
add esp, 0x134
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0xb1410c
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 0xb147d4
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, 0x40
mov ecx, eax
xor byte [ecx], dl
inc ecx
dec esi
jne 0xb147dc
pop esi
ret

Function at 0xb147e4
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, 0x80
mov ecx, eax
xor byte [ecx], dl
inc ecx
dec esi
jne 0xb147ec
pop esi
ret

Function at 0xb15150
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
xor edi, edi
mov dword [esp], eax
mov ebx, edx
test ebx, ebx
jle 0xb15184
mov esi, 1
mov eax, esi
mov ecx, 7
cdq
idiv ecx
mov ecx, edx
shl ecx, 2
mov eax, dword [esp]
movzx eax, byte [eax]
shl eax, cl
xor edi, eax
inc dword [esp]
inc esi
dec ebx
jne 0xb15164
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret