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

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1400180c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov rcx, qword [0x140018630]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x14000bd08
nop dword [rax]
cmp dword [rax + 0x20], 4
jge 0x14000bcfc
mov rax, qword [rax + 0x10]
jmp 0x14000bd02
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14000bcf0
cmp byte [rcx + 0x19], 0
jne 0x14000bde4
cmp dword [rcx + 0x20], 4
jg 0x14000bde4
lea r8, [rcx + 0x28]
mov r10, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x14000bd31
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x14000bd63
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, r10
jb 0x14000bd50
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000b690
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000bd9e
cmp rcx, qword [rbx + 8]
je 0x14000bd9e
cmp qword [rbx + 0x10], 1
jne 0x14000bda2
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000f5e0
add rsp, 0x80
pop rbx
ret
xor al, al
jmp 0x14000bd88
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14000be10
nop
mov r8, rax
lea rdx, str.AcceptEncoding_does_not_accept_any_other_values_if_disabled_is_present._You_set_the_following_encodings:
lea rcx, [rsp + 0x58]
call fcn.140009480
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14000bc60
lea rdx, [0x140015798]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, str.invalid_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3

Function at 0x1400102f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001033a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001033a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001033a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001033a
cmp dword [rcx + 0x84], 0xe
jbe 0x14001033a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001033c
xor al, al
add rsp, 0x28
ret
Function at 0x14058d058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14058d1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14058d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14058d06f
add dl, dl
jne 0x14058d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14058d0f6
xor eax, eax
add dl, dl
jne 0x14058d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14058d1ad
add dl, dl
jne 0x14058d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14058d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14058d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14058d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14058d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14058d07e
mov eax, 1
add dl, dl
jne 0x14058d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14058d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14058d0fb
sub eax, ebx
mov ebx, 1
jne 0x14058d14c
mov ecx, 1
add dl, dl
jne 0x14058d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14058d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14058d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14058d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14058d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14058d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14058d15d
cmp eax, 0x7d00
jae 0x14058d19b
cmp eax, 0x500
jb 0x14058d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14058d07e
cmp eax, 0x7f
ja 0x14058d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14058d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14058d1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14058d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180001550
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call sub.libglib_2.0_0.dll_g_utf8_to_utf16
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180001597
call qword [sym.imp.MSVCR100.dll__errno]
mov dword [rax], 0x16
mov eax, 0xffffffff
jmp 0x1800015e2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCR100.dll__wremove]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xffffffff
jne 0x1800015bc
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCR100.dll__wrmdir]
mov dword [rsp + 0x38], eax
call qword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [rax]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x30]
call sub.libglib_2.0_0.dll_g_free
call qword [sym.imp.MSVCR100.dll__errno]
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov eax, dword [rsp + 0x38]
add rsp, 0x48
ret

Function at 0x1800017d0
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x58
mov dword [rsp + 0x30], 0
lea rcx, [0x18000d018]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.SetDllDirectoryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x180001815
lea rcx, [0x18000d3b0]
call qword [rsp + 0x40]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x18000185f
call fcn.180001870
test eax, eax
je 0x18000185f
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [0x18000d3a0]
call sub.libglib_2.0_0.dll_g_utf8_to_utf16
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, qword [rsp + 0x38]
call sub.libglib_2.0_0.dll_g_free
mov eax, dword [rsp + 0x30]
add rsp, 0x58
ret
Function at 0x180006162
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*8 + 0x88]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x18000620e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x180006276
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x88]
call fcn.1800060e2
cmp eax, dword [rsp + 0x80]
jne 0x180006274
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
jmp 0x180006278
jmp 0x180006204
xor eax, eax
add rsp, 0x68
ret

Function at 0x180006282
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov rax, qword gs:[0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 0x10
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
je 0x18000630f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x60]
call fcn.180005a12
cmp dword [rsp + 0x60], eax
jne 0x180006300
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
jmp 0x180006311
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
jmp 0x1800062cb
xor eax, eax
add rsp, 0x58
ret
Function at 0x180006b10
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x3c]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180006b9d
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x3c], eax
jne 0x180006b9d
mov dword [rsp + 0x38], 0
jmp 0x180006b5c
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x38], eax
jge 0x180006b9d
movsxd rax, dword [rsp + 0x38]
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + rax*8]
call sub.libglib_2.0_0.dll_g_utf16_to_utf8
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x58]
mov qword [rdx + rcx*8], rax
jmp 0x180006b52
add rsp, 0x48
ret

Function at 0x1800081b0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx]
mov dword [rax + 0x34], ecx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx + 0x34]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x20], 0
lea rcx, str.POSIXLY_sqx
call sub.MSVCR100.dll_getenv
test rax, rax
je 0x18000820e
mov dword [rsp + 0x20], 1
jmp 0x180008216
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x60]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax]
cmp eax, 0x2d
jne 0x180008252
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x28], 2
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
jmp 0x18000829f
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax]
cmp eax, 0x2b
jne 0x18000827a
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x28], 0
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
jmp 0x18000829f
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x2c], 0
je 0x180008293
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x28], 0
jmp 0x18000829f
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x28], 1
mov rax, qword [rsp + 0x50]
add rsp, 0x38
ret
Function at 0x180009c40
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180009caa
call fcn.180009820
test eax, eax
je 0x180009caa
mov qword [rsp + 0x30], rbx
lea r8, [0x180008e60]
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x180009680]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x38
ret

Function at 0x18000a050
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 0x18000a078
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 0x18000a09e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18000a0a0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18000a0f9
test ecx, ecx
jle 0x18000a0d9
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 0x18000a0f9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18000a0f9
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 0x18000a120
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 0x18000a142
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x18000a158
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 0x18000a174
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000a176
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18000a1b2
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 0x18000a24e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18000a1ed
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 0x18000a22e
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 0x18000a24e
cmp rbx, rax
ja 0x18000a200
test rbx, rbx
je 0x18000a24e
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 0x18000a6b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18004f3c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18000a6dd
xor eax, eax
jmp 0x18000a849
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18000a717
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18000a717
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 0x18000a849
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18000a83c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000a75a
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 0x18000a785
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 0x18000a841
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 0x18000a7f4
sub eax, 1
je 0x18000a7f4
cmp eax, 2
jne 0x18000a83c
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 0x18000a841
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18000a822
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 0x18000a83c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x18000a841
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18003d040
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18000acd0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18004f3c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18000ada3
cmp byte [rcx + 0x71], 0
je 0x18000ada3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18000ad9f
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 0x18000ad64
sub eax, 1
je 0x18000ad68
cmp eax, 2
jne 0x18000ad9f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18003d040
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18000ad96
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 0x18000ad9f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18000ad4c
xor al, al
jmp 0x18000ad4c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18003d040
add rsp, 0x60
pop rbx
ret

Function at 0x18000de30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000de8d
lea rbx, [0x1800425b0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18000de74
cmp r10, 2
jb 0x18000de74
cmp byte [r9], r8b
jne 0x18000de74
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x18000de50
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000decf
lea rbx, [0x1800425b0]
cmp r8b, 0x23
jne 0x18000deb3
cmp byte [r9], r8b
jne 0x18000deb3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x18000dea0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180012a50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x1800465b5]
mov dword [rsp + 0x2c], eax
lea r11, [0x1800425b0]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov edx, r10d
mov r9b, 0x57
nop
cmp r9b, 0x23
jne 0x180012aa3
cmp byte [r8], r9b
jne 0x180012aa3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x180012a90
mov ecx, dword [rbx + 0x2f14]
lea rax, [0x18001d230]
mov edi, dword [rbx + 0x2f10]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x18001d2f0]
mov qword [rsp + 0x38], rax
lea rax, [0x18001d3d0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x180012ba5
inc edi
test ecx, ecx
je 0x180012b0f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180012b14
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x180012ba5
mov rax, qword [0x180050770]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x180012b38
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x2f18]
mov rsi, rax
test rdx, rdx
je 0x180012b93
movsxd rcx, dword [rbx + 0x2f10]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2f18]
test rcx, rcx
je 0x180012b8d
mov rax, qword [0x180050770]
test rax, rax
je 0x180012b8d
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2f18], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2f14], edi
movsxd rax, dword [rbx + 0x2f10]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f18]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2f10]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x180013710
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180013760
lea r11, [0x1800425b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180013743
cmp byte [r8], r9b
jne 0x180013743
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180013730
mov rcx, qword [0x180050770]
not eax
movsxd rdx, dword [rcx + 0x1a00]
mov r9, qword [rcx + 0x1a08]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x1800137c1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x1800137b9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x1800137bc
mov rdx, r8
test rdx, rdx
jne 0x180013790
cmp r9, r10
je 0x1800137d0
cmp dword [r9], eax
jne 0x1800137d0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret