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

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x30]
lea r8, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x18], rsi
mov rsi, qword [rbp + 0x60]
mov qword [rbp + 0x10], rdi
mov rax, qword [0x1400a2fa8]
xor rax, rbp
mov qword [rbp + 0x40], rax
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rsi], r8
cmp qword [rsi + 0x80], 0
je 0x140019b98
mov rdi, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp rax, qword [rdi]
je 0x140019d30
cmp byte [rsi + 0x7c], 0
je 0x140019cc0
cmp qword [rsi + 0x80], 0
je 0x140019c62
mov rdi, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp rax, qword [rdi]
je 0x140019d03
cmp qword [rsi + 0x68], 0
je 0x140019c51
cmp byte [rsi + 0x71], 0
je 0x140019c51
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
mov rsi, qword [rbp + 0x60]
cmp eax, 0xffffffff
je 0x140019c51
mov rdi, rsp
lea r8, [rbp + 0x20]
mov rcx, qword [rsi + 0x68]
add rsi, 0x74
mov rdx, rsi
lea r9, [rbp + 0x40]
lea rax, [rbp]
mov r10, qword [rcx]
mov qword [rdi + 0x20], rax
call qword [r10 + 0x40]
mov rsi, qword [rbp + 0x60]
test eax, eax
je 0x140019c26
cmp eax, 1
je 0x140019c2a
cmp eax, 3
jne 0x140019c51
mov byte [rsi + 0x71], 0
jmp 0x140019c51
mov byte [rsi + 0x71], 0
mov r8, qword [rbp]
lea rax, [rbp + 0x20]
sub r8, rax
je 0x140019c51
mov r9, qword [rsi + 0x80]
lea rcx, [rbp + 0x20]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rsi, qword [rbp + 0x60]
mov rcx, qword [rsi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rbp + 0x60]
xor edx, edx
lea r10, [rsi + 8]
mov byte [rsi + 0x7c], dl
lea rdi, [rsi + 0x10]
mov byte [rsi + 0x71], dl
lea r11, [rsi + 0x28]
mov qword [rsi + 0x18], r10
lea r8, [rsi + 0x30]
mov qword [rsi + 0x20], rdi
lea rcx, [rsi + 0x48]
mov qword [rsi + 0x38], r11
lea r9, [rsi + 0x4c]
mov qword [rsi + 0x40], r8
xor eax, eax
mov qword [rdi], rax
mov qword [r8], rax
mov dword [r9], edx
mov qword [r10], rax
mov qword [r11], rax
mov dword [rcx], edx
mov rdi, qword [0x1400aa330]
mov qword [rsi + 0x50], rcx
mov qword [rsi + 0x58], r9
mov qword [rcx + 0x38], rax
mov qword [rsi + 0x74], rdi
mov qword [rsi + 0x68], rax
mov rax, qword [sym.imp.MSVCP140.dll_const_std::basic_streambuf_char__struct_std::char_traits_char__::vftable]
mov rcx, qword [rsi + 0x60]
mov qword [rsi], rax
test rcx, rcx
je 0x140019cdd
mov edx, 1
call fcn.140024280
mov rcx, qword [rbp + 0x40]
mov qword [rbp + 0x40], 0
xor rcx, rbp
cmp rcx, qword [0x1400a2fa8]
jne 0x140019d2a
mov rsi, qword [rbp + 0x18]
mov rdi, qword [rbp + 0x10]
lea rsp, [rbp + 0x50]
pop rbp
ret
mov rax, qword [rsi + 0x88]
mov r8, qword [rsi + 0x90]
mov qword [rdi], rax
sub r8, rax
mov rdi, qword [rsi + 0x38]
mov qword [rdi], rax
mov r9, qword [rsi + 0x50]
mov dword [r9], r8d
jmp 0x140019bc1
call fcn.140080e70
nop
mov rax, qword [rsi + 0x88]
mov r8, qword [rsi + 0x90]
mov qword [rdi], rax
sub r8, rax
mov rdi, qword [rsi + 0x38]
mov qword [rdi], rax
mov r9, qword [rsi + 0x50]
mov dword [r9], r8d
jmp 0x140019b98
Function at 0x140020a20
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rbp
sub rsp, 0x60
lea r9, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov rbx, rcx
mov rbp, rdx
mov r8, qword [0x1400a2fa8]
xor r8, rsp
mov qword [rsp + 0x58], r8
mov qword [rbx], r9
cmp qword [rbx + 0x80], 0
je 0x140020a61
mov rsi, qword [rbx + 0x18]
lea rdx, [rbx + 0x70]
cmp rdx, qword [rsi]
je 0x140020bfb
cmp byte [rbx + 0x7c], 0
je 0x140020b77
cmp qword [rbx + 0x80], 0
je 0x140020b19
mov rsi, qword [rbx + 0x18]
lea rdx, [rbx + 0x70]
cmp rdx, qword [rsi]
je 0x140020bcf
cmp qword [rbx + 0x68], 0
je 0x140020b0c
cmp byte [rbx + 0x71], 0
je 0x140020b0c
mov rsi, qword [rbx]
mov rcx, rbx
mov edx, 0xffffffff
call qword [rsi + 0x18]
cmp eax, 0xffffffff
je 0x140020b0c
mov rcx, qword [rbx + 0x68]
mov r11, rsp
lea rdx, [rbx + 0x74]
lea r8, [rsp + 0x38]
mov rsi, qword [rcx]
lea r9, [rsp + 0x58]
lea r10, [rsp + 0x30]
mov qword [r11 + 0x20], r10
call qword [rsi + 0x40]
test eax, eax
je 0x140020ae2
cmp eax, 1
je 0x140020ae6
cmp eax, 3
jne 0x140020b0c
mov byte [rbx + 0x71], 0
jmp 0x140020b0c
mov byte [rbx + 0x71], 0
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
sub r8, rdx
je 0x140020b0c
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
lea r10, [rbx + 8]
mov byte [rbx + 0x7c], al
lea rsi, [rbx + 0x10]
mov byte [rbx + 0x71], al
lea r11, [rbx + 0x28]
mov qword [rbx + 0x18], r10
lea r8, [rbx + 0x30]
mov qword [rbx + 0x20], rsi
lea rcx, [rbx + 0x48]
mov qword [rbx + 0x38], r11
lea r9, [rbx + 0x4c]
mov qword [rbx + 0x40], r8
xor edx, edx
mov qword [rsi], rdx
mov qword [r8], rdx
mov dword [r9], eax
mov qword [r10], rdx
mov qword [r11], rdx
mov dword [rcx], eax
mov rsi, qword [0x1400aa330]
mov qword [rbx + 0x50], rcx
mov qword [rbx + 0x58], r9
mov qword [rcx + 0x38], rdx
mov qword [rbx + 0x74], rsi
mov qword [rbx + 0x68], rdx
mov rdx, qword [sym.imp.MSVCP140.dll_const_std::basic_streambuf_char__struct_std::char_traits_char__::vftable]
mov rcx, qword [rbx + 0x60]
mov qword [rbx], rdx
test rcx, rcx
je 0x140020b94
mov edx, 1
call fcn.140024280
test rbp, 1
je 0x140020baa
mov rcx, rbx
mov edx, 0x98
call fcn.140080f10
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], 0
xor rcx, rsp
cmp rcx, qword [0x1400a2fa8]
jne 0x140020bf6
mov rax, rbx
add rsp, 0x60
pop rbp
pop rsi
pop rbx
ret
mov rdx, qword [rbx + 0x88]
mov r8, qword [rbx + 0x90]
mov qword [rsi], rdx
sub r8, rdx
mov rsi, qword [rbx + 0x38]
mov qword [rsi], rdx
mov r9, qword [rbx + 0x50]
mov dword [r9], r8d
jmp 0x140020a8a
call fcn.140080e70
mov rdx, qword [rbx + 0x88]
mov r8, qword [rbx + 0x90]
mov qword [rsi], rdx
sub r8, rdx
mov rsi, qword [rbx + 0x38]
mov qword [rsi], rdx
mov r9, qword [rbx + 0x50]
mov dword [r9], r8d
jmp 0x140020a61
Function at 0x140021ea0
Capabilities:
Read file on windows

