joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800b8f30
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x18030b348]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov dword [rbp - 0x39], 0xecdaa4a5
mov dword [rbp - 0x35], 0xfff9e4f9
mov dword [rbp - 0x31], 0xf7e3eaed
mov word [rbp - 0x2d], 0xf4
mov byte [rbp - 0x2b], 1
xor ebx, ebx
mov ecx, ebx
nop dword [rax]
lea eax, [rcx - 0x7a]
xor byte [rbp + rcx - 0x39], al
inc rcx
cmp rcx, 0xd
jb 0x1800b8f80
mov byte [rbp - 0x2b], bl
xor edx, edx
lea r8d, [rdx + 0xb]
lea rcx, [rbp - 0x39]
call fcn.18001b9d0
mov dword [rbp - 0x29], 0xe6fbe2d4
mov dword [rbp - 0x25], 0xe8eff9ff
mov dword [rbp - 0x21], 0xf8dcaffd
mov dword [rbp - 0x1d], 0x100e7e1
nop
lea eax, [rbx - 0x7a]
xor byte [rbp + rbx - 0x29], al
inc rbx
cmp rbx, 0xe
jb 0x1800b8fc0
mov byte [rbp - 0x1a], 0
call fcn.180058a40
lea rcx, [rbp - 0x45]
call fcn.1800235c0
movss xmm7, dword [rax]
movss xmm6, dword [0x18012b67c]
movss dword [rsp + 0x20], xmm6
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x39]
call fcn.18001f190
mulss xmm7, dword [0x18012b5e8]
movss xmm3, dword [rax]
mulss xmm3, dword [0x18012b5e8]
subss xmm7, xmm3
movaps xmm1, xmm6
movaps xmm0, xmm7
call fcn.18002ff00
lea rcx, [rbp - 0x29]
call fcn.180058c90
call fcn.180058a40
mov ecx, 1
call fcn.1800b65b0
mov dword [rbp - 0x45], 0x44480000
mov dword [rbp - 0x41], 0x43fa0000
xor edx, edx
lea rcx, [rbp - 0x45]
call fcn.1800311f0
lea rcx, [rbp - 0x39]
call fcn.1800235c0
movss xmm2, dword [rax]
xor eax, eax
mov word [rbp - 0x49], ax
lea rdx, [rbp - 0x49]
lea rcx, [0x18030ce60]
call fcn.180020a40
mov qword [rbp - 0x45], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x45]
lea rcx, [0x180166c2b]
call fcn.18001dcf0
test al, al
je 0x1800b9106
mov ecx, dword [0x18030e868]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x18030e554], eax
jg 0x1800b9132
mov rcx, qword [0x18030d978]
mov rax, qword [rcx]
lea rdx, vtable.std::_Func_impl_no_alloc_class__void___cdecl_ResourcesPainel::Render_void_::_6::_lambda_1___void__class_fwRefContainer_class_fx::Resource__const____ptr64_.0
mov qword [rbp - 0x19], rdx
lea rdx, [rbp - 0x19]
mov qword [rbp + 0x1f], rdx
lea rdx, [rbp - 0x19]
call qword [rax + gethostname]
nop
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x1800b9101
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
call fcn.180020e20
call fcn.180020ab0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.18011fa50
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
lea rcx, [0x18030e554]
call fcn.1801200c0
cmp dword [0x18030e554], 0xffffffff
jne 0x1800b90c3
lea rcx, [0x180125910]
call fcn.180120000
lea rcx, [0x18030e554]
call fcn.180120054
jmp 0x1800b90c3
Function at 0x1800bb9d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18030b348]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1800bbaa3
cmp byte [rcx + 0x71], 0
je 0x1800bbaa3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1800bba9f
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 0x1800bba64
sub eax, 1
je 0x1800bba68
cmp eax, 2
jne 0x1800bba9f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18011fa50
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1800bba96
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 0x1800bba9f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1800bba4c
xor al, al
jmp 0x1800bba4c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18011fa50
add rsp, 0x60
pop rbx
ret
Function at 0x1800bc380
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x1800bc3e1
lea r8, [r9 + 8]
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1800bc3a0
mov ecx, dword [r9]
jmp 0x1800bc4c8
cmp ecx, 0x4e0
jb 0x1800bc4c8
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1800bc400
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1800bc450
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
add rsp, 8
ret
Function at 0x1800bc520
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov ebp, r9d
mov r15, r8
mov r14, rdx
mov rsi, rcx
call fcn.1800bc380
mov rdi, rax
add ebp, 0xffffffff
je 0x1800bc6fa
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
xor r12d, r12d
nop word [rax + rax]
mov r9, qword [rsi]
shl rdi, 0x20
mov ecx, dword [r9]
cmp ecx, 0x270
jne 0x1800bc5c4
lea rax, [r9 + 8]
mov r10d, ecx
nop dword [rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r10, 1
jne 0x1800bc580
mov ecx, dword [r9]
jmp 0x1800bc6a3
cmp ecx, 0x4e0
jb 0x1800bc6a3
lea r10, [r9 + 0x9c4]
mov r11d, 0xe3
mov ebx, dword [r10]
mov eax, ebx
mov ebx, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, ebx
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub r11, 1
jne 0x1800bc5e0
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
mov ebx, dword [r10]
nop word [rax + rax]
mov eax, ebx
mov ebx, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, ebx
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub r11, 1
jne 0x1800bc630
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
mov ecx, r12d
mov dword [r9], r12d
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov ecx, edx
mov dword [r9], eax
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
xor rdx, rax
mov rcx, rdx
shr rcx, 0x12
xor rcx, rdx
or rdi, rcx
add ebp, 0xffffffff
jne 0x1800bc560
mov r12, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
mov rax, r15
mul rdi
mov qword [r14], rax
mov rax, r14
mov qword [r14 + 8], rdx
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800bd850
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1b], 0
je 0x1800bd873
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1a
jb 0x1800bd860
mov byte [rcx + 0x1b], 0
mov rax, rcx
ret
Function at 0x1800c5330
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x18030b348]
xor rax, rsp
mov qword [rbp - 8], rax
lea rdi, [0x18030ae98]
mov rcx, rdi
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x18030ae98]
mov r8, qword [0x18030aea8]
test r8, r8
jne 0x1800c5496
lea rdx, [0x180166c2b]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800c5496
movdqa xmm0, xmmword [0x180159ae0]
movdqu xmmword [rbp - 0x48], xmm0
mov dword [rbp - 0x38], 0xfcf5b7f2
mov dword [rbp - 0x34], 0xb4bbeef4
mov word [rbp - 0x30], 0x100
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x7a]
xor byte [rbp + rcx - 0x48], al
inc rcx
cmp rcx, 0x18
jb 0x1800c53c0
mov byte [rbp - 0x2f], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
lea rax, [rbp - 0x48]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1800c53f1
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.18005b910
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
nop
inc rbx
cmp byte [rdx + rbx], 0
jne 0x1800c5430
mov r8, rbx
lea rcx, [rbp - 0x48]
call fcn.18005b910
lea rcx, [rbp - 0x48]
call fcn.1800c0880
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1800c5521
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c548c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c548c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011f9bc
jmp 0x1800c5521
mov r8, qword [0x18030d978]
mov rax, qword [r8]
mov rbx, qword [rax + 0x50]
mov rcx, qword [0x18030d9b8]
mov qword [rbp - 0x50], rcx
test rcx, rcx
je 0x1800c54c1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, qword [0x18030d978]
lea rdx, [rbp - 0x50]
mov rcx, r8
call rbx
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdi, qword [0x18030ae98]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1800c5500
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.18005b910
lea rcx, [rbp - 0x28]
call fcn.1800c1bd0
mov al, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18011fa50
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1800c6060
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x18030b348]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x1800c608d
xor eax, eax
jmp 0x1800c61f6
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1800c60cd
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x1800c60cd
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x1800c61ee
cmp qword [rdi + 0x80], 0
je 0x1800c61e9
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x1800c6107
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x1800c6132
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x1800c61ee
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 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 0x1800c61a1
sub eax, 1
je 0x1800c61a1
cmp eax, 2
jne 0x1800c61e9
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x1800c61ee
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x1800c61cf
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x1800c61e9
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x1800c61ee
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18011fa50
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1800c6d70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x13e0
call fcn.180120150
sub rsp, rax
mov rax, qword [0x18030b348]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov r8d, eax
mov dword [rsp + 0x13c4], 0xffffffff
mov dword [rsp + 0x44], eax
lea ecx, [rbx + 1]
nop word [rax + rax]
mov eax, r8d
shr eax, 0x1e
xor eax, r8d
imul r8d, eax, 0x6c078965
add r8d, ecx
mov dword [rsp + rcx*4 + 0x44], r8d
inc rcx
cmp rcx, 0x270
jb 0x1800c6dd0
mov dword [rsp + 0x40], 0x270
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], bl
mov dword [rsp + 0x20], 1
mov rdx, rsi
mov rcx, rdi
call fcn.18000c860
test rsi, rsi
je 0x1800c6e98
nop dword [rax + rax]
dec rsi
mov rbx, qword [str.abcdefghijklmnopqrstuvwxyz]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov edx, reloc.WLDAP32.dll_Ordinal_26
lea rcx, [rsp + 0x28]
call fcn.1800b12a0
movzx r9d, byte [rbx + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1800c6e84
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x1800c6e79
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800c6e93
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.18000b1f0
test rsi, rsi
jne 0x1800c6e30
mov rax, rdi
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.18011fa50
lea r11, [rsp + 0x13e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1800c9eb0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x1800c9ee1
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.0x1800c9ef8
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 qword [rsp + 0x30], rbx
mov rbx, rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x1800c9f49
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
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, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x1800c9fc1
mov rcx, rbp
call int.1800bcfa0
cmp rbx, 0xfff
jbe 0x1800c9fa1
nop word [rax + rax]
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x1800c9fe2
cmp rbx, rax
ja 0x1800c9f70
test rdi, rdi
je 0x1800c9fc1
mov r9, qword [rbp + 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 rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
sub rsi, rbx
jmp 0x1800c9fc4
fadd dword [rsi - 0x27]
invalid
Function at 0x1800c9ff0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x1800ca011
add rsp, 0x20
pop r14
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 qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
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 rbp, rax
test rbx, rbx
jle 0x1800ca08c
test rax, rax
jle 0x1800ca06c
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
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, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x1800ca08c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1800ca08c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
add dword [0x1aac96c8a], r14d
jmp 0x1802a7484
pop rcx
shr byte [rax], 0xe5
adc cl, byte [rdi - 0x4a]
invalid
Function at 0x1800cc1c0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x1800cc200
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18030eee0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1800cc23e
cmp rsi, r14
jb 0x1800cc236
cmp rsi, r15
jae 0x1800cc236
cmp qword [rsi + 8], 0
jne 0x1800cc407
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800cc221
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800cc2d2
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800cc2c9
nop word [rax + rax]
mov r8d, Ordinal_50
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800cc2c9
cmp dword [rsp + 0x70], 0x10000
je 0x1800cc34b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1800cc2c9
sub rbx, rbp
cmp rbx, r14
jae 0x1800cc290
test rsi, rsi
jne 0x1800cc3b0
cmp rdi, r15
ja 0x1800cc3ef
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
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 0x1800cc3ef
mov r8d, Ordinal_50
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800cc3ef
cmp dword [rsp + 0x70], 0x10000
je 0x1800cc381
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800cc302
jmp 0x1800cc3ef
test rbx, rbx
je 0x1800cc2c9
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 0x1800cc3b0
cmp rbx, r14
jae 0x1800cc270
jmp 0x1800cc2d2
test rdi, rdi
je 0x1800cc3ef
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 0x1800cc3b0
cmp rdi, r15
jbe 0x1800cc2e0
jmp 0x1800cc3ef
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 0x1800cc3c0
mov rax, qword [0x18030eee0]
mov qword [rsi], rax
mov qword [0x18030eee0], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret