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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400193d5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140005800
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140019544
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400194bc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140019533
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1400194f9
mov r10, qword [rdx]
cmp r10, rax
je 0x1400194f3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140019533
cmp r9, rdx
je 0x14001950f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140019555
cmp r9, rdx
jne 0x140019500
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140019440
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140019533
Function at 0x14002ec20
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x110
mov rax, qword [0x140379f00]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
mov qword [r11 - 0x68], r8
mov dword [r11 - 0x60], ebx
mov rdx, qword [0x1403e4cd0]
add rdx, qword [r8]
xor r14d, r14d
mov rcx, qword [0x1403e4de8]
test rcx, rcx
je 0x14002ec98
cmp dword [0x1403e4de0], r14d
je 0x14002ec98
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [r11 - 0x58]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1403e4de8]
mov ebx, dword [rsp + 0xd8]
mov rdx, qword [rsp + 0xe0]
test rdx, rdx
je 0x14002ee37
test rcx, rcx
je 0x14002ed1f
cmp dword [0x1403e4de0], r14d
je 0x14002ece2
add rdx, 0x68
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1403e4de8]
mov ebx, dword [rsp + 0xd8]
test rcx, rcx
je 0x14002ed1f
cmp dword [0x1403e4de0], r14d
je 0x14002ed1f
mov rdx, qword [rsp + 0xe8]
add rdx, 0x178
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ebx, dword [rsp + 0xd8]
mov r9, qword [rsp + 0xf0]
mov qword [rdi + 0x38], r9
movzx ecx, bl
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, byte [rsp + 0xd9]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rsp + 0xda]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rsp + 0xdb]
xor rcx, rax
imul rcx, rdx
mov rdx, qword [rdi + 0x78]
and rdx, rcx
add rdx, rdx
mov rcx, qword [rdi + 0x60]
mov rax, qword [rcx + rdx*8 + 8]
mov r8, qword [rdi + 0x50]
cmp rax, r8
je 0x14002edb0
mov rcx, qword [rcx + rdx*8]
cmp ebx, dword [rax + 0x10]
je 0x14002edb3
nop dword [rax + rax]
cmp rax, rcx
je 0x14002edb0
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x14002eda0
jmp 0x14002edb3
mov rax, r14
test rax, rax
cmove rax, r8
cmp rax, r8
jne 0x14002ee26
mov dword [rsp + 0xe0], r14d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140017c00
lea r9, [rsp + 0xe0]
mov r8d, ebx
mov rdx, rax
call fcn.14002ee80
test al, al
je 0x14002ee37
mov ebx, dword [rsp + 0xe0]
test ebx, ebx
je 0x14002ee37
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0xf0]
lea rcx, [rdi + 0x48]
call fcn.140032870
mov rcx, qword [rax]
mov dword [rcx + 0x14], ebx
mov r8d, ebx
mov rdx, qword [rdi + 0x38]
mov rcx, rsi
call fcn.14002e9f0
jmp 0x14002ee3e
mov r8d, dword [rax + 0x14]
mov rdx, r9
mov rcx, rsi
call fcn.14002e9f0
jmp 0x14002ee3e
mov qword [rsi], r14
mov dword [rsi + 8], r14d
lea rcx, [rdi + 0x48]
call fcn.140007350
lea rcx, [rdi + 0x18]
call fcn.1400055e0
mov rax, rsi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1401425d0
add rsp, 0x110
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140030ad0
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 0x140030af8
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 0x140030b1e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140030b20
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140030b79
test ecx, ecx
jle 0x140030b59
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 0x140030b79
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140030b79
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 0x140030ba0
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 0x140030bc2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140030bd8
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 0x140030bf4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140030bf6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140030c32
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 0x140030cce
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140030c6d
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 0x140030cae
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 0x140030cce
cmp rbx, rax
ja 0x140030c80
test rbx, rbx
je 0x140030cce
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 0x140031100
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140379f00]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14003112d
xor eax, eax
jmp 0x140031299
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140031167
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140031167
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 0x140031299
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14003128c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400311aa
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 0x1400311d5
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 0x140031291
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 0x140031244
sub eax, 1
je 0x140031244
cmp eax, 2
jne 0x14003128c
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 0x140031291
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140031272
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 0x14003128c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140031291
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401425d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140031b20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140379f00]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140031bf3
cmp byte [rcx + 0x71], 0
je 0x140031bf3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140031bef
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 0x140031bb4
sub eax, 1
je 0x140031bb8
cmp eax, 2
jne 0x140031bef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401425d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140031be6
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 0x140031bef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140031b9c
xor al, al
jmp 0x140031b9c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401425d0
add rsp, 0x60
pop rbx
ret