Disassembly:
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x20
mov r12, r8
mov rbp, rdx
mov r13, rcx
test r12, r12
jle 0x14002204c
cmp qword [r13 + 0x68], 0
jne 0x140021f78
mov rdx, qword [r13 + 0x38]
mov r15, r12
mov rdx, qword [rdx]
test rdx, rdx
je 0x140021ee2
mov r9, qword [r13 + 0x50]
movsxd r14, dword [r9]
jmp 0x140021ee5
xor r14d, r14d
test r14, r14
ja 0x14002201b
cmp qword [r13 + 0x80], 0
je 0x140021f64
mov r9, qword [r13 + 0x18]
lea rdx, [r13 + 0x70]
cmp rdx, qword [r9]
je 0x140021ff4
cmp r15, 0xfff
jbe 0x140021f44
mov r9, qword [r13 + 0x80]
mov rcx, rbp
mov edx, 1
mov r8d, 0xfff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add rbp, rax
sub r15, rax
cmp rax, 0xfff
jne 0x140021f64
cmp r15, 0xfff
ja 0x140021f12
test r15, r15
jbe 0x140021f64
mov r9, qword [r13 + 0x80]
mov rcx, rbp
mov edx, 1
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub r15, rax
sub r12, r15
mov rax, r12
add rsp, 0x20
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov r15, r12
mov rdx, qword [r13 + 0x38]
mov rdx, qword [rdx]
test rdx, rdx
je 0x140021f90
mov r8, qword [r13 + 0x50]
movsxd r14, dword [r8]
jmp 0x140021f93
xor r14d, r14d
test r14, r14
jle 0x140021fc3
cmp r15, r14
mov rcx, rbp
cmovl r14, r15
mov r8, r14
call fcn.140078290
mov rdx, qword [r13 + 0x50]
add rbp, r14
sub r15, r14
movsxd r8, r14d
sub dword [rdx], r14d
mov r9, qword [r13 + 0x38]
add qword [r9], r8
jmp 0x140021fdb
mov rdx, qword [r13]
mov rcx, r13
call qword [rdx + 0x38]
cmp eax, 0xffffffff
je 0x140021fe0
mov byte [rbp], al
inc rbp
dec r15
test r15, r15
jg 0x140021f7b
sub r12, r15
mov rax, r12
add rsp, 0x20
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov rdx, qword [r13 + 0x88]
mov r10, qword [r13 + 0x90]
mov qword [r9], rdx
sub r10, rdx
mov r9, qword [r13 + 0x38]
mov qword [r9], rdx
mov r11, qword [r13 + 0x50]
mov dword [r11], r10d
jmp 0x140021f09
cmp r14, r12
mov rcx, rbp
cmovae r14, r12
mov r8, r14
call fcn.140078290
mov rdx, qword [r13 + 0x50]
mov r15, r12
add rbp, r14
sub r15, r14
movsxd r9, r14d
sub dword [rdx], r14d
mov r10, qword [r13 + 0x38]
add qword [r10], r9
jmp 0x140021eee
xor eax, eax
add rsp, 0x20
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x140022060
Capabilities:
Write file on windows

Disassembly:
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x20
mov r13, rcx
mov rbp, r8
mov r12, rdx
cmp qword [r13 + 0x68], 0
je 0x140022105
mov r15, rbp
test rbp, rbp
jle 0x1400220f1
mov r9, qword [r13 + 0x40]
mov rcx, qword [r9]
test rcx, rcx
je 0x14002209e
mov r9, qword [r13 + 0x58]
movsxd r14, dword [r9]
jmp 0x1400220a1
xor r14d, r14d
test r14, r14
jle 0x1400220d1
cmp r15, r14
mov rdx, r12
cmovl r14, r15
mov r8, r14
call fcn.140078290
mov r9, qword [r13 + 0x58]
add r12, r14
sub r15, r14
movsxd r10, r14d
sub dword [r9], r14d
mov r11, qword [r13 + 0x40]
add qword [r11], r10
jmp 0x1400220ec
mov r9, qword [r13]
mov rcx, r13
movzx edx, byte [r12]
call qword [r9 + 0x18]
cmp eax, 0xffffffff
je 0x1400220f1
inc r12
dec r15
test r15, r15
jg 0x140022089
sub rbp, r15
mov rax, rbp
add rsp, 0x20
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov r9, qword [r13 + 0x40]
mov r15, rbp
mov rcx, qword [r9]
test rcx, rcx
je 0x14002211d
mov r9, qword [r13 + 0x58]
movsxd r14, dword [r9]
jmp 0x140022120
xor r14d, r14d
test rbp, rbp
jle 0x140022178
test r14, r14
jle 0x140022158
cmp rbp, r14
mov rdx, r12
cmovl r14, rbp
mov r8, r14
call fcn.140078290
mov r9, qword [r13 + 0x58]
add r12, r14
movsxd r10, r14d
sub rbp, r14
sub dword [r9], r14d
mov r11, qword [r13 + 0x40]
add qword [r11], r10
test rbp, rbp
jle 0x140022178
mov r9, qword [r13 + 0x80]
test r9, r9
je 0x140022178
mov rcx, r12
mov edx, 1
mov r8, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbp, rax
sub r15, rbp
mov rax, r15
add rsp, 0x20
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x140022190
Capabilities:
Write file on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x68
mov rdi, rcx
mov r10, qword [0x1400a2fa8]
mov r14d, r9d
xor r10, rsp
mov r13, r8
mov qword [rsp + 0x60], r10
mov r12, rdx
mov r11, qword [rdi + 0x38]
lea rbp, [rdi + 0x70]
cmp rbp, qword [r11]
je 0x140022358
mov rcx, qword [rdi + 0x80]
test rcx, rcx
je 0x1400222b7
cmp qword [rdi + 0x68], 0
je 0x140022286
cmp byte [rdi + 0x71], 0
je 0x140022286
mov r9, qword [rdi]
mov rcx, rdi
mov edx, 0xffffffff
call qword [r9 + 0x18]
cmp eax, 0xffffffff
je 0x1400222b7
mov rcx, qword [rdi + 0x68]
mov r15, rsp
lea rdx, [rdi + 0x74]
lea r8, [rsp + 0x40]
mov r10, qword [rcx]
lea r9, [rsp + 0x60]
lea r11, [rsp + 0x30]
mov qword [r15 + 0x20], r11
call qword [r10 + 0x40]
test eax, eax
je 0x140022247
cmp eax, 1
je 0x14002224b
cmp eax, 3
jne 0x1400222b7
mov byte [rdi + 0x71], 0
mov rcx, qword [rdi + 0x80]
jmp 0x140022286
mov byte [rdi + 0x71], 0
mov r15, qword [rsp + 0x30]
lea r9, [rsp + 0x40]
sub r15, r9
je 0x140022279
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x40]
mov edx, 1
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x1400222b7
cmp byte [rdi + 0x71], 0
jne 0x1400222b7
mov rcx, qword [rdi + 0x80]
test r13, r13
jne 0x140022291
cmp r14d, 1
je 0x1400222a8
mov rdx, r13
mov r8d, r14d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
test eax, eax
jne 0x1400222b7
mov rcx, qword [rdi + 0x80]
lea rdx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetpos]
test eax, eax
je 0x1400222f7
xor edx, edx
mov qword [r12], 0xffffffffffffffff
mov qword [r12 + 8], rdx
mov qword [r12 + 0x10], rdx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], 0
xor rcx, rsp
cmp rcx, qword [0x1400a2fa8]
jne 0x14002232f
mov rax, r12
add rsp, 0x68
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rdx, qword [rdi + 0x18]
cmp rbp, qword [rdx]
je 0x140022334
mov rcx, qword [rdi + 0x74]
xor ebp, ebp
mov rdx, qword [rsp + 0x38]
mov qword [r12], rdx
mov qword [r12 + 8], rbp
mov qword [r12 + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], rbp
xor rcx, rsp
cmp rcx, qword [0x1400a2fa8]
je 0x1400222e5
call fcn.140080e70
mov rbp, qword [rdi + 0x88]
mov r8, qword [rdi + 0x90]
mov qword [rdx], rbp
sub r8, rbp
mov rdx, qword [rdi + 0x38]
mov qword [rdx], rbp
mov r9, qword [rdi + 0x50]
mov dword [r9], r8d
jmp 0x140022300
cmp r14d, 1
jne 0x1400221ca
cmp qword [rdi + 0x68], 1
sbb r13, 0
jmp 0x1400221ca
Function at 0x140022370
Capabilities:
Write file on windows

