joyce8/EMBER2024-capa huggingface dataset:
Function at 0x569dd0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x3c
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x38], eax
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
mov edi, dword [esp + 0x4c]
mov ebp, ecx
test edi, edi
je 0x569f12
mov eax, dword [esi + 0x3c]
fld qword [esi + 0x28]
mov ecx, dword [esi + 0x40]
fstp qword [esp + 0x1c]
mov edx, dword [esi + 0x44]
push ebx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x38]
push eax
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x3c]
push 0x6ab598
push ecx
mov dword [esp + 0x3c], edx
call fcn.006201db
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 0xc
push 0x18
lea edx, [esp + 0x24]
push edx
push 0
push 0
lea eax, [esp + 0x48]
push eax
push edi
call ebx
cmp dword [ebp + 0x54], 0
je 0x569e7b
mov ecx, dword [esi + 0x38]
push ecx
lea edx, [esp + 0x3c]
push str.fn_d
push edx
call fcn.006201db
mov edx, dword [esi + 0x48]
mov eax, edx
add esp, 0xc
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x569e63
sub eax, ebp
inc eax
push eax
push edx
push 1
push 0
lea eax, [esp + 0x48]
push eax
push edi
call ebx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov edx, eax
or edx, ecx
je 0x569ec6
mov edx, dword [esi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x3c]
push str.fl_d
push eax
mov dword [esp + 0x20], ecx
call fcn.006201db
add esp, 0xc
push 0x10
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
lea edx, [esp + 0x48]
push edx
push edi
call ebx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, eax
or edx, ecx
je 0x569f11
mov edx, dword [esi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x38]
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x3c]
push str.fse_d
push ecx
mov dword [esp + 0x20], edx
call fcn.006201db
add esp, 0xc
push 0x10
lea edx, [esp + 0x14]
push edx
push 0
push 0
lea eax, [esp + 0x48]
push eax
push edi
call ebx
pop ebx
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0061d2ff
add esp, 0x3c
ret 8

Function at 0x56a060
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x56a07b
mov edx, dword [esp + 8]
jmp 0x56a070
cmp edx, dword [eax + 0x38]
je 0x56a07e
mov eax, dword [eax]
test eax, eax
jne 0x56a070
ret 8
mov dword [eax + 0x44], 1
mov dword [esp + 8], eax
jmp fcn.00569dd0
Function at 0x56a0d0
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x56a189
push ebx
mov ebx, dword [esi + 0x40]
test ebx, ebx
je 0x56a0f7
push ebx
push edi
mov ecx, esi
call fcn.00569dd0
mov ebx, dword [ebx]
test ebx, ebx
jne 0x56a0e8
mov ecx, dword [esi + 8]
mov eax, ecx
lea ebx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x56a100
sub eax, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc eax
push eax
push ecx
push 1
push 0
push str.f_templ
push edi
call ebx
mov eax, dword [esi + 0x10]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.f_tfc
push edi
mov dword [esp + 0x28], eax
call ebx
xor edx, edx
cmp byte [esi + 0xc], dl
push 4
lea eax, [esp + 0x14]
push eax
push 4
setne dl
push 0
push str.f_uf
push edi
mov dword [esp + 0x28], edx
call ebx
push 8
lea ecx, [esi + 0x18]
push ecx
push 0
push 0
push str.f_td
push edi
call ebx
xor edx, edx
cmp dword [esi + 0x54], edx
push 4
lea eax, [esp + 0x14]
push eax
push 4
setne dl
push 0
push str.f_uu
push edi
mov dword [esp + 0x28], edx
call ebx
pop ebx
pop edi
pop esi
ret 4

Function at 0x56a190
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x66444b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 8]
mov dword [esi], vtable.CFragmentsList.0
call fcn.00402500
xor eax, eax
mov dword [esp + 0x14], eax
fldz
fstp qword [esi + 0x18]
mov dword [esi + 0x40], eax
mov dword [esi + 0x10], eax
mov byte [esi + 0xc], al
mov byte [esi + 0x20], al
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x56b560
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65dff0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
mov eax, dword [esi + 0xc0]
cmp dword [eax + 0x28], 2
je 0x56b61d
mov ecx, dword [str.NOOP_r_n]
mov dword [ebp - 0x1c], ecx
mov dx, word [0x6ab7a0]
mov word [ebp - 0x18], dx
mov al, byte [0x6ab7a2]
mov byte [ebp - 0x16], al
push str.Sending_NOOP_n
mov ecx, esi
call fcn.00560320
lea eax, [ebp - 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56b5d4
sub eax, edx
push str.send___NOOP
push 0
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [esi + 0x31fc]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00560c30
test eax, eax
je 0x56b60f
mov ecx, dword [esi + 0x320c]
mov dword [ecx + 0x144], eax
jmp 0x56b64b
mov ecx, esi
call fcn.0056b1e0
mov byte [esi + 0x3224], 1
xor eax, eax
jmp 0x56b64b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061d2ff
mov esp, ebp
pop ebp
ret

Function at 0x56b830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65e050
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x320c]
mov edx, dword [ebp + 8]
mov ecx, dword [eax + 0xb8]
push ecx
push edx
mov ecx, dword [esi + 0xc0]
cmp dword [ebp + 0xc], ebx
je 0x56b888
call fcn.005d06b0
jmp 0x56b88d
call fcn.005ce6a0
mov eax, dword [esi + 0x320c]
mov ecx, dword [eax + 0xc8]
or ecx, dword [eax + 0xcc]
je 0x56b8e2
mov byte [ebp - 0x11], bl
mov dword [ebp + 8], 4
lea edx, [ebp + 8]
push edx
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push str.bIgnMTCh
mov ecx, dword [0x75abd8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x56b8d6
cmp dword [ebp + 0xc], ebx
je 0x56b8d6
mov byte [ebp - 0x11], 1
jmp 0x56b8e2
push ebx
mov ecx, dword [esi + 0x320c]
call fcn.00576a10
mov dword [ebp - 4], 0xffffffff
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 0x56bd50
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65e0a0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
cmp dword [esi + 0x323c], 0
jne 0x56bda0
cmp dword [esi + 0x9c], 1
jne 0x56be2d
lea edi, [esi + 0x31f0]
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.005a6f20
test eax, eax
jne 0x56bdbb
cmp dword [ebp - 0x24], 0x12
je 0x56be2d
mov ecx, dword [str.QUIT_r_n]
mov dword [ebp - 0x1c], ecx
mov dx, word [0x6ab928]
mov word [ebp - 0x18], dx
mov al, byte [0x6ab92a]
mov byte [ebp - 0x16], al
push 1
mov ecx, dword [0x75bac8]
push ecx
mov ecx, esi
call fcn.00560b40
lea eax, [ebp - 0x1c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56bdf0
sub eax, edx
push str.send___QUIT
push 0
push eax
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [esi + 0x31fc]
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00560c30
test eax, eax
jne 0x56be5b
push 0x12
mov ecx, edi
call fcn.005a6df0
mov ecx, esi
call fcn.00560550
xor eax, eax
jmp 0x56be5b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061d2ff
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0x118]
sub esp, 0x118
push 0xffffffffffffffff
push 0x65e130
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp + 0x114], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
push 1
mov eax, dword [0x75baec]
push eax
call fcn.00560b40
push 0x678294
push str.PASV_s
lea ecx, [ebp]
push ecx
call fcn.006201db
add esp, 0xc
lea eax, [ebp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56c3a1
sub eax, edx
push str.send___PASV
push 0
push eax
lea edx, [ebp]
push edx
mov eax, dword [esi + 0x31fc]
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00560c30
test eax, eax
je 0x56c3dc
mov ecx, dword [esi + 0x320c]
mov dword [ecx + 0x144], eax
jmp 0x56c428
push 4
lea ecx, [esi + 0x31f0]
call fcn.005a6df0
mov ecx, esi
call fcn.00560550
mov dword [esi + 0x9c], 4
xor eax, eax
jmp 0x56c428
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x114]
xor ecx, ebp
call fcn.0061d2ff
add ebp, 0x118
mov esp, ebp
pop ebp
ret
Function at 0x56c6e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65e190
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x50], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [esi + 0x3238]
push edx
call sub.WS2_32.dll_accept
mov dword [esi + 0x3200], eax
or ebx, 0xffffffff
cmp eax, ebx
jne 0x56c7e8
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
mov dword [ebp - 0x4c], edi
cmp edi, 0x2733
je 0x56c7c4
mov eax, dword [esi + 0x3238]
push eax
call sub.WS2_32.dll_closesocket
mov dword [esi + 0x3238], ebx
mov dword [esi + 0x3244], 0
push edi
push str.Error_code___ld_n
lea ecx, [ebp - 0x34]
push ecx
call fcn.006201db
add esp, 0xc
push 1
mov edx, dword [0x75ba50]
push edx
mov ecx, esi
call fcn.00560b40
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.00560320
mov ecx, dword [0x75ba50]
push ecx
mov ecx, dword [esi + 0xac]
call fcn.00569300
mov edx, dword [esi + 0x320c]
mov dword [edx + 0x144], edi
mov eax, edi
jmp 0x56c861
mov ecx, esi
call fcn.0055fff0
cmp eax, 0x1e
jle 0x56c7e4
mov eax, dword [esi + 0x320c]
mov edi, 0x7533
mov dword [eax + 0x144], edi
mov dword [ebp - 0x4c], edi
mov eax, edi
jmp 0x56c861
push 1
mov ecx, dword [0x75bb00]
push ecx
mov ecx, esi
call fcn.00560b40
mov edx, dword [esi + 0x3238]
push edx
call sub.WS2_32.dll_closesocket
mov dword [esi + 0x3238], ebx
mov dword [esi + 0x3244], edi
mov eax, 1
mov dword [esi + 0x3240], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 0x8004667e
mov ecx, dword [esi + 0x3200]
push ecx
call sub.WS2_32.dll_ioctlsocket
xor eax, eax
jmp 0x56c861
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061d2ff
mov esp, ebp
pop ebp
ret
Function at 0x56c880
Capabilities:
Get local ipv4 addresses
Get socket information
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x158]
sub esp, 0x158
push 0xffffffffffffffff
push 0x65e1c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp + 0x154], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x320c]
cmp dword [eax + 0x244], ebx
je 0x56c8fc
mov ecx, dword [0x75ba60]
push ecx
mov ecx, dword [esi + 0xac]
call fcn.00569300
mov edx, dword [esi + 0x320c]
mov eax, 0x755a
mov dword [edx + 0x144], eax
jmp 0x56caa7
mov dword [esi + 0x3244], ebx
lea edi, [esi + 0x3a48]
push edi
mov ecx, esi
call fcn.0056c450
cmp eax, ebx
jne 0x56caa7
mov eax, dword [esi + 0x194]
cmp eax, ebx
je 0x56c92e
cmp byte [eax + 0x15c], bl
jne 0x56ca79
mov ebx, 0x10
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
mov edx, dword [edi]
push edx
call sub.WS2_32.dll_getsockname
test eax, eax
jge 0x56c9b7
call sub.WS2_32.dll_WSAGetLastError
mov ebx, eax
mov eax, dword [edi]
push eax
call sub.WS2_32.dll_closesocket
mov dword [edi], 0xffffffff
push ebx
push str.Error_code___ld_n
lea ecx, [ebp + 0x134]
push ecx
call fcn.006201db
add esp, 0xc
push 1
mov edx, dword [0x75ba54]
push edx
mov ecx, esi
call fcn.00560b40
lea eax, [ebp + 0x134]
push eax
mov ecx, esi
call fcn.00560320
mov ecx, dword [0x75ba54]
push ecx
mov ecx, dword [esi + 0xac]
call fcn.00569300
mov edx, dword [esi + 0x320c]
mov dword [edx + 0x144], ebx
mov eax, ebx
jmp 0x56caa7
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x10]
push ecx
mov edx, dword [esi + 0x31fc]
push edx
call sub.WS2_32.dll_getsockname
test eax, eax
jl 0x56c94a
movzx eax, byte [ebp + 3]
push eax
movzx ecx, byte [ebp + 2]
push ecx
movzx edx, byte [ebp + 0x17]
push edx
movzx eax, byte [ebp + 0x16]
push eax
movzx ecx, byte [ebp + 0x15]
push ecx
movzx edx, byte [ebp + 0x14]
push edx
push str.PORT__d__d__d__d__d__d_r_n
lea eax, [ebp + 0x20]
push eax
call fcn.006201db
add esp, 0x20
push 1
mov ecx, dword [0x75bb04]
push ecx
mov ecx, esi
call fcn.00560b40
lea eax, [ebp + 0x20]
lea edx, [eax + 1]
jmp 0x56ca20
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56ca20
sub eax, edx
push str.send___PORT
push 0
push eax
lea edx, [ebp + 0x20]
push edx
mov eax, dword [esi + 0x31fc]
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00560c30
test eax, eax
je 0x56ca5b
mov ecx, dword [esi + 0x320c]
mov dword [ecx + 0x144], eax
jmp 0x56caa7
push 6
lea ecx, [esi + 0x31f0]
call fcn.005a6df0
mov ecx, esi
call fcn.00560550
mov dword [esi + 0x9c], 4
xor eax, eax
jmp 0x56caa7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x154]
xor ecx, ebp
call fcn.0061d2ff
add ebp, 0x158
mov esp, ebp
pop ebp
ret
Function at 0x56cad0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65e1f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
lea edi, [esi + 0x3648]
push 0x3ff
push 0
push edi
call fcn.0061d9e0
add esp, 0xc
push str.recv___PORT
push edi
mov ecx, esi
call fcn.0056b920
test eax, eax
jne 0x56cc12
push str.Reply_on_PORT:_n
mov ecx, esi
call fcn.00560320
push edi
mov ecx, esi
call fcn.00560320
mov ecx, esi
cmp byte [edi], 0x32
je 0x56cb9f
push 1
mov eax, dword [0x75ba58]
push eax
call fcn.00560b40
mov ecx, dword [esi + 0x3a48]
push ecx
call sub.WS2_32.dll_closesocket
mov dword [esi + 0x3a48], 0xffffffff
push edi
mov ecx, dword [esi + 0xac]
call fcn.00569300
mov edx, dword [esi + 0x320c]
mov eax, 0x7550
mov dword [edx + 0x144], 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 edi, 1
push edi
mov eax, dword [0x75bb08]
push eax
call fcn.00560b40
mov eax, dword [esi + 0x3a48]
mov dword [esi + 0x3238], eax
mov dword [esi + 0x3244], edi
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x14]
push ecx
push 0x8004667e
push eax
call sub.WS2_32.dll_ioctlsocket
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 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 0x56cdb0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65e230
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x12c], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
push 1
mov eax, dword [0x75bb1c]
push eax
call fcn.00560b40
push 0x678294
push edi
push str.TYPE__s_s
lea ecx, [ebp - 0x128]
push ecx
call fcn.006201db
add esp, 0x10
lea eax, [ebp - 0x128]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56ce23
sub eax, edx
push str.send___TYPE
push 0
push eax
lea edx, [ebp - 0x128]
push edx
mov eax, dword [esi + 0x31fc]
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00560c30
test eax, eax
je 0x56ce61
mov ecx, dword [esi + 0x320c]
mov dword [ecx + 0x144], eax
jmp 0x56ceb9
lea ecx, [esi + 0x31f0]
cmp byte [edi], 0x41
jne 0x56ce70
push 0x11
jmp 0x56ce72
push 7
call fcn.005a6df0
mov ecx, esi
call fcn.00560550
mov dword [esi + 0x9c], 4
xor eax, eax
jmp 0x56ceb9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061d2ff
mov esp, ebp
pop ebp
ret 4
Function at 0x56d000
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x118]
sub esp, 0x118
push 0xffffffffffffffff
push 0x65e280
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp + 0x114], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
push 1
mov eax, dword [0x75bb28]
push eax
call fcn.00560b40
mov edi, dword [ebp + 0x120]
mov ecx, dword [ebp + 0x124]
cmp byte [esi + 0xd0], bl
je 0x56d06c
add edi, 0x30
adc ecx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ecx
cmp byte [esi + 0xd7], bl
je 0x56d09d
mov eax, dword [esi + 0x18c]
cdq
cmp ecx, edx
jl 0x56d097
jg 0x56d08b
cmp edi, eax
jb 0x56d097
sub edi, eax
mov dword [ebp - 0x18], edi
sbb ecx, edx
mov dword [ebp - 0x14], ecx
jmp 0x56d09d
mov byte [esi + 0xd7], bl
mov dword [esi + 0x3a68], edi
mov dword [esi + 0x3a6c], ecx
push 0x678294
push ecx
push edi
push str.REST__I64d_s
lea ecx, [ebp]
push ecx
call fcn.006201db
add esp, 0x14
lea edx, [ebp]
push edx
mov ecx, esi
call fcn.00560320
lea eax, [ebp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x56d0d2
sub eax, edx
push str.send___REST
push ebx
push eax
lea eax, [ebp]
push eax
mov ecx, dword [esi + 0x31fc]
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00560c30
cmp eax, ebx
je 0x56d10c
mov edx, dword [esi + 0x320c]
mov dword [edx + 0x144], eax
jmp 0x56d158
push 0xa
lea ecx, [esi + 0x31f0]
call fcn.005a6df0
mov ecx, esi
call fcn.00560550
mov dword [esi + 0x9c], 4
xor eax, eax
jmp 0x56d158
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x114]
xor ecx, ebp
call fcn.0061d2ff
add ebp, 0x118
mov esp, ebp
pop ebp
ret 8
Function at 0x56d400
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x2da4]
mov eax, 0x2da4
call fcn.0061ea30
push 0xffffffffffffffff
push 0x65e2f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp + 0x2da0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov ebx, dword [ebp + 0x2db0]
mov edi, dword [ebp + 0x2db4]
mov dword [ebp - 0x18], edi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
push 0x2da0
push esi
lea eax, [ebp]
push eax
call fcn.0061d9e0
mov ecx, dword [edi]
push ecx
push esi
mov edx, dword [ebx]
push edx
call fcn.0061d9e0
add esp, 0x18
jmp 0x56d480
push 0
push 0x2da0
lea eax, [ebp]
push eax
mov ecx, dword [ebp + 0x2dac]
push ecx
call sub.WS2_32.dll_recv
mov dword [ebp - 0x28], eax
test eax, eax
jle 0x56d530
mov edx, dword [ebp - 0x14]
lea esi, [eax + edx]
mov dword [ebp - 0x24], esi
cmp esi, dword [edi]
jle 0x56d515
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
lea edi, [esi + esi]
push edi
call fcn.005f15c2
add esp, 4
mov esi, eax
test esi, esi
jne 0x56d4e1
push 1
mov ecx, dword [0x75b994]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00560b40
mov eax, 0x753b
jmp 0x56d564
push edi
push 0
push esi
call fcn.0061d9e0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
mov ecx, dword [ebx]
push ecx
push esi
call fcn.0061eea0
mov dword [ebx], esi
mov edx, dword [ebp - 0x18]
mov dword [edx], edi
mov eax, dword [ebp - 0x20]
push eax
call fcn.005f15b7
add esp, 0x1c
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
push eax
lea ecx, [ebp]
push ecx
mov edx, dword [ebx]
add edx, dword [ebp - 0x14]
push edx
call fcn.0061eea0
add esp, 0xc
mov dword [ebp - 0x14], esi
jmp 0x56d480
xor eax, eax
jmp 0x56d564
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2da0]
xor ecx, ebp
call fcn.0061d2ff
add ebp, 0x2da4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x56ede0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65e598
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x194]
cmp dword [eax], ebx
je 0x56ef3a
cmp dword [eax + 0x168], ebx
je 0x56ef3a
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
push 1
mov eax, dword [0x75bad4]
push eax
mov ecx, esi
call fcn.00560b40
push 0x678294
mov ecx, dword [esi + 0x194]
mov edx, dword [ecx + 0x168]
push edx
push str.USER__s_s
lea eax, [ebp - 0x14]
push eax
call fcn.00402f70
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.00560320
mov edx, dword [ebp - 0x14]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x56ee80
sub eax, edi
push str.send___Proxy_USER_n
push ebx
push eax
push edx
mov edx, dword [esi + 0x31fc]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00560c30
mov edi, eax
cmp edi, ebx
je 0x56eed6
mov eax, dword [esi + 0x320c]
mov dword [eax + 0x144], edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x14
lea ecx, [esi + 0x31f0]
call fcn.005a6df0
mov ecx, esi
call fcn.00560550
mov dword [esi + 0x9c], 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
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
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret