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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558f40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x9c]
mov dword [ebp - 4], 0
cmp dword [eax], 0
je 0x4caf77
mov ecx, dword [eax + 0x118]
test ecx, ecx
je 0x4caf77
mov eax, dword [0x5bb610]
mov ecx, esi
push eax
call fcn.004c73d0
mov ecx, dword [esi + 0x9c]
push 0x59890c
lea eax, [ebp - 0x128]
mov edx, dword [ecx + 0x118]
push edx
push str.PASS__s_s
push eax
call fcn.0051d0e8
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x2e7c]
push str.send___proxy_PASS_n
not ecx
dec ecx
push 0
push ecx
lea ecx, [ebp - 0x128]
push ecx
push edx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004c7530
test eax, eax
je 0x4caf24
mov ecx, dword [esi + 0x2e8c]
mov dword [ecx + 0x1d4], eax
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 + 0x2e70]
call fcn.004f3d50
mov ecx, esi
call fcn.004c7fd0
mov dword [esi + 0x5c], 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
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 0x4cb280
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558f70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x5bb5fc]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.004c73d0
push 0x59890c
lea ecx, [ebp - 0x128]
push str.PASV_s
push ecx
call fcn.0051d0e8
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x2e7c]
push str.send___PASV
not ecx
dec ecx
push 0
lea edx, [ebp - 0x128]
push ecx
push edx
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004c7530
test eax, eax
je 0x4cb328
mov ecx, dword [esi + 0x2e8c]
mov dword [ecx + 0x1d4], 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 + 0x2e70]
call fcn.004f3d50
mov ecx, esi
call fcn.004c7fd0
mov dword [esi + 0x5c], 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 0x4cbf20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558fd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x7c]
mov dword [ebp - 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4cbf6a
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 [0x5bb5dc]
push ecx
mov ecx, esi
call fcn.004c73d0
mov edx, dword [esi + 0x7c]
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [edx + 4]
repne scasb al, byte es:[edi]
not ecx
add ecx, 9
push ecx
call fcn.005380a1
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4cbfbb
mov ecx, dword [esi + 0x2e8c]
mov eax, 0x753b
mov dword [ecx + 0x1d4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x7c]
mov cl, byte [eax + 0x1e9]
test cl, cl
jne 0x4cc010
mov edx, dword [eax + 4]
cmp byte [edx], 0x2f
jne 0x4cc010
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jne 0x4cbff2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edx
push 0x59890c
push edx
push str.CWD__s_s
push ebx
call fcn.0051d0e8
add esp, 0x10
mov byte [esi + 0x2e95], 0
jmp 0x4cc02e
mov byte [esi + 0x2e95], 1
mov edx, dword [eax + 4]
push 0x59890c
push edx
push str.CWD__s_s
push ebx
call fcn.0051d0e8
add esp, 0x10
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push str.send___CWD
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x2e7c]
push 0
not ecx
dec ecx
push ecx
push ebx
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004c7530
push ebx
mov edi, eax
call fcn.005380ca
add esp, 4
test edi, edi
je 0x4cc085
mov ecx, dword [esi + 0x2e8c]
mov eax, edi
mov dword [ecx + 0x1d4], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 9
lea ecx, [esi + 0x2e70]
call fcn.004f3d50
mov ecx, esi
call fcn.004c7fd0
mov dword [esi + 0x5c], 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 0x4cc3e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x5bb5cc]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.004c73d0
mov ebx, dword [ebp + 8]
push 0x59890c
push ebx
lea ecx, [ebp - 0x128]
push str.TYPE__s_s
push ecx
call fcn.0051d0e8
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x2e7c]
push str.send___TYPE
not ecx
dec ecx
push 0
lea edx, [ebp - 0x128]
push ecx
push edx
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004c7530
test eax, eax
je 0x4cc48e
mov ecx, dword [esi + 0x2e8c]
mov dword [ecx + 0x1d4], 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 0x4cc497
push 0x11
jmp 0x4cc499
push 7
lea ecx, [esi + 0x2e70]
call fcn.004f3d50
mov ecx, esi
call fcn.004c7fd0
mov dword [esi + 0x5c], 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 0x4cc620
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x5bb5c0]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.004c73d0
mov al, byte [esi + 0x88]
test al, al
mov eax, dword [ebp + 8]
je 0x4cc673
mov ecx, dword [ebp + 0xc]
add eax, 0x30
adc ecx, 0
jmp 0x4cc676
mov ecx, dword [ebp + 0xc]
push 0x59890c
push ecx
push eax
lea ecx, [ebp - 0x128]
push str.REST__I64d_s
push ecx
call fcn.0051d0e8
add esp, 0x14
lea edx, [ebp - 0x128]
mov ecx, esi
push edx
call fcn.004c7490
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 0
push ecx
mov ecx, dword [esi + 0x2e7c]
lea eax, [ebp - 0x128]
push eax
push ecx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004c7530
test eax, eax
je 0x4cc6f5
mov edx, dword [esi + 0x2e8c]
mov dword [edx + 0x1d4], 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 + 0x2e70]
call fcn.004f3d50
mov ecx, esi
call fcn.004c7fd0
mov dword [esi + 0x5c], 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 0x4cc890
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559067
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x5b5ecc]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
push 0x5ba440
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00537b72
mov ecx, dword [0x5bb5b4]
mov byte [ebp - 4], 2
push ecx
mov ecx, esi
call fcn.004c73d0
mov edx, dword [esi + 0x7c]
mov edx, dword [edx + 4]
cmp edx, ebx
je 0x4cc928
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4cc928
mov al, byte [edx + ecx - 1]
cmp al, 0x2f
mov eax, 0x5ba440
je 0x4cc915
mov eax, 0x599924
push eax
push edx
lea eax, [ebp - 0x14]
push 0x598a7c
push eax
call fcn.0053091a
add esp, 0x10
mov ecx, dword [esi + 0x7c]
mov al, byte [ecx + 0x1ea]
test al, al
je 0x4cc93a
mov eax, dword [ebp - 0x14]
jmp 0x4cc955
push 0x5ba440
lea ecx, [ebp - 0x20]
call fcn.00537b72
mov ebx, 1
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax]
mov byte [ebp - 4], 3
mov edx, dword [esi + 0x7c]
push 0x59890c
mov ecx, dword [edx + 8]
lea edx, [ebp - 0x18]
push ecx
push eax
push str.RETR__s_s_s
push edx
call fcn.0053091a
add esp, 0x14
mov dword [ebp - 4], 2
test bl, 1
je 0x4cc987
lea ecx, [ebp - 0x20]
call fcn.00537b04
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x2e7c]
push str.send___RETR
not ecx
dec ecx
push 0
push ecx
push edx
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004c7530
mov edi, eax
test edi, edi
je 0x4cc9f0
mov ecx, dword [esi + 0x2e8c]
mov byte [ebp - 4], 1
mov dword [ecx + 0x1d4], edi
lea ecx, [ebp - 0x14]
call fcn.00537b04
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00537b04
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 0xb
lea ecx, [esi + 0x2e70]
call fcn.004f3d50
mov ecx, esi
call fcn.004c7fd0
mov ecx, esi
mov dword [esi + 0x5c], 4
call fcn.004c9f00
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00537b04
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00537b04
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 0x4cca80
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559080
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 + 0x7c]
mov dword [ebp - 4], 0
cmp dword [eax + 0x28], 2
jne 0x4ccac9
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 [0x5af40c]
mov al, byte [0x5af40e]
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.004c7490
lea edi, [ebp - 0x1c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x2e7c]
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.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004c7530
test eax, eax
je 0x4ccb3f
mov ecx, dword [esi + 0x2e8c]
mov dword [ecx + 0x1d4], 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.004c9f00
mov byte [esi + 0x2e94], 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 0x4ccf80
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5590d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x5b5ecc]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
push 0x5ba440
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00537b72
mov ecx, dword [esi + 0x7c]
mov byte [ebp - 4], 2
mov edx, dword [ecx + 4]
cmp edx, ebx
je 0x4cd00a
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4cd00a
mov al, byte [edx + ecx - 1]
cmp al, 0x2f
mov eax, 0x5ba440
je 0x4ccff7
mov eax, 0x599924
push eax
push edx
lea edx, [ebp - 0x14]
push 0x598a7c
push edx
call fcn.0053091a
add esp, 0x10
mov eax, dword [0x5bb5ac]
mov ecx, esi
push eax
call fcn.004c73d0
mov ecx, dword [esi + 0x7c]
mov al, byte [ecx + 0x1ea]
test al, al
je 0x4cd029
mov eax, dword [ebp - 0x14]
jmp 0x4cd044
push 0x5ba440
lea ecx, [ebp - 0x20]
call fcn.00537b72
mov ebx, 1
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax]
mov byte [ebp - 4], 3
mov edx, dword [esi + 0x7c]
push 0x59890c
mov ecx, dword [edx + 8]
lea edx, [ebp - 0x18]
push ecx
push eax
push str.SIZE__s_s_s
push edx
call fcn.0053091a
add esp, 0x14
mov dword [ebp - 4], 2
test bl, 1
je 0x4cd076
lea ecx, [ebp - 0x20]
call fcn.00537b04
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x2e7c]
push str.send___SIZE
not ecx
dec ecx
push 0
push ecx
push edx
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004c7530
mov edi, eax
test edi, edi
je 0x4cd0df
mov ecx, dword [esi + 0x2e8c]
mov byte [ebp - 4], 1
mov dword [ecx + 0x1d4], edi
lea ecx, [ebp - 0x14]
call fcn.00537b04
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00537b04
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 0xe
lea ecx, [esi + 0x2e70]
call fcn.004f3d50
mov ecx, esi
call fcn.004c7fd0
lea ecx, [ebp - 0x14]
mov dword [esi + 0x5c], 4
mov byte [ebp - 4], 1
call fcn.00537b04
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00537b04
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 0x4cd160
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559117
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x5b5ecc]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
push 0x5ba440
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00537b72
mov ecx, dword [esi + 0x7c]
mov byte [ebp - 4], 2
mov edx, dword [ecx + 4]
cmp edx, ebx
je 0x4cd1ea
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4cd1ea
mov al, byte [edx + ecx - 1]
cmp al, 0x2f
mov eax, 0x5ba440
je 0x4cd1d7
mov eax, 0x599924
push eax
push edx
lea edx, [ebp - 0x14]
push 0x598a7c
push edx
call fcn.0053091a
add esp, 0x10
mov eax, dword [0x5bb5a8]
mov ecx, esi
push eax
call fcn.004c73d0
mov ecx, dword [esi + 0x7c]
mov al, byte [ecx + 0x1ea]
test al, al
je 0x4cd209
mov eax, dword [ebp - 0x14]
jmp 0x4cd224
push 0x5ba440
lea ecx, [ebp - 0x20]
call fcn.00537b72
mov ebx, 1
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax]
mov byte [ebp - 4], 3
mov edx, dword [esi + 0x7c]
push 0x59890c
mov ecx, dword [edx + 8]
lea edx, [ebp - 0x18]
push ecx
push eax
push str.LIST__s_s_s
push edx
call fcn.0053091a
add esp, 0x14
mov dword [ebp - 4], 2
test bl, 1
je 0x4cd256
lea ecx, [ebp - 0x20]
call fcn.00537b04
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x2e7c]
push str.send___LIST
not ecx
dec ecx
push 0
push ecx
push edx
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004c7530
mov edi, eax
test edi, edi
je 0x4cd2bf
mov ecx, dword [esi + 0x2e8c]
mov byte [ebp - 4], 1
mov dword [ecx + 0x1d4], edi
lea ecx, [ebp - 0x14]
call fcn.00537b04
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00537b04
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 0xf
lea ecx, [esi + 0x2e70]
call fcn.004f3d50
mov ecx, esi
call fcn.004c7fd0
mov edx, dword [esi + 0x2e8c]
mov dword [esi + 0x5c], 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
mov dword [edx + 0x8b4], 2
call fcn.00537b04
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00537b04
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 0x4cf550
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x5bb634]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.004c73d0
mov ecx, dword [esi + 0x7c]
push 0x59890c
push 0x59890c
mov eax, dword [ecx + 4]
test eax, eax
je 0x4cf5b6
push eax
lea edx, [ebp - 0x128]
push str.CWD__s_sTYPE_I_s
push edx
call fcn.0051d0e8
add esp, 0x14
jmp 0x4cf5ca
lea eax, [ebp - 0x128]
push str.TYPE_I_sNOOP_s
push eax
call fcn.0051d0e8
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x5c], 0xb
call fcn.004c7fd0
mov ecx, 0xff
xor eax, eax
lea edi, [esi + 0x2eb4]
push str.send___test_sequence
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x2e7c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
lea ecx, [ebp - 0x128]
push ecx
push edx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004c7530
test eax, eax
je 0x4cf666
mov ecx, dword [esi + 0x2e8c]
mov dword [ecx + 0x1d4], 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
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d0b30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5592d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov edx, dword [ebp + 8]
mov esi, ecx
push edi
test eax, eax
mov eax, dword [esi + 0x2e8c]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x64]
push ecx
mov ecx, dword [esi + 0x7c]
push edx
je 0x4d0b7c
call fcn.00500910
jmp 0x4d0b81
call fcn.004fed60
mov eax, dword [esi + 0x2e8c]
add eax, 0x70
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or ecx, edx
je 0x4d0bd0
mov ecx, dword [0x5ba8bc]
lea edx, [ebp + 8]
lea eax, [ebp + 0xc]
push edx
push eax
push 0
push 0
push str.bIgnMTCh
push ecx
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4d0bc3
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4d0bd0
mov ecx, dword [esi + 0x2e8c]
push 0
call fcn.004d3f60
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d0d70
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559317
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x5b5ecc]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
push 0x5ba440
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00537b72
mov ecx, dword [esi + 0x7c]
mov byte [ebp - 4], 2
mov edx, dword [ecx + 4]
cmp edx, ebx
je 0x4d0dfa
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4d0dfa
mov al, byte [edx + ecx - 1]
cmp al, 0x2f
mov eax, 0x5ba440
je 0x4d0de7
mov eax, 0x599924
push eax
push edx
lea edx, [ebp - 0x14]
push 0x598a7c
push edx
call fcn.0053091a
add esp, 0x10
push str.Get_MDTM..._r_n
mov ecx, esi
call fcn.004c7490
mov eax, dword [esi + 0x7c]
mov cl, byte [eax + 0x1ea]
test cl, cl
je 0x4d0e18
mov eax, dword [ebp - 0x14]
jmp 0x4d0e33
push 0x5ba440
lea ecx, [ebp - 0x20]
call fcn.00537b72
mov ebx, 1
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax]
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x7c]
push 0x59890c
mov edx, dword [ecx + 8]
push edx
push eax
lea eax, [ebp - 0x18]
push str.MDTM__s_s_s
push eax
call fcn.0053091a
add esp, 0x14
mov dword [ebp - 4], 2
test bl, 1
je 0x4d0e65
lea ecx, [ebp - 0x20]
call fcn.00537b04
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push str.send___MDTM
dec ecx
push 0
push ecx
mov ecx, dword [esi + 0x2e7c]
push edx
push ecx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004c7530
mov edi, eax
test edi, edi
je 0x4d0ece
mov edx, dword [esi + 0x2e8c]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
mov dword [edx + 0x1d4], edi
call fcn.00537b04
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00537b04
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 0x13
lea ecx, [esi + 0x2e70]
call fcn.004f3d50
mov ecx, esi
call fcn.004c7fd0
lea ecx, [ebp - 0x14]
mov dword [esi + 0x5c], 4
mov byte [ebp - 4], 1
call fcn.00537b04
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00537b04
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 0x4d2240
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
call fcn.004f3e30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x1e0], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [esi], 0x5666d0
mov byte [ebp - 4], 1
mov dword [esi + 0x3c], eax
mov dword [esi + 0x94], eax
call fcn.004f4eb0
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esi + 8], edx
mov dword [esi + 0x2a4], eax
call fcn.004d23a0
push 0
push 1
push 2
call sub.WSOCK32.dll_socket
mov dword [esi + 0x8d8], eax
jmp 0x4d22dd
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4d3cf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
mov dword [esi + 0x29c], 0
mov edx, dword [0x5ba8bc]
push 0
push 0
push str.FtpPasive
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4d3d39
xor eax, eax
mov dword [esi + 0x29c], eax
pop esi
add esp, 8
ret
mov eax, dword [esp + 8]
mov dword [esi + 0x29c], eax
pop esi
add esp, 8
ret