Disassembly:
push rbx
push r14
push r15
push rbp
sub rsp, 0x68
mov r14, r8
mov rbx, rcx
mov rbp, rdx
mov r10, qword [0x1400a2fa8]
xor r10, rsp
mov r11, qword [r14]
add r11, qword [r14 + 8]
mov qword [rsp + 0x60], r10
mov rcx, qword [rbx + 0x80]
mov qword [rsp + 0x38], r11
test rcx, rcx
je 0x140022469
cmp qword [rbx + 0x68], 0
je 0x14002245a
cmp byte [rbx + 0x71], 0
je 0x14002245a
mov r8, qword [rbx]
mov rcx, rbx
mov edx, 0xffffffff
call qword [r8 + 0x18]
cmp eax, 0xffffffff
je 0x140022469
mov rcx, qword [rbx + 0x68]
mov r15, rsp
lea rdx, [rbx + 0x74]
lea r8, [rsp + 0x40]
mov r10, qword [rcx]
lea r9, [rsp + 0x60]
lea r11, [rsp + 0x30]
mov qword [r15 + 0x20], r11
call qword [r10 + 0x40]
test eax, eax
je 0x14002241b
cmp eax, 1
je 0x14002241f
cmp eax, 3
jne 0x140022469
mov byte [rbx + 0x71], 0
mov rcx, qword [rbx + 0x80]
jmp 0x14002245a
mov byte [rbx + 0x71], 0
mov r15, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
sub r15, rdx
je 0x14002244d
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x40]
mov edx, 1
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x140022469
cmp byte [rbx + 0x71], 0
jne 0x140022469
mov rcx, qword [rbx + 0x80]
lea rdx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fsetpos]
test eax, eax
je 0x1400224a8
xor edx, edx
mov qword [rbp], 0xffffffffffffffff
mov qword [rbp + 8], rdx
mov qword [rbp + 0x10], rdx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], 0
xor rcx, rsp
cmp rcx, qword [0x1400a2fa8]
jne 0x1400224a3
mov rax, rbp
add rsp, 0x68
pop rbp
pop r15
pop r14
pop rbx
ret
call fcn.140080e70
mov rdx, qword [r14 + 0x10]
lea r8, [rbx + 0x70]
mov qword [rbx + 0x74], rdx
mov rdx, qword [rbx + 0x18]
cmp r8, qword [rdx]
je 0x1400224ec
mov rcx, qword [rbx + 0x74]
xor ebx, ebx
mov rdx, qword [rsp + 0x38]
mov qword [rbp], rdx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], rbx
xor rcx, rsp
cmp rcx, qword [0x1400a2fa8]
jne 0x1400224a3
jmp 0x140022495
mov r8, qword [rbx + 0x88]
mov r9, qword [rbx + 0x90]
mov qword [rdx], r8
sub r9, r8
mov rdx, qword [rbx + 0x38]
mov qword [rdx], r8
mov r10, qword [rbx + 0x50]
mov dword [r10], r9d
jmp 0x1400224bd

