joyce8/EMBER2024-capa huggingface dataset:
Function at 0xae7e40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00a15270
xor eax, eax
push ebp
push 0xae7ea4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.00ae7eb0
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.00a1ac20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xae7eab
lea eax, [ebp - 4]
call fcn.00a14db0
ret

Function at 0xae84a4
Capabilities:
Access peb ldr_data

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.00a15270
xor eax, eax
push ebp
push 0xae859d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.00ae7b70
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00a1a794
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00ae8e90
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00a1a678
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00ae8f04
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 0xae85a4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00a14dd4
ret
Function at 0xae85ac
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.00a15270
xor eax, eax
push ebp
push 0xae86b5
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.00ae7b70
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 0xae867b
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00a1a794
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00ae8e90
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00a1a678
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00ae8f04
jmp 0xae868d
xor edx, edx
mov eax, ebx
call fcn.00ae8e90
xor edx, edx
mov eax, ebx
call fcn.00ae8f04
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 0xae86bc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00a14dd4
ret
Function at 0xaee56c
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 0xaee6dd
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 0xaee6b8
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.00a14f98
lea eax, [ebp - 0x118]
mov edx, 0xaee6f4
call fcn.00a15088
mov eax, dword [ebp - 0x118]
call fcn.00a15280
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0xaee62a
lea eax, [ebp - 0x111]
call fcn.00a1aa18
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00a14ea0
jmp 0xaee631
mov eax, esi
call fcn.00a14db0
cmp bl, 0x61
jae 0xaee652
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.00a1eb94
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00a14e04
jmp 0xaee66c
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.00a1eb08
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00a14e04
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, 0xaee700
call fcn.00a1b138
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00a14e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaee6bf
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0xaf6fa0
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.00af71d4
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.00af71d4
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0xaf7014
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 0xaf7039
inc esi
mov eax, edi
call fcn.00af6ff8
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.00af6fa0
inc ebx
dec esi
jne 0xaf7023
pop edi
pop esi
pop ebx
ret
Function at 0xaf70c8
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.00a15270
xor eax, eax
push ebp
push 0xaf713d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00af7040
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.00af6ff8
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.00af6fa0
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0xaf7108
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaf7144
lea eax, [ebp - 4]
call fcn.00a14db0
ret
Function at 0xaf7e40
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 0xaf8024
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0xaf7fe0
mov eax, dword [ebp - 4]
call fcn.00af97c8
cmp ebx, eax
jge 0xaf7fe0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.00ae7258
mov edx, dword [0xae7f44]
call fcn.00a14100
mov esi, eax
mov eax, esi
call fcn.00ae8e24
test al, al
je 0xaf7fd6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0xaf7fca
xor eax, eax
push ebp
push 0xaf7fc3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00af83f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.00a2e9b8
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.00a1540c
mov eax, dword [ebp - 8]
call fcn.00a152d8
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.00af81bc
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 0xaf800e
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 0xaf7fc2
mov eax, dword [ebp - 4]
call fcn.00af847c
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00a1ac20
jmp 0xaf800e
mov eax, dword [ebp - 8]
call fcn.00a14db0
jmp 0xaf800e
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.00a1a0b0
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0xa28fe8]
call fcn.00a1dcd0
call fcn.00a14724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaf802b
lea eax, [ebp - 0x54]
call fcn.00a14db0
ret
Function at 0xafee78
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 0xafef01
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xb78008
push 0x202
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0xafeeeb
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00a1d44c
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, 0xafef18
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0xb752f4]
mov dl, 1
mov eax, dword [0xafe5fc]
call fcn.00a1dd8c
call fcn.00a14724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xafef08
lea eax, [ebp - 0x1c]
call fcn.00a14db0
ret

Function at 0xaff618
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00aff534
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, 0xaff680
mov eax, ebx
call fcn.00afedbc
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0xaff672
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 0xaff74c
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 0xaff7d3
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 0xaff7b7
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 0xaff7da
lea eax, [ebp - 0x10]
call fcn.00a14db0
ret
Function at 0xaff93c
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 0xaff96d
mov ecx, dword [0xb751b0]
mov dl, 1
mov eax, dword [0xafe5fc]
call fcn.00a1dd50
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 0xaff99a
mov ecx, dword [0xb750e4]
mov dl, 1
mov eax, dword [0xafe5fc]
call fcn.00a1dd50
call fcn.00a14724
xor eax, eax
push ebp
push 0xaffa16
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 0xaff9f2
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.00aff864
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.00aff618
jmp 0xaffa0c
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.00aff0ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xaffa33
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0xaffc20
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.00aff3cc
xor eax, eax
push ebp
push 0xaffd92
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 0xaffd7c
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0xaffc6c
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xaffc76
call fcn.00a147d0
jmp 0xaffd99
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00a2e9b8
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 0xaffd71
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 0xaffd24
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0xaffd11
lea eax, [ebp - 0x10]
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]
push ebp
call fcn.00affbd8
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0xaffda4]
cmp dl, byte [eax + 0x28]
je 0xaffd78
call fcn.00a1dc68
jmp 0xaffd78
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00a2e9d8
jmp 0xaffd78
cmp edi, ebx
jge 0xaffd40
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.00a2e9d8
jmp 0xaffc76
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.00a2e9b8
cmp edx, dword [esp + 4]
jne 0xaffd60
cmp eax, dword [esp]
pop edx
pop eax
jne 0xaffc76
push ebp
call fcn.00affbd8
pop ecx
jmp 0xaffd78
push ebp
call fcn.00affbd8
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaffd99
mov eax, dword [ebp - 4]
call fcn.00aff3d8
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xaffda8
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 0xafff4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00aff3cc
xor eax, eax
push ebp
push 0xafff2e
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 0xaffdfb
call fcn.00a147d0
jmp 0xafff35
cmp byte [ebp + 8], 0
jne 0xaffe16
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 0xaffe8f
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 0xaffe8f
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 0xaffe65
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0xaffe8f
push 0xa
call sub.kernel32.dll_Sleep
jmp 0xaffe68
add dword [ebp - 8], ebx
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x14]
cmp eax, 0xea60
jae 0xaffe8f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xaffe8a
call fcn.00a147d0
jmp 0xafff35
cmp esi, dword [ebp - 8]
jg 0xaffe28
inc ebx
jne 0xafff18
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0xafff18
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 0xafff18
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.00a1d44c
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, 0xafff68
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0xb752f4]
mov dl, 1
mov eax, dword [0xafe5fc]
call fcn.00a1dd8c
call fcn.00a14724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xafff35
mov eax, dword [ebp - 4]
call fcn.00aff3d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xafff52
lea eax, [ebp - 0x30]
call fcn.00a14db0
ret
Function at 0xafffb4
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 0xb000fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00aff3cc
xor eax, eax
push ebp
push 0xb000e1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0xb00019
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0xb00019
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 0xb000cb
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xb0002c
call fcn.00a147d0
jmp 0xb000e8
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 0xb000cb
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0xb000cb
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 0xb000cb
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00a1d44c
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, 0xb00118
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0xb752f4]
mov dl, 1
mov eax, dword [0xafe5fc]
call fcn.00a1dd8c
call fcn.00a14724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb000e8
mov eax, dword [ebp - 4]
call fcn.00aff3d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb00105
lea eax, [ebp - 0x28]
call fcn.00a14db0
ret
Function at 0xb08f8c
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 0xb090e8
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