joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016e10
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x150
mov rax, qword [0x1401de080]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov rsi, r9
mov rcx, r8
mov r14, rdx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor ebp, ebp
mov rdi, 0xffffffffffffffff
test rax, rax
jne 0x140016e86
test rsi, rsi
jne 0x140016e66
mov rax, qword [rbx + 0x10]
mov dword [rax + 8], ebp
add qword [rbx + 0x10], 0x10
jmp 0x140016ef4
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rsi + r8], bpl
jne 0x140016e70
mov rdx, rsi
mov rcx, rbx
call fcn.140001c80
jmp 0x140016ef4
lea r9, [0x1401b1d14]
mov rdx, rax
lea r8, [0x1401b1d18]
mov rcx, rbx
call fcn.140003390
mov r9, rsi
lea r8, [0x1401b1d1c]
mov rdx, rax
mov rcx, rbx
call fcn.140003390
mov edx, 0xfffffffe
mov rcx, rbx
call fcn.140001a70
lea r10, [rax + 0x10]
mov rax, qword [rbx + 0x10]
cmp r10, rax
jae 0x140016eec
nop
mov rcx, qword [r10]
mov qword [r10 - 0x10], rcx
mov eax, dword [r10 + 8]
mov dword [r10 - 8], eax
add r10, 0x10
mov rax, qword [rbx + 0x10]
cmp r10, rax
jb 0x140016ed0
add rax, 0xfffffffffffffff0
mov qword [rbx + 0x10], rax
mov r8d, 0x105
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140016fd4
cmp eax, 0x105
je 0x140016fd4
mov edx, 0x5c
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x140016fd4
mov edx, edi
mov byte [rax], bpl
mov rcx, rbx
call fcn.140001a70
cmp dword [rax + 8], 4
je 0x140016f75
mov rdx, rax
mov rcx, rbx
call fcn.140025dd0
test eax, eax
je 0x140016f7c
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx + 0x70]
cmp qword [rcx + 0x78], rax
jb 0x140016f6b
mov rcx, rbx
call fcn.140010080
mov edx, edi
mov rcx, rbx
call fcn.140001a70
mov rbp, qword [rax]
add rbp, 0x18
lea r9, [rsp + 0x30]
mov rdx, rbp
lea r8, reloc.WLDAP32.dll_Ordinal_33
mov rcx, rbx
call fcn.140003390
mov edx, 0xfffffffe
mov rcx, rbx
call fcn.140001a70
mov rcx, qword [rbx + 0x10]
add rax, 0x10
cmp rax, rcx
jae 0x140016fca
nop dword [rax]
mov rcx, qword [rax]
mov qword [rax - 0x10], rcx
mov ecx, dword [rax + 8]
mov dword [rax - 8], ecx
add rax, 0x10
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
jb 0x140016fb0
lea rax, [rcx - 0x10]
mov qword [rbx + 0x10], rax
jmp 0x140016fe3
lea rdx, str.unable_to_get_ModuleFileName
mov rcx, rbx
call fcn.140002810
mov edx, 0xfffffffe
mov rcx, rbx
call fcn.140001a70
mov rsi, rax
inc rdi
cmp byte [r14 + rdi], 0
jne 0x140016ff3
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call fcn.14001ef70
mov r9, qword [rbx + 0x10]
lea r8, [rsp + 0x20]
sub r9, 0x10
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov dword [rsp + 0x28], 4
mov rcx, rbx
call fcn.1400260f0
add qword [rbx + 0x10], 0xfffffffffffffff0
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140176e00
add rsp, 0x150
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140025310
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [rcx + 8]
lea r15, [rsp + 0x58]
mov r14, rcx
mov ebp, 8
mov rbx, qword [rdi]
test rbx, rbx
jne 0x140025364
mov rdx, qword [rdi + 0x18]
lea r8, [rsp + 0x50]
mov rcx, qword [rdi + 0x20]
call qword [rdi + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1400253a9
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x1400253a9
mov rbx, rdx
mov qword [rdi], rdx
mov qword [rdi + 8], rax
jmp 0x140025368
mov rax, qword [rdi + 8]
cmp rbp, rbx
mov rdx, rax
mov rcx, r15
cmovbe rbx, rbp
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
sub qword [rdi], rbx
add r15, rbx
add qword [rdi + 8], rbx
sub rbp, rbx
jne 0x140025331
mov rdi, qword [rsp + 0x58]
test rdi, rdi
jne 0x1400253b4
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
test rbp, rbp
jne 0x140025432
jmp 0x14002538c
mov rbx, qword [r14 + 0x10]
mov rcx, qword [r14]
mov r8, qword [rbx + 0x10]
cmp rdi, r8
jbe 0x140025402
cmp rdi, 0x20
jae 0x1400253dc
mov rdx, qword [rbx]
mov esi, reloc.WLDAP32.dll_Ordinal_32
mov r9d, esi
call fcn.140015040
jmp 0x1400253fb
lea rax, [rdi + 1]
mov rsi, rdi
cmp rax, 0xfffffffffffffffd
ja 0x1400253f6
mov rdx, qword [rbx]
mov r9, rdi
call fcn.140015040
jmp 0x1400253fb
call fcn.140015020
mov qword [rbx], rax
mov qword [rbx + 0x10], rsi
mov rbx, qword [rbx]
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.1400250e0
mov rcx, qword [r14]
lea r8, [rdi - 1]
mov rdx, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
jmp fcn.14001ef70
lea rdx, str.unexpected_end
mov rcx, r14
call fcn.1400250b0
int3

Function at 0x14002adf0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1401de080]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14002ae64
nop dword [rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x14002ae90
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14002ae40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140176e00
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov dword [0x1403ca0a0], eax
jmp 0x14002ae6f
Function at 0x14002dc50
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 case.default.0x14002dc71
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 0x14002dc9e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14002dca0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14002dcf9
test ecx, ecx
jle 0x14002dcd9
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 0x14002dcf9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14002dcf9
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
add byte [rax - 0x27ffffe], al
add byte [rax - 0x27ffffe], al
add byte [rax - 0x27ffffe], al
add byte [rax - 0x27ffffe], al
add byte [rax - 0x27ffffe], al
add byte [rax - 0x27ffffe], al
add byte [rax + 0x3808080], 0x80
add byte [rax - 0x7f7f7f80], 0x80
add byte [rax - 0x7f7f7f80], 0x80
add byte [rax - 0x7f7f7f80], 0x80
add byte [rax - 0x7f7f7f80], 0x80
add byte [rax - 0x7f7f7f80], 0x80
add byte [rax - 0x7f7f7f80], 0x80
invalid
invalid
add byte [rax], 0xe
Function at 0x14002dd20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14002dd51
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14002dd68
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14002dd8b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14002dd8d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14002ddc9
mov qword [rsp + 0x38], 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 + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14002de5e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14002de04
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 0x14002de3e
nop dword [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 0x14002de5e
cmp rbx, rax
ja 0x14002de10
test rbx, rbx
je 0x14002de5e
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
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
add byte [rax], al
Function at 0x14002e280
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1401de080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14002e2ad
xor eax, eax
jmp 0x14002e419
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14002e2e7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14002e2e7
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 0x14002e419
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14002e40c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14002e32a
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 0x14002e355
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 0x14002e411
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x14002e3c4
sub eax, 1
je 0x14002e3c4
cmp eax, 2
jne 0x14002e40c
movsx ecx, byte [rsp + 0x40]
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 0x14002e411
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14002e3f2
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 0x14002e40c
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14002e411
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140176e00
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14002eb20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1401de080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14002ebf3
cmp byte [rcx + 0x71], 0
je 0x14002ebf3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14002ebef
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 0x14002ebb4
sub eax, 1
je 0x14002ebb8
cmp eax, 2
jne 0x14002ebef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140176e00
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14002ebe6
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 0x14002ebef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14002eb9c
xor al, al
jmp 0x14002eb9c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140176e00
add rsp, 0x60
pop rbx
ret
Function at 0x140031940
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x1401de080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r13, r9
mov r15, r8
mov r14, rdx
mov rbp, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x28], rdx
mov rbx, rdx
lea rax, [r8 - 1]
mov qword [rsp + 0x20], rax
mov r12, rax
sar r12, 1
cmp rdx, r12
jge 0x140031a20
nop word [rax + rax]
lea rdi, [rbx + rbx]
lea rbx, [rdi + 2]
shl rbx, 5
add rbx, rbp
lea rdx, [rbx - 0x20]
lea rcx, [rsp + 0x50]
call fcn.14002e650
or esi, 1
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14002e650
or esi, 2
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
call fcn.14002b650
movzx ebx, al
lea rcx, [rsp + 0x30]
call fcn.14002ecd0
nop
lea rcx, [rsp + 0x50]
call fcn.14002ecd0
xor rbx, 1
inc rbx
add rbx, rdi
mov rdx, rbx
shl rdx, 5
add rdx, rbp
shl r14, 5
lea rcx, [r14 + rbp]
call fcn.14002a840
mov r14, rbx
cmp rbx, r12
jl 0x1400319a0
mov rdi, rbx
cmp rbx, r12
jne 0x140031a4b
test r15b, 1
jne 0x140031a4b
shl r15, 5
lea rdx, [rbp - 0x20]
add rdx, r15
shl rbx, 5
lea rcx, [rbx + rbp]
call fcn.14002a840
mov rdi, qword [rsp + 0x20]
lea rbx, [rdi - 1]
mov r15, qword [rsp + 0x28]
sar rbx, 1
cmp r15, rdi
jge 0x140031aa9
mov rdx, r13
lea rcx, [rsp + 0x30]
call fcn.14002e650
or esi, 0x10
or esi, 4
mov dword [rsp + 0x20], esi
mov rdx, rbx
shl rdx, 5
add rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.14002e650
or esi, 0x20
or esi, 8
mov dword [rsp + 0x20], esi
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
call fcn.14002b650
test al, al
je 0x140031aa9
mov r14b, 1
jmp 0x140031aac
xor r14b, r14b
test sil, 8
je 0x140031ac0
and esi, 0xfffffff7
lea rcx, [rsp + 0x50]
call fcn.14002ecd0
nop
test sil, 4
je 0x140031ad3
and esi, 0xfffffffb
lea rcx, [rsp + 0x30]
call fcn.14002ecd0
shl rdi, 5
lea rcx, [rdi + rbp]
test r14b, r14b
je 0x140031afa
mov rdx, rbx
shl rdx, 5
add rdx, rbp
call fcn.14002a840
mov rdi, rbx
dec rbx
jmp 0x140031a54
mov rdx, r13
call fcn.14002a840
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140176e00
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140032d40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1401770c0
mov qword [rax], rbx
mov qword [rsp + 0x40], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140032e80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140032d9d
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400370a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1401de080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r12, rcx
xor r13d, r13d
mov dword [rbp - 0x41], r13d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov r14d, r13d
mov qword [rbp - 0x29], r13
mov dword [rbp - 0x41], 1
mov rcx, qword [0x1403cbfb0]
add rcx, 0x70
call fcn.14002f310
mov rbx, rax
lea rcx, [rax + 8]
call fcn.14002f310
mov rsi, rax
mov rcx, rbx
call fcn.14002f310
mov rdi, rax
mov rbx, qword [rbp - 0x31]
cmp rax, rsi
je 0x14003717d
nop word [rax + rax]
mov qword [rbp - 0x49], r13
mov r8d, 8
lea rdx, [rbp - 0x49]
mov rcx, rdi
call fcn.14002ad60
cmp rbx, r14
je 0x14003715c
mov rax, qword [rbp - 0x49]
mov qword [rbx], rax
add rbx, 8
mov qword [rbp - 0x31], rbx
jmp 0x140037174
lea r8, [rbp - 0x49]
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.14003b790
mov r14, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
add rdi, 0x10
cmp rdi, rsi
jne 0x140037130
mov r15, qword [rbp - 0x39]
mov rsi, r15
cmp r15, rbx
je 0x14003729e
mov dword [rbp - 0x19], 0x726f5767
mov dword [rbp - 0x15], 0x6f4d646c
mov dword [rbp - 0x11], 0x6c6564
lea rdx, [rbp + 7]
mov rcx, rsi
call fcn.140079130
mov rcx, rax
lea rdx, [rbp - 0x18]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x1400371c0
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x1400371d7
mov rcx, qword [rcx]
cmp r8, rax
jne 0x1400371ee
lea rdx, [rbp - 0x18]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400371ee
mov dil, 1
jmp 0x1400371f1
xor dil, dil
lea rcx, [rbp + 7]
call fcn.14002ed40
test dil, dil
je 0x140037291
mov dword [rbp - 9], 0x6d6f5a68
mov dword [rbp - 5], 0x42656962
mov dword [rbp - 1], 0x65706d75
mov word [rbp + 3], WSACleanup
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r13
mov qword [rbp + 0x1f], r13
lea rax, [rbp - 8]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140037240
lea rdx, [rbp - 8]
lea rcx, [rbp + 7]
call fcn.14002ff20
lea r8, [rbp + 7]
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.1400795f0
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x140037291
mov rcx, qword [r12]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x140037288
mov qword [rdx], rax
add qword [rcx + 8], 8
jmp 0x140037291
lea r8, [rbp - 0x49]
call fcn.14003b790
add rsi, 8
cmp rsi, rbx
jne 0x1400371a2
test r15, r15
je 0x1400372dd
sub r14, r15
and r14, 0xfffffffffffffff8
mov rax, r15
cmp r14, 0x1000
jb 0x1400372d2
add r14, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400372d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r14
mov rcx, r15
call fcn.140177344
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140176e00
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140037310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1401de080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r12, rcx
xor r13d, r13d
mov dword [rbp - 0x41], r13d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov r14d, r13d
mov qword [rbp - 0x29], r13
mov dword [rbp - 0x41], 1
mov rcx, qword [0x1403cbfb0]
add rcx, 0x70
call fcn.14002f310
mov rbx, rax
lea rcx, [rax + 8]
call fcn.14002f310
mov rsi, rax
mov rcx, rbx
call fcn.14002f310
mov rdi, rax
mov rbx, qword [rbp - 0x31]
cmp rax, rsi
je 0x1400373ed
nop word [rax + rax]
mov qword [rbp - 0x49], r13
mov r8d, 8
lea rdx, [rbp - 0x49]
mov rcx, rdi
call fcn.14002ad60
cmp rbx, r14
je 0x1400373cc
mov rax, qword [rbp - 0x49]
mov qword [rbx], rax
add rbx, 8
mov qword [rbp - 0x31], rbx
jmp 0x1400373e4
lea r8, [rbp - 0x49]
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.14003b790
mov r14, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
add rdi, 0x10
cmp rdi, rsi
jne 0x1400373a0
mov r15, qword [rbp - 0x39]
mov rsi, r15
cmp r15, rbx
je 0x1400374ff
mov dword [rbp - 0x19], 0x6665445e
mov dword [rbp - 0x15], 0x746c7561
mov byte [rbp - 0x11], 0
nop
lea rdx, [rbp + 7]
mov rcx, rsi
call fcn.140079130
mov rcx, rax
lea rdx, [rbp - 0x18]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140037430
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x140037447
mov rcx, qword [rcx]
cmp r8, rax
jne 0x14003745e
lea rdx, [rbp - 0x18]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14003745e
mov dil, 1
jmp 0x140037461
xor dil, dil
lea rcx, [rbp + 7]
call fcn.14002ed40
test dil, dil
je 0x1400374f2
mov dword [rbp - 9], 0x73654d20
mov dword [rbp - 5], 0x72615068
mov word [rbp - 1], reloc.WS2_32.dll_WSACleanup
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r13
mov qword [rbp + 0x1f], r13
lea rax, [rbp - 8]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400374a1
lea rdx, [rbp - 8]
lea rcx, [rbp + 7]
call fcn.14002ff20
lea r8, [rbp + 7]
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.140079770
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x1400374f2
mov rcx, qword [r12]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x1400374e9
mov qword [rdx], rax
add qword [rcx + 8], 8
jmp 0x1400374f2
lea r8, [rbp - 0x49]
call fcn.14003b790
add rsi, 8
cmp rsi, rbx
jne 0x140037410
test r15, r15
je 0x14003753e
sub r14, r15
and r14, 0xfffffffffffffff8
mov rax, r15
cmp r14, 0x1000
jb 0x140037533
add r14, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037533
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r14
mov rcx, r15
call fcn.140177344
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140176e00
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14003f000
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1401de080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov ecx, 1
call fcn.1401770c0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140051a90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003f0cf
cmp dword [rsp + 0x38], 0
je 0x14003f0c3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14003f0c3
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x72724508
mov word [rsp + 0x44], 0x726f
mov byte [rsp + 0x46], al
cmp qword [rbx + 0x18], 0xf
jbe 0x14003f09e
mov rbx, qword [rbx]
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x41]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
cmp dword [rsp + 0x38], 0
je 0x14003f0e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140176e00
add rsp, 0x60
pop rbx
ret

Function at 0x14003f100
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]