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

Disassembly:
jmp 0x140083550
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400d865e]
call fcn.140036fae
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x1400835a7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1400836b3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14008364c
cmp qword [rbp + 0x28], 0
jle 0x14008364c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1400835ec
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140036d92
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x1400836a2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x1400836a2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14003532f
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
jmp 0x140077230
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rcx, [0x1400d8725]
call fcn.140036fae
lea rdx, str.Classesms_settings_shellopencommand
lea rcx, [rbp + 0xe8]
call fcn.140035dd9
nop
lea rdx, [rbp + 0xe8]
mov rcx, qword [rbp + 0x140]
call fcn.140035c2b
mov qword [rbp + 8], rax
lea rcx, [rbp + 0xe8]
call fcn.1400354f6
cmp qword [rbp + 8], 0
je 0x1400772c5
mov dword [rsp + 0x28], 1
lea rax, [0x1400b252a]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1400b252a]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140035433
Capabilities:
Get token membership

Disassembly:
jmp 0x14007ba80
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov rax, qword [0x1400c9040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400d8726]
call fcn.140036fae
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov byte [rbp + 0x44], 0
mov byte [rbp + 0x45], 0
mov byte [rbp + 0x46], 0
mov byte [rbp + 0x47], 0
mov byte [rbp + 0x48], 0
mov byte [rbp + 0x49], 5
lea rax, [rbp + 0x28]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp + 0x44]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14007bb5f
lea r8, [rbp + 4]
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp + 4], 0
je 0x14007bb6e
mov byte [rbp + 0x114], 1
jmp 0x14007bb75
mov byte [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
mov edi, eax
lea rcx, [rbp - 0x60]
lea rdx, [0x1400add30]
call fcn.1400369d2
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.140035ee2
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x1400354b5
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140042b40
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400d843e]
call fcn.140036fae
mov qword [rbp + 8], 0
jmp 0x140042b7e
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x140042bd4
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x140042b73
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140035d66
Capabilities:
Terminate process

Disassembly:
jmp 0x140080460
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x1400c9040]
xor rax, rbp
mov qword [rbp + 0x160], rax
lea rcx, [0x1400d8727]
call fcn.140036fae
mov qword [rbp + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 8]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1400804fa
lea rdx, str.OpenProcessToken_failed.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400352f8
lea rdx, [0x1400350dc]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400805d7
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0x24]
mov edx, 0x14
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140080552
lea rdx, str.GetTokenInformation_failed.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400352f8
lea rdx, [0x1400350dc]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400805d7
cmp dword [rbp + 0x24], 0
jne 0x1400805be
mov rax, qword [rbp + 0x190]
mov rdx, qword [rbp + 0x198]
mov rcx, rax
call fcn.1400363f1
nop
lea rdx, str.computerdefaults
lea rcx, [rbp + 0x128]
call fcn.140035dd9
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x190]
add rax, 2
lea rdx, [rbp + 0x128]
mov rcx, rax
call fcn.140037274
nop
lea rcx, [rbp + 0x128]
call fcn.1400354f6
nop
jmp 0x1400805b3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword [rbp + 0x190]
mov rcx, rax
call fcn.14003532f
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x30]
lea rdx, [0x1400ade60]
call fcn.1400369d2
mov rcx, qword [rbp + 0x160]
xor rcx, rbp
call fcn.140035ee2
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140036135
Capabilities:
Terminate process

Disassembly:
jmp 0x140099e00
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400363f1
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
jmp 0x140077300
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xc2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4d8]
mov rax, qword [0x1400c9040]
xor rax, rbp
mov qword [rbp + 0x470], rax
lea rcx, [0x1400d8725]
call fcn.140036fae
lea rdx, str.Classes
lea rcx, [rbp + 0x338]
call fcn.140035dd9
nop
lea rdx, [rbp + 0x338]
mov rcx, qword [rbp + 0x4a0]
call fcn.140035c2b
nop
lea rcx, [rbp + 0x338]
call fcn.1400354f6
lea rdx, str.Classesms_settings
lea rcx, [rbp + 0x378]
call fcn.140035dd9
nop
lea rdx, [rbp + 0x378]
mov rcx, qword [rbp + 0x4a0]
call fcn.140035c2b
nop
lea rcx, [rbp + 0x378]
call fcn.1400354f6
lea rdx, str.Classesms_settings_shell
lea rcx, [rbp + 0x3b8]
call fcn.140035dd9
nop
lea rdx, [rbp + 0x3b8]
mov rcx, qword [rbp + 0x4a0]
call fcn.140035c2b
nop
lea rcx, [rbp + 0x3b8]
call fcn.1400354f6
lea rdx, str.Classesms_settings_shellopen
lea rcx, [rbp + 0x3f8]
call fcn.140035dd9
nop
lea rdx, [rbp + 0x3f8]
mov rcx, qword [rbp + 0x4a0]
call fcn.140035c2b
nop
lea rcx, [rbp + 0x3f8]
call fcn.1400354f6
lea rdx, str.Classesms_settings_shellopencommand
lea rcx, [rbp + 0x438]
call fcn.140035dd9
nop
lea rdx, [rbp + 0x438]
mov rcx, qword [rbp + 0x4a0]
call fcn.140035c2b
mov qword [rbp + 8], rax
lea rcx, [rbp + 0x438]
call fcn.1400354f6
cmp qword [rbp + 8], 0
je 0x14007751c
mov r8d, 0x104
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x158]
call fcn.140035dd9
lea rcx, [rbp + 0x158]
call fcn.140036662
inc rax
mov qword [rbp + 0x468], rax
lea rcx, [rbp + 0x158]
call fcn.140035253
mov rcx, qword [rbp + 0x468]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1400b252a]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rbp + 0x194], 0
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x194]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DelegateExecute
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x158]
call fcn.1400354f6
lea rcx, [rbp - 0x30]
lea rdx, [0x1400adbf0]
call fcn.1400369d2
mov rcx, qword [rbp + 0x470]
xor rcx, rbp
call fcn.140035ee2
lea rsp, [rbp + 0x488]
pop rdi
pop rbp
ret
Function at 0x140036590
Capabilities:
Parse pe header

Disassembly:
jmp 0x14009a730
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14009a750
xor al, al
jmp 0x14009a7d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14009a763
xor al, al
jmp 0x14009a7d1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14009a78d
xor al, al
jmp 0x14009a7d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14009a7a1
xor al, al
jmp 0x14009a7d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14009a7b3
xor al, al
jmp 0x14009a7d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14009a7cf
xor al, al
jmp 0x14009a7d1
mov al, 1
add rsp, 0x38
ret
Function at 0x140036f3b
Capabilities:
Write file on windows

Disassembly:
jmp 0x14006ccf0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x1400c9040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400d865e]
call fcn.140036fae
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x14006cd56
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14006cd5d
mov al, 1
jmp 0x14006cead
call fcn.140035802
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.140035802
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.14003687e
movzx eax, al
test eax, eax
je 0x14006cdae
xor al, al
jmp 0x14006cead
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x14006ce13
cmp dword [rbp + 0x154], 1
je 0x14006ce1e
cmp dword [rbp + 0x154], 3
je 0x14006ce9c
jmp 0x14006ceab
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14006ce6e
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14006ce6e
xor al, al
jmp 0x14006cead
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14006ce89
mov dword [rbp + 0x154], 1
jmp 0x14006ce93
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14006cead
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14006cead
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400ac260]
call fcn.1400369d2
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.140035ee2
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140037274
Capabilities:
Create process on windows

Disassembly:
jmp 0x14007bcf0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x1400c9040]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x1400d871e]
call fcn.140036fae
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.140036743
mov dword [rbp + 0x10], 0x68
mov dword [rbp + 0x4c], 1
xor eax, eax
mov word [rbp + 0x50], ax
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0x98]
call fcn.140036743
mov r8, qword [rbp + 0x1e8]
lea rdx, str.pwsh__C
lea rcx, [rbp + 0xc8]
call fcn.1400350eb
nop
lea rcx, [rbp + 0xc8]
call fcn.140035253
lea rcx, [rbp + 0x98]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14007be18
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14007be58
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1b4], eax
lea rdx, str.CreateProcess_failed__
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400352f8
mov ecx, dword [rbp + 0x1b4]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x1400b29d4]
mov rcx, rax
call fcn.1400352f8
nop
lea rcx, [rbp + 0xc8]
call fcn.1400354f6
lea rcx, [rbp - 0x50]
lea rdx, [0x1400acc60]
call fcn.1400369d2
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.140035ee2
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x180001ad0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x180001b1f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180108170]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x180001b5d
cmp rsi, r14
jb 0x180001b55
cmp rsi, r15
jae 0x180001b55
cmp qword [rsi + 8], 0
jne 0x180001d27
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180001b40
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180001bf2
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180001be9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180001be9
cmp dword [rsp + 0x40], 0x10000
je 0x180001c6b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180001be9
sub rbx, rbp
cmp rbx, r14
jae 0x180001bb0
test rsi, rsi
jne 0x180001cd0
cmp rdi, r15
ja 0x180001d0f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x180001d0f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180001d0f
cmp dword [rsp + 0x40], 0x10000
je 0x180001ca1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180001c22
jmp 0x180001d0f
test rbx, rbx
je 0x180001be9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180001cd0
cmp rbx, r14
jae 0x180001b90
jmp 0x180001bf2
test rdi, rdi
je 0x180001d0f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180001cd0
cmp rdi, r15
jbe 0x180001c00
jmp 0x180001d0f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180001ce0
mov rax, qword [0x180108170]
mov qword [rsi], rax
mov qword [0x180108170], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800ba130
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180002780
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800028ab
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1800028a2
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180002884
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180002884
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180002884
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180002842
mov rcx, qword [0x180107648]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1800028a2
jmp 0x180002877
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180002877
mov rcx, qword [0x180107648]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1800028a2
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1800027f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180002903
cmp dword [rbx + 0xc], esi
jbe 0x180002903
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800028fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.1800025d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x1800028c0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800ba130
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret