joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459b00
Capabilities:
Connect socket

Disassembly:
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x459b1b
mov ecx, dword [esp + 8]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 8]
push ecx
mov ecx, eax
call dword [edx + 0x20]
ret 8
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov ecx, dword [ecx + 4]
push edx
push eax
push ecx
call dword [0x4ab764]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov eax, edx
ret 8

Function at 0x459ed0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call dword [0x4ab75c]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 0x10

Function at 0x45b6f0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a8da9
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x70], 0x64
cmp eax, 1
jne 0x45b7f2
call dword [0x4ab234]
mov dword [ebx + 0x9c], eax
mov eax, dword [esp + 0x28]
add eax, 0x30
mov ecx, ebx
push eax
call fcn.0045b350
mov eax, dword [ebx + 0x60]
cmp eax, 0x36
jl 0x45b747
cmp eax, 0x64
jne 0x45b74c
cmp eax, 1
jne 0x45b755
mov ecx, dword [ebx]
push 1
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [ebx + 0x58]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00456080
add esp, 8
mov eax, dword [eax + 4]
mov esi, dword [0x4ab338]
test eax, eax
mov dword [esp + 0x20], 0
je 0x45b77d
mov esi, eax
mov edx, dword [ebx + 0x60]
mov ax, word [ebx + 0x5c]
push edx
push eax
call dword [0x4ab768]
mov ecx, dword [ebx + 0x24]
mov edx, dword [ebx + 0x20]
and eax, 0xffff
push eax
push esi
push ecx
push edx
push str.__d._3d__Handshake_with__s:_d__d
push 0x4ccc50
call fcn.0044ff50
add esp, 0x1c
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
push 1
call dword [0x4ab310]
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x68], 2
mov ebx, dword [ebx + 0x20]
push eax
push 0xcf
push ebx
mov ecx, 0x4ccb20
call fcn.0044dfb0
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
test eax, eax
jne 0x45b882
mov esi, dword [0x4ab234]
push edi
call esi
mov dword [ebx + 0x90], eax
call esi
mov dword [ebx + 0xa8], eax
call esi
mov dword [ebx + 0x98], eax
call esi
mov dword [ebx + 0xa0], eax
call esi
mov dword [ebx + 0x94], eax
call esi
mov esi, dword [esp + 0x2c]
mov dword [ebx + 0x9c], eax
mov ecx, ebx
lea eax, [esi + 0x30]
push eax
call fcn.0045b350
lea eax, [esi + 0x1c]
lea edi, [ebx + 0x3c]
mov ecx, 5
mov esi, eax
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
call fcn.0045acd0
mov eax, dword [ebx + 0x24]
mov ebx, dword [ebx + 0x20]
push eax
push 0xcf
push ebx
mov ecx, 0x4ccb20
call fcn.0044dfb0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x18]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x45e3d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
je 0x45e41c
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x45e41c
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 4
push edx
lea edx, [esp + 4]
push edx
lea edx, [esp + 0xc]
push edx
push 0
push ecx
push eax
call dword [0x4ab014]
test eax, eax
jne 0x45e41c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
mov dword [eax], ecx
mov eax, 1
add esp, 8
ret 8
xor eax, eax
add esp, 8
ret 8

Function at 0x45e490
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 0x208
test eax, eax
push esi
je 0x45e4f7
mov ecx, dword [esp + 0x210]
test ecx, ecx
je 0x45e4f7
mov esi, dword [esp + 0x214]
test esi, esi
je 0x45e4f7
lea edx, [esp + 4]
mov dword [esp + 4], 0x100
push edx
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x10]
push edx
push 0
push ecx
push eax
call dword [0x4ab014]
test eax, eax
jne 0x45e4f7
lea eax, [esp + 0xc]
push eax
push esi
call dword [0x4ab4b4]
add esp, 8
mov eax, 1
pop esi
add esp, 0x208
ret 8
xor eax, eax
pop esi
add esp, 0x208
ret 8

Function at 0x45e610
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x45e65c
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x45e65c
mov esi, dword [esp + 0x14]
test esi, esi
je 0x45e65c
push esi
call dword [0x4ab4bc]
shl ax, 1
add esp, 4
inc ax
and eax, 0xffff
push eax
mov eax, dword [edi + 4]
push esi
push 1
push 0
push ebx
push eax
call dword [0x4ab010]
neg eax
sbb eax, eax
pop edi
pop esi
inc eax
pop ebx
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
ret 8

Function at 0x45e6f0
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [0x4ab478]
push edi
mov edi, dword [esp + 0xc]
push 0x800
mov dword [0x4cec38], edi
call esi
add esp, 4
mov dword [0x4cec30], eax
test eax, eax
je 0x45e794
call fcn.0045edc0
cmp edi, 1
je 0x45e794
push 0x800
call esi
add esp, 4
mov dword [0x4cec2c], eax
test eax, eax
jne 0x45e747
mov eax, dword [0x4cec30]
push eax
call dword [0x4ab4a8]
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
ret
push 0x4c3060
push eax
call fcn.0045ed30
push 0x800
call esi
add esp, 0xc
mov dword [0x4cec34], eax
test eax, eax
jne 0x45e786
mov ecx, dword [0x4cec30]
mov esi, dword [0x4ab4a8]
push ecx
call esi
mov edx, dword [0x4cec2c]
push edx
call esi
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
ret
push 0x4c30a0
push eax
call fcn.0045ed30
add esp, 8
pop edi
xor eax, eax
pop esi
ret
Function at 0x45e800
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x70
push ebp
mov ebp, dword [esp + 0x78]
test ebp, ebp
jne 0x45e814
or eax, 0xffffffff
pop ebp
add esp, 0x70
ret
mov edx, dword [esp + 0x7c]
push ebx
push esi
push edi
mov ecx, 0x20
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
xor ecx, ecx
movsx eax, byte [ecx + str.91__]
dec eax
mov esi, eax
sar eax, 3
and esi, 7
movsx eax, byte [eax + edx]
test dword [esi*4 + 0x4c3378], eax
setne al
mov byte [esp + ecx + 0x10], al
inc ecx
cmp ecx, 0x38
jl 0x45e828
xor edi, edi
movsx ecx, byte [edi + 0x4c3118]
xor eax, eax
xor edx, edx
cmp eax, 0x1c
setge dl
dec edx
mov esi, ecx
and edx, 0xffffffe4
add edx, 0x38
cmp ecx, edx
jl 0x45e873
lea esi, [ecx - 0x1c]
mov dl, byte [esp + esi + 0x10]
mov byte [esp + eax + 0x48], dl
inc eax
inc ecx
cmp eax, 0x38
jl 0x45e85b
xor ecx, ecx
movsx eax, byte [ecx + 0x4c3128]
mov dl, byte [esp + eax + 0x47]
test dl, dl
je 0x45e8c2
mov eax, 0x2aaaaaab
mov ebx, 6
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebp
add eax, edx
lea esi, [eax + edi*8]
mov eax, ecx
cdq
idiv ebx
mov al, byte [esi]
mov edx, dword [edx*4 + 0x4c3378]
sar edx, 2
or al, dl
mov byte [esi], al
inc ecx
cmp ecx, 0x30
jl 0x45e884
inc edi
cmp edi, 0x10
jl 0x45e852
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x70
ret

Function at 0x45edc0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x28
xor ecx, ecx
xor eax, eax
movsx edx, byte [eax + 0x4c3358]
dec edx
cmp edx, ecx
je 0x45eddb
inc eax
cmp eax, 0x20
jl 0x45edc7
jmp 0x45eddf
mov byte [esp + ecx + 8], al
inc ecx
cmp ecx, 0x20
jl 0x45edc5
push ebx
lea eax, [esp + 0xc]
push ebp
push esi
mov dword [esp + 0x10], eax
push edi
mov dword [esp + 0x10], 0
xor eax, eax
xor esi, esi
mov ebx, eax
mov eax, esi
mov ecx, esi
sar eax, 1
and ecx, 1
and eax, 0xf
shl ecx, 4
mov edx, esi
or eax, ecx
mov ecx, dword [esp + 0x10]
and edx, 0x20
or eax, edx
xor edi, edi
xor edx, edx
movsx ebp, byte [ecx + eax + 0x4c3158]
mov eax, 8
mov ecx, edx
sar eax, cl
test ebp, eax
je 0x45ee4b
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + edx]
mov ecx, 0x1f
sub ecx, eax
mov eax, 1
shl eax, cl
or edi, eax
inc edx
cmp edx, 4
jl 0x45ee27
mov ecx, dword [0x4cec30]
inc esi
mov dword [ebx + ecx], edi
add ebx, 4
cmp esi, 0x40
jl 0x45edff
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esi, 0x40
add edx, 4
cmp ebx, 0x800
mov dword [esp + 0x10], esi
mov eax, ebx
mov dword [esp + 0x14], edx
jl 0x45edfb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x469360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 8], ebx
je 0x46955e
cmp dword [esi + 0x28], ebx
jne 0x46955e
mov ecx, dword [esi + 0xc4]
mov eax, 1
cmp ecx, eax
je 0x46955e
cmp dword [esi + 0x78], eax
je 0x46955e
mov ecx, esi
call fcn.0046a4c0
test eax, eax
je 0x46955e
mov edi, dword [esi + 0x124]
mov dword [esp + 0x10], ebx
cmp edi, ebx
je 0x4693f2
call dword [0x4ab234]
mov ecx, eax
mov eax, dword [esi + 0x38]
sub ecx, eax
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jae 0x4693f2
mov eax, dword [esi + 0xc]
push edi
push eax
push str.__d.__Delay___d
push 0x4ccc50
call fcn.0044ff50
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x10]
call fcn.0048ca70
test eax, eax
je 0x46955e
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebx
jle 0x46955e
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.0048c4f0
mov edi, eax
cmp edi, ebx
je 0x46955e
mov eax, dword [esi + 0x1c]
add eax, 0x38
mov edx, dword [eax]
mov ecx, dword [eax + 4]
or edx, ecx
jne 0x4694b7
push ebx
push ebx
push ebx
push ebx
mov ecx, dword [esi + 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x3c]
push ebx
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.0048c760
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, ebx
ja 0x469476
cmp ecx, ebx
jbe 0x4694b7
push eax
push ecx
mov ecx, dword [esi + 0xc]
push ecx
push str.__d.__SetFileLen__I64d
push 0x4ccc50
call fcn.0044fee0
mov ecx, dword [esi + 0x1c]
add esp, 0x14
cmp dword [ecx + 0xc], ebx
jne 0x4694a5
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00484530
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x18]
push edx
call fcn.0048ae70
mov edx, dword [edi]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
push edx
call fcn.00483bd0
test eax, eax
je 0x469506
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esi + 0x10]
push edx
push eax
push edi
call fcn.0048d220
test eax, eax
jne 0x469527
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jl 0x469415
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ecx, dword [edi]
mov edx, dword [esi + 0xc]
push ecx
push edx
push str.__d._3d__AllocRange_fail
push 0x4ccc50
call fcn.0044ff50
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x5d50]
mov dword [esi + 0x74], ecx
mov edx, dword [eax + 0x5d4c]
push edx
mov ecx, esi
call fcn.00469a50
mov eax, dword [esi + 0x2c]
mov ecx, dword [edi]
mov edx, dword [esi + 0xc]
push eax
push ecx
push edx
push str.__d._3d__AsyncStartHttp_fail_ErrorCode___d
push 0x4ccc50
call fcn.00450030
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x46d7f0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, 0x2820
call fcn.0049d320
mov eax, dword [esp + 0x2830]
mov edx, dword [0x4ab348]
push ebp
mov dword [esp + 8], 0
mov cl, byte [eax]
mov dword [esp + 0xc], 0
mov byte [esp + 4], cl
mov dword [esp + 0x10], 0
mov ecx, dword [edx]
push esi
push edi
push ecx
push 0
push eax
lea ecx, [esp + 0x18]
call dword [0x4ab254]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test edi, edi
jne 0x46d84a
mov edi, dword [0x4ab258]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2c]
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x2838]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov word [esp + 0x20], 2
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
call dword [0x4ab774]
mov word [esp + 0x1e], ax
mov eax, dword [esp + 0x2834]
lea ecx, [esp + 0x1c]
push 0x10
push ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2838]
push 0
lea edx, [esp + 0x38]
push ebp
push edx
push eax
call dword [0x4ab794]
mov ecx, dword [esp + 0x10]
mov esi, eax
test ecx, ecx
je 0x46d8ef
mov al, byte [ecx - 1]
test al, al
je 0x46d8e5
cmp al, 0xff
je 0x46d8e5
dec al
pop edi
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebp
add esp, 0x2820
ret
dec ecx
push ecx
call fcn.004985d0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x2820
ret
Function at 0x46dd60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a9977
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], esi
push ebx
mov byte [esi], al
call dword [0x4ab28c]
mov dl, byte [esp + 0xb]
lea ecx, [esi + 0x10]
push ebx
mov dword [esp + 0x1c], ebx
mov byte [ecx], dl
call dword [0x4ab28c]
mov al, byte [esp + 0xb]
mov dword [esi + 0x24], ebx
mov byte [esi + 0x20], al
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dl, byte [esp + 0xb]
lea ecx, [esi + 0x30]
push ebx
mov byte [esp + 0x1c], 2
mov byte [ecx], dl
call dword [0x4ab28c]
mov al, byte [esp + 0xb]
mov dword [esi + 0x44], ebx
mov byte [esi + 0x40], al
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dl, byte [esp + 0xb]
lea ecx, [esi + 0x50]
push ebx
mov byte [esp + 0x1c], 4
mov byte [ecx], dl
call dword [0x4ab28c]
mov al, byte [esp + 0xb]
mov cl, byte [esp + 0xb]
mov dl, byte [esp + 0xb]
mov byte [esi + 0x60], al
mov al, byte [esp + 0xb]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], 1
push ebx
mov byte [esi + 0x74], cl
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
push ebx
mov byte [esi + 0x84], dl
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
push ebx
mov byte [esi + 0x94], al
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
push ebx
mov dword [esi + 0xa8], ebx
mov word [esi + 0xa4], bx
mov byte [esi + 0xa6], bl
call dword [0x4ab15c]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xa8], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x471b10
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
push edi
lea eax, [ebp - 0x138]
mov dword [ebp - 0x10], esp
mov esi, ecx
push 0x100
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
call dword [0x4ab7a4]
test eax, eax
jne 0x471cb4
lea ecx, [ebp - 0x138]
push ecx
call dword [0x4ab74c]
mov edi, eax
test edi, edi
je 0x471c4a
cmp word [edi + 0xa], 4
jne 0x471c4a
mov edx, dword [edi + 0xc]
cmp dword [edx], 0
je 0x471c4a
mov al, byte [ebp - 0x19]
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call dword [0x4ab28c]
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 1
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
mov dword [ebp - 0x14], eax
call dword [0x4ab748]
mov esi, eax
mov eax, dword [ebp - 0x18]
mov edi, esi
or ecx, 0xffffffff
lea ebx, [eax + 0x84]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, ebx
push edi
mov dword [ebp - 0x20], edi
call dword [0x4ab264]
test al, al
je 0x471bf8
mov ecx, edi
mov edi, dword [ebx + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov byte [ecx + eax], 0
mov edx, dword [ebp - 0x18]
mov ax, word [ebp - 0x14]
mov word [edx + 0xa4], ax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x471c1f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x471c30
cmp al, 0xff
je 0x471c30
dec al
mov byte [ecx], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
call fcn.004985d0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x4ccb18
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esi + 0x84]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, ebx
push edi
mov dword [ebp - 0x14], edi
call dword [0x4ab264]
test al, al
je 0x471c9a
mov ecx, edi
mov edi, dword [ebx + 4]
mov edx, ecx
mov esi, 0x4ccb18
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x18]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 4]
mov byte [ecx + eax], 0
mov ecx, dword [ebp - 0xc]
mov word [esi + 0xa4], 0
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x4ccb18
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esi + 0x84]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, ebx
push edi
mov dword [ebp - 0x14], edi
call dword [0x4ab264]
test al, al
je 0x471c9a
mov ecx, edi
mov edi, dword [ebx + 4]
mov edx, ecx
mov esi, 0x4ccb18
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x471c8d
Function at 0x474460
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x474478
push eax
call dword [0x4ab7b8]
or eax, 0xffffffff
pop esi
ret 0xc
mov ecx, esi
call fcn.00474780
test eax, eax
jne 0x474495
push 0x2736
call dword [0x4ab7b8]
or eax, 0xffffffff
pop esi
ret 0xc
mov ecx, esi
call fcn.00474780
cmp eax, 1
je 0x4744fa
mov ecx, esi
call fcn.00474780
cmp eax, 2
je 0x4744fa
mov ecx, esi
call fcn.00474780
cmp eax, 3
je 0x4744fa
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4744e2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.00459df0
push eax
call dword [0x4ab758]
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push edx
call dword [eax + 0x38]
pop esi
ret 0xc
push 0x2749
call dword [0x4ab7b8]
or eax, 0xffffffff
pop esi
ret 0xc

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

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x474528
push eax
call dword [0x4ab7b8]
or eax, 0xffffffff
pop esi
ret 0xc
mov ecx, esi
call fcn.00474780
test eax, eax
jne 0x474545
push 0x2736
call dword [0x4ab7b8]
or eax, 0xffffffff
pop esi
ret 0xc
mov ecx, esi
call fcn.00474780
cmp eax, 1
je 0x4745aa
mov ecx, esi
call fcn.00474780
cmp eax, 2
je 0x4745aa
mov ecx, esi
call fcn.00474780
cmp eax, 3
je 0x4745aa
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x474592
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.00459df0
push eax
call dword [0x4ab754]
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push edx
call dword [eax + 0x34]
pop esi
ret 0xc
push 0x2749
call dword [0x4ab7b8]
or eax, 0xffffffff
pop esi
ret 0xc
Function at 0x4745c0
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x4745e4
mov edx, dword [esp + 0x20]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x20]
push edx
call dword [eax + 0x24]
mov esi, eax
jmp 0x474664
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 8], eax
push esi
mov dword [esp + 0x10], eax
mov word [esp + 0xc], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [0x4ab744]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x474634
push esi
call dword [0x4ab74c]
test eax, eax
je 0x474629
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0xc], eax
jmp 0x474634
push 0x2726
call dword [0x4ab7b8]
mov ecx, dword [esp + 0x20]
push ecx
call dword [0x4ab774]
mov ecx, dword [edi + 4]
lea edx, [esp + 8]
push 0x10
push edx
mov word [esp + 0x12], ax
call fcn.00459df0
push eax
call dword [0x4ab764]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
test esi, esi
jne 0x474675
call dword [0x4ab750]
cmp eax, 0x2733
jne 0x47467e
push 2
mov ecx, edi
call fcn.004749e0
mov eax, esi
pop edi
pop esi
add esp, 0x10
ret 8

Function at 0x474690
Capabilities:
Connect socket

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x4746ae
mov edx, dword [esp + 0x10]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x10]
push edx
call dword [eax + 0x20]
mov esi, eax
jmp 0x4746d1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, dword [edi + 4]
call fcn.00459df0
push eax
call dword [0x4ab764]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov esi, edx
test esi, esi
jne 0x4746e2
call dword [0x4ab750]
cmp eax, 0x2733
jne 0x4746eb
push 2
mov ecx, edi
call fcn.004749e0
mov eax, esi
pop edi
pop esi
ret 8
Function at 0x474900
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x47493a
mov edx, dword [esp + 0x18]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push edx
call dword [eax + 0x28]
mov edi, eax
test edi, edi
je 0x474933
push 1
mov ecx, esi
call fcn.004749e0
mov eax, edi
pop edi
pop esi
ret 0x10
mov eax, dword [esp + 0x10]
push 0
push eax
push 2
call dword [0x4ab7b4]
mov ecx, dword [esi + 4]
push eax
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
call fcn.00458e10
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push edx
call fcn.00459c30
test eax, eax
jne 0x474971
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x4749a6
mov edx, dword [ecx + 8]
push 0x3f
add edx, 0x402
push edx
call fcn.00459e00
push eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
call dword [0x4ab780]
test eax, eax
je 0x4749a6
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 4]
push 0x10
push eax
call fcn.00458db0
test eax, eax
jne 0x4749c1
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
call dword [edx + 8]
mov edi, 1
mov ecx, esi
push edi
call fcn.004749e0
mov eax, edi
pop edi
pop esi
ret 0x10