joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001aca0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400127bc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001ad2a
cmp byte [rbp - 0x21], r15b
je 0x14001ad25
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001ad60
call fcn.140010388
test eax, eax
jne 0x14001ad4c
cmp byte [rbp - 0x21], r15b
je 0x14001ad44
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001ad60
cmp byte [rbp - 0x21], r15b
je 0x14001ad5d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140013668
test eax, eax
jne 0x14001ae00
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400127bc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001ad9f
cmp byte [rbp - 0x21], r15b
je 0x14001add4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001add4
call fcn.140010388
test eax, eax
jne 0x14001adc0
cmp byte [rbp - 0x21], r15b
je 0x14001adb9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001add4
cmp byte [rbp - 0x21], r15b
je 0x14001add1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140013668
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001ae00
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001ae03
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001ae11
mov rcx, rdi
call fcn.14000f958
cmp byte [rbp + 0x3f], r15b
je 0x14001ae20
mov rcx, qword [rbp + 0x27]
call fcn.14000f958
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14001d4d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001d4f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001d4f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1401d1fa0
Capabilities:
Parse pe header

Disassembly:
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 0x1401d1d97
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401d1d97
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401d1d97
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401d1d97
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401d1d97
cmp dword [rcx + 0x84], 0xe
jbe 0x1401d1d97
cmp dword [rcx + 0xf8], 0
je 0x1401d1d97
mov ecx, ebx
call fcn.1401d1ea8
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.1401d1b04
nop
cmp dword [rbp + 0x20], 0
je 0x1401d1de5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401d1df0
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401d1d28
Function at 0x1402012a8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1402012be
mov al, 1
jmp 0x14020131e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1402012cf
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14020131c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1402089f4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14020131c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14020131c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14020131c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14020131e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140204bcc
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 0x140204bfc
xor eax, eax
jmp 0x140204cbf
mov rbp, rbx
cmp word [rax], si
je 0x140204c21
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140204c08
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140204c04
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.140204a4c
movsxd r14, eax
test eax, eax
jne 0x140204c5f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140204bf5
mov rcx, r14
call fcn.1401fd0f0
mov rdi, rax
test rax, rax
jne 0x140204c78
xor ecx, ecx
call fcn.1401fd158
jmp 0x140204c54
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.140204a4c
test eax, eax
jne 0x140204ca9
mov rcx, rdi
call fcn.1401fd158
jmp 0x140204cb3
xor ecx, ecx
call fcn.1401fd158
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
Function at 0x140211d64
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1403c3a40]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140211dbb
cmp word [rdx], r13w
jne 0x140211dbb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140211dc0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140211ee5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140211f06
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140211df9
mov rdx, r9
mov word [rbx], cx
jmp 0x140211e20
cmp r9, r8
jae 0x140211e30
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140211dda
jmp 0x140211ee5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140211eda
cmp dword [rsp + 0x80], esi
je 0x140211eda
lea r8, [0x1403c3a40]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140211eb2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140211e82
mov word [rbx], r13w
jmp 0x140211ee2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140211e8f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140211ee2
cmp word [rsp + 0x70], r13w
jne 0x140211ebf
cmp rbx, r14
je 0x140211e7c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140210f00
cmp word [rsp + 0x70], r13w
je 0x140211ee5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1403c3a40]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140211edf
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140211ee5
Function at 0x140218cbc
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140210f00
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140210f00
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140218e0c
cmp rax, 0xffffffffffffffff
je 0x140218e0c
xor edi, edi
test rbp, rbp
jle 0x140218db7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140201620
mov rbx, rax
test rax, rax
jne 0x140218d44
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140218dad
mov edx, 0x8000
mov ecx, r14d
call fcn.1401d5464
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140200c14
cmp eax, 0xffffffff
je 0x140218d8d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140218d54
mov edx, r15d
mov ecx, r14d
call fcn.1401d5464
jmp 0x140218dad
cmp byte [rsi + 0x38], dil
je 0x140218da4
cmp dword [rsi + 0x34], 5
jne 0x140218da4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140218dad
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1401fd158
jmp 0x140218e20
jns 0x140218e20
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140210f00
cmp rax, 0xffffffffffffffff
jne 0x140218dd8
cmp byte [rsi + 0x30], dil
je 0x140218e20
mov edi, dword [rsi + 0x2c]
jmp 0x140218e20
mov ecx, r14d
call fcn.1402089f4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140218e20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140218e20
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140218e19
mov eax, dword [rsi + 0x2c]
jmp 0x140218e1e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140210f00
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140002ac0
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x20
mov r9, qword [rcx + 0xf0]
mov rsi, rcx
mov rcx, qword [rcx + 0xc8]
mov edx, 1
mov r8d, 0x80000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add qword [rsi + 0x120], rax
mov rcx, qword [rsi + 0xf0]
mov qword [rsi + 0x100], rax
mov rax, qword [rsi + 0xc8]
mov qword [rsi + 0x108], rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
je 0x140002b77
mov rsi, qword [rsi + 0xd8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
test rsi, rsi
lea rbx, [0x140004e04]
mov ecx, 2
mov rdi, rax
cmovne rbx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rdi
lea rdx, str.failed_to_read_input___s_:__s_n
mov rcx, rax
mov r8, rbx
call fcn.140002c70
mov rdi, qword [rsp + 0x38]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
ret
mov eax, 1
add rsp, 0x20
pop rsi
ret

Function at 0x140002b90
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rcx + 0xd0]
mov r8, qword [rsi + 0x118]
sub r8, rcx
add qword [rsi + 0x128], r8
test r8, r8
je 0x140002c49
cmp dword [rsi + 0x1c], 0
jne 0x140002c49
mov r9, qword [rsi + 0xf8]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsi + 0xf8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
je 0x140002c49
mov rsi, qword [rsi + 0xe0]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
test rsi, rsi
lea rbx, [0x140004e04]
mov ecx, 2
mov rdi, rax
cmovne rbx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rdi
lea rdx, str.failed_to_write_output___s_:__s_n
mov rcx, rax
mov r8, rbx
call fcn.140002c70
mov rdi, qword [rsp + 0x38]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
ret
mov eax, 1
add rsp, 0x20
pop rsi
ret
Function at 0x14001b4f0
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0x300000050
lea rdi, [rsp + 0x38]
mov qword [rdi], rax
lea rax, [0x14001b640]
mov qword [rdi + 8], rax
xor ebx, ebx
mov qword [rdi + 0x10], rbx
mov rax, qword [rcx]
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rbx
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rdi + 0x28], rax
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rbx
lea rax, str.GxSplashWindow
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x48], rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x14001b5d0]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x18], rax
test rax, rax
je 0x14001b5ac
add rsi, 0x20
mov rcx, rsi
call fcn.14005c8e0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140080f00
nop
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14001b5e0
Capabilities:
Terminate thread

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14001b602
mov edx, 0x10
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x14001b638
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14001b626
mov rcx, qword [rsi + 0x18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0x18], 0
add rsp, 0x20
pop rsi
ret
Function at 0x14001bb50
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x14001bb97
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001bba2
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14001bb8f
mov qword [rsi], rdi
call fcn.14005fa70
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14005fa70
mov rcx, qword [rsi]
call fcn.140059080
mov qword [rsi], 0
jmp 0x14001bb7d

Function at 0x14001bbf0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x14001bc16
call fcn.14005fa70
cmp qword [rsi], rbx
je 0x14001bc45
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001bc52
cmp r14, 2
jb 0x14001bc3d
mov qword [rsi], rbx
call fcn.14005fa70
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14005fa70
mov rcx, qword [rsi]
call fcn.140059080
mov qword [rsi], 0
jmp 0x14001bc2f

Function at 0x14001bc70
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x14001bc95
call fcn.14005fa70
cmp qword [rsi], rbx
je 0x14001bcc4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001bcd1
cmp r14, 2
jb 0x14001bcbc
mov qword [rsi], rbx
call fcn.14005fa70
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14005fa70
mov rcx, qword [rsi]
call fcn.140059080
mov qword [rsi], 0
jmp 0x14001bcae
Function at 0x14001bda0
Capabilities:
Terminate process

Disassembly:
mov rcx, qword [rcx]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x14001bdae
ret
xor edx, edx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
outsd dx, dword [rsi]
xchg ecx, eax
jge 0x140212ddb
rcl byte [rcx + 0x32], 0x75
push rcx
xor dh, byte [rbp + 0x20]
vandpd ymm15, ymm4, ymmword [rcx + 0x7d]
pop rbp
push rsp
jns 0x140212e62
mov ebp, 0x7428a534
invalid
xchg edx, eax
invalid
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add dword [rax + rbx*8], edi
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rbx], al
mov edx, 0x65d41821
invalid
Function at 0x14001df40
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, str.opera_splash_done_
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.1400b2b70
movzx r8d, byte [rsi + 0x1f]
test r8b, r8b
js 0x14001df83
lea rdx, [rsi + 8]
and r8d, 0x7f
jmp 0x14001df8b
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, rdi
call fcn.14002c400
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x30], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
cmp byte [rsp + 0x4f], 0
jns 0x14001dfc3
mov rcx, qword [rsp + 0x38]
call fcn.14007fab0
cmp byte [rsp + 0x37], 0
js 0x14001dfd1
lea r9, [rsp + 0x20]
jmp 0x14001dfd6
mov r9, qword [rsp + 0x20]
xor r14d, r14d
xor ecx, ecx
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
je 0x14001e013
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rbx, 0xffffffffffffffff
je 0x14001e08e
call fcn.14005fa70
mov r14, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbx, [r14 + 1]
cmp rbx, 2
jb 0x14001e022
call fcn.14005fa70
cmp qword [rsi + 0x40], r14
je 0x14001e054
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x14001e096
cmp rbx, 2
jb 0x14001e04c
mov qword [rsi + 0x40], r14
call fcn.14005fa70
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [rsp + 0x37], 0
jns 0x14001e065
mov rcx, qword [rsp + 0x20]
call fcn.14007fab0
mov rax, qword [rsi + 0x40]
inc rax
test rax, 0xfffffffffffffffe
setne bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140080f00
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
xor r14d, r14d
jmp 0x14001e00b
call fcn.14005fa70
mov rcx, qword [rsi + 0x40]
call fcn.140059080
mov qword [rsi + 0x40], 0
jmp 0x14001e03d
Function at 0x14001e4f0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x14001e611
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x14001e651
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr edi, 5
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x14001e647
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
and al, dil
mov byte [r8 + 0x16], al
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x14001e64b
xor ecx, ecx
mov eax, 0x80000007
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x14001e659
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x14001e5e4
mov dl, byte [r8 + 0x19]
jmp 0x14001e640
xor r10d, r10d
jmp 0x14001e54f
cmp byte [r8 + 0x1a], 0
je 0x14001e644
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14001e644
cmp ecx, 0x666f736f
jne 0x14001e644
cmp edx, 0x76482074
jne 0x14001e644
mov byte [r8 + 0x19], 1
jmp 0x14001e644