Function at 0x140077ad0
Capabilities:
Terminate process

Disassembly:
push r15
push rbp
sub rsp, 0x28
mov r15, rcx
mov rax, qword [r15 + 0x18]
mov rdx, qword [r15 + 0x20]
mov r8, qword [r15 + 0x10]
dec r8
mov r9, qword [r15 + 8]
lea r10, [rax + rdx - 1]
and r10, r8
mov rbp, qword [r9 + r10*8]
mov rax, qword [rbp + 0x30]
cmp rax, 0x10
jae 0x140077b35
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0xf
mov byte [rbp + 0x18], 0
dec qword [r15 + 0x20]
je 0x140077b25
add rsp, 0x28
pop rbp
pop r15
ret
mov qword [r15 + 0x18], 0
add rsp, 0x28
pop rbp
pop r15
ret
mov r8, qword [rbp + 0x18]
lea rdx, [rax + 1]
mov rcx, r8
cmp rdx, 0x1000
jb 0x140077b60
mov rcx, qword [r8 - 8]
sub r8, rcx
lea rdx, [rax + 0x28]
cmp r8, 8
jb 0x140077b67
cmp r8, 0x27
ja 0x140077b67
call fcn.140080f10
jmp 0x140077b03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
nop
Function at 0x140077b70
Capabilities:
Terminate process

Disassembly:
push r12
sub rsp, 0x20
mov r12d, ecx
xor ecx, ecx
call fcn.140077bf0
lea rcx, [0x1400a9c48]
mov edx, 6
call fcn.1400787d0
cmp eax, 1
je 0x140077bdb
test eax, eax
jl 0x140077ba1
add rsp, 0x20
pop r12
ret
xor edx, edx
mov ecx, 1
xor r8d, r8d
call fcn.14007a140
mov ecx, 1
mov edx, 0x3a
xor r8d, r8d
call fcn.14007a140
xor edx, edx
mov ecx, 1
xor r8d, r8d
call fcn.14007a140
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
xor ecx, ecx
mov edx, r12d
add rsp, 0x20
pop r12
jmp 0x14007a400
push r14
push r15
push rbp
sub rsp, 0x240
mov r15d, edx
mov ebp, r15d
mov r14d, r15d
mov rax, qword [0x1400a2fa8]
and ebp, 4
xor rax, rsp
mov qword [rsp + 0x230], rax
and r14d, 2
je 0x14007a44d
test cl, 2
je 0x14007a469
test ebp, ebp
je 0x14007a43e
test cl, 4
je 0x14007a469
test r15d, 1
jne 0x14007a50b
jmp 0x14007a4a3
test ebp, ebp
je 0x14007a4d5
test cl, 4
je 0x14007a469
test r15d, 1
jne 0x14007a50b
jmp 0x14007a4bc
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
nop
fxsave [rsp + 0x30]
xor edx, edx
mov eax, dword [rsp + 0x4c]
test al, 0x40
cmove r14d, edx
test eax, 0x20000
cmove ebp, edx
test r15d, 1
jne 0x14007a50b
test r14d, r14d
je 0x14007a4b8
stmxcsr dword [rsp + 0x20]
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
ldmxcsr dword [rsp + 0x20]
test ebp, ebp
je 0x14007a4de
stmxcsr dword [rsp + 0x20]
mov eax, dword [rsp + 0x20]
or eax, 0x20000
mov dword [rsp + 0x20], eax
ldmxcsr dword [rsp + 0x20]
jmp 0x14007a4de
test r15d, 1
jne 0x14007a50b
mov rcx, qword [rsp + 0x230]
mov qword [rsp + 0x230], 0
xor rcx, rsp
cmp rcx, qword [0x1400a2fa8]
jne 0x14007a527
add rsp, 0x240
pop rbp
pop r15
pop r14
ret
stmxcsr dword [rsp + 0x20]
mov eax, dword [rsp + 0x20]
or eax, 0x8000
mov dword [rsp + 0x20], eax
ldmxcsr dword [rsp + 0x20]
jmp 0x14007a49e
call fcn.140080e70
nop
nop dword [rax]
push rdi
push r15
mov r11, rcx
mov r10, r11
movabs rax, 0x101010101010101
movzx r9, dl
imul r9, rax
lea rdx, [0x14007b1d0]
vmovq xmm0, r9
cmp r8, 0x80
ja 0x14007a570
mov rdi, r10
add rdi, r8
sub rdx, qword [rdx + r8*8]
notrack jmp rdx
lea rdx, [0x14007a8d0]
mov rcx, r10
and rcx, 0x1f
je 0x14007a5a3
neg rcx
add rcx, 0x20
sub r8, rcx
mov rdi, r10
add rdi, rcx
sub rdx, qword [rdx + rcx*8]
notrack jmp rdx
cmp r8, 0x100
jl 0x14007a6e0
mov rcx, qword [0x1400a3810]
mov rdi, rcx
shr rcx, 4
sub rdi, rcx
cmp r8, rdi
jae 0x14007a620
vpbroadcastd ymm0, xmm0
vmovdqa ymmword [r10], ymm0
vmovdqa ymmword [r10 + 0x20], ymm0
vmovdqa ymmword [r10 + 0x40], ymm0
vmovdqa ymmword [r10 + 0x60], ymm0
add r10, 0x100
sub r8, 0x100
vmovdqa ymmword [r10 - 0x80], ymm0
vmovdqa ymmword [r10 - 0x60], ymm0
vmovdqa ymmword [r10 - 0x40], ymm0
vmovdqa ymmword [r10 - 0x20], ymm0
cmp r8, 0x100
jge 0x14007a5cb
jmp 0x14007a6f0
mov rdi, r10
mov rax, r9
mov rcx, r8
cld
rep stosb byte [rdi], al
jmp 0x14007b5e0
vpbroadcastd ymm0, xmm0
nop dword [rax]
nop dword [rax]
add r10, r8
mov rdi, r10
and r10, 0xffffffffffffffe0
lea rdx, [0x14007a9d0]
sub rdx, qword [rdx + r8*8]
notrack jmp rdx
vzeroupper
mov rax, r11
pop r15
pop rdi
ret
Function at 0x140081db0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140081dfa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140081dfa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140081dfa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140081dfa
cmp dword [rcx + 0x84], 0xe
jbe 0x140081dfa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140081dfc
xor al, al
add rsp, 0x28
ret
Function at 0x1800096c0
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1800096c0
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18000972f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000972f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18000972f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18000972f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18000972f
cmp dword [rcx + 0x84], 0xe
jbe 0x18000972f
cmp dword [rcx + 0xf8], 0
je 0x18000972f
mov ecx, ebx
call fcn.1800095f8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.180009854
nop
cmp dword [rbp + 0x20], 0
je 0x18000977d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18000968c
int3

Function at 0x18000a8b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18000a8d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18000a8d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18000f8b4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18000f8e4
xor eax, eax
jmp 0x18000f9a7
mov rbp, rbx
cmp word [rax], si
je 0x18000f909
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000f8f0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000f8ec
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000f7d4
movsxd r14, eax
test eax, eax
jne 0x18000f947
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000f8dd
mov rcx, r14
call fcn.18000fa70
mov rdi, rax
test rax, rax
jne 0x18000f960
xor ecx, ecx
call fcn.18000de6c
jmp 0x18000f93c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000f7d4
test eax, eax
jne 0x18000f991
mov rcx, rdi
call fcn.18000de6c
jmp 0x18000f99b
xor ecx, ecx
call fcn.18000de6c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret