joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006c50
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14004a028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r12, r8
mov r13, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r15b, r15b
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.14000aa70
mov rdi, rax
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r14, rax
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140006cb7
mov rdx, qword [rdi]
mov r8d, 4
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbp, rax
test rax, rax
jne 0x140006d7c
lea rdx, str._x__Cannot_open_service._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000cf70
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140006d25
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140006d20
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006ded
mov rcx, r8
call fcn.140021ae8
xor esi, esi
mov word [rdi], si
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140006d75
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140006d70
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006e82
mov rcx, r8
call fcn.140021ae8
xor al, al
jmp 0x140006e4e
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140006db7
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140006db2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006ded
mov rcx, r8
call fcn.140021ae8
xor esi, esi
mov word [rdi], si
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov rdx, r13
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x140006df4
lea rdx, str._x__Unable_to_get_status_of_service._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000cf70
jmp 0x140006df7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r15b, 1
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test r12, r12
jne 0x140006e0f
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140006e4a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140006e45
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006e82
mov rcx, r8
call fcn.140021ae8
movzx eax, r15b
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140021690
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000101e
Capabilities:
Terminate process

Disassembly:
jmp 0x14001dd78
push rbx
sub rsp, 0x20
test rcx, rcx
lea rbx, str.corrupt_pack_file_or_internal_error
mov rax, rdx
cmovne rbx, rcx
test rdx, rdx
jne 0x14001ddc0
call fcn.14000102d
test rax, rax
jne 0x14001ddc0
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Error:_unpacker:__s_n
mov rcx, rax
call fcn.140001384
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.1400012c1

Function at 0x140001064
Capabilities:
Terminate process

Disassembly:
jmp 0x14001f9ec
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1400017a3
test al, al
je 0x14001f8b3
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.1400014b0
mov bl, al
mov ecx, dword [0x140032b38]
cmp ecx, 1
je 0x14001f8be
test ecx, ecx
jne 0x14001f7e9
mov dword [0x140032b38], 1
lea rdx, [0x140025660]
lea rcx, [0x140025330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x14001f7ca
mov eax, 0xff
jmp 0x14001f8a3
lea rdx, [0x140025220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x140032b38], 2
jmp 0x14001f7f1
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1400018ac
call fcn.14000141a
mov rbx, rax
cmp qword [rax], 0
je 0x14001f824
mov rcx, rax
call fcn.140001578
test al, al
je 0x14001f824
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x140037010]
call fcn.1400014a6
mov rbx, rax
cmp qword [rax], 0
je 0x14001f846
mov rcx, rax
call fcn.140001578
test al, al
je 0x14001f846
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rdi, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov rbx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov r8, rax
mov rdx, rdi
mov ecx, dword [rbx]
call fcn.14000135c
mov ebx, eax
call fcn.1400016f4
test al, al
je 0x14001f8c8
test sil, sil
jne 0x14001f87d
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.14000171c
mov eax, ebx
jmp 0x14001f8a3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.140001573
nop
mov ecx, 7
call fcn.140001573
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.140001816
add rsp, 0x28
jmp 0x14001f75c

Function at 0x140001073
Capabilities:
Terminate process

Disassembly:
jmp 0x140014eac
push rbx
sub rsp, 0x20
mov ebx, edx
mov edx, 2
call fcn.1400010b9
movzx ecx, bx
mov rdx, rax
cmp ebx, ecx
je 0x140014edb
xor edx, edx
lea rcx, str.Internal_buffer_overflow
add rsp, 0x20
pop rbx
jmp fcn.14000101e
mov eax, ebx
mov byte [rdx + 1], bl
sar eax, 8
mov byte [rdx], al
add rsp, 0x20
pop rbx
ret
Function at 0x140001195
Capabilities:
Terminate process

Disassembly:
jmp 0x14001f110
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140001226
Capabilities:
Terminate process

Disassembly:
jmp 0x14001e774
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rdx
mov rbx, rcx
jne 0x14001e7c8
lea rdx, [0x14002e3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rbx], rax
test rax, rax
jne 0x14001e7c8
mov rcx, qword [rbx + 0x50]
lea rdx, str.Error:_Could_not_open_jar_file:__s_n
mov r8, rdi
mov rcx, qword [rcx + 0xc0]
call fcn.140001384
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000124e
Capabilities:
Create directory

Disassembly:
jmp 0x14001dc50
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x140031e48]
xor rax, rsp
mov qword [rsp + 0x130], rax
movsxd rbx, ecx
mov rdi, rdx
mov rcx, rdx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp rax, rbx
jbe 0x14001dcbd
mov rdx, rdi
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov edx, 0x2f
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x14001dcbd
lea rdx, [rsp + 0x20]
mov byte [rax], 0
mov ecx, ebx
call fcn.14000124e
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140001203
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
ret
Function at 0x1400012c1
Capabilities:
Terminate process

Disassembly:
jmp 0x140010cec
sub rsp, 0x28
mov rcx, qword [rcx + 0xc0]
lea rax, str.error_unpacking_archive
test rdx, rdx
cmovne rax, rdx
lea rdx, [0x14002e2a4]
cmp byte [rax], 0x40
lea r8, [rax + 1]
cmovne r8, rax
call fcn.140001384
or ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140001456
Capabilities:
Terminate process
Write file on windows

Disassembly:
jmp 0x14001ed3c
test r8d, r8d
jle 0x14001ed8f
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov r9, qword [rdi]
mov edx, 1
movsxd r8, ebx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
test eax, eax
jle 0x14001ed90
add dword [rdi + 0x34], eax
sub ebx, eax
movsxd rcx, eax
add rsi, rcx
test ebx, ebx
jg 0x14001ed59
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rcx, qword [rdi + 0x50]
lea rdx, str.Error:_write_on_output_file_failed_err_d_n
mov r8d, dword [rax]
mov rcx, qword [rcx + 0xc0]
call fcn.140001384
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x1400014d3
Capabilities:
Terminate process

Disassembly:
jmp 0x14001e57c
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140031e48]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsxd rdi, edx
mov rbx, rcx
test edx, edx
je 0x14001e5b8
cmp edi, dword [rcx + 0xc]
jne 0x14001e5af
mov eax, dword [rcx + 0x10]
jmp 0x14001e664
cmp dword [rcx + 8], 0
jne 0x14001e5b8
mov dword [rcx + 8], edi
xor edx, edx
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x48]
lea r8d, [rdx + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__gmtime64]
mov rdx, rax
test rax, rax
jne 0x14001e601
mov rcx, qword [rbx + 0x50]
lea rdx, str.Error:_gmtime_failure__invalid_input_archive_n
mov rcx, qword [rcx + 0xc0]
call fcn.140001384
or ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov dword [rbx + 0xc], edi
mov ecx, 0x7bc
mov eax, dword [rax + 0x14]
add eax, 0x76c
cmp eax, ecx
jge 0x14001e639
and dword [rsp + 0x30], 0
mov r9d, 1
and dword [rsp + 0x28], 0
mov edx, ecx
and dword [rsp + 0x20], 0
mov r8d, r9d
mov rcx, rbx
call fcn.14000118b
jmp 0x14001e661
mov ecx, dword [rdx + 0x10]
add eax, 0xffffffc4
shl eax, 9
inc ecx
or eax, dword [rdx + 0xc]
shl eax, 5
or eax, dword [rdx + 8]
shl eax, 6
or eax, dword [rdx + 4]
shl ecx, 0x15
shl eax, 5
or eax, ecx
mov ecx, dword [rdx]
shr ecx, 1
or eax, ecx
mov dword [rbx + 0x10], eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140001203
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x140001578
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14001fe2c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14001feba
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x14001feba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001feba
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14001fea1
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14001fe9b
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14001fea3
add rdx, 0x28
jmp 0x14001fe80
xor edx, edx
test rdx, rdx
jne 0x14001feac
xor al, al
jmp 0x14001fec0
cmp dword [rdx + 0x24], 0
jge 0x14001feb6
xor al, al
jmp 0x14001fec0
mov al, 1
jmp 0x14001fec0
xor al, al
jmp 0x14001fec0
add rsp, 0x18
ret

Function at 0x1400016f4
Capabilities:
Parse pe header

Disassembly:
jmp 0x14002041c
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140020467
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140020467
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140020467
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140020467
cmp dword [rcx + 0x84], 0xe
jbe 0x140020467
cmp dword [rcx + 0xf8], 0
je 0x140020467
mov al, 1
jmp 0x140020469
xor al, al
add rsp, 0x28
ret

Function at 0x14000180c
Capabilities:
Terminate process

Disassembly:
jmp 0x14000f650
push rbx
movsxd r11, r9d
mov rbx, r8
mov r10, rcx
test edx, edx
jns 0x14000f668
lea rcx, str.bad_value_count
jmp 0x14000f6d6
mov r9, qword [rcx]
cmp r11d, 1
je 0x14000f6aa
mov ecx, pe_nt_image_headers64
cmp dword [rsp + 0x30], ecx
je 0x14000f6aa
sub ecx, dword [rsp + 0x30]
mov r8d, r11d
jmp 0x14000f6a1
inc r9
sub r8d, 1
je 0x14000f697
movzx eax, byte [r9 - 1]
cmp eax, ecx
jge 0x14000f6a1
dec edx
mov r8d, r11d
cmp r9, rbx
ja 0x14000f6cf
test edx, edx
jg 0x14000f685
mov qword [r10], r9
pop rbx
ret
movsxd r8, edx
mov rcx, r11
imul r11, r8
xor edx, edx
mov rax, r11
div rcx
cmp rax, r8
jne 0x14000f6cf
lea rax, [r11 + r9]
cmp rax, rbx
ja 0x14000f6cf
mov qword [r10], rax
pop rbx
ret
lea rcx, str.EOF_reading_band
xor edx, edx
pop rbx
jmp fcn.14000101e

Function at 0x140007080
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
mov esi, eax
movabs eax, dword [0xda8b088900409214]
test ebx, ebx
jle 0x1400070a1
mov eax, 0xff
call fcn.140002680
xor byte [rsi], al
jne 0x140007091
pop rsi
pop rbx
ret
Function at 0x14000f650
Capabilities:
Terminate process

Disassembly:
jmp 0x14000f650
push rbx
movsxd r11, r9d
mov rbx, r8
mov r10, rcx
test edx, edx
jns 0x14000f668
lea rcx, str.bad_value_count
jmp 0x14000f6d6
mov r9, qword [rcx]
cmp r11d, 1
je 0x14000f6aa
mov ecx, pe_nt_image_headers64
cmp dword [rsp + 0x30], ecx
je 0x14000f6aa
sub ecx, dword [rsp + 0x30]
mov r8d, r11d
jmp 0x14000f6a1
inc r9
sub r8d, 1
je 0x14000f697
movzx eax, byte [r9 - 1]
cmp eax, ecx
jge 0x14000f6a1
dec edx
mov r8d, r11d
cmp r9, rbx
ja 0x14000f6cf
test edx, edx
jg 0x14000f685
mov qword [r10], r9
pop rbx
ret
movsxd r8, edx
mov rcx, r11
imul r11, r8
xor edx, edx
mov rax, r11
div rcx
cmp rax, r8
jne 0x14000f6cf
lea rax, [r11 + r9]
cmp rax, rbx
ja 0x14000f6cf
mov qword [r10], rax
pop rbx
ret
lea rcx, str.EOF_reading_band
xor edx, edx
pop rbx
jmp fcn.14000101e

Function at 0x140010cec
Capabilities:
Terminate process

Disassembly:
jmp 0x140010cec
sub rsp, 0x28
mov rcx, qword [rcx + 0xc0]
lea rax, str.error_unpacking_archive
test rdx, rdx
cmovne rax, rdx
lea rdx, [0x14002e2a4]
cmp byte [rax], 0x40
lea r8, [rax + 1]
cmovne r8, rax
call fcn.140001384
or ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140014eac
Capabilities:
Terminate process

Disassembly:
jmp 0x140014eac
push rbx
sub rsp, 0x20
mov ebx, edx
mov edx, 2
call fcn.1400010b9
movzx ecx, bx
mov rdx, rax
cmp ebx, ecx
je 0x140014edb
xor edx, edx
lea rcx, str.Internal_buffer_overflow
add rsp, 0x20
pop rbx
jmp fcn.14000101e
mov eax, ebx
mov byte [rdx + 1], bl
sar eax, 8
mov byte [rdx], al
add rsp, 0x20
pop rbx
ret
Function at 0x14001e774
Capabilities:
Terminate process

Disassembly:
jmp 0x14001e774
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rdx
mov rbx, rcx
jne 0x14001e7c8
lea rdx, [0x14002e3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rbx], rax
test rax, rax
jne 0x14001e7c8
mov rcx, qword [rbx + 0x50]
lea rdx, str.Error:_Could_not_open_jar_file:__s_n
mov r8, rdi
mov rcx, qword [rcx + 0xc0]
call fcn.140001384
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001ed3c
Capabilities:
Terminate process
Write file on windows

Disassembly:
jmp 0x14001ed3c
test r8d, r8d
jle 0x14001ed8f
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov r9, qword [rdi]
mov edx, 1
movsxd r8, ebx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
test eax, eax
jle 0x14001ed90
add dword [rdi + 0x34], eax
sub ebx, eax
movsxd rcx, eax
add rsi, rcx
test ebx, ebx
jg 0x14001ed59
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rcx, qword [rdi + 0x50]
lea rdx, str.Error:_write_on_output_file_failed_err_d_n
mov r8d, dword [rax]
mov rcx, qword [rcx + 0xc0]
call fcn.140001384
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14000cf80
Capabilities:
Set environment variable

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rcx, [0x1401ca3b7]
mov rsi, rdx
call fcn.140037910
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
mov dword [rsp + 0x20], 0
mov rcx, rax
call fcn.14000cf00
mov r9, rsi
mov r8, rbx
mov edx, 0xcde
lea rcx, str.config.c
add rsp, 0x38
pop rbx
pop rsi
jmp 0x14008efd0
mov eax, dword [0x14023dd6c]
test eax, eax
jne 0x14008efe0
ret
jmp 0x140090150
push rdi
push rsi
push rbx
sub rsp, 0x70
mov rdi, qword [0x140207460]
mov rax, qword [rdi]
mov qword [rsp + 0x68], rax
xor eax, eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
mov rbx, r8
mov qword [rsp + 0x28], rax
mov eax, dword [0x14023dd80]
mov rsi, r9
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0xffffffff
mov qword [rsp + 0x4c], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x38], edx
test eax, eax
je 0x1400901e0
mov eax, dword [0x14023dd84]
test eax, eax
jle 0x1400901cd
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x28]
mov rdx, rsi
mov rcx, rbx
call fcn.14008fcb0
mov rax, qword [rsp + 0x68]
sub rax, qword [rdi]
jne 0x1400901e7
add rsp, 0x70
pop rbx
pop rsi
pop rdi
ret
call fcn.14008fd30
jmp 0x1400901b4
call fcn.1401be670
nop
nop
nop
nop
Function at 0x14000f670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rsi, qword [0x140207460]
mov rdi, qword [rsp + 0xa8]
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
xor eax, eax
lea ebx, [rdx - 1]
mov r12d, ecx
mov ebp, r8d
mov eax, 0xffffffff
cmp ebx, 0xb
ja 0x14000f6af
lea edx, [r8 - 1]
cmp edx, 0x1e
jbe 0x14000f6d0
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rsi]
jne 0x14000f815
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
movdqu xmm0, xmmword [rdi]
movdqu xmm1, xmmword [rdi + 0x10]
mov eax, dword [rdi + 0x20]
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x40], eax
movups xmmword [rsp + 0x30], xmm1
test r9, r9
je 0x14000f758
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x2c], r8d
cmp ecx, 0xffffffff
je 0x14000f790
lea eax, [rcx - 0x7b2]
cmp eax, 0x81
ja 0x14000f7d0
sub r12d, 0x76c
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x34], r12d
call fcn.14000f520
cmp rax, 0xffffffffffffffff
je 0x14000f742
mov rcx, qword [rsp + 0xa0]
lea rdx, [rcx + 0xd2f00]
cmp rax, rdx
jg 0x14000f7bc
mov dword [rdi + 0x10], ebx
xor eax, eax
mov dword [rdi + 0xc], ebp
mov dword [rdi + 0x14], r12d
jmp 0x14000f6af
mov dword [rdi + 0x10], ebx
mov eax, 1
mov dword [rdi + 0xc], r8d
cmp ecx, 0xffffffff
je 0x14000f6af
lea eax, [rcx - 0x7b2]
cmp eax, 0x81
ja 0x14000f810
lea ecx, [rcx - 0x76c]
xor eax, eax
mov dword [rdi + 0x14], ecx
jmp 0x14000f6af
mov eax, dword [r9 + 0x14]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x34], eax
call fcn.14000f520
cmp rax, 0xffffffffffffffff
je 0x14000f800
mov rcx, qword [rsp + 0xa0]
lea rdx, [rcx + 0xd2f00]
cmp rdx, rax
jge 0x14000f800
mov eax, 0xffffffff
jmp 0x14000f6af
lea rcx, [rsp + 0x20]
lea eax, [r12 - 0x47]
cmp eax, 0x1c
jbe 0x14000f7e9
cmp r12d, 0x25
jg 0x14000f7bc
add r12d, 0x64
mov dword [rcx + 0x14], r12d
test r9, r9
jne 0x14000f723
xor eax, eax
jmp 0x14000f6af
mov dword [rdi + 0x10], ebx
xor eax, eax
mov dword [rdi + 0xc], ebp
jmp 0x14000f6af
mov rcx, rdi
jmp 0x14000f7d5
call fcn.1401be670
nop
nop dword [rax + rax]
Function at 0x14000ffc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
cmp ecx, 7
je 0x14000ffdb
lea rax, [0x14022c560]
mov dword [0x14022c560], ecx
add rsp, 0x28
ret
lea r8, str.cannot_create_anonymous_strftime_date_mode_struct
mov edx, 0xd6
lea rcx, str.date.c
call fcn.1400a0ca0
nop
nop word cs:[rax + rax]
nop
Function at 0x140013a00
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [0x1402079d0]
mov eax, dword [rax]
test eax, eax
je 0x140013a18
jmp fcn.14001f780
jmp fcn.14001f750
Function at 0x1400168e0
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
mov r8d, r9d
mov rcx, rdx
mov rdx, rsi
mov edi, r9d
call fcn.14004a480
test eax, eax
je 0x140016980
movsxd rcx, dword [rbx + 8]
mov eax, dword [rbx + 0x34]
cmp ecx, eax
jl 0x140016970
lea eax, [rax + rax*2 + 0x30]
mov edx, eax
shr edx, 0x1f
add edx, eax
lea eax, [rcx + 1]
sar edx, 1
cmp ecx, edx
cmovl eax, edx
mov dword [rbx + 0x34], eax
cdqe
mov rdx, rax
shr rdx, 0x3d
jne 0x14001698a
mov rcx, qword [rbx + 0x18]
lea rdx, [rax*8]
call fcn.1400a61c0
movsxd rcx, dword [rbx + 8]
mov qword [rbx + 0x18], rax
lea edx, [rcx + 1]
mov dword [rbx + 8], edx
lea rbx, [rax + rcx*8]
mov edx, edi
mov rcx, rsi
call fcn.140012750
mov qword [rbx], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov rax, qword [rbx + 0x18]
jmp 0x140016949
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov r8, rax
mov edx, 8
lea rcx, [0x1401cc098]
call fcn.1400a08a0
nop
nop
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov eax, dword [rsp + 0xa8]
mov rbp, qword [rsp + 0x90]
mov r13d, dword [rsp + 0x98]
mov r14, qword [rsp + 0xa0]
mov rbx, rcx
mov r12, rdx
mov rsi, r8
mov rdi, r9
cmp eax, 2
je 0x140016a40
cmp eax, 3
je 0x140016a00
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test byte [rcx], 1
jne 0x1400169e5
mov r9d, dword [rbp + 8]
mov r8, qword [rbp + 0x10]
mov rdx, rdi
call fcn.1400127c0
cmp qword [rsi], 0
je 0x1400169e5
movsxd rdx, r13d
mov rcx, r12
add rdx, qword [rbp + 0x10]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.140012050
mov eax, dword [rcx]
test al, 1
jne 0x140016b08
test al, 0x20
jne 0x140016ade
test al, 0x10
je 0x1400169e5
mov r15, qword [rbp + 8]
mov r12, qword [rbp + 0x10]
test r14, r14
je 0x1400169e5
mov eax, dword [r14]
test eax, eax
je 0x1400169e5
mov r9d, dword [r14 + 8]
cmp r9d, 0x3f
ja 0x140016b44
xor esi, esi
movsxd r13, r15d
test eax, eax
jg 0x140016aad
jmp 0x1400169e5
jge 0x140016aa0
mov rcx, qword [rax]
cmp byte [rcx + r13], 0x2f
je 0x140016b30
add rsi, 1
cmp dword [r14], esi
jle 0x1400169e5
mov rdx, qword [r14 + 0x10]
lea rax, [rsi*8]
sub rax, rsi
lea rax, [rdx + rax*8]
cmp r15d, dword [rax + 0x1c]
jne 0x140016a90
mov rcx, qword [rax]
mov r8, r13
mov rdx, r12
test byte [rax + 0x10], 0x10
jne 0x140016b3c
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x140016aa0
mov r9d, dword [rbp + 8]
mov r8, qword [rbp + 0x10]
mov rdx, rdi
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x1400168e0
mov r9d, dword [rbp + 8]
mov r8, qword [rbp + 0x10]
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400127c0
mov r8, r13
mov rdx, r12
test byte [rax + 0x10], 0x10
je 0x140016ad5
call qword [sym.imp.msvcrt.dll__strnicmp]
jmp 0x140016ada
and r9d, 0xffffffc0
lea r8, [0x1401cc040]
mov edx, 0x8ab
lea rcx, str.dir.c
call fcn.1400a0ca0
nop
nop word cs:[rax + rax]
nop dword [rax]