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

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
movsx eax, byte [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
ret

Function at 0x140050428
Capabilities:
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xe0
lea rdx, [0x140047a40]
lea rcx, [rsp + 0x78]
call fcn.14003101c
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.14004a3c4
nop
lea rcx, [rsp + 0x78]
call fcn.140039dc0
nop
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xc0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xa8], 0
lea rax, [0x140047efc]
mov qword [rsp + 0x98], rax
lea rax, [0x14005b618]
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x90], 3
lea rcx, [rsp + 0x90]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x1400504fe
lea rdx, str._n_n_Bluestacks
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140031bdc
nop
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, str.Bluestacks_5
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1400a87e8], rax
mov edx, 5
mov rcx, qword [0x1400a87e8]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x14005b608]
mov rcx, qword [0x1400a87e8]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x1400a87e8]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400a87e8]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
add rsp, 0xe0
pop rdi
ret
Function at 0x140052908
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140052952
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140052952
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140052952
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140052952
cmp dword [rcx + 0x84], 0xe
jbe 0x140052952
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140052954
xor al, al
add rsp, 0x28
ret
Function at 0x14000b720
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14000b748
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000b76e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000b770
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000b7c9
test ecx, ecx
jle 0x14000b7a9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000b7c9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000b7c9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x14000b7f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000b812
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14000b828
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000b844
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000b846
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000b882
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000b91e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000b8bd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000b8fe
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000b91e
cmp rbx, rax
ja 0x14000b8d0
test rbx, rbx
je 0x14000b91e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x14000bd90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400fff00]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000bdbd
xor eax, eax
jmp 0x14000bf29
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000bdf7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000bdf7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14000bf29
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000bf1c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000be3a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000be65
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000bf21
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000bed4
sub eax, 1
je 0x14000bed4
cmp eax, 2
jne 0x14000bf1c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000bf21
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000bf02
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000bf1c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000bf21
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c6900
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000d7d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400fff00]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000d8a3
cmp byte [rcx + 0x71], 0
je 0x14000d8a3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000d89f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000d864
sub eax, 1
je 0x14000d868
cmp eax, 2
jne 0x14000d89f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c6900
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000d896
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000d89f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000d84c
xor al, al
jmp 0x14000d84c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c6900
add rsp, 0x60
pop rbx
ret

Function at 0x14001d5a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rbp, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor eax, eax
mov qword [rsp + 0x28], rax
movzx edx, byte [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14002e0d0
mov sil, 3
mov byte [rsp + 0x20], sil
mov ecx, 0x20
call fcn.1400c6920
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
xor eax, eax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], al
jne 0x14001d600
mov rdx, rbx
mov rcx, rdi
call fcn.14000fed0
mov qword [rsp + 0x28], rdi
cmp byte [rbp], 9
jne 0x14001d623
xor bl, bl
jmp 0x14001d63b
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140027890
movzx ebx, al
xor bl, 1
movzx esi, byte [rsp + 0x20]
movzx edx, sil
lea rcx, [rsp + 0x28]
call fcn.14002e0d0
nop
movzx eax, bl
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140028350
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1400283b1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140028370
mov ecx, dword [r9]
jmp 0x14002849b
cmp ecx, 0x4e0
jb 0x14002849b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400283d0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140028420
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 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
xor eax, edx
add rsp, 8
ret
Function at 0x14002ac40
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xa8
xor eax, eax
cmp byte [0x140100d10], al
jne 0x14002acf9
movdqa xmm0, xmmword [0x1400cd120]
movdqa xmm1, xmmword [0x1400ccef0]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [0x1400cd0a0]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x1400ccea0]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm1, xmmword [0x1400cceb0]
movdqa xmmword [rsp + 0x80], xmm0
movdqa xmmword [rsp + 0x70], xmm1
mov dword [rsp + 0x90], 0x1006f75
nop dword [rax]
lea ecx, [rax - 0x35]
xor byte [rsp + rax + 0x40], cl
lea ecx, [rax - 0x34]
xor byte [rsp + rax + 0x41], cl
add rax, 2
cmp rax, 0x52
jb 0x14002acb0
lea r9, [rsp + 0xb0]
mov byte [rsp + 0x93], 0
lea r8, [rsp + 0x92]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140014390
lea rcx, [rsp + 0x20]
call fcn.140030640
add rsp, 0xa8
ret
Function at 0x1400314a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, 0x1400
call fcn.1400c7040
sub rsp, rax
mov rax, qword [0x1400fff00]
xor rax, rsp
mov qword [rsp + 0x13f8], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor ebx, ebx
mov dword [rsp + 0x24], ebx
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov edx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov ebp, 1
mov ecx, ebp
nop dword [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x140031500
mov dword [rsp + 0x50], 0x270
lea rcx, [rsp + 0x50]
call fcn.140028350
mov ecx, eax
lea rax, [rcx + rcx*2]
add rax, rax
cmp eax, 3
ja 0x140031558
nop
lea rcx, [rsp + 0x50]
call fcn.140028350
mov ecx, eax
lea rax, [rcx + rcx*2]
add rax, rax
cmp eax, 4
jb 0x140031540
shr rax, 0x20
lea esi, [rax - 0x7ffffffb]
mov r14d, 0x80000000
xor esi, r14d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], bl
mov dword [rsp + 0x24], ebp
jbe 0x14003168d
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.140028350
mov ecx, eax
lea rax, [rcx + rcx*4]
add rax, rax
cmp eax, 5
ja 0x1400315c8
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.140028350
mov ecx, eax
lea rax, [rcx + rcx*4]
add rax, rax
cmp eax, 6
jb 0x1400315b0
shr rax, 0x20
lea r8d, [rax + r14]
xor r8d, r14d
lea r10, [rsp + 0x13f5]
nop dword [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x1400315e0
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x13f5]
mov rdx, r10
lea rcx, [rsp + 0x28]
call fcn.140014390
or ebp, 6
mov dword [rsp + 0x24], ebp
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, rdi
call fcn.14000e300
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140031683
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003167e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400316b8
call fcn.1400c6ba4
inc ebx
cmp ebx, esi
jl 0x140031590
mov rax, rdi
mov rcx, qword [rsp + 0x13f8]
xor rcx, rsp
call fcn.1400c6900
lea r11, [rsp + 0x1400]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140031740
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rcx, str.ALLUSERSPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400317a0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x140031787
mov rdx, rax
mov rcx, rbx
call fcn.14000fed0
jmp 0x140031854
lea rcx, [rsp + 0x40]
call fcn.14002b730
nop
mov rsi, rax
cmp qword [rax + 0x18], 7
jbe 0x1400317b8
mov rsi, qword [rax]
mov rbp, qword [rax + 0x10]
call fcn.1400c61b8
mov r14d, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
test rbp, rbp
je 0x14003184a
cmp rbp, 0x7fffffff
ja 0x140031876
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
mov ecx, eax
call fcn.1400c6228
mov rdi, rax
shr rax, 0x20
test eax, eax
jne 0x140031881
movsxd rdx, edi
xor r8d, r8d
mov rcx, rbx
call fcn.14000e260
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14003182d
mov r9, qword [rbx]
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov rdx, rsi
mov ecx, r14d
call fcn.1400c6228
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x14003186c
lea rcx, [rsp + 0x40]
call fcn.140002f70
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
shr rcx, 0x20
call fcn.1400023e0
int3
mov ecx, socket
call fcn.140002100
int3
shr rdi, 0x20
mov ecx, edi
call fcn.1400023e0
int3
Function at 0x140035d40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400fff00]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x10], rdx
mov word [rbp - 0x41], reloc.WS2_32.dll_WSAStartup
mov dword [rbp - 0x48], 0x556d756e
mov word [rbp - 0x44], 0x6573
mov byte [rbp - 0x42], WSACleanup
mov byte [rbp - 0x3f], 0
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x30]
call fcn.140014390
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.140027ce0
mov rdx, rax
lea rcx, [rbx + 0x158]
call fcn.14001d4c0
mov word [rbp - 0x3b], reloc.WS2_32.dll_WSAStartup
mov dword [rbp - 0x48], 0x4f6d756e
mov dword [rbp - 0x44], 0x6e696c6e
mov dword [rbp - 0x40], 0x65735565
mov byte [rbp - 0x3c], WSACleanup
mov byte [rbp - 0x39], 0
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x3a]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x30]
call fcn.140014390
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.140027ce0
mov rdx, rax
lea rcx, [rbx + 0x178]
call fcn.14001d4c0
mov dword [rbp - 0x44], 0x737965
mov dword [rbp - 0x48], 0x4b6d756e
mov byte [rbp - 0x40], 0
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x30]
call fcn.140014390
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.140027ce0
mov rdx, rax
lea rcx, [rbx + 0x198]
call fcn.14001d4c0
mov dword [rbp - 0x44], 0x6e6f69
mov dword [rbp - 0x48], 0x73726576
mov byte [rbp - 0x40], 0
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x30]
call fcn.140014390
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.140027ce0
mov rdx, rax
lea rcx, [rbx + 0x1b8]
call fcn.14001d4c0
mov word [rbp - 0x38], WSASetLastError
movdqa xmm0, xmmword [0x1400cce70]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x36], 0
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x37]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x30]
call fcn.140014390
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.140027ce0
mov rdx, rax
lea rcx, [rbx + 0x1d8]
call fcn.14001d4c0
nop
lea rcx, [rdi + 8]
movzx edx, byte [rdi]
call fcn.14002e0d0
nop
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400c6900
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140044560
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cdqe
add rsp, 0x28
ret
Function at 0x14004be90
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14004bf72
call fcn.14006e290
test al, al
jne 0x14004bf72
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x14004bec2
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.1400781a0
test rax, rax
je 0x14004bf07
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.1400781a0
mov rsi, rax
test rax, rax
je 0x14004bf07
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x14004bf3b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.1400615e0
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x14004bf20
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400544a0
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1400fff00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov dword [rcx + 0x20], r8d
mov rdi, rcx
mov rax, qword [rdx]
mov ebp, 0x1b
mov r8, qword [rdx + 0x18]
mov ecx, dword [rax + 8]
and ecx, 0xa
cmp cl, 0xa
jne 0x1400544f6
mov rbx, qword [r8 + 0xf0]
mov rsi, qword [r8 + 0xf8]
mov eax, dword [r8 + 0x100]
jmp 0x140054505
mov rbx, qword [r8 + 0x68]
mov rsi, qword [r8 + 0x70]
mov eax, dword [r8 + 0x7cc]
xor r14d, r14d
mov dword [rdi + 0x1c], eax
test rbx, rbx
je 0x140054634
cmp byte [rbx], r14b
je 0x140054634
mov rcx, rbx
call qword [str.h_f_]
mov qword [rdi], rax
mov rcx, rax
test rax, rax
je 0x140054639
test rsi, rsi
je 0x14005456e
mov r8, rsi
sub r8, rbx
movzx edx, byte [rbx]
movzx eax, byte [rbx + r8]
sub edx, eax
jne 0x140054553
inc rbx
test eax, eax
jne 0x140054540
test edx, edx
je 0x14005456e
mov rcx, rsi
call qword [str.h_f_]
mov qword [rdi + 8], rax
test rax, rax
jne 0x140054572
jmp 0x140054639
mov qword [rdi + 8], rcx
mov rbx, qword [rdi]
test rbx, rbx
je 0x1400545cb
cmp byte [rbx], r14b
je 0x1400545cb
lea r8, [rsp + 0x20]
mov rdx, rbx
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1400545a5
mov dword [rdi + 0x18], 1
mov eax, r14d
jmp 0x14005466c
lea r8, [rsp + 0x20]
mov rdx, rbx
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1400545cb
mov dword [rdi + 0x18], 2
mov eax, r14d
jmp 0x14005466c
mov rax, qword [rdi]
mov rbx, 0xffffffffffffffff
mov dword [rdi + 0x18], r14d
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x1400545e0
test rbx, rbx
je 0x1400545f8
cmp byte [rax + rbx - 1], 0x2e
jne 0x1400545f8
dec rbx
cmp rbx, 0xffff
jae 0x14005462f
lea rdx, [rbx + 1]
mov ecx, 1
call qword [0x1400ff090]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140054639
mov rdx, qword [rdi]
mov r8, rbx
mov rcx, rax
call fcn.140061630
mov rax, qword [rdi + 0x10]
mov byte [rbx + rax], r14b
mov eax, r14d
jmp 0x14005466c
mov ebp, 2
mov rcx, qword [rdi + 8]
cmp rcx, qword [rdi]
je 0x140054648
call qword [fcn.1400c7c1e]
mov rcx, qword [rdi + 0x10]
call qword [fcn.1400c7c1e]
mov rcx, qword [rdi]
call qword [fcn.1400c7c1e]
mov eax, ebp
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi], r14
mov dword [rdi + 0x18], r14d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400c6900
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret