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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1800469ed
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1800469f4
mov al, 1
jmp 0x180046b4c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.180054520
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.180054520
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.180054530
movzx eax, al
test eax, eax
je 0x180046a49
xor al, al
jmp 0x180046b4c
mov qword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
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]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x180046ab9
cmp dword [rsp + 0x30], 1
je 0x180046ac5
cmp dword [rsp + 0x30], 3
je 0x180046b3a
jmp 0x180046b4a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x180046b11
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x180046b11
xor al, al
jmp 0x180046b4c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x180046b2b
mov dword [rsp + 0x34], 1
jmp 0x180046b33
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x180046b4c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x180046b4c
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0xa8
ret
Function at 0x180048ec0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x180048ef0
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x180048f72
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x180048f3e
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x180048f46
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x180048ee5
mov qword [rsp + 8], 0xe3
jmp 0x180048f8a
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x180049011
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x180048fdb
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x180048fe3
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x180048f7d
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x180049065
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x18004906d
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x1800490c0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x1800490e1
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x180049165
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x180049130
mov dword [rsp + 4], 0x9908b0df
jmp 0x180049138
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1800490d4
add rsp, 0x18
ret
Function at 0x1800571d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 8]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov edx, eax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180057220
xor al, al
jmp 0x18005728b
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 8]
call fcn.180055420
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180057263
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 8]
mov r8d, eax
mov rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 8]
lea r9, [rsp + 0x28]
mov r8d, dword [rsp + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18005728b
xor al, al
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x48
ret

Function at 0x180059e00
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xb0]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x20], 0
jmp 0x180059e97
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x68]
add rax, 0x28
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x180059f68
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x24]
and eax, 0x20
cmp eax, 0x20
jne 0x180059f42
mov rax, qword [rsp + 0x68]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180019960
nop
xor r8d, r8d
lea rdx, [0x1802116a0]
lea rcx, [rsp + 0x70]
call fcn.180054eb0
cmp rax, 0xffffffffffffffff
je 0x180059f35
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x10], 0
je 0x180059f35
mov rax, qword [rsp + 0xb0]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x50]
call fcn.180039e50
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.18005a980
lea rcx, [rsp + 0x48]
call fcn.18003cc70
nop
lea rcx, [rsp + 0x70]
call fcn.180019cf0
nop
jmp 0x180059f63
mov rax, qword [rsp + 0xb0]
add rax, 0x30
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
call fcn.18005a950
nop
jmp 0x180059e7f
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0xa8
ret
Function at 0x18005f350
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rcx, qword [rsp + 0x280]
call fcn.18004da10
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x18005f3bb
jmp 0x18005f434
mov dword [rsp + 0x50], 0x200
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0
jmp 0x18005f3e8
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x186a0
jae 0x18005f428
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x54]
mov r8d, 0x200
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18005f424
cmp dword [rsp + 0x54], 0x200
je 0x18005f426
jmp 0x18005f428
jmp 0x18005f3de
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x270
pop rdi
ret
Function at 0x18005f450
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
mov dword [rsp + 0x58], 0xa
mov dword [rsp + 0x70], 0x1f4
mov dword [rsp + 0x40], 0
jmp 0x18005f49c
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xa
jge 0x18005f534
mov rcx, qword [rsp + 0x2a0]
call fcn.18004da10
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x18005f4f3
jmp 0x18005f534
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x20
je 0x18005f509
jmp 0x18005f60c
mov rcx, qword [rsp + 0x2a0]
call fcn.180044ad0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.18001c430
mov rcx, rax
call fcn.180036920
nop
jmp 0x18005f492
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x18005f58d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x54], eax
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x54]
xor edx, edx
mov ecx, 0x1100
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
jmp 0x18005f60c
mov dword [rsp + 0x5c], 0x200
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov dword [rsp + 0x44], 0
jmp 0x18005f5bd
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x186a0
jae 0x18005f600
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x74]
mov r8d, 0x200
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18005f5fc
cmp dword [rsp + 0x74], 0x200
je 0x18005f5fe
jmp 0x18005f600
jmp 0x18005f5b3
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x290
pop rdi
ret
Function at 0x18005f630
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rcx, qword [rsp + 0x280]
call fcn.18004da10
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x18005f69d
jmp 0x18005f746
mov dword [rsp + 0x50], 0x200
mov dword [rsp + 0x44], 0
jmp 0x18005f6b9
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x186a0
jae 0x18005f73a
mov dword [rsp + 0x40], 0
jmp 0x18005f6d7
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x200
jae 0x18005f701
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov ecx, dword [rsp + 0x40]
mov byte [rsp + rcx + 0x60], al
jmp 0x18005f6cd
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x54]
mov r8d, 0x200
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18005f733
cmp dword [rsp + 0x54], 0x200
je 0x18005f735
jmp 0x18005f73a
jmp 0x18005f6af
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x278
ret
Function at 0x18005f820
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x18005f854
xor eax, eax
jmp 0x18005fa51
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x18005f886
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call 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]
jmp 0x18005fa51
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x18005f938
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.180017b20
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.18001af00
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
nop
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x18005fa41
mov rcx, qword [rsp + 0x80]
call fcn.180049370
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x18005f9ee
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x18005f9e9
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x18005fa51
jmp 0x18005f964
cmp qword [rsp + 0x50], 0
jbe 0x18005fa41
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x78
ret
Function at 0x18005fa70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x18005faa9
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call 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]
jmp 0x18005fb98
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x18005fb40
cmp qword [rsp + 0x20], 0
jle 0x18005fb40
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x18005fae9
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.18001af00
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rsp + 0x50], 0
jle 0x18005fb88
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x18005fb88
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x180060170
Capabilities:
Execute command

Disassembly:
sub rsp, 0xca8
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0xc98], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x110], 0
je 0x1800601b2
mov dl, reloc.WLDAP32.dll_Ordinal_200
mov rcx, qword [rsp + 0x110]
call fcn.18005da90
nop
call fcn.180041750
call fcn.1800418e0
lea rcx, [0x180659af0]
call fcn.18006e030
call fcn.180034130
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x180043440]
xor edx, edx
xor ecx, ecx
call qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
call fcn.180034010
mov qword [rsp + 0x148], rax
mov rcx, qword [rsp + 0x140]
call qword [rsp + 0x148]
call fcn.180034130
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1800436f0]
xor edx, edx
xor ecx, ecx
call qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
call fcn.180034010
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x158]
call qword [rsp + 0x160]
call fcn.180034130
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1800435a0]
xor edx, edx
xor ecx, ecx
call qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
call fcn.180034010
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x170]
call qword [rsp + 0x178]
mov dx, 4
mov rcx, qword [0x180659ae8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
lea rcx, [0x180659af0]
call fcn.180069ce0
movzx eax, al
test eax, eax
je 0x1800603d2
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x188], rax
lea rdx, [rsp + 0x8c0]
lea rcx, [rsp + 0x84]
call fcn.18003e840
mov rcx, rax
call fcn.18003db20
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x188]
call fcn.18001e450
nop
lea rcx, [0x1802093ec]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x198], rax
lea rdx, [rsp + 0x388]
lea rcx, [rsp + 0x85]
call fcn.18003e870
mov rcx, rax
call fcn.18003db40
mov qword [rsp + 0x190], rax
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x198]
call fcn.18001e450
nop
lea rax, [rsp + 0x740]
mov qword [rsp + 0x1a0], rax
lea rdx, str.Blacklisted_User_Action_Taken:_BSOD
mov rcx, qword [rsp + 0x1a0]
call fcn.180019960
mov rdx, rax
lea rcx, [0x180659af0]
call fcn.180070ff0
nop
call fcn.18003fba0
nop
mov edx, Ordinal_27
lea rcx, [rsp + 0xad8]
call fcn.1800186f0
lea rax, [rsp + 0xca8]
mov rdx, rax
lea rcx, [rsp + 0xad8]
call fcn.180019b90
nop
lea rax, [0x180058350]
mov qword [rsp + 0x1a8], rax
mov eax, 4
mov rcx, qword [rsp + 0x1a8]
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.1800c506c
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x360], rax
jmp 0x180060449
lea rcx, [rsp + 0xad8]
call fcn.180019d20
nop
jmp 0x18006045b
xor eax, eax
mov rcx, qword [rsp + 0xc98]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0xca8
ret