Function at 0x140032190
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140379f00]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1401425f0
mov r9, rax
mov rax, qword [rbx]
mov qword [r9], rax
mov qword [rsp + 0x30], r9
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x140033700]
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 0x14003220c
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401425d0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
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 0x140032870
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r14, rdx
mov rsi, rcx
movzx r12d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
movzx eax, byte [r8 + 1]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 2]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 3]
xor r12, rax
imul r12, rcx
mov rcx, r12
and rcx, qword [rsi + 0x30]
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x1400328f7
mov rbx, r15
mov rbp, r15
jmp 0x14003293a
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x140032911
cmp rbx, rcx
je 0x140032934
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x140032903
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 0x10], rax
jne 0x140032958
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.1401425f0
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r13]
mov dword [rdi + 0x10], eax
xor r13d, r13d
mov dword [rdi + 0x14], r13d
mov rdx, qword [rsi + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x14003299a
cvtsi2ss xmm0, rdx
jmp 0x1400329b2
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400329c5
cvtsi2ss xmm1, rcx
jmp 0x1400329da
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
jbe 0x140032a41
mov rcx, rsi
call fcn.140018140
mov rdx, rax
mov rcx, rsi
call fcn.140017f90
mov rdx, qword [rsi + 0x30]
and rdx, r12
add rdx, rdx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
je 0x140032a34
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x140032a31
nop
mov rbx, rax
cmp rax, rdx
je 0x140032a75
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140032a20
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x140032a7c
mov qword [rcx + rax*8], rdi
jmp 0x140032a8e
mov qword [rsp + 0x20], rax
jmp 0x140032a39
cmp r8, rbp
jne 0x140032a87
mov qword [rcx + rax*8], rdi
jmp 0x140032a93
cmp qword [rcx + rax*8 + 8], rdx
jne 0x140032a93
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x140032919
Function at 0x140033240
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140379f00]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1401425f0
mov rdx, qword [rbx]
mov qword [rax], rdx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140033700]
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 0x1400332b9
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401425d0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
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 0x140033d60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140379f00]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [0x14014a5c0]
xor r8d, r8d
lea r9, [rsp + 0x28]
xor edx, edx
xor edi, edi
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140033de8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1400316c0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov word [rsp + 0x30], di
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movdqa xmm0, xmmword [0x14035eed0]
movdqu xmmword [rsp + 0x40], xmm0
movups xmmword [rbx + 0x10], xmm1
call fcn.140031cd0
jmp 0x140033df7
lea rdx, [0x140169f88]
mov rcx, rbx
call fcn.1400316c0
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401425d0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140034260
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0xf8
mov rax, qword [0x140379f00]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x70], WSAGetLastError
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
xor edx, edx
xorps xmm0, xmm0
lea rax, [rsp + 0x70]
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rdx
xor r8d, r8d
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], edx
movups xmmword [r11 - 0x50], xmm0
mov dword [rsp + 0x20], edx
mov word [r11 - 0x48], dx
mov rdx, rcx
xor ecx, ecx
mov dword [r11 - 0x4c], 1
movups xmmword [r11 - 0x70], xmm0
movups xmmword [r11 - 0x60], xmm0
movups xmmword [r11 - 0x40], xmm0
movups xmmword [r11 - 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140034315
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1401425d0
add rsp, 0xf8
ret

Function at 0x140037450
Capabilities:
Download url
Receive data

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140379f00]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [rdx + 0x18], 7
lea rax, vtable.DownloadStatusCallback.0
mov qword [rsp + 0x30], rax
jbe 0x140037479
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 7
jbe 0x140037483
mov rcx, qword [rcx]
mov r8, rdx
lea rax, [rsp + 0x30]
mov rdx, rcx
mov qword [rsp + 0x20], rax
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
shr eax, 0x1f
xor al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401425d0
add rsp, 0x48
ret

Function at 0x140037610
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140379f00]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rbx, rcx
mov dword [rsp + 0x28], 0x101
lea rcx, [rsp + 0x30]
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
test eax, eax
je 0x140037680
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140037670
lea rdx, [rsp + 0x30]
jmp 0x14003768d
mov r8d, listen
lea rdx, str.Unknown_User
mov rcx, rbx
call fcn.140006390
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401425d0
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x140037a90
Capabilities:
Execute command

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140379f00]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov rbx, rcx
xor edi, edi
mov rcx, qword [rdx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x5a
jb 0x140037c9b
mov rax, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140037aea
mov rax, qword [rdx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x5a
lea r9, str.curl__i__H__Accept:_application_json___H__Content_Type:_application_json___X_POST___data__
mov r8, rdx
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x58]
call fcn.14003d800
nop
mov r8d, 2
lea rdx, [0x14016a2dc]
lea rcx, [rbp - 0x58]
call fcn.140005640
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140037b6b
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140005640
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x38], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm7
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x68]
call fcn.1400055e0
nop
lea rcx, [rbp - 0x58]
call fcn.1400055e0
lea rdx, [rbp - 0x38]
movq rcx, xmm6
psrldq xmm7, 8
movq rax, xmm7
cmp rax, 0xf
cmova rdx, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140037be0
lea rcx, [rbp - 0x78]
call fcn.140006390
nop
mov r8d, listen
lea rdx, str.___nul_2_1
lea rcx, [rbp - 0x78]
call fcn.140005640
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x48]
call fcn.1400055e0
nop
lea rcx, [rbp - 0x78]
call fcn.1400055e0
nop
lea rcx, [rbp - 0x38]
call fcn.1400055e0
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1401425d0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400028a0
int3