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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3daf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x68d01c]
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 + 0xd4]
mov byte [ebp - 4], 2
cmp dword [ecx], 0
je 0x51999e
mov edx, dword [esi + 0xa0]
mov eax, dword [edx + 0x14]
cmp eax, 0x15
je 0x51996a
push eax
lea eax, [ebp - 0x18]
push str.:_ld
push eax
call fcn.005a6a18
add esp, 0xc
jmp 0x519977
push 0x691568
lea ecx, [ebp - 0x18]
call fcn.005addd6
mov eax, dword [esi + 0xa0]
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.005a6a18
mov eax, dword [0x68d01c]
add esp, 0x14
mov dword [ebp - 0x14], eax
mov edx, dword [0x692b78]
push 1
push edx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.005132d0
mov eax, dword [esi + 0xd4]
cmp dword [eax], 0
je 0x5199c5
mov eax, dword [ebp - 0x1c]
jmp 0x5199e5
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + 0xc]
lea ecx, [ebp - 0x24]
push edx
call fcn.005adcbb
mov ebx, 1
mov dword [ebp - 0x20], ebx
mov eax, dword [eax]
mov byte [ebp - 4], 4
push 0x666c80
push eax
lea eax, [ebp - 0x14]
push str.USER__s_s
push eax
call fcn.005a6a18
add esp, 0x10
mov dword [ebp - 4], 3
test bl, 1
je 0x519a10
lea ecx, [ebp - 0x24]
call fcn.005adc4d
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.005133a0
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 + 0x30ec]
push edx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00513450
mov edi, eax
test edi, edi
je 0x519a90
mov eax, dword [esi + 0x30fc]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
mov dword [eax + 0xf8], edi
call fcn.005adc4d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.005adc4d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.005adc4d
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 + 0x30e0]
call fcn.0054fb50
mov ecx, esi
call fcn.00514da0
lea ecx, [ebp - 0x14]
mov dword [esi + 0x7c], 4
mov byte [ebp - 4], 2
call fcn.005adc4d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.005adc4d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.005adc4d
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 0x519b20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3dc8
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 + 0xd4]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp dword [eax], ebx
je 0x519c68
cmp dword [eax + 0x150], ebx
je 0x519c68
mov eax, dword [0x68d01c]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x692b78]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.005132d0
mov edx, dword [esi + 0xd4]
push 0x666c80
lea ecx, [ebp - 0x14]
mov eax, dword [edx + 0x150]
push eax
push str.USER__s_s
push ecx
call fcn.005a6a18
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov ecx, esi
push edx
call fcn.005133a0
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x30ec]
push str.send___Proxy_USER_n
not ecx
dec ecx
push ebx
push ecx
push edx
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00513450
mov edi, eax
cmp edi, ebx
je 0x519c0a
mov ecx, dword [esi + 0x30fc]
mov byte [ebp - 4], bl
mov dword [ecx + 0xf8], edi
lea ecx, [ebp - 0x14]
call fcn.005adc4d
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 + 0x30e0]
call fcn.0054fb50
mov ecx, esi
call fcn.00514da0
lea ecx, [ebp - 0x14]
mov dword [esi + 0x7c], 4
mov byte [ebp - 4], bl
call fcn.005adc4d
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 0x519c80
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3de8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x68d01c]
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 [0x692b74]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.005132d0
mov edx, dword [esi + 0xa0]
push 0x666c80
lea ecx, [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
push str.PASS__s_s
push ecx
call fcn.005a6a18
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 + 0x30ec]
push edx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00513450
mov edi, eax
cmp edi, ebx
je 0x519d42
mov eax, dword [esi + 0x30fc]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
mov dword [eax + 0xf8], edi
call fcn.005adc4d
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 + 0x30e0]
call fcn.0054fb50
mov ecx, esi
call fcn.00514da0
lea ecx, [ebp - 0x14]
mov dword [esi + 0x7c], 4
mov byte [ebp - 4], bl
call fcn.005adc4d
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 0x519dc0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3e08
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 + 0xd4]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp dword [eax], ebx
je 0x519efd
cmp dword [eax + 0x154], ebx
je 0x519efd
mov eax, dword [0x68d01c]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x692b74]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.005132d0
mov edx, dword [esi + 0xd4]
push 0x666c80
lea ecx, [ebp - 0x14]
mov eax, dword [edx + 0x154]
push eax
push str.PASS__s_s
push ecx
call fcn.005a6a18
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 + 0x30ec]
push edx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00513450
mov edi, eax
cmp edi, ebx
je 0x519e9f
mov eax, dword [esi + 0x30fc]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
mov dword [eax + 0xf8], edi
call fcn.005adc4d
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 + 0x30e0]
call fcn.0054fb50
mov ecx, esi
call fcn.00514da0
lea ecx, [ebp - 0x14]
mov dword [esi + 0x7c], 4
mov byte [ebp - 4], bl
call fcn.005adc4d
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 0x51a220
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x692b60]
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.005132d0
push 0x666c80
lea ecx, [ebp - 0x128]
push str.PASV_s
push ecx
call fcn.005920ea
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x30ec]
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.00513450
test eax, eax
je 0x51a2ca
mov ecx, dword [esi + 0x30fc]
mov dword [ecx + 0xf8], 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 + 0x30e0]
call fcn.0054fb50
mov ecx, esi
call fcn.00514da0
mov dword [esi + 0x7c], 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 0x51b630
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3ef0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x692b30]
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.005132d0
mov ebx, dword [ebp + 8]
push 0x666c80
push ebx
lea ecx, [ebp - 0x128]
push str.TYPE__s_s
push ecx
call fcn.005920ea
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x30ec]
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.00513450
test eax, eax
je 0x51b6e0
mov ecx, dword [esi + 0x30fc]
mov dword [ecx + 0xf8], 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 0x51b6e9
push 0x11
jmp 0x51b6eb
push 7
lea ecx, [esi + 0x30e0]
call fcn.0054fb50
mov ecx, esi
call fcn.00514da0
mov dword [esi + 0x7c], 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 0x51b870
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3f10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x692b24]
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.005132d0
mov al, byte [esi + 0xb0]
test al, al
mov eax, dword [ebp + 8]
je 0x51b8c5
mov ecx, dword [ebp + 0xc]
add eax, 0x30
adc ecx, 0
jmp 0x51b8c8
mov ecx, dword [ebp + 0xc]
push 0x666c80
push ecx
push eax
lea ecx, [ebp - 0x128]
push str.REST__I64d_s
push ecx
call fcn.005920ea
add esp, 0x14
lea edx, [ebp - 0x128]
mov ecx, esi
push edx
call fcn.005133a0
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 + 0x30ec]
lea eax, [ebp - 0x128]
push eax
push ecx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00513450
test eax, eax
je 0x51b947
mov edx, dword [esi + 0x30fc]
mov dword [edx + 0xf8], 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 + 0x30e0]
call fcn.0054fb50
mov ecx, esi
call fcn.00514da0
mov dword [esi + 0x7c], 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 0x51be30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3f80
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 + 0xa0]
mov dword [ebp - 4], 0
cmp dword [eax + 0x28], 2
jne 0x51be7c
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 [0x6810dc]
mov al, byte [0x6810de]
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.005133a0
lea edi, [ebp - 0x1c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x30ec]
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.00513450
test eax, eax
je 0x51bef2
mov ecx, dword [esi + 0x30fc]
mov dword [ecx + 0xf8], 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.00518dd0
mov byte [esi + 0x3114], 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 0x51d410
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d40a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2db4
call fcn.00591b50
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.WSOCK32.dll_recv
test eax, eax
mov dword [ebp - 0x24], eax
jle 0x51d590
mov edx, dword [ebp - 0x14]
lea ecx, [eax + edx]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
cmp ecx, dword [edx]
jle 0x51d52a
mov eax, dword [ebp + 0xc]
lea ebx, [ecx + ecx]
push ebx
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
call fcn.005a9fe9
mov edx, eax
add esp, 4
test edx, edx
jne 0x51d4e3
mov eax, dword [0x692cb8]
mov ecx, dword [ebp - 0x18]
push 1
push eax
call fcn.005132d0
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.005aa012
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 0x51d46b
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
Function at 0x51f2a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d41c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x68d01c]
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 [0x692b98]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.005132d0
mov edx, dword [esi + 0xa0]
push 0x666c80
push 0x666c80
mov eax, dword [edx + 4]
cmp eax, ebx
je 0x51f312
push eax
lea eax, [ebp - 0x14]
push str.CWD__s_sTYPE_I_s
push eax
call fcn.005a6a18
add esp, 0x14
jmp 0x51f323
lea ecx, [ebp - 0x14]
push str.TYPE_I_sNOOP_s
push ecx
call fcn.005a6a18
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x7c], 0xb
call fcn.00514da0
mov ecx, 0xff
xor eax, eax
lea edi, [esi + 0x3138]
mov edx, dword [ebp - 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push str.send___test_sequence
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
push ecx
push edx
mov edx, dword [esi + 0x30ec]
push edx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00513450
mov edi, eax
cmp edi, ebx
je 0x51f380
mov eax, dword [esi + 0x30fc]
mov dword [eax + 0xf8], edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005adc4d
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
Function at 0x521060
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4230
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 + 0x30fc]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x70]
push ecx
mov ecx, dword [esi + 0xa0]
push edx
je 0x5210af
call fcn.00571680
jmp 0x5210b4
call fcn.0056e5f0
mov eax, dword [esi + 0x30fc]
add eax, 0x80
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or ecx, edx
je 0x521105
mov ecx, dword [0x691b84]
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 0x5210f8
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x521105
mov ecx, dword [esi + 0x30fc]
push 0
call fcn.005248c0
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 0x5212a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4277
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x68d01c]
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 0x691568
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005adcbb
mov ecx, dword [esi + 0xa0]
mov byte [ebp - 4], 2
mov edx, dword [ecx + 4]
cmp edx, ebx
je 0x52132d
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x52132d
mov al, byte [edx + ecx - 1]
cmp al, 0x2f
mov eax, 0x691568
je 0x52131a
mov eax, 0x668568
push eax
push edx
lea edx, [ebp - 0x14]
push 0x665ff4
push edx
call fcn.005a6a18
add esp, 0x10
push str.Get_MDTM..._r_n
mov ecx, esi
call fcn.005133a0
mov eax, dword [esi + 0xa0]
mov cl, byte [eax + 0x175]
test cl, cl
je 0x52134e
mov eax, dword [ebp - 0x14]
jmp 0x521369
push 0x691568
lea ecx, [ebp - 0x20]
call fcn.005adcbb
mov ebx, 1
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax]
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0xa0]
push 0x666c80
mov edx, dword [ecx + 8]
push edx
push eax
lea eax, [ebp - 0x18]
push str.MDTM__s_s_s
push eax
call fcn.005a6a18
add esp, 0x14
mov dword [ebp - 4], 2
test bl, 1
je 0x52139e
lea ecx, [ebp - 0x20]
call fcn.005adc4d
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 + 0x30ec]
push edx
push ecx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00513450
mov edi, eax
test edi, edi
je 0x521407
mov edx, dword [esi + 0x30fc]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
mov dword [edx + 0xf8], edi
call fcn.005adc4d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005adc4d
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 + 0x30e0]
call fcn.0054fb50
mov ecx, esi
call fcn.00514da0
lea ecx, [ebp - 0x14]
mov dword [esi + 0x7c], 4
mov byte [ebp - 4], 1
call fcn.005adc4d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005adc4d
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 0x5227f0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d42e8
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.00559670
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x104], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [esi], 0x603cb0
mov byte [ebp - 4], 1
mov dword [esi + 0x3c], eax
mov dword [esi + 0xb4], eax
call fcn.0055ac30
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esi + 8], edx
mov dword [esi + 0x1e4], eax
call fcn.00522960
push 0
push 1
push 2
call sub.WSOCK32.dll_socket
mov dword [esi + 0x818], eax
jmp 0x52288d
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 0x524600
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 + 0x1dc], 0
mov edx, dword [0x691b84]
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 0x524649
xor eax, eax
mov dword [esi + 0x1dc], eax
pop esi
add esp, 8
ret
mov eax, dword [esp + 8]
mov dword [esi + 0x1dc], eax
pop esi
add esp, 8
ret