joyce8/EMBER2024-capa huggingface dataset:
Function at 0x553f30
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x18]
mov byte [eax], 0
mov edx, dword [esi + 0x10]
push 0
push ecx
push edi
push edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
call ebp
cmp eax, 0xffffffff
jne 0x553f8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov dword [esp + 0x10], eax
je 0x553f8c
mov ecx, esi
call fcn.00553a30
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x18
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x20]
push 0
push eax
mov eax, dword [esi + 0x10]
push ecx
push edx
push eax
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x553fc6
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
cmp eax, ecx
jne 0x553fc6
mov edx, dword [esp + 0x34]
mov byte [edx], 1
mov eax, dword [esp + 0x28]
xor ecx, ecx
add eax, edi
lea edx, [esp + 0x18]
adc ecx, ebx
add eax, 4
push 0
push edx
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esi + 0x10]
adc ecx, 0
push eax
mov dword [esp + 0x28], ecx
call ebp
cmp eax, 0xffffffff
jne 0x554010
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x554010
mov ecx, esi
call fcn.00553a30
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x18
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 0x18

Function at 0x554030
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x10]
cmp eax, 0xffffffff
jne 0x55403d
xor eax, eax
ret 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push ecx
mov ecx, dword [esp + 0xc]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 0xc

Function at 0x554070
Capabilities:
Get file size

Disassembly:
push ecx
mov eax, dword [ecx + 0x10]
push esi
cmp eax, 0xffffffff
jne 0x554081
xor eax, eax
pop esi
pop ecx
ret 4
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 0xc]
mov dword [esi], eax
mov dword [esi + 4], 0
cmp dword [esi], 0xffffffff
jne 0x5540c0
mov eax, dword [esi + 4]
test eax, eax
jne 0x5540c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5540c0
mov dword [esi], eax
mov dword [esi + 4], 0
xor eax, eax
pop esi
pop ecx
ret 4
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
call fcn.005e7a50
mov ecx, dword [esi]
add ecx, eax
mov dword [esi], ecx
mov eax, dword [esi + 4]
adc eax, edx
mov dword [esi + 4], eax
mov eax, 1
pop esi
pop ecx
ret 4
Function at 0x554690
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
test ebx, ebx
je 0x554747
push edi
mov edi, dword [esi + 0x28]
test edi, edi
je 0x5546b7
push edi
push ebx
mov ecx, esi
call fcn.00554750
mov edi, dword [edi]
test edi, edi
jne 0x5546a8
mov edx, dword [esi + 8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
not ecx
push ecx
push edx
push 1
push eax
push str.f_templ
push ebx
call edi
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push 0
push str.f_tfc
push ebx
mov dword [esp + 0x28], eax
call edi
mov cl, byte [esi + 0xc]
lea eax, [esp + 0x10]
push 4
xor edx, edx
push eax
push 4
test cl, cl
push 0
push str.f_uf
setne dl
push ebx
mov dword [esp + 0x28], edx
call edi
lea ecx, [esi + 0x18]
push 8
push ecx
push 0
push 0
push str.f_td
push ebx
call edi
mov eax, dword [esi + 0x3c]
xor edx, edx
test eax, eax
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push str.f_uu
setne dl
push ebx
mov dword [esp + 0x28], edx
call edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x554750
Capabilities:
Set registry value

Disassembly:
sub esp, 0x38
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x55483e
mov esi, dword [esp + 0x50]
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x38]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x44]
push edx
lea eax, [esp + 0x14]
push 0x6e4080
push eax
mov dword [esp + 0x4c], ecx
call fcn.005e5bb8
add esp, 0xc
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x10]
push 0x18
push ecx
push 0
push 0
push edx
push ebx
call ebp
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x5547f3
mov eax, dword [esi + 0x38]
lea ecx, [esp + 0x10]
push eax
push str.fn_d
push ecx
call fcn.005e5bb8
mov edx, dword [esi + 0x48]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
lea edx, [esp + 0x1c]
push eax
push edx
push ebx
call ebp
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov edx, eax
or edx, ecx
je 0x55483e
mov edx, dword [esi + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
push edx
lea eax, [esp + 0x14]
push str.fl_d
push eax
mov dword [esp + 0x30], ecx
call fcn.005e5bb8
add esp, 0xc
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push 0x10
push ecx
push 0
push 0
push edx
push ebx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8
Function at 0x555f00
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b07f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x6f175c]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x184]
mov byte [ebp - 4], 2
cmp dword [ecx], 0
je 0x555f9e
mov edx, dword [esi + 0xb0]
mov eax, dword [edx + 0x14]
cmp eax, 0x15
je 0x555f6a
push eax
lea eax, [ebp - 0x18]
push str.:_ld
push eax
call fcn.005fa6fb
add esp, 0xc
jmp 0x555f77
push 0x6f5cb8
lea ecx, [ebp - 0x18]
call fcn.00601a55
mov eax, dword [esi + 0xb0]
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
push edx
push eax
push str._s__s_s
push ecx
call fcn.005fa6fb
mov eax, dword [0x6f175c]
add esp, 0x14
mov dword [ebp - 0x14], eax
mov edx, dword [0x6f759c]
push 1
push edx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0054b020
mov eax, dword [esi + 0x184]
cmp dword [eax], 0
je 0x555fc5
mov eax, dword [ebp - 0x1c]
jmp 0x555fe5
mov ecx, dword [esi + 0xb0]
mov edx, dword [ecx + 0xc]
lea ecx, [ebp - 0x24]
push edx
call fcn.0060193a
mov ebx, 1
mov dword [ebp - 0x20], ebx
mov eax, dword [eax]
mov byte [ebp - 4], 4
push 0x6c5da8
push eax
lea eax, [ebp - 0x14]
push str.USER__s_s
push eax
call fcn.005fa6fb
add esp, 0x10
mov dword [ebp - 4], 3
test bl, 1
je 0x556010
lea ecx, [ebp - 0x24]
call fcn.006018cc
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.0054b0f0
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push str.send___USER_n
dec ecx
push 0
push ecx
push edx
mov edx, dword [esi + 0x31e4]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054b1b0
mov edi, eax
test edi, edi
je 0x556090
mov eax, dword [esi + 0x31f4]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
mov dword [eax + 0x140], edi
call fcn.006018cc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.006018cc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.006018cc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
lea ecx, [esi + 0x31d8]
call fcn.0059ba50
mov ecx, esi
call fcn.0054d540
lea ecx, [ebp - 0x14]
mov dword [esi + 0x8c], 4
mov byte [ebp - 4], 2
call fcn.006018cc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.006018cc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.006018cc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x556120
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x184]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp dword [eax], ebx
je 0x55626b
cmp dword [eax + 0x168], ebx
je 0x55626b
mov eax, dword [0x6f175c]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x6f759c]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0054b020
mov edx, dword [esi + 0x184]
push 0x6c5da8
lea ecx, [ebp - 0x14]
mov eax, dword [edx + 0x168]
push eax
push str.USER__s_s
push ecx
call fcn.005fa6fb
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov ecx, esi
push edx
call fcn.0054b0f0
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x31e4]
push str.send___Proxy_USER_n
not ecx
dec ecx
push ebx
push ecx
push edx
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054b1b0
mov edi, eax
cmp edi, ebx
je 0x55620a
mov ecx, dword [esi + 0x31f4]
mov byte [ebp - 4], bl
mov dword [ecx + 0x140], edi
lea ecx, [ebp - 0x14]
call fcn.006018cc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x14
lea ecx, [esi + 0x31d8]
call fcn.0059ba50
mov ecx, esi
call fcn.0054d540
lea ecx, [ebp - 0x14]
mov dword [esi + 0x8c], 4
mov byte [ebp - 4], bl
call fcn.006018cc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
or eax, 0xffffffff
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x556280
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b0b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6f175c]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [0x6f7598]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0054b020
mov edx, dword [esi + 0xb0]
push 0x6c5da8
lea ecx, [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
push str.PASS__s_s
push ecx
call fcn.005fa6fb
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
push str.send___PASS_n
dec ecx
push ebx
push ecx
push edx
mov edx, dword [esi + 0x31e4]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054b1b0
mov edi, eax
cmp edi, ebx
je 0x556342
mov eax, dword [esi + 0x31f4]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
mov dword [eax + 0x140], edi
call fcn.006018cc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 3
lea ecx, [esi + 0x31d8]
call fcn.0059ba50
mov ecx, esi
call fcn.0054d540
lea ecx, [ebp - 0x14]
mov dword [esi + 0x8c], 4
mov byte [ebp - 4], bl
call fcn.006018cc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b0d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x184]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp dword [eax], ebx
je 0x556500
cmp dword [eax + 0x16c], ebx
je 0x556500
mov eax, dword [0x6f175c]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x6f7598]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0054b020
mov edx, dword [esi + 0x184]
push 0x6c5da8
lea ecx, [ebp - 0x14]
mov eax, dword [edx + 0x16c]
push eax
push str.PASS__s_s
push ecx
call fcn.005fa6fb
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
push str.send___proxy_PASS_n
dec ecx
push ebx
push ecx
push edx
mov edx, dword [esi + 0x31e4]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054b1b0
mov edi, eax
cmp edi, ebx
je 0x55649f
mov eax, dword [esi + 0x31f4]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
mov dword [eax + 0x140], edi
call fcn.006018cc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x15
lea ecx, [esi + 0x31d8]
call fcn.0059ba50
mov ecx, esi
call fcn.0054d540
lea ecx, [ebp - 0x14]
mov dword [esi + 0x8c], 4
mov byte [ebp - 4], bl
call fcn.006018cc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
or eax, 0xffffffff
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x556820
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b110
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x6f7584]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push 1
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.0054b020
push 0x6c5da8
lea ecx, [ebp - 0x128]
push str.PASV_s
push ecx
call fcn.005e5bb8
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x31e4]
push str.send___PASV
not ecx
dec ecx
push 0
lea edx, [ebp - 0x128]
push ecx
push edx
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054b1b0
test eax, eax
je 0x5568ca
mov ecx, dword [esi + 0x31f4]
mov dword [ecx + 0x140], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
lea ecx, [esi + 0x31d8]
call fcn.0059ba50
mov ecx, esi
call fcn.0054d540
mov dword [esi + 0x8c], 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x557060
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
mov edx, dword [esi + 0x3220]
lea ecx, [ebp - 0x2c]
push eax
xor ebx, ebx
push ecx
push edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 0x10
call sub.WS2_32.dll_accept
cmp eax, 0xffffffff
mov dword [esi + 0x31e8], eax
jne 0x557186
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
cmp edi, 0x2733
je 0x55713e
mov eax, dword [esi + 0x3220]
push eax
call sub.WS2_32.dll_closesocket
push edi
lea ecx, [ebp - 0x4c]
push str.Error_code___ld_n
push ecx
mov dword [esi + 0x3220], 0xffffffff
mov dword [esi + 0x322c], ebx
call fcn.005e5bb8
mov edx, dword [0x6f7620]
add esp, 0xc
mov ecx, esi
push 1
push edx
call fcn.0054b020
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.0054b0f0
mov ecx, dword [0x6f7620]
push ecx
mov ecx, dword [esi + 0x9c]
call fcn.00553840
mov edx, dword [esi + 0x31f4]
mov eax, edi
mov dword [edx + 0x140], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [esi + 0x424]
push ebx
call fcn.005e6b47
mov eax, dword [ebx]
mov edx, dword [esi + 0x418]
sub eax, edx
add esp, 4
cmp eax, 0x1e
mov dword [esi + 0x430], eax
jle 0x557173
mov eax, dword [esi + 0x31f4]
mov edi, 0x7533
mov dword [eax + 0x140], edi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x6f7570]
mov edi, 1
push edi
push ecx
mov ecx, esi
call fcn.0054b020
mov edx, dword [esi + 0x3220]
push edx
call sub.WS2_32.dll_closesocket
mov ecx, dword [esi + 0x31e8]
lea eax, [ebp - 0x18]
push eax
push 0x8004667e
push ecx
mov dword [esi + 0x3220], 0xffffffff
mov dword [esi + 0x322c], ebx
mov dword [esi + 0x3228], edi
mov dword [ebp - 0x18], edi
call sub.WS2_32.dll_ioctlsocket
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x557c30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b1c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x6f7554]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push 1
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.0054b020
mov ebx, dword [ebp + 8]
push 0x6c5da8
push ebx
lea ecx, [ebp - 0x128]
push str.TYPE__s_s
push ecx
call fcn.005e5bb8
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x31e4]
push str.send___TYPE
not ecx
dec ecx
push 0
lea edx, [ebp - 0x128]
push ecx
push edx
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054b1b0
test eax, eax
je 0x557ce0
mov ecx, dword [esi + 0x31f4]
mov dword [ecx + 0x140], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [ebx], 0x41
jne 0x557ce9
push 0x11
jmp 0x557ceb
push 7
lea ecx, [esi + 0x31d8]
call fcn.0059ba50
mov ecx, esi
call fcn.0054d540
mov dword [esi + 0x8c], 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b1e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x6f7548]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
push 1
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ebx
call fcn.0054b020
mov al, byte [esi + 0xc0]
mov edi, dword [ebp + 8]
cmp al, bl
je 0x557ec2
mov ecx, dword [ebp + 0xc]
add edi, 0x30
adc ecx, ebx
jmp 0x557ec5
mov ecx, dword [ebp + 0xc]
cmp byte [esi + 0xc7], bl
je 0x557eea
mov eax, dword [esi + 0x17c]
cdq
cmp ecx, edx
jl 0x557ee4
jg 0x557ede
cmp edi, eax
jb 0x557ee4
sub edi, eax
sbb ecx, edx
jmp 0x557eea
mov byte [esi + 0xc7], bl
push 0x6c5da8
push ecx
push edi
lea ecx, [ebp - 0x128]
push str.REST__I64d_s
push ecx
call fcn.005e5bb8
add esp, 0x14
lea edx, [ebp - 0x128]
mov ecx, esi
push edx
call fcn.0054b0f0
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
push str.send___REST
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
push ecx
mov ecx, dword [esi + 0x31e4]
lea eax, [ebp - 0x128]
push eax
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054b1b0
cmp eax, ebx
je 0x557f68
mov edx, dword [esi + 0x31f4]
mov dword [edx + 0x140], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xa
lea ecx, [esi + 0x31d8]
call fcn.0059ba50
mov ecx, esi
call fcn.0054d540
mov dword [esi + 0x8c], 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x558450
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b250
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0xb0]
mov dword [ebp - 4], 0
cmp dword [eax + 0x28], 2
jne 0x55849c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [str.NOOP_r_n]
mov dx, word [0x6e49d4]
mov al, byte [0x6e49d6]
mov dword [ebp - 0x1c], ecx
push str.Sending_NOOP_n
mov ecx, esi
mov word [ebp - 0x18], dx
mov byte [ebp - 0x16], al
call fcn.0054b0f0
lea edi, [ebp - 0x1c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x31e4]
repne scasb al, byte es:[edi]
not ecx
push str.send___NOOP
dec ecx
push 0
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054b1b0
test eax, eax
je 0x558512
mov ecx, dword [esi + 0x31f4]
mov dword [ecx + 0x140], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005553c0
mov byte [esi + 0x320c], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x559a40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b370
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2db4
call fcn.005e5310
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x18], ecx
push edi
xor eax, eax
mov ecx, 0xb68
lea edi, [ebp - 0x2dc4]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [edx]
mov dword [ebp - 0x10], esp
mov ecx, dword [eax]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 8]
push 0
lea eax, [ebp - 0x2dc4]
push 0x2da0
push eax
push ecx
call sub.WS2_32.dll_recv
test eax, eax
mov dword [ebp - 0x24], eax
jle 0x559bc0
mov edx, dword [ebp - 0x14]
lea ecx, [eax + edx]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
cmp ecx, dword [edx]
jle 0x559b5a
mov eax, dword [ebp + 0xc]
lea ebx, [ecx + ecx]
push ebx
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
call fcn.005fdccd
mov edx, eax
add esp, 4
test edx, edx
jne 0x559b13
mov eax, dword [0x6f76dc]
mov ecx, dword [ebp - 0x18]
push 1
push eax
call fcn.0054b020
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, ebx
xor eax, eax
mov esi, ecx
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edi, edx
mov ecx, dword [ecx]
mov esi, dword [eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov edx, dword [ebp + 0x10]
mov dword [edx], ebx
call fcn.005fdcf6
mov eax, dword [ebp - 0x24]
add esp, 4
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x14]
mov ecx, eax
lea esi, [ebp - 0x2dc4]
mov edi, dword [edx]
add edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
jmp 0x559a9b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc