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

Disassembly:
push 0xffffffffffffffff
push 0x49a2be
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4b8658]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [0x4a041c]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov dword [esi], 0x4a2e30
mov dword [esi + 0x24], ebx
mov ecx, dword [0x4b7104]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x2c], ecx
mov edx, dword [0x4b7104]
mov dword [esi + 0x30], edx
push fcn.00408e70
push 0x409040
push 3
push 4
lea eax, [esi + 0x34]
push eax
mov byte [esp + 0x2c], 2
call fcn.0046513c
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov byte [esi + 0x94], bl
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x43c560
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4b8658]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
mov esi, dword [esp + 0x128]
push edi
mov edi, dword [section..rdata]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov ebp, 3
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call edi
test eax, eax
jne 0x43c6f4
push esi
push str._sConnection
lea ecx, [esp + 0x28]
push 0x103
push ecx
call fcn.0043c540
mov ecx, dword [esp + 0x2c]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
lea eax, [esp + 0x2c]
push eax
push ecx
call edi
test eax, eax
mov edi, dword [0x4a0030]
jne 0x43c6ed
mov esi, dword [0x4a0004]
mov eax, 4
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.MediaSubType
push edx
call esi
test eax, eax
jne 0x43c6e6
push 0x104
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x103
call fcn.00464040
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.PnpInstanceID
push ecx
call esi
test eax, eax
jne 0x43c6e6
mov esi, 1
cmp dword [esp + 0xc], esi
jne 0x43c6d6
push ebp
lea edx, [esp + 0x24]
push 0x4a2ed4
push edx
call fcn.00466fb2
add esp, 0xc
test eax, eax
jne 0x43c6b1
xor ebp, ebp
jmp 0x43c6e6
cmp dword [esp + 0xc], esi
jne 0x43c6d6
push 3
lea eax, [esp + 0x24]
push 0x4a2ed4
push eax
call fcn.00466fb2
add esp, 0xc
test eax, eax
je 0x43c6d6
mov ebp, 2
jmp 0x43c6e6
xor ecx, ecx
cmp dword [esp + 0xc], 2
setne cl
lea ecx, [ecx + ecx + 1]
mov ebp, ecx
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [esp + 0x1c]
push eax
call edi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.00463af0
add esp, 0x11c
ret
Function at 0x43d410
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x4b8658]
xor eax, esp
mov dword [esp + 0x14], eax
mov ax, word [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
push 0x11
push 2
push 2
mov word [esp + 0x14], 2
mov word [esp + 0x16], ax
mov dword [esp + 0x18], ecx
call dword [0x4a0504]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 4], 0x10000
je 0x43d483
push edi
mov edi, dword [0x4a050c]
push 4
lea edx, [esp + 0xc]
push edx
push 0x1002
push 0xffff
push esi
call edi
push 4
lea eax, [esp + 0xc]
push eax
push 0x1001
push 0xffff
push esi
call edi
pop edi
cmp byte [esp + 0x28], 0
je 0x43d4c7
lea ecx, [esp + 4]
push ecx
push 0x8004667e
push esi
mov dword [esp + 0x10], 1
call dword [0x4a04f8]
cmp eax, 0xffffffff
jne 0x43d4c7
cmp esi, 0xffffffff
je 0x43d4b4
push esi
call dword [0x4a04c0]
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00463af0
add esp, 0x18
ret
push 0x10
lea edx, [esp + 0xc]
push edx
push esi
call dword [0x4a04fc]
cmp eax, 0xffffffff
je 0x43d4a8
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00463af0
add esp, 0x18
ret

Function at 0x43d810
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esi + 8]
push eax
push 0x43d080
push 0
push 0
mov byte [esi + 0x18], 0
mov dword [eax], esi
mov dword [esi + 0xc], ecx
call fcn.00465a24
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x43d84c
mov dword [esi + 4], 0
cmp dword [esi + 4], 0
jne 0x43d85d
mov byte [esi + 0x18], 1
xor al, al
pop esi
pop ecx
ret 4
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x43efd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49a4de
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8658]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
lea ebp, [esi + 4]
mov dword [esi], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
lea edi, [esi + 0x14]
mov dword [esp + 0x30], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov eax, dword [esp + 0x14]
push eax
push 0x4b83d0
push 0x4b8398
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 1
call fcn.0043aa10
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov byte [esp + 0x34], 2
call fcn.0040bd40
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0x30], 1
je 0x43f061
push eax
call fcn.00463b29
add esp, 4
push edi
mov ecx, ebp
call fcn.0040bd40
mov edx, dword [str.www.tencent.com.]
mov dword [esi + 0x24], edx
mov eax, dword [0x4a3008]
mov dword [esi + 0x28], eax
mov ecx, dword [0x4a300c]
mov dword [esi + 0x2c], ecx
mov edx, dword [0x4a3010]
mov dword [esi + 0x30], edx
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x43fe50
Capabilities:
Access peb ldr_data
Get ntdll base address
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x49a5f4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4b8658]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x24]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x28]
mov dword [esi], 0x4a3018
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0x65
mov dword [esi + 0x18], 0x12dd668
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], 0x34
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov edx, 1
mov dword [esi + 0x20], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x4018], eax
mov dword [esi + 0x401c], eax
mov dword [esi + 0x4020], eax
mov dword [esi + 0x4028], eax
mov dword [esi + 0x402c], eax
mov dword [esi + 0x4030], eax
cmp ecx, 0xffffffff
mov eax, 2
mov byte [esp + 0x1c], al
je 0x43ff6a
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0xc]
push 0x8004667e
push edx
mov dword [esi + 0x10], eax
call dword [0x4a04f8]
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
mov dword [esp + 0x24], 0x10000
je 0x43ff5d
mov ebx, dword [0x4a050c]
push 4
lea eax, [esp + 0x28]
push eax
push 0x1002
push 0xffff
push edi
call ebx
push 4
lea ecx, [esp + 0x28]
push ecx
push 0x1001
push 0xffff
push edi
call ebx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
push esi
push edx
call fcn.0043f4a0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8
Function at 0x43ff90
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x4b8658]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
push 6
push 1
push 2
mov esi, ecx
call dword [0x4a0504]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 8], 0x10000
je 0x43ffed
push ebp
mov ebp, dword [0x4a050c]
push 4
lea eax, [esp + 0x10]
push eax
push 0x1002
push 0xffff
push edi
call ebp
push 4
lea ecx, [esp + 0x10]
push ecx
push 0x1001
push 0xffff
push edi
call ebp
pop ebp
lea edx, [esp + 8]
push edx
push 0x8004667e
push edi
mov dword [esi + 0xc], edi
mov dword [esp + 0x14], 1
call dword [0x4a04f8]
cmp eax, 0xffffffff
je 0x44006f
mov eax, dword [esp + 0x24]
mov cx, word [eax + 4]
mov edx, dword [eax]
push 0x10
lea eax, [esp + 0x10]
mov word [esp + 0x12], cx
mov ecx, dword [esi + 0xc]
push eax
push ecx
mov word [esp + 0x18], 2
mov dword [esp + 0x1c], edx
call dword [0x4a04f0]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
push esi
push edx
mov dword [esi + 0x10], 1
call fcn.0043f520
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
push esi
push eax
call fcn.0043fb70
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00463af0
add esp, 0x18
ret 4
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x44007e
push eax
call dword [0x4a04c0]
mov ecx, dword [esp + 0x1c]
pop edi
mov dword [esi + 0xc], 0xffffffff
pop esi
xor ecx, esp
xor al, al
call fcn.00463af0
add esp, 0x18
ret 4

Function at 0x4400a5
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x10], 2
push edi
jne 0x440136
mov eax, dword [esi + 0x4018]
test eax, eax
je 0x4400c7
mov ecx, dword [esi + 0x401c]
sub ecx, eax
jne 0x440136
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
je 0x4400e6
push 0
push ebx
push ebp
push eax
call dword [0x4a0508]
mov edi, eax
jmp 0x4400e9
or edi, 0xffffffff
cmp edi, ebx
je 0x44012a
jge 0x440136
cmp edi, 0xffffffff
je 0x440136
lea edx, [esp + 0x10]
push edx
lea ecx, [esi + 0x4014]
call fcn.004140d0
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [ebx + ebp]
push ecx
add edi, ebp
push edi
push edx
push eax
lea ecx, [esi + 0x4014]
call fcn.0043a980
mov ecx, dword [esi + 0xc]
push esi
push ecx
mov ecx, dword [esi + 4]
call fcn.0043f520
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 0xc
Function at 0x4402c0
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0xc
mov eax, 0x55555556
imul dword [esp + 0x14]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [ecx*4]
mov eax, 0x6bca1af3
imul edx
push ebx
push ebp
sar edx, 5
push esi
mov ebp, edx
shr ebp, 0x1f
push edi
mov edi, dword [esp + 0x20]
xor ebx, ebx
add ebp, edx
test edi, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ecx
lea eax, [ebx + 0x13]
je 0x44049d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x44049d
cmp dword [esp + 0x2c], ebx
je 0x44049d
test ebp, ebp
mov dword [esp + 0x20], ebx
jl 0x440406
mov edx, dword [esp + 0x30]
and edx, 2
mov dword [esp + 0x14], edx
cmp dword [esp + 0x20], ebp
jne 0x440352
mov edx, ebp
imul edx, edx, 0x4c
lea eax, [ecx*4]
sub eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
test eax, eax
jle 0x4403c1
mov edx, eax
movzx ebx, byte [edi + 2]
xor ecx, ecx
mov ch, byte [edi]
add edi, 3
add esi, 4
mov cl, byte [edi - 2]
shl ecx, 8
or ecx, ebx
shl ecx, 8
mov ebx, ecx
shr ebx, 0x1a
movzx ebx, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi - 4], bl
shl ecx, 6
mov ebx, ecx
shr ebx, 0x1a
movzx ebx, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
shl ecx, 6
mov byte [esi - 3], bl
mov ebx, ecx
shr ebx, 0x1a
movzx ebx, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
shr ecx, 0x14
and ecx, 0x3f
sub edx, 1
mov byte [esi - 2], bl
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi - 1], cl
jne 0x440358
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x14], 0
lea ebx, [ebx + eax*4]
mov dword [esp + 0x10], ebx
jne 0x4403e2
mov byte [esi], 0xd
add esi, 1
mov byte [esi], 0xa
add esi, 1
add ebx, 2
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x20]
add edx, 1
cmp edx, ebp
mov dword [esp + 0x20], edx
jle 0x440335
test ebx, ebx
je 0x440406
cmp dword [esp + 0x14], 0
jne 0x440406
sub esi, 2
sub ebx, 2
lea edx, [ecx + ecx*2]
mov ecx, dword [esp + 0x24]
sub ecx, edx
je 0x44048a
lea ebp, [ecx + 1]
test ebp, ebp
je 0x44048a
xor eax, eax
test ecx, ecx
jle 0x440424
movzx eax, byte [edi]
add edi, 1
shl eax, 8
cmp ecx, 1
jle 0x440434
movzx edx, byte [edi]
or eax, edx
add edi, 1
shl eax, 8
cmp ecx, 2
jle 0x440441
movzx ecx, byte [edi]
or eax, ecx
shl eax, 8
test ebp, ebp
jle 0x440468
mov ecx, ebp
lea ebx, [ebx]
mov edx, eax
shr edx, 0x1a
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], dl
add esi, 1
shl eax, 6
sub ecx, 1
jne 0x440450
add ebx, ebp
test byte [esp + 0x30], 1
jne 0x44048a
mov edi, 4
sub edi, ebp
test edi, edi
jle 0x440488
push edi
push 0x3d
push esi
call fcn.00464040
add esp, 0xc
add ebx, edi
mov eax, dword [esp + 0x2c]
pop edi
pop esi
mov dword [eax], ebx
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x440fb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 4]
test eax, eax
push edi
mov ebp, ecx
jne 0x440fc8
xor edi, edi
jmp 0x440fcd
mov edi, dword [esi + 8]
sub edi, eax
push 0
lea eax, [edi + 0x4000]
push eax
mov ecx, esi
call fcn.0040be60
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x440fed
mov eax, dword [esi + 8]
sub eax, ecx
cmp edi, eax
jb 0x440ff2
call fcn.00463f97
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0xc]
add eax, edi
cmp ecx, 0xffffffff
je 0x44108c
push 0
push 0x4000
push eax
push ecx
call dword [0x4a04f4]
mov ebx, eax
test ebx, ebx
jle 0x441085
cmp ebx, 0x4000
je 0x441083
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov dword [esp + 0x20], eax
jbe 0x441031
call fcn.00463f97
mov ebp, dword [esi + 4]
cmp ebp, dword [esi + 8]
jbe 0x44103e
call fcn.00463f97
add edi, ebp
cmp edi, dword [esi + 8]
mov dword [esp + 0x14], ebp
ja 0x44104e
cmp edi, dword [esi + 4]
jae 0x441053
call fcn.00463f97
mov dword [esp + 0x14], edi
add edi, ebx
cmp edi, dword [esi + 8]
mov ebp, esi
ja 0x441065
cmp edi, dword [esi + 4]
jae 0x44106a
call fcn.00463f97
mov ecx, dword [esp + 0x20]
push ecx
push esi
push edi
push ebp
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0044f6d0
jmp 0x441104
test ebx, ebx
je 0x4410e0
cmp ebx, 0xffffffff
jne 0x441104
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov dword [esp + 0x1c], eax
jbe 0x44109d
call fcn.00463f97
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x4410aa
call fcn.00463f97
add edi, ebx
cmp edi, dword [esi + 8]
mov dword [esp + 0x14], ebx
ja 0x4410ba
cmp edi, dword [esi + 4]
jae 0x4410bf
call fcn.00463f97
mov ecx, dword [esp + 0x1c]
push ecx
push esi
push edi
push esi
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0044f6d0
call dword [0x4a04e8]
cmp eax, 0x2733
je 0x441104
cmp dword [ebp + 0x10], 2
jne 0x4410fa
xor eax, eax
cmp byte [esp + 0x20], al
push eax
setne al
mov ecx, ebp
push eax
push 2
call fcn.00440e90
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x441117
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
add esp, 8
ret 8
Function at 0x441130
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x3c4]
mov edx, dword [eax + 0x3c0]
mov ebp, dword [edx + ecx*4]
add eax, 0x3b4
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0x4090]
lea ebx, [ebx]
mov eax, dword [esi + 0x4034]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x4048]
push ecx
push 0
push 0x400b
push edi
push eax
mov dword [esp + 0x2c], 0x10
call dword [0x4a04ac]
mov ebx, eax
cmp ebx, 0xa
jbe 0x441234
cmp byte [edi], 0
jne 0x441234
cmp byte [edi + 1], 0
jne 0x441234
cmp byte [edi + 2], 0
jne 0x441234
cmp byte [edi + 3], 1
jne 0x441234
lea esi, [edi + 0xa]
test esi, esi
lea eax, [ebx - 0xa]
je 0x441230
cmp eax, 0x34
jbe 0x441230
mov eax, dword [esi + 0x10]
push eax
call dword [0x4a04b4]
cmp eax, 0x34
jbe 0x441230
lea ecx, [ebx - 0xa]
cmp eax, ecx
ja 0x441230
cmp eax, 0x4000
jae 0x441230
mov eax, dword [esi + 4]
push eax
call dword [0x4a04b4]
cmp eax, 0x12dd668
jne 0x441230
mov ecx, esi
call fcn.0043d340
mov edx, dword [edi + 4]
push 0x4000
mov dword [ebp + 9], edx
mov ax, word [edi + 8]
lea ecx, [ebp + 0xf]
push esi
push ecx
mov word [ebp + 0xd], ax
mov dword [ebp], 3
mov byte [ebp + 8], 0
call fcn.00464370
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebp
call fcn.00440f10
mov esi, dword [esp + 0x10]
cmp ebx, 0x400b
je 0x441160
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x441135
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x3c4]
mov edx, dword [eax + 0x3c0]
mov ebp, dword [edx + ecx*4]
add eax, 0x3b4
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0x4090]
lea ebx, [ebx]
mov eax, dword [esi + 0x4034]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x4048]
push ecx
push 0
push 0x400b
push edi
push eax
mov dword [esp + 0x2c], 0x10
call dword [0x4a04ac]
mov ebx, eax
cmp ebx, 0xa
jbe 0x441234
cmp byte [edi], 0
jne 0x441234
cmp byte [edi + 1], 0
jne 0x441234
cmp byte [edi + 2], 0
jne 0x441234
cmp byte [edi + 3], 1
jne 0x441234
lea esi, [edi + 0xa]
test esi, esi
lea eax, [ebx - 0xa]
je 0x441230
cmp eax, 0x34
jbe 0x441230
mov eax, dword [esi + 0x10]
push eax
call dword [0x4a04b4]
cmp eax, 0x34
jbe 0x441230
lea ecx, [ebx - 0xa]
cmp eax, ecx
ja 0x441230
cmp eax, 0x4000
jae 0x441230
mov eax, dword [esi + 4]
push eax
call dword [0x4a04b4]
cmp eax, 0x12dd668
jne 0x441230
mov ecx, esi
call fcn.0043d340
mov edx, dword [edi + 4]
push 0x4000
mov dword [ebp + 9], edx
mov ax, word [edi + 8]
lea ecx, [ebp + 0xf]
push esi
push ecx
mov word [ebp + 0xd], ax
mov dword [ebp], 3
mov byte [ebp + 8], 0
call fcn.00464370
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebp
call fcn.00440f10
mov esi, dword [esp + 0x10]
cmp ebx, 0x400b
je 0x441160
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x441b30
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x20
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
cmp eax, 2
jne 0x441c3f
mov eax, dword [edi + 0x4018]
test eax, eax
push esi
lea esi, [edi + 0x4014]
je 0x441c2a
mov ecx, dword [esi + 8]
sub ecx, eax
je 0x441c2a
test eax, eax
push ebx
jne 0x441b6b
xor ebx, ebx
jmp 0x441b70
mov ebx, dword [esi + 8]
sub ebx, eax
test eax, eax
je 0x441b7b
mov edx, dword [esi + 8]
sub edx, eax
jne 0x441b80
call fcn.00463f97
mov eax, dword [edi + 0xc]
cmp eax, 0xffffffff
mov ecx, dword [esi + 4]
je 0x441b98
push 0
push ebx
push ecx
push eax
call dword [0x4a0508]
jmp 0x441b9b
or eax, 0xffffffff
mov edx, dword [esi + 4]
test edx, edx
pop ebx
jne 0x441ba7
xor ecx, ecx
jmp 0x441bac
mov ecx, dword [esi + 8]
sub ecx, edx
cmp eax, ecx
jne 0x441bd0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push edi
push eax
call fcn.0043ebc0
push 0
push 0
mov ecx, esi
call fcn.0040be60
pop esi
pop edi
add esp, 0x20
ret 4
test eax, eax
jle 0x441bc8
test edx, edx
je 0x441bc8
mov ecx, dword [esi + 8]
sub ecx, edx
cmp eax, ecx
jae 0x441bc8
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0043d9f0
mov ecx, eax
call fcn.0040ba70
mov edi, eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0043d9f0
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0044f6d0
pop esi
pop edi
add esp, 0x20
ret 4
mov ecx, dword [edi + 0xc]
push edi
push ecx
mov ecx, dword [edi + 4]
call fcn.0043ebc0
pop esi
pop edi
add esp, 0x20
ret 4
cmp eax, 1
jne 0x441bc9
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push edi
push edx
mov dword [edi + 0x10], 2
call fcn.0043ebc0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push edi
push eax
call fcn.0043f4a0
push 0
push 1
push 1
mov ecx, edi
call fcn.00440e90
pop edi
add esp, 0x20
ret 4