joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ddb7
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x442750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0041fa6b
mov dword [ebp - 0x14], eax
cmp dword [0x444edc], esi
jne 0x42deaa
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x42de37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42df8a
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x42df8a
push 0x43a844
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42df8a
push eax
call ebx
push 0x43a850
push edi
mov dword [0x444edc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x444ee0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x444ee4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x444eec], eax
test eax, eax
je 0x42dea7
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x444ee8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42decf
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42dec2
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x42dee4
push 4
pop eax
jmp 0x42df8c
cmp dword [ebp - 0x14], esi
je 0x42dee4
push dword [0x444edc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42dec9
mov eax, dword [0x444ee8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x42df42
cmp dword [0x444eec], edi
je 0x42df42
push eax
call ebx
push dword [0x444eec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42df42
test eax, eax
je 0x42df42
call ecx
test eax, eax
je 0x42df37
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x42df37
test byte [ebp - 8], 1
jne 0x42df42
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x42df72
mov eax, dword [0x444ee0]
cmp eax, edi
je 0x42df6f
push eax
call ebx
test eax, eax
je 0x42df6f
call eax
mov esi, eax
test esi, esi
je 0x42df6f
mov eax, dword [0x444ee4]
cmp eax, edi
je 0x42df6f
push eax
call ebx
test eax, eax
je 0x42df6f
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x444edc]
call ebx
test eax, eax
je 0x42df8a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x42df8c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418fa4
mov esp, ebp
pop ebp
ret
Function at 0x405c90
Capabilities:
Write file on windows

Disassembly:
cmp dword [0xa96050], 0
je 0x405cfd
push esi
push eax
mov eax, dword [0xa922ec]
push 0x400
call dword [eax]
add esp, 4
test eax, eax
je 0x405cf9
mov esi, eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp], ecx
push ecx
push eax
push 0x400
push esi
call fcn.00409350
add esp, 0x10
test eax, eax
jle 0x405cee
cmp eax, 0x3ff
mov ecx, 0x3ff
cmovb ecx, eax
push dword [0xa96050]
push ecx
push 1
push esi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov eax, dword [0xa922a8]
push esi
call dword [eax]
add esp, 4
add esp, 4
pop esi
ret

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

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test esi, esi
je 0x4060d6
test byte [0xa96055], 1
je 0x4060d6
mov ebp, dword [0xa96058]
test ebp, ebp
je 0x4060fb
dec ebp
mov dword [0xa96058], ebp
push edx
push ebx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
jmp 0x4060e4
push edx
push ebx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
test esi, esi
je 0x40614e
push eax
push ebx
push edi
push esi
push str.SEND__s:_d_send__lu____ld_n
mov esi, eax
call fcn.00405c90
mov eax, esi
add esp, 0x14
jmp 0x40614e
push str.send
push edi
push esi
push str.LIMIT__s:_d__s_reached_memlimit_n
call fcn.00405c90
add esp, 0x10
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push str.send
push edi
push esi
push str.LIMIT__s:_d__s_reached_memlimit_n
push eax
call fcn.0040b510
add esp, 0x14
push dword [0xa96050]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fflush
add esp, 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0xc
mov eax, 0xffffffff
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x406160
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test esi, esi
je 0x4061a6
test byte [0xa96055], 1
je 0x4061a6
mov ebp, dword [0xa96058]
test ebp, ebp
je 0x4061cb
dec ebp
mov dword [0xa96058], ebp
push edx
push ebx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
jmp 0x4061b4
push edx
push ebx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test esi, esi
je 0x40621e
push eax
push ebx
push edi
push esi
push str.RECV__s:_d_recv__lu____ld_n
mov esi, eax
call fcn.00405c90
mov eax, esi
add esp, 0x14
jmp 0x40621e
push str.recv
push edi
push esi
push str.LIMIT__s:_d__s_reached_memlimit_n
call fcn.00405c90
add esp, 0x10
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push str.recv
push edi
push esi
push str.LIMIT__s:_d__s_reached_memlimit_n
push eax
call fcn.0040b510
add esp, 0x14
push dword [0xa96050]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fflush
add esp, 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0xc
mov eax, 0xffffffff
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x414d20
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
call fcn.0041c2b0
add esp, 4
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
add esp, 4
mov edi, eax
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
add esp, 4
mov esi, eax
push 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x414db2
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
nop dword [eax]
mov eax, esp
push eax
call fcn.0041c2b0
sub esp, 0x1c
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esp + 0x10], xmm0
movups xmm0, xmmword [esp + 0x20]
movups xmmword [esp], xmm0
call fcn.0041c390
add esp, 0x20
cmp eax, 0x3e9
sbb edx, 0
jae 0x414dd8
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push esi
push edi
call ebx
test eax, eax
je 0x414d70
test edi, edi
je 0x414dbf
push edi
call fcn.00786dc0
add esp, 4
xor edi, edi
test esi, esi
je 0x414dce
push esi
call fcn.00786dc0
add esp, 4
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test edi, edi
je 0x414de5
push edi
call fcn.00786dc0
add esp, 4
mov edi, 1
test esi, esi
jne 0x414dc5
jmp 0x414dce
Function at 0x41b6c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push edi
push esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
sete dl
test eax, eax
sete dh
or dh, dl
jne 0x41b705
mov dh, byte [ecx]
test dh, dh
je 0x41b710
inc ecx
nop
movzx esi, byte [eax]
test esi, esi
setne dl
je 0x41b712
movzx edi, dh
mov dh, byte [edi + 0x951ac8]
cmp dh, byte [esi + 0x951ac8]
jne 0x41b720
inc eax
mov dh, byte [ecx]
inc ecx
test dh, dh
jne 0x41b6e0
jmp 0x41b712
or ecx, eax
sete al
movzx eax, al
pop esi
pop edi
ret
mov dl, 1
cmp byte [eax], 0
setne al
xor al, dl
movzx eax, al
pop esi
pop edi
ret
xor eax, eax
movzx eax, al
pop esi
pop edi
ret

Function at 0x41bfd0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
test byte [esp + 0x194], 2
jne 0x41c042
push str.iphlpapi.dll
call fcn.0041c080
add esp, 4
mov dword [0xa96064], eax
test eax, eax
je 0x41c00b
push str.if_nametoindex
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41c00b
mov dword [0xa96060], eax
sub esp, 0x14
movaps xmm0, xmmword [0x9535f0]
movups xmmword [esp], xmm0
mov dword [esp + 0x10], 3
call fcn.00426010
add esp, 0x14
mov byte [0xa96068], al
push 0xa96070
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
add esp, 0x190
ret
mov eax, esp
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x41c060
mov eax, 2
add esp, 0x190
ret
cmp word [esp], 0x202
je 0x41bfe0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
add esp, 0x190
ret
Function at 0x41c080
Capabilities:
Get common file path

Disassembly:
push ebp
push ebx
push edi
push esi
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edi, edi
test eax, eax
je 0x41c192
mov ebx, eax
mov ebp, dword [esp + 0x14]
push str.LoadLibraryExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x953634
push ebp
call sub.api_ms_win_crt_string_l1_1_0.dll_strpbrk
add esp, 8
test eax, eax
je 0x41c0c7
test esi, esi
je 0x41c0ea
push 8
jmp 0x41c0e0
test esi, esi
je 0x41c0f6
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41c0f6
push 0x800
push 0
push ebp
call esi
jmp 0x41c194
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x41c194
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x41c192
mov ebp, eax
push dword [esp + 0x14]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, ebp
inc eax
push str.system_win32.c
push 0xd9
push eax
call fcn.00405bd0
add esp, 0xc
mov ebx, eax
xor edi, edi
test eax, eax
je 0x41c17f
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x41c17f
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov word [ebx + eax], 0x5c
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, ebx
add ecx, eax
push dword [esp + 0x14]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 8
test esi, esi
je 0x41c176
push 8
push 0
push ebx
call esi
jmp 0x41c17d
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.system_win32.c
push 0xe6
push ebx
call fcn.00405f90
add esp, 0xc
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x424740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x1c]
cmp byte [esp + 0x20], 0
mov ebx, edx
jne 0x4247a1
mov dword [esp], edi
push 0x9546fe
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_strstr
add esp, 8
lea edi, [eax + 2]
test eax, eax
cmove edi, esi
push 0x3f
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_strchr
add esp, 8
mov ebx, eax
push 0x2f
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_strchr
add esp, 8
test eax, eax
je 0x424869
test ebx, ebx
mov edi, dword [esp]
je 0x42487f
cmp eax, ebx
cmovb ebx, eax
xor eax, eax
test ebp, ebp
je 0x424861
movzx eax, byte [esp + 0x24]
xor al, 1
mov dword [esp], eax
nop word cs:[eax + eax]
cmp esi, ebx
jb 0x424800
movzx eax, byte [esi]
cmp eax, 0x3f
je 0x4247e0
cmp eax, 0x20
jne 0x4247e9
test byte [esp], 1
je 0x424816
push 3
push 0x9546fa
jmp 0x424803
mov dword [esp], 0
jmp 0x424800
cmp al, 0x20
jb 0x424800
cmp eax, 0x20
je 0x424800
cmp eax, 0x7f
je 0x424800
cmp al, 0x7f
jae 0x42481f
nop dword [eax + eax]
push 1
push esi
push edi
call fcn.00446cb0
add esp, 0xc
test eax, eax
jne 0x42484b
inc esi
dec ebp
jne 0x4247c0
jmp 0x42485f
push 1
push 0x9546bc
jmp 0x424803
mov byte [esp + 5], 0x25
mov ecx, eax
shr ecx, 4
movzx ecx, byte [ecx + 0x9546be]
mov byte [esp + 6], cl
and eax, 0xf
movzx eax, byte [eax + 0x9546be]
mov byte [esp + 7], al
push 3
lea eax, [esp + 9]
push eax
jmp 0x424803
cmp eax, 0x64
mov eax, 0x1f
mov ecx, 7
cmove ecx, eax
mov eax, ecx
jmp 0x424861
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, esi
test ebx, ebx
mov edi, dword [esp]
jne 0x42479c
push esi
mov edi, eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ebx, eax
mov eax, edi
mov edi, dword [esp]
add ebx, esi
jmp 0x42479c
Function at 0x4372b0
Capabilities:
Set socket configuration

Disassembly:
push esi
sub esp, 0xc
mov dword [esp + 8], 0x4020
mov dword [esp], 0
mov dword [esp + 4], 4
mov eax, dword [0xa96158]
cmp eax, 2
je 0x437305
test eax, eax
jne 0x437314
sub esp, 0x14
movaps xmm0, xmmword [0x957280]
movups xmmword [esp], xmm0
mov dword [esp + 0x10], 3
call fcn.00426010
add esp, 0x14
test al, al
je 0x43730a
mov dword [0xa96158], 2
add esp, 0xc
pop esi
ret
mov dword [0xa96158], 1
mov esi, dword [esp + 0x14]
lea eax, [esp + 4]
mov ecx, esp
push eax
push ecx
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x43733e
cmp dword [esp], 0x4020
jg 0x437305
lea eax, [esp + 8]
push 4
push eax
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
add esp, 0xc
pop esi
ret

Function at 0x438b40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, dword [ecx + 0x98]
cmp eax, 0xffffffff
je 0x438c40
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1a0
mov esi, dword [edx + 0x18]
mov esi, dword [esi + 0x2a8]
test byte [esi + 0x49], 8
jne 0x438c39
mov esi, ecx
mov edi, edx
mov dword [esp + 0xc], pe_nt_image_headers32
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x80], xmm0
lea ecx, [esp + 0xc]
lea ebx, [esp + 0x10]
push ecx
push ebx
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x438be7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x9c]
push 0x100
push eax
push esi
call fcn.0041ba80
add esp, 0xc
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
jmp 0x438c30
lea eax, [esi + 0xca]
add esi, 0xfc
push esi
push eax
push dword [esp + 0x14]
push ebx
call fcn.0043d920
add esp, 0x10
test al, al
jne 0x438c39
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call ebx
mov esi, dword [eax]
call ebx
lea ecx, [esp + 0x9c]
push 0x100
push ecx
push dword [eax]
call fcn.0041ba80
add esp, 0xc
push eax
push esi
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push edi
call fcn.00443930
add esp, 0x10
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x443890
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x14]
test byte [esi + 0x6eb], 0x20
je 0x443926
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
cmp dword [esi + 0x194], 0
je 0x4438f1
push esi
call fcn.00411e30
add esp, 4
mov ebx, eax
push 1
push esi
call fcn.00411e00
add esp, 8
push dword [esi + 0x144]
push ebp
push dword [esp + 0x24]
push edi
push esi
call dword [esi + 0x194]
add esp, 0x14
movzx eax, bl
push eax
push esi
call fcn.00411e00
add esp, 8
jmp 0x443926
cmp edi, 2
ja 0x443926
lea eax, [edi + edi*2]
add eax, 0x958464
push dword [esi + 0x140]
push 1
push 2
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
push dword [esi + 0x140]
push 1
push ebp
push dword [esp + 0x28]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44aed0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push esi
mov edx, dword [ecx + 0x18]
test byte [ecx + 0x6e9], 1
jne 0x44aee6
cmp byte [ecx + 0x3b0], 0
je 0x44af0e
mov eax, dword [edx + 0x374]
test eax, eax
je 0x44af0e
add edx, 0x308
push eax
push str.MDTM__s
push edx
mov esi, ecx
push ecx
call fcn.00465a50
add esp, 0x10
test eax, eax
je 0x44af44
pop esi
ret
test byte [ecx + 0x13e], 2
je 0x44af3e
cmp dword [edx + 0x374], 0
je 0x44af3e
xor eax, eax
test byte [ecx + 0xd61], 0x10
sete al
movsx esi, byte [edx + 0x384]
lea eax, [eax*8 + 0x41]
cmp eax, esi
jne 0x44af9f
pop esi
jmp fcn.0044cdd0
mov eax, esi
mov esi, dword [esi + 0x18]
movzx ecx, byte [esi + 0x3b6]
cmp ecx, 0x12
je 0x44af94
test byte [eax + 0x6eb], 0x20
je 0x44af94
mov edx, dword [eax + 0xd20]
test edx, edx
je 0x44af6e
cmp dword [edx + 4], 0
jle 0x44af94
mov edx, dword [0xa92314]
cmp dword [edx + 4], 0
jle 0x44af94
push str.MDTM
push dword [ecx*4 + 0x958ec8]
push str.__s_______s_
push eax
call fcn.00443d30
add esp, 0x10
mov byte [esi + 0x3b6], 0x12
xor eax, eax
pop esi
ret
mov eax, dword [ecx + 0x130]
mov dword [eax + 8], 1
mov eax, dword [ecx + 0xd60]
shr eax, 0xc
and eax, 1
push 0x13
push eax
call fcn.0044cc60
add esp, 8
pop esi
ret

