joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c320
Capabilities:
Get common file path

Disassembly:
sub esp, 0x230
mov eax, dword [0x554efc]
xor eax, esp
mov dword [esp + 0x22c], eax
cmp dword [0x555e54], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x43bd30
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x43c0d0
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], fcn.0043bce0
jne 0x43c47b
push 0x104
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x43c471
push ebx
push ebp
push esi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea eax, [esp + 0x130]
push edi
push eax
lea eax, [esp + 0x2c]
push 0x10c
push eax
call esi
push str.ws2_32
lea eax, [esp + 0x38]
push 0x10c
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test edi, edi
je 0x43c3ed
push str.getaddrinfo
push edi
call ebx
test eax, eax
jne 0x43c436
push edi
call ebp
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x2c]
push 0x10c
push eax
call esi
push str.wship6
lea eax, [esp + 0x38]
push 0x10c
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43c46d
push str.getaddrinfo
push edi
call ebx
test eax, eax
je 0x43c46a
xor esi, esi
push dword [esp + esi*8 + 0x10]
push edi
call ebx
mov dword [esp + esi*8 + 0x14], eax
test eax, eax
je 0x43c46a
inc esi
cmp esi, 3
jl 0x43c438
mov eax, dword [esp + 0x14]
mov dword [0x554794], eax
mov eax, dword [esp + 0x1c]
mov dword [0x55479c], eax
mov eax, dword [esp + 0x24]
mov dword [fcn.0043bce0], eax
jmp 0x43c46d
push edi
call ebp
pop edi
pop esi
pop ebp
pop ebx
mov dword [0x555e54], 1
movzx eax, word [esp + 0x234]
mov ecx, dword [esp + 0x22c]
xor ecx, esp
mov eax, dword [eax*8 + 0x554794]
call fcn.00457db8
add esp, 0x230
ret 4
Function at 0x43c4b0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x820
mov eax, dword [0x554efc]
xor eax, esp
mov dword [esp + 0x81c], eax
push ebx
mov ebx, dword [esp + 0x83c]
lea eax, [esp + 0x18]
push ebp
push esi
mov esi, dword [esp + 0x830]
push edi
push 0x401
push 0
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], 0
call sub.VCRUNTIME140.dll_memset
push 0x401
lea eax, [esp + 0x438]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x400
push esi
lea eax, [esp + 0x44]
push 0x401
push eax
mov dword [esp + 0x3c], eax
lea ebp, [esp + 0x450]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
add esp, 0x28
nop
push esi
mov edi, ebx
mov dword [ebx], 0
mov byte [ebp], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x43c68a
cmp word [ebx + 8], 2
jne 0x43c5a2
cmp word [ebx + 0xa], 4
jne 0x43c5a2
mov esi, dword [ebx + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x43c5a2
nop dword [eax]
nop dword [eax + eax]
push dword [eax]
push dword [esp + 0x844]
push dword [esp + 0x844]
push dword [esp + 0x844]
call fcn.0043c6f0
mov dword [edi], eax
test eax, eax
je 0x43c630
add esi, 4
lea edi, [eax + 0x1c]
mov eax, dword [esi]
test eax, eax
jne 0x43c570
push 0x400
push dword [ebx]
push 0x401
push ebp
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov ebx, dword [esp + 0x28]
xor esi, esi
add esp, 0x10
cmp dword [ebx], esi
jne 0x43c63a
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c5c7
sub ecx, edx
je case.0x43c69a.11003
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov eax, edi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43c600
test dl, dl
je 0x43c5fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43c600
add eax, 2
add ecx, 2
test dl, dl
jne 0x43c5e0
xor eax, eax
jmp 0x43c605
sbb eax, eax
or eax, 1
test eax, eax
je case.0x43c69a.11003
mov esi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x10], esi
cmp esi, 0x10
je case.0x43c69a.11003
mov esi, dword [esp + 0x1c]
mov eax, edi
mov dword [esp + 0x14], ebp
mov ebp, eax
jmp 0x43c530
mov esi, 8
jmp 0x43c6b4
cmp dword [esp + 0x844], esi
je 0x43c6b4
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c648
sub ecx, edx
lea ebx, [ecx + 1]
push ebx
push 1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov edi, eax
add esp, 8
test edi, edi
je 0x43c672
push ebp
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov dword [eax + 0x14], edi
mov eax, dword [ecx]
mov ecx, 8
cmp dword [eax + 0x14], esi
cmove esi, ecx
jmp 0x43c6b4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x43c69a.11001
jmp dword [eax*4 + 0x43c6d4]
mov esi, 0x2afa
jmp 0x43c6b4
mov esi, 0x2afb
jmp 0x43c6b4
mov esi, 0x2af9
mov ecx, dword [esp + 0x82c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457db8
add esp, 0x820
ret 0x18
Function at 0x43c7e0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get socket status
Set socket configuration

Disassembly:
sub esp, 0x21c
mov eax, dword [0x554efc]
xor eax, esp
mov dword [esp + 0x218], eax
push esi
push edi
mov edi, dword [esp + 0x228]
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43c826
push str.socket_failed_n
push 0
push 0xa
call fcn.004224c0
add esp, 0xc
jmp 0x43c992
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
inc eax
neg eax
push 0x10
sbb eax, eax
neg eax
push edi
dec eax
push esi
mov dword [esp + 0x14], eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x43c876
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x70
je 0x43c876
cmp eax, 0x2733
je 0x43c876
push str.error_connecting_to_HTTP_server
jmp 0x43c97f
mov eax, dword [0x5547a8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x120]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x24], esi
push eax
push 0
lea eax, [esi + 1]
mov dword [esp + 0x28], 1
push eax
mov dword [esp + 0x134], esi
mov dword [esp + 0x130], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x43c97a
test eax, eax
je 0x43c973
lea eax, [esp + 0x18]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x43c8ff
lea eax, [esp + 0x11c]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x43c8ff
push str.select_failed_n
jmp 0x43c97f
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 4
push eax
lea eax, [esp + 0xc]
push eax
push 0x1007
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jns 0x43c92d
push str.getsockopt_failed_n
jmp 0x43c97f
cmp dword [esp + 8], 0
je 0x43c95a
push str.Error_connecting_to_remote_host
push 0
push 0xa
call fcn.004224c0
add esp, 0xc
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
jmp 0x43c992
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00457db8
add esp, 0x21c
ret
push str.Connect_attempt_timed_out
jmp 0x43c97f
push str.Connect_failed
push 0
push 0xa
call fcn.004224c0
add esp, 0xc
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x220]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.00457db8
add esp, 0x21c
ret
Function at 0x43d770
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x114
mov eax, dword [0x554efc]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x124]
push edi
test byte [esi + 0x18], 2
je 0x43d8f1
nop dword [eax]
mov ebx, dword [esi + 0x24]
test ebx, ebx
jne 0x43d7d2
push 0xfde8
call dword [0x55438c]
mov ebx, eax
add esp, 4
mov dword [esi + 0x24], ebx
test ebx, ebx
je 0x43d90c
mov dword [esi + 0x34], 0xfde8
mov dword [esi + 0x30], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov edi, dword [esi + 0x30]
lea eax, [ebx + 0x1000]
mov ebp, dword [esi + 0x2c]
mov dword [esp + 0x10], edi
cmp edi, eax
jbe 0x43d80d
mov eax, dword [esp + 0x10]
sub edi, ebx
sub ebp, eax
push ebp
push eax
push ebx
call sub.VCRUNTIME140.dll_memmove
sub dword [esi + 0x30], edi
add esp, 0xc
sub dword [esi + 0x28], edi
sub dword [esi + 0x2c], edi
mov eax, dword [esi + 0x30]
mov edi, eax
mov ebp, dword [esi + 0x2c]
mov ebx, dword [esi + 0x24]
mov edx, dword [esi + 0x34]
lea eax, [ebp + 0x1000]
lea ecx, [edx + ebx]
cmp ecx, eax
jae 0x43d859
mov eax, dword [esi + 0x28]
sub eax, ebx
mov dword [esp + 0x10], eax
lea eax, [edx + edx]
push eax
push ebx
mov dword [esi + 0x34], eax
call dword [0x554390]
add esp, 8
mov dword [esi + 0x24], eax
test eax, eax
je 0x43d92d
mov ecx, dword [esp + 0x10]
sub ebp, ebx
add ebp, eax
add ecx, eax
sub edi, ebx
mov dword [esi + 0x2c], ebp
add edi, eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x30], edi
push 0
push 0x1000
push ebp
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_recv]
mov dword [esi + 0x38], eax
test eax, eax
jg 0x43d970
je 0x43d8f1
cmp eax, 0xffffffff
jne 0x43d8a1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x70
jg 0x43d896
je 0x43d8a1
cmp eax, 0xb
je 0x43d8a1
cmp eax, 0x6c
jmp 0x43d958
sub eax, 0x2733
jne 0x43d955
mov eax, dword [0x5547a8]
lea ecx, [esp + 0x14]
push ecx
push 0
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x24]
mov eax, dword [esi + 0x14]
push 0
mov dword [esp + 0x2c], eax
inc eax
push ecx
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 1
jge 0x43d8e7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
jne 0x43d8f1
test byte [esi + 0x18], 2
jne 0x43d7a0
xor eax, eax
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457db8
add esp, 0x114
ret
push str.allocating_input
push 0
push 0
push 2
push 0xa
call fcn.00427d00
add esp, 0x14
mov dword [esi + 0x38], 0xffffffff
or eax, 0xffffffff
jmp 0x43d8f3
push str.allocating_input_buffer
push 0
push 0
push 2
push 0xa
call fcn.00427d00
push ebx
call dword [0x554394]
add esp, 0x18
mov dword [esi + 0x38], 0xffffffff
or eax, 0xffffffff
jmp 0x43d8f3
sub eax, 0x17
je 0x43d8f1
push str.recv_failed_n
push 0
push 0xa
call fcn.004224c0
add esp, 0xc
or eax, 0xffffffff
jmp 0x43d8f3
add dword [esi + 0x2c], eax
jmp 0x43d8f3
Function at 0x43df30
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
sub esp, 0x114
mov eax, dword [0x554efc]
xor eax, esp
mov dword [esp + 0x110], eax
mov ecx, dword [esp + 0x11c]
push ebp
mov ebp, dword [esp + 0x11c]
push esi
xor esi, esi
mov dword [esp + 8], ecx
push edi
test byte [ebp + 0x18], 1
mov edi, dword [esp + 0x12c]
je 0x43e028
test ecx, ecx
je 0x43e028
test edi, edi
jle 0x43e028
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0
mov eax, edi
sub eax, esi
push eax
lea eax, [ecx + esi]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x43df9f
add esi, eax
jmp 0x43dfea
cmp eax, 0xffffffff
jne 0x43dfb4
call ebx
cmp eax, 0xb
je 0x43dfb4
call ebx
cmp eax, 0x2733
jne 0x43dff4
mov eax, dword [0x5547a8]
lea ecx, [esp + 0x14]
push ecx
push 0
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x24]
mov eax, dword [ebp + 0x14]
push ecx
mov dword [esp + 0x2c], eax
inc eax
push 0
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 1
call dword [sym.imp.WS2_32.dll_select]
cmp esi, edi
jge 0x43e00d
mov ecx, dword [esp + 0x10]
jmp 0x43df83
push str.send_failed_n
push 0
push 0xa
call fcn.004224c0
or eax, 0xffffffff
add esp, 0xc
test esi, esi
cmove esi, eax
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00457db8
add esp, 0x114
ret
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00457db8
add esp, 0x114
ret

Function at 0x43e130
Capabilities:
Get socket status

Disassembly:
sub esp, 0x214
mov eax, dword [0x554efc]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, dword [esp + 0x21c]
test esi, esi
je 0x43e21d
cmp dword [esi + 0x2c], 0xffffffff
je 0x43e21d
push edi
push dword [esi + 0x30]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
call edi
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x11c], eax
push ecx
push 0
lea ecx, [esp + 0x120]
mov dword [esp + 0x20], eax
push ecx
inc eax
mov dword [esi + 0x30], 0xffffffff
push eax
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x20], 0
mov dword [esp + 0x128], 1
mov dword [esp + 0x24], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x43e1f7
jne 0x43e1e9
push dword [esi + 0x2c]
call edi
mov dword [esi + 0x2c], 0xffffffff
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00457db8
add esp, 0x214
ret
push esi
call fcn.0043ef30
add esp, 4
cmp eax, 2
je 0x43e1d0
push dword [esi + 0x2c]
call edi
pop edi
mov dword [esi + 0x2c], 0xffffffff
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00457db8
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
or eax, 0xffffffff
pop esi
xor ecx, esp
call fcn.00457db8
add esp, 0x214
ret
Function at 0x43eb80
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x130
mov eax, dword [0x554efc]
xor eax, esp
mov dword [esp + 0x12c], eax
push esi
mov esi, dword [esp + 0x138]
push edi
mov edi, dword [esp + 0x140]
test esi, esi
je 0x43ec1f
test edi, edi
jne 0x43ebb1
cmp dword [esi + 0xc], edi
je 0x43ec1f
push esi
call fcn.0043e880
add esp, 4
mov dword [esi + 0x30], eax
cmp eax, 0xffffffff
je 0x43ec1f
push str.TYPE_I_r_n
lea eax, [esp + 0xc]
push 0x12c
push eax
call fcn.0040a4c0
lea ecx, [esp + 0x14]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ebe0
push 0
sub ecx, edx
lea eax, [esp + 0xc]
push ecx
push eax
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x43ec39
push str.send_failed
push 0
push 9
call fcn.004224c0
add esp, 0xc
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x30], 0xffffffff
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.00457db8
add esp, 0x130
ret
push esi
call fcn.0043ef30
add esp, 4
cmp eax, 2
jne 0x43ec0f
test edi, edi
jne 0x43ec4e
mov edi, dword [esi + 0xc]
push edi
push str.RETR__s_r_n
lea eax, [esp + 0x10]
push 0x12c
push eax
call fcn.0040a4c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x143], 0
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ec75
push 0
sub ecx, edx
lea eax, [esp + 0xc]
push ecx
push eax
push dword [esi + 0x2c]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x43ebfe
push esi
call fcn.0043ef30
add esp, 4
cmp eax, 1
jne 0x43ec0f
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x134]
pop edi
pop esi
xor ecx, esp
call fcn.00457db8
add esp, 0x130
ret

Function at 0x43ecd0
Capabilities:
Initialize winsock library
Query environment variable

Disassembly:
sub esp, 0x194
mov eax, dword [0x554efc]
xor eax, esp
mov dword [esp + 0x190], eax
cmp dword [0x555e6c], 0
jne 0x43ed9c
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x43ed9c
push esi
mov esi, dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
push str.no_proxy
mov dword [0x555e74], 0x15
call esi
add esp, 4
test eax, eax
je 0x43ed32
cmp byte [eax], 0x2a
jne 0x43ed32
cmp byte [eax + 1], 0
je 0x43ed9b
push str.ftp_proxy
call esi
add esp, 4
test eax, eax
jne 0x43ed4e
push str.FTP_PROXY
call esi
add esp, 4
test eax, eax
je 0x43ed57
push eax
call fcn.0043f160
add esp, 4
push str.ftp_proxy_user
call esi
add esp, 4
test eax, eax
je 0x43ed74
push eax
call dword [0x554398]
add esp, 4
mov dword [0x555e78], eax
push str.ftp_proxy_password
call esi
add esp, 4
test eax, eax
je 0x43ed91
push eax
call dword [0x554398]
add esp, 4
mov dword [0x555e7c], eax
mov dword [0x555e6c], 1
pop esi
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00457db8
add esp, 0x194
ret
Function at 0x43ef30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 8], 0xffffffff
push esi
push edi
test ebp, ebp
je 0x43f153
cmp dword [ebp + 0x2c], 0xffffffff
je 0x43f153
cmp dword [ebp + 0x2c], 0xffffffff
je 0x43f153
mov ecx, dword [ebp + 0x440]
cmp ecx, 0x400
ja 0x43f153
mov eax, dword [ebp + 0x444]
cmp eax, 0x400
ja 0x43f153
cmp ecx, eax
jg 0x43f153
lea esi, [ebp + 0x3c]
test ecx, ecx
jle 0x43efc5
sub eax, ecx
push eax
lea eax, [esi + ecx]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp + 0x440]
add esp, 0xc
sub dword [ebp + 0x444], eax
xor ecx, ecx
mov eax, dword [ebp + 0x444]
mov ebx, eax
mov dword [ebp + 0x440], 0
mov dword [esp + 0x18], ebx
jmp 0x43efcb
mov ebx, eax
mov dword [esp + 0x18], eax
mov edx, 0x400
sub edx, eax
jne 0x43efd8
xor eax, eax
jmp 0x43f00a
push 0
push edx
lea eax, [esi + ecx]
push eax
push dword [ebp + 0x2c]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
js 0x43f132
add dword [ebp + 0x444], eax
mov ecx, dword [ebp + 0x444]
mov byte [ecx + esi], 0
mov ebx, dword [ebp + 0x444]
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x43f016
test eax, eax
je 0x43f153
mov eax, dword [ebp + 0x440]
add esi, ebx
add eax, 0x3c
add eax, ebp
cmp eax, esi
jae 0x43f0c2
nop dword [eax + eax]
mov ecx, esi
sub ecx, eax
cmp ecx, 3
jl 0x43f086
mov dl, byte [eax]
mov cl, dl
sub cl, 0x30
cmp cl, 9
ja 0x43f086
mov ch, byte [eax + 1]
mov cl, ch
movsx edx, dl
sub cl, 0x30
cmp cl, 9
ja 0x43f086
mov bl, byte [eax + 2]
mov cl, bl
sub cl, 0x30
cmp cl, 9
ja 0x43f086
movsx ecx, ch
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*2]
lea edx, [ecx + ecx*4]
movsx ecx, bl
lea ecx, [ecx + edx*2]
add ecx, 0xffffeb30
cmp byte [eax + 3], 0x2d
jne 0x43f082
neg ecx
test ecx, ecx
jg 0x43f0f0
cmp eax, esi
jae 0x43f09c
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, 0xa
je 0x43f0ab
inc eax
cmp eax, esi
jb 0x43f090
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x440], eax
jmp 0x43ef53
cmp eax, esi
jae 0x43f09c
cmp dl, 0xd
lea ecx, [eax + 1]
cmove ecx, eax
mov eax, ecx
cmp eax, esi
jb 0x43f030
mov ecx, dword [esp + 0x10]
test ecx, ecx
js 0x43ef53
sub eax, ebp
sub eax, 0x3c
mov dword [ebp + 0x440], eax
mov eax, 0x51eb851f
imul ecx
pop edi
sar edx, 5
pop esi
mov eax, edx
shr eax, 0x1f
pop ebp
add eax, edx
pop ebx
pop ecx
ret
mov dword [esp + 0x10], ecx
add eax, 3
mov ecx, eax
sub ecx, ebp
sub ecx, 0x3c
mov dword [ebp + 0x448], ecx
cmp eax, esi
jae 0x43f112
cmp byte [eax], 0xa
je 0x43f112
inc eax
cmp eax, esi
jb 0x43f108
mov dl, byte [eax]
mov bl, dl
cmp dl, 0xa
jne 0x43f11e
mov bl, byte [eax + 1]
lea ecx, [eax + 1]
cmp dl, 0xa
cmovne ecx, eax
cmp bl, 0xd
lea eax, [ecx + 1]
cmovne eax, ecx
jmp 0x43f0c2
push str.recv_failed
push 0
push 9
call fcn.004224c0
add esp, 0xc
push dword [ebp + 0x2c]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp + 0x2c], 0xffffffff
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
Function at 0x4402d0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
mov dword [esi], 0
nop dword [eax]
mov eax, edi
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push dword [ebx + 4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
add esp, 0xc
test eax, eax
jle 0x440315
mov ecx, dword [esi]
add ecx, eax
mov dword [esi], ecx
cmp ecx, edi
jb 0x4402f0
test eax, eax
jns 0x440339
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
push eax
push 0xffffffffffffffff
push ebx
call fcn.0043fb10
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
test eax, eax
jne 0x440344
mov dword [ebx + 0x30], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x44e690
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 8]
not eax
push esi
mov esi, dword [esp + 0x10]
push edi
cmp esi, 8
jbe 0x44e766
test bl, 7
je 0x44e6c9
nop
movzx ecx, byte [ebx]
dec esi
movzx edx, al
inc ebx
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x47d238]
test bl, 7
jne 0x44e6b0
mov edi, esi
and esi, 7
and edi, 0xfffffff8
add edi, ebx
cmp ebx, edi
jae 0x44e766
nop dword [eax + eax]
xor eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x18], ebx
add dword [esp + 0x18], 4
mov ebx, dword [ebx]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x47d638]
xor edx, dword [ecx*4 + 0x47da38]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x47e638]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x47ea38]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x47d238]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0x47e238]
movzx ecx, bl
mov ebx, dword [esp + 0x18]
xor edx, dword [ecx*4 + 0x47de38]
xor edx, dword [eax*4 + 0x47ee38]
mov eax, edx
cmp ebx, edi
jb 0x44e6e0
test esi, esi
je 0x44e78a
nop word [eax + eax]
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x47d238]
sub esi, 1
jne 0x44e770
pop edi
pop esi
not eax
pop ebx
ret
Function at 0x44e790
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 8]
not eax
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x18]
not esi
cmp edi, 4
jbe 0x44e876
mov dword [esp + 0x1c], ebx
test bl, 3
je 0x44e7e8
nop word [eax + eax]
movzx ecx, byte [ebx]
dec edi
movzx edx, al
inc ebx
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x47f238]
xor esi, dword [edx*8 + 0x47f23c]
test bl, 3
jne 0x44e7c0
mov dword [esp + 0x1c], ebx
mov ebp, edi
xor edx, edx
and ebp, 0xfffffffc
and edi, 3
mov dword [esp + 0x18], edi
lea ecx, [ebx + ebp]
shr ebp, 2
cmp ebx, ecx
cmova ebp, edx
test ebp, ebp
je 0x44e876
xor edi, edi
mov ebx, dword [ebx]
inc edi
xor ebx, eax
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [edx*8 + 0x47fa38]
mov edx, dword [edx*8 + 0x47fa3c]
xor eax, dword [ecx*8 + 0x480238]
xor edx, dword [ecx*8 + 0x48023c]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*8 + 0x47f238]
xor edx, dword [ecx*8 + 0x47f23c]
movzx ecx, bl
mov ebx, dword [esp + 0x1c]
add ebx, 4
mov dword [esp + 0x1c], ebx
xor eax, dword [ecx*8 + 0x480a38]
xor edx, dword [ecx*8 + 0x480a3c]
xor eax, esi
xor edx, 0
mov esi, edx
cmp edi, ebp
jb 0x44e807
mov edi, dword [esp + 0x18]
test edi, edi
je 0x44e8a5
nop word [eax + eax]
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x47f238]
xor esi, dword [edx*8 + 0x47f23c]
sub edi, 1
jne 0x44e880
not esi
not eax
pop edi
mov edx, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x4529d0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
xor eax, eax
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
mov dword [esi], 0
nop dword [eax]
mov ecx, edi
mov edx, 0x40000000
sub ecx, eax
cmp ecx, 0x40000000
cmova ecx, edx
add eax, ebp
push ecx
push eax
push dword [ebx + 0x14]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov edx, eax
add esp, 0xc
test edx, edx
jle 0x452a24
mov eax, dword [esi]
add eax, edx
mov dword [esi], eax
cmp eax, edi
jb 0x4529f0
test edx, edx
jns 0x452a48
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
push eax
push 0xffffffffffffffff
push ebx
call fcn.0044fde0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
test edx, edx
jne 0x452a53
mov dword [ebx + 0x40], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret