joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb03c24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
lea eax, [ebp - 0xd8]
push eax
call fcn.00b02540
pop ecx
lea edx, [ebp - 0xd8]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00b02557
add esp, 0xc
push 0xa0
lea ecx, [ebp - 0xd8]
push ecx
lea eax, [ebp - 0x178]
push eax
call fcn.00b00a80
add esp, 0xc
lea edx, [ebp - 0x178]
push edx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00b025f2
add esp, 0xc
mov eax, dword [ebp + 0x20]
dec eax
mov ecx, 0x14
xor edx, edx
div ecx
inc eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0xb03db8
push 0x14
push 0
lea ecx, [ebp - 0x38]
push ecx
call fcn.00b00a6c
add esp, 0xc
push 0xa0
lea eax, [ebp - 0x178]
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.00b00a80
add esp, 0xc
mov ecx, dword [ebp - 4]
inc ecx
shr ecx, 0x18
mov byte [ebp - 0x24], cl
mov eax, dword [ebp - 4]
inc eax
shr eax, 0x10
mov byte [ebp - 0x23], al
mov edx, dword [ebp - 4]
inc edx
shr edx, 8
mov byte [ebp - 0x22], dl
mov cl, byte [ebp - 4]
inc ecx
mov byte [ebp - 0x21], cl
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 4
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x18]
jae 0xb03d72
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0xc]
lea eax, [ebp - 0x24]
push eax
call fcn.00b025f2
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x14
lea ecx, [ebp - 0x24]
push ecx
call fcn.00b026be
add esp, 0xc
xor eax, eax
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov cl, byte [ebp + edx - 0x24]
mov eax, dword [ebp - 0xc]
xor byte [ebp + eax - 0x38], cl
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x14
jb 0xb03d35
push 0xa0
lea edx, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x218]
push ecx
call fcn.00b00a80
add esp, 0xc
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x18]
jb 0xb03d05
xor edx, edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 4]
shl ecx, 2
lea ecx, [ecx + ecx*4]
mov dword [ebp - 0xc], ecx
jmp 0xb03d9b
mov eax, dword [ebp - 8]
mov dl, byte [ebp + eax - 0x38]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0xc]
mov byte [ecx + eax], dl
inc dword [ebp - 8]
inc dword [ebp - 0xc]
cmp dword [ebp - 8], 0x14
jae 0xb03da9
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0x20]
jb 0xb03d85
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0xb03ca1
mov esp, ebp
pop ebp
ret

Function at 0xb0959c
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.00b097f8
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.00b097f8
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret
Function at 0xb09610
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [esi + 0x110]
cmp byte [eax + 0x4c], 0
jne 0xb09644
mov edi, ecx
dec edi
test edi, edi
jl 0xb09655
inc edi
mov eax, esi
call fcn.00b095f4
xor byte [ebx], al
movzx edx, byte [ebx]
mov eax, esi
call fcn.00b0959c
inc ebx
dec edi
jne 0xb0962b
jmp 0xb09655
lea eax, [esi + 0x3bc]
push eax
push ecx
push ebx
call fcn.00b01200
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0xb096ec
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.00a15880
xor eax, eax
push ebp
push 0xb09762
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00b0965c
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.00b095f4
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.00b0959c
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0xb0972c
movzx ebx, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb09769
lea eax, [ebp - 4]
call fcn.00a153f0
ret
Function at 0xb0a664
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
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 0xb0a853
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0xb0a80f
mov eax, dword [ebp - 4]
call fcn.00b0bef0
cmp ebx, eax
jge 0xb0a80f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.00af56a4
mov edx, dword [0xaf6228]
call fcn.00a14620
mov esi, eax
mov eax, esi
call fcn.00af7414
test al, al
je 0xb0a805
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0xb0a6e6
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0xb0a7f8
xor eax, eax
push ebp
push 0xb0a7f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00b0abc8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.00a2fbe4
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.00a15b20
mov eax, dword [ebp - 8]
call fcn.00a158f0
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]
movzx eax, 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.00b0a9e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx edx, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a83d
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 0xb0a7f0
mov eax, dword [ebp - 4]
call fcn.00b0ac4c
ret
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x50]
call fcn.00a15444
jmp 0xb0a83d
mov eax, dword [ebp - 8]
call fcn.00a153f0
jmp 0xb0a83d
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.00a1aca4
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0xa2a028]
call fcn.00a1f1a0
call fcn.00a14d24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a85a
lea eax, [ebp - 0x54]
call fcn.00a153f0
ret
Function at 0xb10fb8
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 0xb11041
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xbb1130
push 0x202
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0xb1102b
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00a1e920
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, 0xb11058
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0xba9f04]
mov dl, 1
mov eax, dword [0xb1073c]
call fcn.00a1f25c
call fcn.00a14d24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb11048
lea eax, [ebp - 0x1c]
call fcn.00a153f0
ret

Function at 0xb1167c
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
xor esi, esi
xor edi, edi
movzx eax, byte [0xb116d8]
cmp al, byte [ebx + 0x28]
je 0xb116a0
mov esi, 0x401
mov eax, ebx
call fcn.00b117d4
mov edi, eax
movzx eax, byte [ebx + 0x28]
push eax
push esi
push edi
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
movzx eax, byte [0xb116d8]
cmp al, byte [ebx + 0x28]
jne 0xb116d0
xor eax, eax
mov dword [esp], eax
push esp
push 0x8004667e
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_ioctlsocket
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0xb11764
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00b1167c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00a1466c
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, 0xb117cc
mov eax, ebx
call fcn.00b10efc
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0xb117be
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.00a1466c
pop esi
pop ebx
ret

Function at 0xb11898
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0xb1191f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00a15488
mov eax, dword [ebp - 4]
call fcn.00a15890
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 4
call fcn.00a13bc8
test ebx, ebx
je 0xb11903
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [ebp - 0xc], cl
movzx ecx, byte [edx + 1]
mov byte [ebp - 0xb], cl
movzx ecx, byte [edx + 2]
mov byte [ebp - 0xa], cl
movzx eax, byte [edx + 3]
mov byte [ebp - 9], al
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb11926
lea eax, [ebp - 4]
call fcn.00a153f0
ret
Function at 0xb11a7c
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 0xb11aad
mov ecx, dword [0xba9d08]
mov dl, 1
mov eax, dword [0xb1073c]
call fcn.00a1f220
call fcn.00a14d24
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 0xb11ada
mov ecx, dword [0xba9c04]
mov dl, 1
mov eax, dword [0xb1073c]
call fcn.00a1f220
call fcn.00a14d24
xor eax, eax
push ebp
push 0xb11b56
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.00a1466c
cmp byte [ebp + 8], 0
je 0xb11b32
mov eax, dword [ebp + 0x10]
push eax
movzx eax, 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.00b119a4
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.00b11764
jmp 0xb11b4c
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00b111f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb11b73
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0xb11d58
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.00b11514
xor eax, eax
push ebp
push 0xb11ecb
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 0xb11eb5
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0xb11da4
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xb11dae
call fcn.00a14dd0
jmp 0xb11ed2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00a2fbe4
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 0xb11eaa
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 0xb11e5d
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0xb11e4a
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00a1466c
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.00b11d10
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0xb11ee0]
cmp dl, byte [eax + 0x28]
je 0xb11eb1
call fcn.00a1f138
jmp 0xb11eb1
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00a2fc04
jmp 0xb11eb1
cmp edi, ebx
jge 0xb11e79
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.00a2fc04
jmp 0xb11dae
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.00a2fbe4
cmp edx, dword [esp + 4]
jne 0xb11e99
cmp eax, dword [esp]
pop edx
pop eax
jne 0xb11dae
push ebp
call fcn.00b11d10
pop ecx
jmp 0xb11eb1
push ebp
call fcn.00b11d10
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb11ed2
mov eax, dword [ebp - 4]
call fcn.00b11520
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xb11ee4
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 edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xb12087
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00b11514
xor eax, eax
push ebp
push 0xb1206a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xb11f38
call fcn.00a14dd0
jmp 0xb12071
cmp byte [ebp + 8], 0
jne 0xb11f56
push 0
push edi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0xc], eax
jmp 0xb11fcb
xor eax, eax
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x14], eax
cmp edi, dword [ebp - 0xc]
jle 0xb11fcb
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add esi, eax
push 0
mov eax, edi
sub eax, dword [ebp - 0xc]
push eax
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ebx, eax
cmp ebx, 0xffffffff
jne 0xb11fa1
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0xb11fcb
push 0xa
call sub.kernel32.dll_Sleep_1
jmp 0xb11fa4
add dword [ebp - 0xc], ebx
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x14]
cmp eax, 0xea60
jae 0xb11fcb
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xb11fc6
call fcn.00a14dd0
jmp 0xb12071
cmp edi, dword [ebp - 0xc]
jg 0xb11f68
inc ebx
jne 0xb12054
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0xb12054
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00a1466c
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 - 0x10], 0
je 0xb12054
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.00a1e920
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0xb120a4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0xba9f04]
mov dl, 1
mov eax, dword [0xb1073c]
call fcn.00a1f25c
call fcn.00a14d24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb12071
mov eax, dword [ebp - 4]
call fcn.00b11520
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb1208e
lea eax, [ebp - 0x30]
call fcn.00a153f0
ret
Function at 0xb120f0
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 0xb1223a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00b11514
xor eax, eax
push ebp
push 0xb1221d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0xb12155
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0xb12155
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 0xb12207
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xb12168
call fcn.00a14dd0
jmp 0xb12224
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 0xb12207
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0xb12207
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00a1466c
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 0xb12207
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00a1e920
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, 0xb12254
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0xba9f04]
mov dl, 1
mov eax, dword [0xb1073c]
call fcn.00a1f25c
call fcn.00a14d24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb12224
mov eax, dword [ebp - 4]
call fcn.00b11520
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb12241
lea eax, [ebp - 0x28]
call fcn.00a153f0
ret
Function at 0xb1aaa0
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 0xb1ac00
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 0xb1b2e4
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 0xb1b3bc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffed0
mov dword [esp], eax
lea edi, [esp + 0x110]
mov ebp, edx
mov esi, 0x10
lea ebx, [esp + 0x10]
mov eax, dword [ebp]
call fcn.00b1a504
mov dword [ebx], eax
add ebp, 4
add ebx, 4
dec esi
jne 0xb1b3db
mov esi, 0x30
lea ebx, [esp + 0x14]
mov eax, dword [ebx]
call fcn.00b1b31c
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x34]
call fcn.00b1b340
mov edx, dword [ebx - 4]
add edx, dword [esp + 4]
add edx, dword [ebx + 0x20]
add eax, edx
mov dword [ebx + 0x3c], eax
add ebx, 4
dec esi
jne 0xb1b3f7
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 0xb1b429
mov esi, 0x40
mov ebx, 0xb9f96c
lea ebp, [esp + 0x10]
mov eax, dword [edi]
call fcn.00b1b364
mov dword [esp + 4], 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 + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x10]
call fcn.00b1b390
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 + 0xc], edx
add eax, dword [edi + 0x1c]
add eax, dword [esp + 0xc]
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 + 8]
mov dword [edi], eax
add ebp, 4
add ebx, 4
dec esi
jne 0xb1b444
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 0xb1b4dd
add esp, 0x130
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push esi
mov esi, 0x40
mov ecx, eax
xor byte [ecx], dl
inc ecx
dec esi
jne 0xb1bce4
pop esi
ret
Function at 0xb1bcec
Capabilities:
Encode data using xor

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

Function at 0xb1c664
Capabilities:
Encode data using xor

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