Function at 0x44b3e0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebx
push edi
push esi
lea eax, [edx - 0xc8]
cmp eax, 0x64
jae 0x44b446
movzx ebx, byte [esp + 0x10]
mov esi, dword [ecx + 0x18]
cmp edx, 0xc8
je 0x44b42a
test byte [ecx + 0x6eb], 0x20
je 0x44b42a
mov eax, dword [ecx + 0xd20]
test eax, eax
je 0x44b417
cmp dword [eax + 4], 0
jle 0x44b42a
push edx
push str.Got_a__03d_response_code_instead_of_the_assumed_200
push ecx
mov edi, ecx
call fcn.004439c0
mov ecx, edi
add esp, 0xc
movzx eax, bl
add eax, 0xffffffed
cmp eax, 3
ja case.default.0x44b435
jmp dword [eax*4 + 0x958d30]
mov edx, esi
pop esi
pop edi
pop ebx
jmp fcn.0044cdd0
push str.Couldnt_set_desired_mode
push ecx
call fcn.00443930
add esp, 8
mov eax, 0x11
pop esi
pop edi
pop ebx
ret
mov edx, 1
push 0xd
call fcn.0044abc0
add esp, 4
pop esi
pop edi
pop ebx
ret
pop esi
pop edi
pop ebx
jmp 0x44db60
pop esi
pop edi
pop ebx
jmp 0x44d9d0
xor eax, eax
pop esi
pop edi
pop ebx
ret
Function at 0x44bef0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push edi
push esi
mov esi, dword [ecx + 0x18]
add edx, 0xffffff38
cmp edx, 0x64
jae 0x44bfa9
test byte [ecx + 0x6eb], 0x20
je 0x44bf32
mov eax, dword [ecx + 0xd20]
test eax, eax
je 0x44bf1d
cmp dword [eax + 4], 0
jle 0x44bf32
push str.Connect_data_stream_actively
push ecx
mov esi, ecx
call fcn.004439c0
mov ecx, esi
add esp, 8
mov esi, dword [esi + 0x18]
movzx eax, byte [esi + 0x3b6]
mov edi, esi
test eax, eax
je 0x44bf8b
test byte [ecx + 0x6eb], 0x20
mov edi, esi
je 0x44bf8b
mov edx, dword [ecx + 0xd20]
test edx, edx
je 0x44bf5c
cmp dword [edx + 4], 0
mov edi, esi
jle 0x44bf8b
mov edx, dword [0xa92314]
cmp dword [edx + 4], 0
mov edi, esi
jle 0x44bf8b
push 0x958f58
push dword [eax*4 + 0x958ec8]
push str.__s_______s_
push ecx
mov edi, ecx
call fcn.00443d30
mov ecx, edi
add esp, 0x10
mov edi, dword [edi + 0x18]
mov byte [esi + 0x3b6], 0
mov eax, dword [ecx + 0x130]
cmp dword [eax + 8], 0
je 0x44bfcf
push ecx
call fcn.0041d940
add esp, 4
jmp 0x44bfd6
mov edx, dword [esi + 0x3a8]
test edx, edx
je 0x44bfe2
inc edx
cmp edx, 2
jne 0x44c019
push str.Failed_to_do_PORT
push ecx
call fcn.00443930
add esp, 8
mov eax, 0x1e
pop esi
pop edi
ret
or byte [edi + 0x2a1], 0x10
or byte [edi + 0x3bc], 4
xor eax, eax
pop esi
pop edi
ret
test byte [ecx + 0x6eb], 0x20
je 0x44c00d
mov eax, dword [ecx + 0xd20]
test eax, eax
je 0x44bffb
cmp dword [eax + 4], 0
jle 0x44c00d
push str.disabling_EPRT_usage
push ecx
mov edi, ecx
call fcn.004439c0
mov ecx, edi
add esp, 8
and byte [esi + 0x2a2], 0xfe
mov edx, 1
pop esi
pop edi
jmp fcn.0044d070
Function at 0x44cdd0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, dword [ecx + 0x130]
cmp dword [eax + 8], 1
jne fcn.0044ce70
mov eax, dword [edx + 0x374]
test eax, eax
je fcn.0044ce70
push esi
add edx, 0x308
push eax
push str.SIZE__s
push edx
mov esi, ecx
push ecx
call fcn.00465a50
add esp, 0x10
test eax, eax
je 0x44ce0d
pop esi
ret
mov eax, esi
mov esi, dword [esi + 0x18]
movzx ecx, byte [esi + 0x3b6]
cmp ecx, 0x17
je 0x44ce5d
test byte [eax + 0x6eb], 0x20
je 0x44ce5d
mov edx, dword [eax + 0xd20]
test edx, edx
je 0x44ce37
cmp dword [edx + 4], 0
jle 0x44ce5d
mov edx, dword [0xa92314]
cmp dword [edx + 4], 0
jle 0x44ce5d
push 0x958ff4
push dword [ecx*4 + 0x958ec8]
push str.__s_______s_
push eax
call fcn.00443d30
add esp, 0x10
mov byte [esi + 0x3b6], 0x17
xor eax, eax
pop esi
ret

Function at 0x44ce70
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, dword [ecx + 0x130]
cmp dword [eax + 8], 0
je fcn.0044cf10
cmp dword [edx + 0x374], 0
je fcn.0044cf10
push esi
add edx, 0x308
push 0
push str.REST__d
push edx
mov esi, ecx
push ecx
call fcn.00465a50
add esp, 0x10
test eax, eax
je 0x44cead
pop esi
ret
mov eax, esi
mov esi, dword [esi + 0x18]
movzx ecx, byte [esi + 0x3b6]
cmp ecx, 0x1a
je 0x44cefd
test byte [eax + 0x6eb], 0x20
je 0x44cefd
mov edx, dword [eax + 0xd20]
test edx, edx
je 0x44ced7
cmp dword [edx + 4], 0
jle 0x44cefd
mov edx, dword [0xa92314]
cmp dword [edx + 4], 0
jle 0x44cefd
push str.REST
push dword [ecx*4 + 0x958ec8]
push str.__s_______s_
push eax
call fcn.00443d30
add esp, 0x10
mov byte [esi + 0x3b6], 0x1a
xor eax, eax
pop esi
ret
Function at 0x44cf10
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push edi
push esi
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x130]
cmp dword [eax + 8], 0
je 0x44cf89
movzx eax, byte [esi + 0x3b6]
cmp eax, 0xd
je 0x44cf70
test byte [ecx + 0x6eb], 0x20
je 0x44cf70
mov edx, dword [ecx + 0xd20]
test edx, edx
je 0x44cf46
cmp dword [edx + 4], 0
jle 0x44cf70
mov edx, dword [0xa92314]
cmp dword [edx + 4], 0
jle 0x44cf70
push str.RETR_PREQUOTE
push dword [eax*4 + 0x958ec8]
push str.__s_______s_
push ecx
mov edi, ecx
call fcn.00443d30
mov ecx, edi
add esp, 0x10
mov byte [esi + 0x3b6], 0xd
mov edx, 1
push 0xd
call fcn.0044abc0
add esp, 4
pop esi
pop edi
ret
mov eax, dword [ecx + 0x6e8]
test eax, 0x2000
jne 0x44cfa6
test eax, 0x10000
jne 0x44cfaf
mov edx, esi
pop esi
pop edi
jmp fcn.0044b790
xor edx, edx
pop esi
pop edi
jmp fcn.0044d070
mov eax, dword [esi + 0x374]
add esi, 0x308
test eax, eax
je 0x44cfd0
test byte [ecx + 0xd62], 2
jne 0x44cff6
push eax
push str.PRET_RETR__s
jmp 0x44cffc
mov eax, dword [ecx + 0x568]
test eax, eax
jne 0x44cfee
test byte [ecx + 0xd61], 0x20
mov edx, 0x95902b
mov eax, str.NLST
cmove eax, edx
push eax
push str.PRET__s
jmp 0x44cffc
push eax
push str.PRET_STOR__s
push esi
mov esi, ecx
push ecx
call fcn.00465a50
add esp, 0x10
test eax, eax
jne 0x44cf86
mov eax, esi
mov esi, dword [esi + 0x18]
movzx ecx, byte [esi + 0x3b6]
cmp ecx, 0x1d
je 0x44d060
test byte [eax + 0x6eb], 0x20
je 0x44d060
mov edx, dword [eax + 0xd20]
test edx, edx
je 0x44d03a
cmp dword [edx + 4], 0
jle 0x44d060
mov edx, dword [0xa92314]
cmp dword [edx + 4], 0
jle 0x44d060
push str.PRET
push dword [ecx*4 + 0x958ec8]
push str.__s_______s_
push eax
call fcn.00443d30
add esp, 0x10
mov byte [esi + 0x3b6], 0x1d
xor eax, eax
pop esi
pop edi
ret