joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10027a00
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
xor esi, esi
mov edx, ecx
push edi
xor edi, edi
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], esi
cmp dword [ebp + 0x10], esi
jle 0x10027b80
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [eax + esi*8]
test ebx, ebx
jle 0x10027b5a
mov ecx, dword [eax + esi*8 + 4]
mov eax, dword [edx + 8]
mov dword [ebp - 4], ecx
sub eax, 0
je 0x10027b42
sub eax, 1
je 0x10027b42
sub eax, 1
jne 0x10027b72
mov eax, dword [ebp + 8]
lea ecx, [edx + 0x94]
add eax, 0x40
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], eax
cmp ebx, dword [edx + 0x18]
mov esi, ebx
cmovge esi, dword [edx + 0x18]
mov edi, esi
call fcn.10028730
mov dword [ebp - 0xc], eax
test edi, edi
jns 0x10027a82
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x18]
jmp 0x10027a84
mov ecx, esi
push esi
push dword [ebp - 4]
lea edi, [eax + 0x1c]
mov dword [edi], ecx
push dword [eax + 0x20]
call fcn.10136fe0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov eax, esi
lock xadd dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
push 0
push ecx
push 0
mov eax, dword [eax + 0x88]
mov dword [ecx + 0x34], eax
lea eax, [ecx + 0x28]
mov dword [ebp - 0x18], 0
mov dword [ecx + 0x18], 3
mov dword [ebp - 0x1c], eax
mov dword [eax], 2
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push dword [ecx + 0x34]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x10027aec
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x10027aee
xor eax, eax
mov ecx, dword [ebp - 0x1c]
xor edi, edi
cmp eax, 0x3e5
cmovne edi, eax
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
je 0x10027b09
test edi, edi
je 0x10027b19
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
push eax
call fcn.100287e0
test edi, edi
jne 0x10027b34
mov edx, dword [ebp - 8]
sub ebx, esi
add dword [ebp - 4], esi
lea ecx, [edx + 0x94]
test ebx, ebx
jg 0x10027a63
mov esi, dword [ebp - 0x14]
jmp 0x10027b50
mov eax, dword [ebp - 0x10]
neg esi
lock xadd dword [eax], esi
mov esi, dword [ebp - 0x14]
jmp 0x10027b50
push ebx
push ecx
push dword [ebp + 8]
mov ecx, edx
call fcn.10027b90
mov edi, eax
test edi, edi
jne 0x10027b67
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
inc esi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp + 0x10]
jl 0x10027a21
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
pop ebx
pop edi
mov eax, 0x585
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10027f40
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp dword [esi + 0x90], 0
jle 0x10028040
push ebx
push edi
mov edi, dword [esi + 0x94]
lea ebx, [esi + 0x44]
cmp edi, dword [esi + 0x98]
je 0x10027f83
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x94], eax
mov dword [eax + 0x30], 0
test edi, edi
je 0x10027faf
jmp 0x10027f9b
test edi, edi
je 0x10027faf
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
dec dword [esi + 0x90]
mov eax, dword [esi + 0x40]
lea edx, [edi + 0x1c]
mov ecx, dword [edx]
sub eax, ecx
mov dword [esi + 0x40], eax
lock xadd dword [ebx], ecx
mov eax, dword [esi + 0x88]
xor ebx, ebx
push ebx
push edi
mov dword [edi + 0x34], eax
lea eax, [ebp + 8]
push ebx
push eax
push 1
push edx
push dword [edi + 0x34]
mov dword [ebp + 8], ebx
mov dword [edi + 0x18], 3
mov dword [edi + 0x28], 2
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x10027ffc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
or eax, 0xffffffff
lea ecx, [edi + 0x28]
lock xadd dword [ecx], eax
dec eax
je 0x10028015
test ebx, ebx
je 0x10028028
cmp ebx, 0x3e5
je 0x10028035
mov ecx, dword [ebp - 4]
push edi
lea ecx, [ecx + 0x94]
call fcn.100287e0
test ebx, ebx
jne 0x10028035
cmp dword [esi + 0x90], 0
jg 0x10027f5c
pop edi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10028f60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016074d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1024ed04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x10], ecx
xor edi, edi
mov dword [ebp - 0x18], edi
cmp dword [ebx + 0x4c], 0
jne 0x10029081
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x10028fae
cmp eax, 1
jne 0x10029081
mov edi, dword [ebp + 8]
mov eax, dword [ecx]
lea esi, [edi + 0x1c]
call dword [eax + 0xe8]
push 0
push 0
mov dword [esi], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push eax
push 1
push esi
push dword [edi + 0x34]
mov dword [ebp - 0x14], 0
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x10028ffb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
test edi, edi
jne 0x1002907e
jmp 0x10029006
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10029079
mov dword [esi], eax
xor edi, edi
cmp dword [ebx + 0x30], 0
mov eax, 0xff
mov dword [ebp - 0x14], eax
je 0x1002905f
lea esi, [ebx + 0x54]
push esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [ebx + 0x30], 0
je 0x1002904e
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push dword [edx + 0x1c]
mov eax, dword [ecx]
push dword [edx + 0x20]
push ebx
call dword [eax + 0x11c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x1e
jl 0x10028f92
jmp 0x10029081
mov edi, 0x2775
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x1002908f
cmp eax, 1
jne 0x100290d7
test edi, edi
je 0x100290eb
cmp edi, 0x2733
je 0x100290eb
cmp edi, 0x2775
jne 0x100290ab
push 0
push 0
push 1
jmp 0x100290c0
cmp edi, 0x2736
je 0x100290c6
cmp edi, 0x3e3
je 0x100290c6
push edi
push 4
push 2
push ebx
call fcn.10025ee0
mov ecx, dword [ebp - 0x10]
push dword [ebp + 8]
add ecx, 0x94
call fcn.100287e0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10029510
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015f5cd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1024ed04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x164]
test eax, eax
je 0x100296e3
lea eax, [edi + 0x168]
push eax
lea ecx, [ebp - 0x10]
call fcn.100209c0
mov dword [ebp - 4], 0
cmp dword [edi + 0x64], 3
jne 0x100296c1
mov dword [edi + 0x64], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov eax, dword [edi]
call dword [eax + 0x168]
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.100297f0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x100296ae
push 0
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x60], eax
test eax, eax
jne 0x100295d3
call ebx
push eax
mov dword [edi + 0x68], 7
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [edi + 0x60], 0
je 0x100296ae
xor esi, esi
cmp dword [edi + 0x14], esi
jbe 0x10029624
nop word [eax + eax]
push 0
push 0
push edi
push 0x1002a730
push 0
push 0
call fcn.1013df2b
add esp, 0x18
mov dword [ebp + 0xc], eax
test eax, eax
je 0x10029692
mov edx, dword [edi + 0x70]
lea ecx, [edi + 0x6c]
cmp edx, dword [ecx + 8]
je 0x10029614
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x1002961e
lea eax, [ebp + 0xc]
push eax
push edx
call fcn.10025010
inc esi
cmp esi, dword [edi + 0x14]
jb 0x100295e0
mov eax, dword [edi + 0x5c]
push 0
push eax
push dword [edi + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
je 0x1002969d
mov eax, dword [edi + 0x1c]
xor esi, esi
mov dword [edi + 0x380], eax
cmp dword [edi + 0x1c], esi
jbe 0x10029669
mov ebx, dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
nop
push 0
push 0
push 0xfffffffffffffff1
push dword [edi + 0x60]
call ebx
test eax, eax
je 0x100296f9
inc esi
cmp esi, dword [edi + 0x1c]
jb 0x10029650
push dword [edi + 0x44]
mov dword [edi + 0x64], 1
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call ebx
mov dword [edi + 0x68], 8
jmp 0x100296a6
call ebx
mov dword [edi + 0x68], 0xa
push eax
mov eax, dword [sym.imp.KERNEL32.dll_SetLastError]
call eax
call ebx
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100296e3
push 0x139f
mov dword [edi + 0x68], 1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.1001f800
int3
Function at 0x10029f40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 4], 0x1c
mov word [ebp - 0x20], ax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ecx + 0x5c]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x10029f70
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0x10]
lea edx, [ebp + 0x10]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push dword [ebp + 8]
call fcn.100249f0
add esp, 0xc
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ecx + 0x170]
test esi, esi
je 0x1002a013
mov eax, dword [ebp + 8]
xor edx, edx
dec eax
div dword [ecx + 0x16c]
mov ecx, dword [ecx + 0x1b0]
movzx ecx, byte [ecx + edx]
cmp eax, ecx
jne 0x1002a013
mov ecx, 0xf
cmp ecx, dword [esi + edx*4]
sbb ecx, ecx
and ecx, dword [esi + edx*4]
je 0x1002a013
cmp dword [ecx + 0x30], 0
je 0x1002a013
xor eax, eax
mov dword [ebp - 4], 0x1c
mov word [ebp - 0x20], ax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ecx + 0x88]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1002a013
push dword [ebp + 0x14]
lea edx, [ebp + 8]
push dword [ebp + 0x10]
lea ecx, [ebp - 0x20]
push dword [ebp + 0xc]
call fcn.100249f0
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1002b050
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101603dd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1024ed04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
xor esi, esi
lea eax, [edi + 0x84]
push eax
call fcn.100209c0
mov dword [ebp - 4], esi
cmp dword [edi + 0x4c], esi
jne 0x1002b0fb
cmp dword [edi + 0x50], esi
jne 0x1002b0fb
mov edx, dword [ebp + 0xc]
mov dword [edi + 0x50], 1
lea ecx, [edx + 0x1c]
mov eax, dword [ebx + 0x20]
xor ebx, ebx
push ebx
push edx
mov dword [ecx], eax
mov eax, dword [edi + 0x88]
mov dword [edx + 0x34], eax
mov dword [edx + 0x18], 4
lea edx, [ebp + 8]
push edx
lea edx, [ebp - 0x10]
mov dword [ebp + 8], ebx
push edx
push 1
push ecx
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x1002b0e9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
xor esi, esi
cmp ebx, 0x3e5
cmovne esi, ebx
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
jmp 0x1002b100
mov ecx, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
test esi, esi
je 0x1002b133
cmp esi, 0x2736
je 0x1002b137
cmp esi, 0x3e3
je 0x1002b137
push esi
push 4
push 2
push edi
mov ecx, ebx
call fcn.10029d50
jmp 0x1002b137
test ecx, ecx
je 0x1002b145
push dword [ebp + 0xc]
lea ecx, [ebx + 0x88]
call fcn.100287e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1002b280
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
xor esi, esi
mov edx, ecx
push edi
xor edi, edi
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], esi
cmp dword [ebp + 0x10], esi
jle 0x1002b400
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [eax + esi*8]
test ebx, ebx
jle 0x1002b3da
mov ecx, dword [eax + esi*8 + 4]
mov eax, dword [edx + 8]
mov dword [ebp - 4], ecx
sub eax, 0
je 0x1002b3c2
sub eax, 1
je 0x1002b3c2
sub eax, 1
jne 0x1002b3f2
mov eax, dword [ebp + 8]
lea ecx, [edx + 0x88]
add eax, 0x40
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], eax
cmp ebx, dword [edx + 0x20]
mov esi, ebx
cmovge esi, dword [edx + 0x20]
mov edi, esi
call fcn.10028730
mov dword [ebp - 0xc], eax
test edi, edi
jns 0x1002b302
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x20]
jmp 0x1002b304
mov ecx, esi
push esi
push dword [ebp - 4]
lea edi, [eax + 0x1c]
mov dword [edi], ecx
push dword [eax + 0x20]
call fcn.10136fe0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov eax, esi
lock xadd dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
push 0
push ecx
push 0
mov eax, dword [eax + 0x88]
mov dword [ecx + 0x34], eax
lea eax, [ecx + 0x28]
mov dword [ebp - 0x18], 0
mov dword [ecx + 0x18], 3
mov dword [ebp - 0x1c], eax
mov dword [eax], 2
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push dword [ecx + 0x34]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x1002b36c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x1002b36e
xor eax, eax
mov ecx, dword [ebp - 0x1c]
xor edi, edi
cmp eax, 0x3e5
cmovne edi, eax
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
je 0x1002b389
test edi, edi
je 0x1002b399
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
push eax
call fcn.100287e0
test edi, edi
jne 0x1002b3b4
mov edx, dword [ebp - 8]
sub ebx, esi
add dword [ebp - 4], esi
lea ecx, [edx + 0x88]
test ebx, ebx
jg 0x1002b2e3
mov esi, dword [ebp - 0x14]
jmp 0x1002b3d0
mov eax, dword [ebp - 0x10]
neg esi
lock xadd dword [eax], esi
mov esi, dword [ebp - 0x14]
jmp 0x1002b3d0
push ebx
push ecx
push dword [ebp + 8]
mov ecx, edx
call fcn.1002b410
mov edi, eax
test edi, edi
jne 0x1002b3e7
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
inc esi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp + 0x10]
jl 0x1002b2a1
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
pop ebx
pop edi
mov eax, 0x585
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1002b7c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp dword [esi + 0x90], 0
jle 0x1002b8c0
push ebx
push edi
mov edi, dword [esi + 0x94]
lea ebx, [esi + 0x44]
cmp edi, dword [esi + 0x98]
je 0x1002b803
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x94], eax
mov dword [eax + 0x30], 0
test edi, edi
je 0x1002b82f
jmp 0x1002b81b
test edi, edi
je 0x1002b82f
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
dec dword [esi + 0x90]
mov eax, dword [esi + 0x40]
lea edx, [edi + 0x1c]
mov ecx, dword [edx]
sub eax, ecx
mov dword [esi + 0x40], eax
lock xadd dword [ebx], ecx
mov eax, dword [esi + 0x88]
xor ebx, ebx
push ebx
push edi
mov dword [edi + 0x34], eax
lea eax, [ebp + 8]
push ebx
push eax
push 1
push edx
push dword [edi + 0x34]
mov dword [ebp + 8], ebx
mov dword [edi + 0x18], 3
mov dword [edi + 0x28], 2
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x1002b87c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
or eax, 0xffffffff
lea ecx, [edi + 0x28]
lock xadd dword [ecx], eax
dec eax
je 0x1002b895
test ebx, ebx
je 0x1002b8a8
cmp ebx, 0x3e5
je 0x1002b8b5
mov ecx, dword [ebp - 4]
push edi
lea ecx, [ecx + 0x88]
call fcn.100287e0
test ebx, ebx
jne 0x1002b8b5
cmp dword [esi + 0x90], 0
jg 0x1002b7dc
pop edi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1002b8d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016074d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1024ed04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x10], ecx
xor edi, edi
mov dword [ebp - 0x18], edi
cmp dword [ebx + 0x4c], 0
jne 0x1002b9f1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x1002b91e
cmp eax, 1
jne 0x1002b9f1
mov edi, dword [ebp + 8]
mov eax, dword [ecx]
lea esi, [edi + 0x1c]
call dword [eax + 0xfc]
push 0
push 0
mov dword [esi], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push eax
push 1
push esi
push dword [edi + 0x34]
mov dword [ebp - 0x14], 0
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x1002b96b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
test edi, edi
jne 0x1002b9ee
jmp 0x1002b976
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002b9e9
mov dword [esi], eax
xor edi, edi
cmp dword [ebx + 0x30], 0
mov eax, 0xff
mov dword [ebp - 0x14], eax
je 0x1002b9cf
lea esi, [ebx + 0x54]
push esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [ebx + 0x30], 0
je 0x1002b9be
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push dword [edx + 0x1c]
mov eax, dword [ecx]
push dword [edx + 0x20]
push ebx
call dword [eax + 0x134]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x1e
jl 0x1002b902
jmp 0x1002b9f1
mov edi, 0x2775
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x1002b9ff
cmp eax, 1
jne 0x1002ba47
test edi, edi
je 0x1002ba5b
cmp edi, 0x2733
je 0x1002ba5b
cmp edi, 0x2775
jne 0x1002ba1b
push 0
push 0
push 1
jmp 0x1002ba30
cmp edi, 0x2736
je 0x1002ba36
cmp edi, 0x3e3
je 0x1002ba36
push edi
push 4
push 2
push ebx
call fcn.10029d50
mov ecx, dword [ebp - 0x10]
push dword [ebp + 8]
add ecx, 0x88
call fcn.100287e0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002d4c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10159d9d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1024ed04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10254178], 0x28
jl 0x1002d518
push 0x1025417c
call fcn.10031980
mov ecx, dword [0x10254174]
add esp, 4
test ecx, ecx
je 0x1002d50a
mov eax, dword [ecx]
mov dword [0x10254174], eax
mov dword [0x1025417c], 1
test ecx, ecx
jne 0x1002d52f
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x1002d555
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push ecx
call fcn.1002d860
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1013aa09
int3

Function at 0x1002d630
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10160c25
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1024ed04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x10254178], 0x28
jl 0x1002d68c
push 0x1025417c
call fcn.10031980
mov esi, dword [0x10254174]
add esp, 4
test esi, esi
je 0x1002d67e
mov eax, dword [esi]
mov dword [0x10254174], eax
mov dword [0x1025417c], 1
test esi, esi
jne 0x1002d6a3
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x1002d6e1
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push ecx
mov ecx, esi
call fcn.1002d860
mov byte [ebp - 4], 1
mov ecx, esi
push edi
mov dword [esi], vtable.CVolObjectArray.0
call fcn.1002d7d0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1013aa09
int3
Function at 0x1002db80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10159c9d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1024ed04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x10254178], 0xc
jl 0x1002dbdb
push 0x1025417c
call fcn.10031980
mov ecx, dword [0x10254174]
add esp, 4
test ecx, ecx
je 0x1002dbcd
mov eax, dword [ecx]
mov dword [0x10254174], eax
mov dword [0x1025417c], 1
test ecx, ecx
jne 0x1002dbf2
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x1002dc4f
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolUserApp.0
mov dword [0x102541a0], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.CVolUserApp.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1013aa09
int3