joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4048f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x40491c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x404944
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x40494a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x4049b2
jg 0x404961
test esi, esi
je 0x4049b2
test ecx, ecx
jl 0x4049ad
jg 0x40496b
test eax, eax
je 0x4049ad
cmp edi, ecx
jg 0x40497f
jl 0x404975
cmp esi, eax
jae 0x40497f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x4049b5
mov ecx, dword [ebp + 8]
jmp 0x4049bf
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x4049d9
jg 0x4049bf
test esi, esi
je 0x4049d9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x4049d9
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4049f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x404a1c
jl 0x404a10
test ecx, ecx
jne 0x404a1c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x404a35
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x404a83
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x404a89
mov edi, dword [ebp - 4]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [ebp - 4], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x404a89
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x404af6
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x404ab2
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x404ae4
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x404af6
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x404ac0
test edi, edi
je 0x404af6
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404e70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x462074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x404ea0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fcc3
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x404edc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x404edc
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fcc3
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x404fb3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x404f04
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x404f10
movsx eax, bl
jmp 0x404f48
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x404f72
sub eax, 1
je 0x404f72
sub eax, 2
jne 0x404fb3
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fcc3
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x404f90
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x404fb3
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fcc3
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043fcc3
mov esp, ebp
pop ebp
ret 4
Function at 0x4055c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x462074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40567c
cmp byte [esi + 0x3d], 0
je 0x40567c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40566a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x405631
sub eax, 1
je 0x405635
sub eax, 2
jne 0x40566a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fcc3
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x405653
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40566a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fcc3
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fcc3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0043fcc3
mov esp, ebp
pop ebp
ret
Function at 0x407e00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x407e5d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x407e20
mov eax, dword [esi]
jmp 0x407f37
cmp eax, 0x4e0
jb 0x407f37
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x407e76
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
nop
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x407ec0
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40d0cc
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push 0x44
mov eax, 0x441efb
call fcn.0044041f
mov edi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
push 0x20
push eax
mov dword [ebp - 4], eax
mov esi, eax
lea eax, [ebp - 0x50]
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x48], 1
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebx + 0x10], eax
je 0x40d11b
cmp dword [ebx + 0x14], 0x10
mov esi, ebx
jb 0x40d10f
mov esi, dword [ebx]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 4
jmp 0x40d136
cmp dword [edi + 0x10], eax
je 0x40d12a
cmp dword [edi + 0x14], 0x10
mov esi, edi
jb 0x40d12a
mov esi, dword [edi]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push eax
call fcn.0040ae37
pop ecx
pop ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x40d219
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x40d212
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push 0x81
push 0
push 0
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40d1b1
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x40d204
cmp byte [ebp + 0x1c], 0
je 0x40d1c9
push 4
xor ecx, ecx
lea eax, [ebp - 0x2c]
push eax
inc ecx
push ecx
push 6
push edi
mov dword [ebp - 0x2c], ecx
call ebx
cmp dword [ebp + 0x44], 0
je 0x40d1d8
push edi
lea ecx, [ebp + 0x20]
call fcn.00415882
cmp dword [esi + 4], 0x17
jne 0x40d1ef
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push 4
push eax
push 0x1b
push 0x29
push edi
call ebx
push esi
push edi
lea ecx, [ebp + 0x48]
call fcn.004151c2
test al, al
jne 0x40d234
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x40d17c
mov esi, dword [ebp - 0x30]
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
or edi, 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004052f0
lea ecx, [ebp + 0x20]
call fcn.0041aa75
mov eax, edi
call fcn.004403dd
ret
push dword [ebp - 0x30]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x40d21c
Function at 0x4137c7
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x462074]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
mov esi, ecx
lea eax, [esp + 4]
push eax
push 2
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4137f5
mov byte [esi], 1
mov ecx, dword [esp + 0x194]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0043fcc3
add esp, 0x194
ret

Function at 0x4151c2
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push edi
push 1
push ebx
mov edi, ecx
call fcn.00421f50
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
push dword [eax + 0x10]
push dword [eax + 0x18]
push ebx
call dword [sym.imp.WS2_32.dll_connect]
xor ebp, ebp
test eax, eax
jns 0x41522e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x415209
mov eax, dword [edi + 4]
mov dword [eax], 2
xor al, al
jmp 0x4152b5
mov eax, dword [edi + 0xc]
push dword [eax + 4]
push dword [eax]
mov eax, dword [edi + 8]
push dword [eax + 4]
push dword [eax]
push ebx
call fcn.004226c0
mov ecx, dword [edi + 4]
add esp, 0x14
mov dword [ecx], eax
mov eax, dword [edi + 4]
cmp dword [eax], ebp
jne 0x415202
push ebp
push ebx
call fcn.00421f50
mov eax, dword [edi + 0x14]
pop ecx
pop ecx
push ebp
push 0x3e8
push dword [eax + 4]
push dword [eax]
call fcn.004405f0
mov ecx, eax
mov ebp, 0xffff
mov eax, dword [edi + 0x10]
push 4
imul eax, dword [eax], 0x3e8
add ecx, eax
lea eax, [esp + 0x14]
push eax
push 0x1006
push ebp
push ebx
mov dword [esp + 0x24], ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [edi + 0x1c]
push 0
push 0x3e8
push dword [eax + 4]
push dword [eax]
call fcn.004405f0
mov ecx, eax
mov eax, dword [edi + 0x18]
push 4
imul eax, dword [eax], 0x3e8
add ecx, eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
push 0x1005
push ebp
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [edi + 4]
mov al, 1
and dword [ecx], 0
pop edi
pop ebp
pop ebx
ret 8

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

Disassembly:
mov eax, dword [ecx + 0xc]
push dword [eax]
mov eax, dword [ecx + 8]
push dword [eax]
mov eax, dword [ecx + 4]
push dword [eax]
mov eax, dword [ecx]
push dword [eax]
call dword [sym.imp.WS2_32.dll_recv]
ret

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

Disassembly:
mov eax, dword [ecx + 0xc]
push dword [eax]
mov eax, dword [ecx + 8]
push dword [eax]
mov eax, dword [ecx + 4]
push dword [eax]
mov eax, dword [ecx]
push dword [eax]
call dword [sym.imp.WS2_32.dll_send]
ret

Function at 0x4153f8
Capabilities:
Get socket status

Disassembly:
push dword [ecx + 0x10]
mov eax, dword [ecx]
push dword [ecx + 0xc]
push dword [ecx + 8]
mov eax, dword [eax]
push dword [ecx + 4]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
ret
Function at 0x41df9f
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x408
mov eax, dword [0x462074]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
mov ebx, dword [esp + 0x418]
push esi
mov esi, dword [esp + 0x414]
push edi
mov edi, dword [esp + 0x424]
push 2
movzx eax, word [esi]
pop ecx
cmp ax, cx
je 0x41dfdb
cmp eax, 0x17
jne 0x41e040
movzx eax, word [esi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
push ebp
movzx eax, ax
mov ebp, 0x401
mov dword [edi], eax
xor edi, edi
push ebp
lea eax, [esp + 0x14]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push 2
push edi
push edi
push ebp
push eax
push dword [esp + 0x434]
push esi
call dword [sym.imp.WS2_32.dll_getnameinfo]
pop ebp
test eax, eax
jne 0x41e040
lea edx, [esp + 0xc]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41e026
sub edx, esi
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, ebx
call fcn.0041b018
mov al, 1
jmp 0x41e042
xor al, al
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043fcc3
add esp, 0x408
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x88
mov eax, dword [0x462074]
xor eax, ebp
mov dword [ebp + 0x68], eax
push esi
mov esi, dword [ebp + 0x78]
lea eax, [ebp - 0x1c]
push edi
mov edi, dword [ebp + 0x7c]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0x80
push eax
push dword [ebp + 0x74]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x41e0bd
push edi
push esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call fcn.0041df9f
add esp, 0x10
mov ecx, dword [ebp + 0x68]
pop edi
xor ecx, ebp
pop esi
call fcn.0043fcc3
add ebp, 0x6c
leave
ret
Function at 0x434901
Capabilities:
Hash data using sha256

Disassembly:
push 0x20
push 0x44afc0
push dword [esp + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
ret
Function at 0x43766e
Capabilities:
Hash data using sha1

Disassembly:
call fcn.00434788
test al, al
je 0x43768c
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.0043e788
add esp, 0x10
ret
jmp fcn.00434915

Function at 0x437691
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
call fcn.00434788
test al, al
je 0x4376af
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.0043ea1f
add esp, 0x10
ret
jmp fcn.004359b6

Function at 0x4391e1
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor edx, edx
push esi
mov dword [esp + 0x18], edx
push edi
movzx edi, byte [edx + 0x44c818]
mov dword [esp + 0x10], edi
mov eax, edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [esp + 0x14], eax
and ebx, 2
shr edi, 7
and edx, 4
imul eax, edi, 0x1b000000
lea ebp, [ecx + ecx]
mov dword [esp + 0x18], edx
xor ebp, dword [esp + 0x10]
mov edx, esi
shl ebp, 0x19
and esi, 1
shl ecx, 2
and edx, 2
xor ebp, eax
xor ecx, dword [esp + 0x10]
imul eax, dword [esp + 0x14], 0x1b000000
shl ecx, 8
xor ebp, eax
imul eax, ebx, 0x1b000000
xor ebp, eax
imul eax, esi, 0x1b000000
xor ebp, eax
imul eax, edx, 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x18], 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x14], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
mov esi, dword [esp + 0x18]
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [esp + 0x10]
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b0000
or ebp, ecx
mov ecx, dword [esp + 0x10]
shl ecx, 3
xor ecx, dword [esp + 0x10]
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, esi, 0x11b0000
xor ecx, eax
imul eax, edi, 0x11b
or ebp, ecx
mov ecx, dword [esp + 0x10]
shl ecx, 2
xor ecx, dword [esp + 0x10]
add ecx, ecx
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
xor ecx, eax
imul eax, esi, 0x11b
xor ecx, eax
xor eax, eax
xor ecx, edx
or edx, ebp
or ecx, ebp
or eax, edx
mov edx, dword [esp + 0x1c]
mov dword [edx*8 + 0x467a30], eax
mov dword [edx*8 + 0x467a34], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x4391ee
pop edi
pop esi
pop ebp
pop ebx
mov byte [0x468231], 1
add esp, 0x10
ret

Function at 0x439339
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
push edi
xor edi, edi
movzx edx, byte [edi + str.cw]
mov ecx, edx
mov eax, edx
shr ecx, 7
imul esi, ecx, 0x1b000000
shl eax, 0x19
imul ecx, ecx, 0x11b
xor esi, eax
mov eax, edx
shl eax, 8
or eax, edx
shl eax, 8
or esi, eax
lea eax, [edx + edx]
xor ecx, eax
xor eax, eax
xor ecx, edx
or eax, esi
or ecx, esi
mov dword [edi*8 + 0x467220], eax
mov dword [edi*8 + 0x467224], ecx
inc edi
cmp edi, 0x100
jl 0x43933d
xorps xmm0, xmm0
pop edi
movlpd qword [0x467a28], xmm0
movlpd qword [0x467a20], xmm0
pop esi
mov byte [0x468230], 1
ret
Function at 0x43ae8a
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x44
mov eax, 0x445783
call fcn.0044041f
mov eax, dword fs:[0x2c]
mov ecx, dword [0x468320]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x468238]
cmp eax, dword [ecx + 4]
jg 0x43aed2
push 0
push dword [ebp + 0xc]
push esi
push dword [0x468234]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x43af0d
call fcn.004403dd
ret 8
mov edi, 0x468238
push edi
call fcn.00440365
cmp dword [0x468238], 0xffffffff
pop ecx
jne 0x43aeb5
and dword [ebp - 4], 0
mov ecx, 0x468234
call fcn.0043acd1
push 0x445db8
call fcn.0043ff3d
or dword [ebp - 4], 0xffffffff
push edi
call fcn.00440314
pop ecx
pop ecx
jmp 0x43aeb5
push eax
call fcn.0043af4a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x44b4b8
lea ecx, [ebp - 0x28]
call fcn.00405390
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x50]
call fcn.0043ad7b
push 0x45e700
lea eax, [ebp - 0x50]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x43bce1
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
mov ebx, dword [esp + 0x10]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
cmp edi, 4
jb 0x43bd41
push ebp
mov ebp, edi
shr ebp, 2
push 4
lea eax, [esp + 0x18]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
push 4
lea eax, [esp + 0x34]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x3c]
add esp, 0x18
xor eax, dword [esp + 0x14]
add ebx, 4
mov ecx, dword [esp + 0x10]
add esi, 4
or ecx, eax
sub edi, 4
mov dword [esp + 0x10], ecx
sub ebp, 1
jne 0x43bd03
pop ebp
mov edx, ecx
mov eax, ecx
shr edx, 8
or edx, ecx
shr eax, 0x10
and edx, 0xff00
or edx, eax
movzx eax, cl
shr edx, 8
or edx, eax
test edi, edi
je 0x43bd74
sub ebx, esi
movzx ecx, byte [ebx + esi]
movzx eax, byte [esi]
xor ecx, eax
or edx, ecx
inc esi
sub edi, 1
jne 0x43bd63
pop edi
test edx, edx
pop esi
sete al
pop ebx
pop ecx
pop ecx
ret

Function at 0x43bd7f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x43be0a
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x28]
cmp edi, 4
jb 0x43bdf1
mov eax, edi
shr eax, 2
mov dword [esp + 0x2c], eax
push 4
lea eax, [esp + 0x18]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
push 4
lea eax, [esp + 0x20]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x28]
xor eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push 4
push eax
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
add ebp, 4
add ebx, 4
add esi, 4
sub edi, 4
sub dword [esp + 0x2c], 1
jne 0x43bda8
test edi, edi
je 0x43be07
sub ebx, esi
sub ebp, esi
mov al, byte [ebx + esi]
xor al, byte [esi]
mov byte [esi + ebp], al
inc esi
sub edi, 1
jne 0x43bdf9
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret