joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ab360
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1404280e0]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp qword [rdx + 0x18], 0x10
mov rdi, rdx
mov rcx, rdx
jb 0x1400ab38f
mov rcx, qword [rdx]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ebx, eax
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rax, 0xd6bf94d5e57a42bd
imul rcx
add rdx, rcx
sar rdx, 0x17
mov r8, rdx
shr r8, 0x3f
add rdx, r8
sub ebx, edx
add ebx, 0xf
cmp ebx, 0x1e
ja 0x1400ab3f3
mov rcx, rdi
call fcn.1400a1430
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1402fecd0
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
movabs r8, 0xe6a6f249192436f4
movabs rdx, 0xf55a8d3caf3d3b2d
movabs rax, 0xe69ef27f195c36c4
movabs rcx, 0xdb7e31667aea1abf
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
movabs rax, 0xf5698d0baf0c3b1b
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x58], rax
movabs rax, 0xe85eb1f3283808d0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], r8
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x78], rax
movabs rax, 0xe85eb1f3280008e6
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x88], rax
movabs rax, 0xe6c9f23b195636b1
vmovdqu ymm0, ymmword [rsp + 0x70]
vpxor ymm1, ymm0, ymmword [rsp + 0x50]
vmovdqu ymmword [rsp + 0x50], ymm1
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
movabs rax, 0xf55a8d3caf3d3b5f
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x20]
vmovdqa xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x38], rax
vxorps xmm0, xmm0, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x40], xmm0
vzeroupper
call fcn.1400ab1c0
mov ecx, 0x68617368
mov byte [0x140428350], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1400b0be0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400b0c3d
lea rbx, [0x1403b9100]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400b0c24
cmp r10, 2
jb 0x1400b0c24
cmp byte [r9], r8b
jne 0x1400b0c24
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400b0c00
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400b0c7f
lea rbx, [0x1403b9100]
cmp r8b, 0x23
jne 0x1400b0c63
cmp byte [r9], r8b
jne 0x1400b0c63
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400b0c50
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400b3250
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1403b9100]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x14042bc58]
not ebx
cmp dword [rcx + 0x3ec4], ebx
jne 0x1400b32db
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1400c5030
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400bf490
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1404280e0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14042bc58]
mov edi, ecx
cmp byte [rbx + 0x423d], 0
jne 0x1400bf4f1
cmp byte [rbx + 0x423e], 0
jne 0x1400bf4f1
movsx r9d, word [rbx + 0x5332]
lea r8, [0x1403b6e38]
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400b0aa0
test dil, 1
je 0x1400bf618
jmp 0x1400bf57a
movss xmm1, dword [rbx + 0x3898]
lea r8, [0x1403b6e38]
movsx r9d, word [rbx + 0x5332]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1403fe4fc]
mulss xmm1, dword [0x1403fe4ec]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x3fa8], rax
mov dword [rbx + 0x3f94], 1
movss dword [rbx + 0x3fa0], xmm0
movss dword [rbx + 0x3fa4], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1403fe448]
or dword [rbx + 0x3f90], 0x41
movss dword [rbx + 0x3ff0], xmm0
call fcn.1400b0aa0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400bf5d0
lea r11, [0x1403b9100]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400bf5b3
cmp byte [r8], r9b
jne 0x1400bf5b3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400bf5a0
not ecx
call fcn.1400b85b0
test rax, rax
je 0x1400bf618
cmp byte [rax + 0x96], 0
je 0x1400bf618
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5332]
call fcn.1400b0aa0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400bac70
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1402fecd0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400c3a60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400c3b07
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400c3aba
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400c5b60
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400b1110
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14042bc43]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400c3b0f
mov rcx, rbx
call fcn.1400b1110
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c3e60
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, qword [0x14042bc58]
cmp byte [rbx + 0x5379], 0
jne 0x1400c3f91
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400c3f8a
lea rdx, [0x1403b728c]
call fcn.1400b0c90
mov rdi, rax
test rax, rax
je 0x1400c3f8a
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400c3f81
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400c3f81
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400c3f81
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400c3f81
cmp rsi, 0xffffffffffffffff
je 0x1400c3f81
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400c3f19
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x1400c3f81
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x1400c3f4e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400c3f64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400c3f64
mov rdx, rsi
mov rcx, rbp
call fcn.1400c4310
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400c3f76
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400c3f8a
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rbx + 0x5379], 1
movss xmm0, dword [rbx + 0x537c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1400c4020
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x537c], xmm0
jb 0x1400c4020
mov rdi, qword [rbx + 0x20]
xor ebp, ebp
test rdi, rdi
je 0x1400c4013
mov rax, qword [0x14042bc58]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rbp
mov dword [rax + 0x537c], ebp
call fcn.1400c45c0
lea rdx, [0x1403b7290]
mov rcx, rdi
mov rsi, rax
call fcn.1400b0c90
mov rdi, rax
test rax, rax
je 0x1400c401a
mov r8, qword [rsp + 0x40]
lea edx, [rbp + 1]
mov r9, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400c401a
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x537c], ebp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400c4260
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14042bc58]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400c42c3
mov qword [rsp], rbx
lea rbx, [0x1403b9100]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400c42a3
cmp byte [r8], r9b
jne 0x1400c42a3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400c4290
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1400c42f7
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1400c42fe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1400c42e4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1400defc0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x1404280e0]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400deff4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x160]
call fcn.1400de840
nop
mov rcx, rax
call fcn.1400e3b80
movzx ebx, al
lea rcx, [rsp + 0x160]
call fcn.1400a13c0
test bl, bl
jne 0x1400df025
xor al, al
jmp 0x1400df1ae
lea rcx, [rsp + 0x140]
call fcn.1400de9f0
nop
lea rdx, [rsp + 0x140]
cmp qword [rsp + 0x158], 8
cmovae rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x30]
call fcn.1400e0ea0
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
movabs rax, 0x1c926b9d39431d5f
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x23d6df
sub rcx, rax
add ecx, 0x1649d
movsxd rsi, ecx
mov rcx, rsi
call fcn.1402ff054
mov rdi, rax
xor ebx, ebx
test rsi, rsi
je 0x1400df0d4
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r9d, eax
mov eax, 0x80808081
imul r9d
add edx, r9d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub r9d, ecx
mov byte [rbx + rdi], r9b
inc rbx
cmp rbx, rsi
jb 0x1400df0a1
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
lea rcx, [rsp + 0x38]
call fcn.1400a0e00
test rax, rax
jne 0x1400df122
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rdi
call fcn.1402fecf0
lea rcx, [rsp + 0x140]
cmp qword [rsp + 0x158], 8
cmovae rcx, qword [rsp + 0x140]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
nop
test eax, eax
sete bl
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], rax
mov rcx, qword [rsp + 0x30]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xa8]
mov dword [rsp + rdx + 0x2c], r8d
lea rcx, [rsp + 0x38]
call fcn.14009fcc0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0xd8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x140]
call fcn.1400a13c0
movzx eax, bl
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1402fecd0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400e2a40
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x1404280e0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13, rdx
mov r8, rcx
mov qword [rbp - 0x59], rcx
mov qword [rbp - 0x51], rcx
xor r9d, r9d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1400e2c6c
movsxd rcx, dword [rdx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x1400e2c6c
mov edx, dword [rcx + rdx + 0x90]
test edx, edx
je 0x1400e2c6c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x79], xmm0
mov ebx, r9d
mov qword [rbp - 0x69], rbx
lea r12, [rdx + r13]
mov r14, qword [rbp - 0x71]
cmp dword [r12 + 0x10], r9d
je 0x1400e2c5b
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r9
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x21], 0
movdqu xmmword [rbp - 1], xmm0
mov r15, r9
mov qword [rbp + 0xf], r9
mov edx, dword [r12 + 0xc]
add rdx, r13
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r9
mov qword [rbp - 0x31], r9
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x1400e2b10
lea rcx, [rbp - 0x49]
call fcn.1400a23c0
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x11], xmm1
mov esi, dword [r12 + 0x10]
add rsi, r13
mov edi, dword [r12]
add rdi, r13
mov rax, qword [rdi]
test rax, rax
je 0x1400e2c03
mov rbx, qword [rbp + 7]
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], 0
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x49], 0
lea rdx, [r13 + 2]
add rdx, rax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400e2b90
lea rcx, [rbp - 0x49]
call fcn.1400a1490
mov qword [rbp - 0x29], rsi
cmp rbx, r15
je 0x1400e2bca
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.1400a09f0
mov rax, qword [rbp - 0x29]
mov qword [rbx + 0x20], rax
add rbx, 0x28
mov qword [rbp + 7], rbx
jmp 0x1400e2be2
lea r8, [rbp - 0x49]
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.1400e3110
mov r15, qword [rbp + 0xf]
mov rbx, qword [rbp + 7]
add rdi, 8
add rsi, 8
lea rcx, [rbp - 0x49]
call fcn.1400a1430
mov rax, qword [rdi]
test rax, rax
jne 0x1400e2b60
mov rbx, qword [rbp - 0x69]
lea r8, [rbp - 0x21]
mov rdx, r14
cmp r14, rbx
je 0x1400e2c1e
call fcn.1400e3470
add r14, 0x38
mov qword [rbp - 0x71], r14
jmp 0x1400e2c2f
lea rcx, [rbp - 0x79]
call fcn.1400e2cb0
mov r14, qword [rbp - 0x71]
mov rbx, qword [rbp - 0x69]
add r12, 0x14
lea rcx, [rbp - 1]
call fcn.1400e28f0
lea rcx, [rbp - 0x21]
call fcn.1400a1430
cmp dword [r12 + 0x10], 0
mov r9d, 0
jne 0x1400e2ad0
mov r8, qword [rbp - 0x59]
mov rax, qword [rbp - 0x79]
mov qword [r8], rax
mov qword [r8 + 8], r14
mov qword [r8 + 0x10], rbx
jmp 0x1400e2c77
mov qword [r8 + 0x10], r9
mov qword [r8 + 8], r9
mov qword [r8], r9
mov rax, r8
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1402fecd0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e3f00
Capabilities:
Get common file path

Disassembly:
push rsi
push r14
sub rsp, 0x258
mov rax, qword [0x1404280e0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x20a
xor r14d, r14d
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x1400e4091
mov qword [rsp + 0x278], rbx
lea rcx, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x1400e3f70
cmp word [rsp + rax*2 + 0x2e], 0x5c
jne 0x1400e3f9e
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x1400e40ac
mov word [rsp + rax + 0x30], r14w
xorps xmm0, xmm0
mov qword [rsp + 0x280], rbp
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
lea rax, [rsp + 0x30]
mov qword [rsi + 0x18], r14
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x1400e3fc0
movabs rbp, 0x7ffffffffffffffe
cmp rbx, rbp
ja 0x1400e40b2
mov qword [rsi + 0x18], 7
cmp rbx, 8
jae 0x1400e4009
mov qword [rsi + 0x10], rbx
lea rdx, [rsp + 0x30]
add rbx, rbx
mov rcx, rsi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rsi], r14w
jmp 0x1400e4063
mov rax, rbx
mov qword [rsp + 0x250], rdi
or rax, 7
cmp rax, rbp
ja 0x1400e402c
mov ecx, 0xa
mov rbp, rax
cmp rax, rcx
cmovb rbp, rcx
lea rdx, [rbp + 1]
call fcn.1400a2c60
mov qword [rsi + 0x10], rbx
lea rdx, [rsp + 0x30]
add rbx, rbx
mov qword [rsi], rax
mov r8, rbx
mov qword [rsi + 0x18], rbp
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r14w
mov rdi, qword [rsp + 0x250]
mov rbp, qword [rsp + 0x280]
mov rax, rsi
mov rbx, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1402fecd0
add rsp, 0x258
pop r14
pop rsi
ret
xorps xmm0, xmm0
mov rax, rsi
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
mov word [rsi], r14w
jmp 0x1400e4076
call fcn.1402ff2b0
int3
call fcn.14009a190
int3
Function at 0x1400e40c0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
mov rax, qword [0x1404280e0]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
lea r9, [rsp + 0x20]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov ebx, r14d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400e414e
test rbx, rbx
je 0x1400e4116
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, reloc.WS2_32.dll_inet_addr
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400e4100
test eax, eax
jns 0x1400e416f
test rbx, rbx
je 0x1400e4174
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1400e4272
test rbx, rbx
jne 0x1400e417b
xor eax, eax
jmp 0x1400e4272
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rdi
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x1400e4252
mov eax, edi
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rbx
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400e41d0
lea rcx, [rsp + 0x28]
call fcn.1400a23c0
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x1400e41f0
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400e4288
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400e4248
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e4243
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e42d1
call fcn.1402fecf0
inc edi
cmp edi, dword [rbx]
jb 0x1400e4194
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402fecd0
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400e42dd
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e42d8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e42d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402fecf0
mov rax, rdi
jmp 0x1400e4265
Function at 0x1400e42f0
Capabilities:
Connect socket
Initialize winsock library
Resolve dns

Disassembly:
push rbx
sub rsp, 0x210
mov rax, qword [0x1404280e0]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov rbx, rcx
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, 0x202
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400e4332
mov eax, 0x45
jmp 0x1400e4433
xor r8d, r8d
mov qword [rsp + 0x228], rsi
mov esi, 2
mov qword [rsp + 0x230], rdi
mov ecx, esi
lea edx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov ecx, 0x1bb
mov word [rsp + 0x50], si
mov rdi, rax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x52], ax
movabs rax, 0x1bec0ff559c8abf9
mov qword [rsp + 0x20], rax
movabs rax, 0xa61c7df0ed274760
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x35d93ac477fa92c8
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0xa62844c1c3107751
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movdqa xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.WS2_32.dll_inet_addr]
lea r8d, [rsi + 0xe]
mov rcx, rdi
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x54], eax
call qword [sym.imp.WS2_32.dll_connect]
mov rsi, qword [rsp + 0x228]
test eax, eax
je 0x1400e4429
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov eax, edi
mov rdi, qword [rsp + 0x230]
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1402fecd0
add rsp, 0x210
pop rbx
ret