joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415980
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4353b5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4b3040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.00415ce0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x415a0a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x415b37
cmp dword [ebx + 8], 0xfffffff
jne 0x415a1e
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.00432cbf
mov edx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4ab590]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x4ab590]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x415aea
divss xmm0, xmm3
call fcn.004153c0
call fcn.00433b90
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x415acc
cmp eax, 0x200
jae 0x415aca
shl eax, 3
cmp eax, ecx
jae 0x415acc
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00415b70
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00415ce0
mov edx, dword [eax]
jmp 0x415aed
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x415b18
mov dword [ecx + eax*8], esi
jmp 0x415b2a
cmp ebx, edx
jne 0x415b21
mov dword [ecx + eax*8], esi
jmp 0x415b2e
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x415b2e
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x415b70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x415ba1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00405af0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x415cac
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x415c31
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x415ca2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x415c6b
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x415c63
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x415c9f
cmp edi, edx
je 0x415c7c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x415cb5
cmp edi, edx
jne 0x415c70
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x415be0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x415c9f
Function at 0x415ee0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435425
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4b3040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x415f96
imul eax, dword [ebp + 8], 0x3e8
push 4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x1006
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x415fb4
push 0x1006
lea eax, [ebp - 0x30]
push str.setsockopt_failed__option__d
push eax
call fcn.004176a0
add esp, 0xc
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00405f80
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x415f96
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415f8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x415f8c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00432cef
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret 4
push 4
lea eax, [ebp - 0x18]
push eax
push 0x1005
push 0xffff
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x416026
push 0x1005
lea eax, [ebp - 0x48]
push str.setsockopt_failed__option__d
push eax
call fcn.004176a0
add esp, 0xc
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00405f80
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x415f96
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415f8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x415f8c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov al, 1
jmp 0x415f98

Function at 0x416360
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x4b3040]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4163ae
push str.WSAStartup_failed
call fcn.00406040
add esp, 4
xor al, al
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x194]
mov al, 1
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret

Function at 0x4163d0
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x41640a
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
call fcn.004163d0
test al, al
je 0x41640a
push str.WSACleanup_failed
call fcn.00406040
add esp, 4
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x416410
Capabilities:
Convert ip address from string
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4b3040]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push 6
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x20], eax
cmp eax, 0xffffffff
jne 0x41645a
push str.socket_failed
call fcn.00406040
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret
mov eax, 2
mov word [esp + 0xc], ax
movzx eax, word [esi + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [esi + 0x18], 0xf
mov word [esp + 0xe], ax
lea eax, [esi + 4]
jbe 0x41647f
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x4164b0
push str.inet_pton_failed
call fcn.00406040
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret
push 4
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
push 4
push 0xffff
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x4164f3
push str.setsockopt_failed
call fcn.00406040
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret
push 0x10
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x416527
push str.bind_failed
call fcn.00406040
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret
push accept
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x416559
push str.listen_failed
call fcn.00406040
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
mov al, 1
mov byte [esi + 0x24], 1
pop esi
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret
Function at 0x416570
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Convert ip address from string
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x4b3040]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x41659c
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x20], 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x20], eax
cmp eax, 0xffffffff
jne 0x4165cf
push str.socket_failed
call fcn.00406040
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret
mov eax, 2
mov word [esp + 4], ax
movzx eax, word [esi + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [esi + 0x18], 0xf
mov word [esp + 6], ax
lea eax, [esi + 4]
jbe 0x4165f4
mov eax, dword [eax]
lea ecx, [esp + 8]
push ecx
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x416625
push str.inet_pton_failed
call fcn.00406040
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret
push 0x10
lea eax, [esp + 8]
push eax
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x416659
push str.connect_failed
call fcn.00406040
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov al, 1
mov byte [esi + 0x24], 1
pop esi
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x4166a0
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x4166a0
push dword [ebp + 0x10]
push eax
push edx
push dword [ecx + 0x20]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x4166a6
push str.send_failed
call fcn.00406040
add esp, 4
xor al, al
pop ebp
ret 0xc
mov al, 1
pop ebp
ret 0xc

Function at 0x4166b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
test edi, edi
je 0x4166f1
mov esi, dword [ebp + 0xc]
test esi, esi
jle 0x4166f1
push esi
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push dword [ebp + 0x10]
push esi
push edi
push dword [ebx + 0x20]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x4166fa
push str.recv_failed
call fcn.00406040
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
Function at 0x416710
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
test edi, edi
je 0x41675a
mov esi, dword [ebp + 0xc]
test esi, esi
jle 0x41675a
push esi
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push dword [ebp + 0x10]
push esi
push edi
push dword [ebx + 0x20]
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x416749
mov dword [ecx], eax
test eax, eax
jg 0x416763
push str.recv_failed
call fcn.00406040
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0x10
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0x10

Function at 0x416770
Capabilities:
Convert ip address from string
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4b3040]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x41679c
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x20], 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x20], eax
cmp eax, 0xffffffff
jne 0x4167cf
push str.socket_failed
call fcn.00406040
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret
mov eax, 2
mov word [esp + 0xc], ax
movzx eax, word [esi + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [esi + 0x18], 0xf
mov word [esp + 0xe], ax
lea eax, [esi + 4]
jbe 0x4167f4
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x416825
push str.inet_pton_failed
call fcn.00406040
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret
push 4
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
push 4
push 0xffff
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x416868
push str.setsockopt_failed
call fcn.00406040
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret
push 0x10
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x41689c
push str.bind_failed
call fcn.00406040
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
mov al, 1
mov byte [esi + 0x24], 1
pop esi
xor ecx, esp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret
Function at 0x4168c0
Capabilities:
Convert ip address from string
Create udp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4168df
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x20], 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x20], eax
cmp eax, 0xffffffff
jne 0x416907
push str.socket_failed
call fcn.00406040
add esp, 4
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 2
mov word [esi + 0x28], ax
movzx eax, word [esi + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
lea ecx, [esi + 4]
mov word [esi + 0x2a], ax
cmp dword [ecx + 0x14], 0xf
jbe 0x41692a
mov ecx, dword [ecx]
lea eax, [esi + 0x2c]
push eax
push ecx
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x41694f
push str.inet_pton_failed
call fcn.00406040
add esp, 4
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x24], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x416997
mov edx, dword [ebp + 0xc]
test edx, edx
jle 0x416997
push 0x10
lea eax, [ecx + 0x28]
push eax
push dword [ebp + 0x10]
push edx
push dword [ebp + 8]
push dword [ecx + 0x20]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jg 0x41699d
push str.sendto_failed
call fcn.00406040
add esp, 4
xor al, al
pop ebp
ret 0xc
mov al, 1
pop ebp
ret 0xc

Function at 0x4169b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4b3040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
test edi, edi
je 0x416a0d
mov esi, dword [ebp + 0xc]
test esi, esi
jle 0x416a0d
push esi
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebx + 0x28]
push eax
push dword [ebp + 0x10]
push esi
push edi
push dword [ebx + 0x20]
call dword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jg 0x416a22
push str.recvfrom_failed
call fcn.00406040
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00432cb1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x416a40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4b3040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
test edi, edi
je 0x416aaa
mov esi, dword [ebp + 0xc]
test esi, esi
jle 0x416aaa
push esi
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
add esp, 0xc
mov dword [ebp - 8], 0x10
push eax
lea eax, [ecx + 0x28]
push eax
push dword [ebp + 0x10]
push esi
push edi
push dword [ecx + 0x20]
call dword [sym.imp.WS2_32.dll_recvfrom]
test ebx, ebx
je 0x416a99
mov dword [ebx], eax
test eax, eax
jg 0x416abf
push str.recvfrom_failed
call fcn.00406040
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432cb1
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00432cb1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x416b60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43551d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4b3040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
cmp dword [eax + 0xc], 0
lea ebx, [eax + 4]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], edi
je 0x416c13
cmp dword [esi + 0x14], 0xf
mov edi, esi
mov ebx, dword [esi + 0x10]
jbe 0x416bac
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x416bcb
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x416bb7
mov eax, dword [ebp - 0x10]
push edx
push esi
lea ecx, [ebp - 0x1c]
lea ebx, [eax + 4]
push ecx
mov ecx, ebx
call fcn.004173a0
mov eax, dword [eax + 4]
test eax, eax
jne 0x416be5
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx + 8]
je 0x416c10
push str.Module_is_already_exist
call fcn.00406040
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp - 0x14]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x416bfa
push esi
lea ecx, [ebp - 0x38]
call fcn.00407a70
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.00416f40
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x416c78
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416c6e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x416c6e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00432cef
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x416c90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x14], ebx
cmp dword [ebx + 0xc], 0
jne 0x416cc0
push str.There_is_no_available_module
call fcn.00406040
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
lea eax, [ebx + 4]
mov edi, esi
cmp dword [esi + 0x14], 0xf
jbe 0x416cd0
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [esi + 0x10], ecx
jbe 0x416cf5
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [esi + 0x10]
jb 0x416ce0
lea eax, [ebx + 4]
push edx
push esi
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call fcn.004173a0
mov esi, dword [eax + 4]
test esi, esi
jne 0x416d0d
mov esi, dword [ebx + 8]
cmp esi, dword [ebx + 8]
jne 0x416d2a
push str.Module_is_not_exist
call fcn.00406040
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
je 0x416cb5
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x416d50
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x20], 0
cmp dword [esi + 0x1c], 0xf
lea edi, [esi + 8]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
jbe 0x416d6a
mov eax, dword [edi]
mov dword [esp + 0xc], eax
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x416d98
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x416d80
mov ebx, dword [esp + 0x14]
lea edi, [esi + 8]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x10]
and ecx, edx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x416dc0
cmp eax, esi
jne 0x416db8
mov eax, dword [ebx + 8]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x416dc8
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x416dc8
cmp eax, esi
jne 0x416dc8
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [ebx + 0xc]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [edi + 0x14]
cmp ecx, 0xf
jbe 0x416e07
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x416dfd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416e2e
mov eax, edx
push ecx
push eax
call fcn.00432cef
add esp, 8
push 0x24
push esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.00432cef
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3