joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
call 0x1342dc0b9
dec byte [r11 + 0x3d3a4d7a]
cmp ch, byte [rsi]
scasb al, byte [rdi]
xchg esp, eax
invalid
Function at 0x1400263d0
Capabilities:
Execute command

Disassembly:
sub rsp, 0x38
lea rcx, str.START_TEST_TRASH__n
call fcn.140026330
xor ecx, ecx
call fcn.1400263b0
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, edx
inc eax
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
call fcn.140026240
mov dword [rsp + 0x24], eax
mov edx, dword [rsp + 0x24]
lea rcx, str.END_TEST_TRASH_I___d__n
call fcn.140026330
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x38
ret

Function at 0x140026d10
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140026d5a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140026d5a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140026d5a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140026d5a
cmp dword [rcx + 0x84], 0xe
jbe 0x140026d5a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140026d5c
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.140009dbc
test rax, rax
je 0x14000105a
lea rcx, str.Windows_original_main_args:_n
call fcn.140009c54
xor ebx, ebx
cmp dword [0x140024984], ebx
jle 0x14000105a
xor edi, edi
mov r8, qword [0x140024988]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rdi + r8]
call fcn.140009c54
inc ebx
add rdi, 8
cmp ebx, dword [0x140024984]
jl 0x140001033
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call fcn.140003f4c
call fcn.140003f3c
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call fcn.140003ff0
mov rbx, rax
call fcn.140003f44
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010a6
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x140001093
mov rdx, qword [0x140023020]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rdx, rdx
jne 0x1400010bd
mov rdx, qword [rbx]
mov rcx, qword [0x140023018]
test rcx, rcx
jne 0x1400010cc
mov rcx, qword [rbx]
mov r9, qword [0x140024720]
mov r8d, 1
test r9, r9
setne al
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 1
mov byte [rsp + 0x50], al
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
lea rax, [0x14001a438]
mov rdx, rbx
mov qword [rsp + 0x38], rax
lea rax, [0x14001a428]
mov ecx, edi
mov qword [rsp + 0x30], rax
mov rax, qword [0x140024728]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
call fcn.140003870
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140001710
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x150
mov rax, qword [0x1400230c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
movsxd rbp, ecx
lea rcx, str.CLASSPATH
mov r12, rdx
mov word [rsp + 0x20], 0x3b
call fcn.140009dbc
mov esi, 0x28
test rax, rax
je 0x140001795
mov rcx, rax
call fcn.140006188
mov rcx, rax
mov rdi, rax
call fcn.140009fd0
lea rcx, [rsi + rax]
call fcn.140003ff0
lea rdx, str._Denv.class.path_s
mov r8, rdi
mov rcx, rax
mov rbx, rax
call fcn.14000a4a4
xor edx, edx
mov rcx, rbx
call fcn.14000120c
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.1400041bc
test al, al
jne 0x1400017bb
lea rcx, str.Error:_Could_not_determine_application_home.
call fcn.140004360
xor al, al
jmp 0x140001883
lea rcx, [rsp + 0x30]
call fcn.140009fd0
lea rcx, [rsi + rax]
call fcn.140003ff0
lea r8, [rsp + 0x30]
lea rdx, str._Dapplication.home_s
mov rcx, rax
mov rbx, rax
call fcn.14000a4a4
xor edx, edx
mov rcx, rbx
call fcn.14000120c
xor edi, edi
test rbp, rbp
jle 0x140001818
mov rcx, qword [r12 + rdi*8]
call fcn.140009fd0
lea rcx, [rsp + 0x30]
lea ebx, [rsi + rax]
call fcn.140009fd0
inc rdi
lea esi, [rbx + rax + 1]
cmp rdi, rbp
jl 0x1400017f6
lea eax, [rsi + 1]
movsxd rcx, eax
call fcn.140003ff0
lea rdx, str._Djava.class.path
mov rcx, rax
mov rbx, rax
call fcn.14000a780
xor edi, edi
test rbp, rbp
jle 0x14000186a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000a6e0
mov rdx, qword [r12 + rdi*8]
mov rcx, rbx
call fcn.14000a6e0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000a6e0
inc rdi
cmp rdi, rbp
jl 0x14000183c
mov rcx, rbx
call fcn.140009fd0
xor edx, edx
mov rcx, rbx
mov byte [rax + rbx - 1], 0
call fcn.14000120c
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14000a850
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x140001e1c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rcx, [0x14001a8d8]
call fcn.140009dbc
lea rcx, [0x14001a8c0]
mov rsi, rax
call fcn.140009dbc
mov rbx, rax
test rsi, rsi
je 0x140001e81
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, rsi
call fcn.140006be8
mov rdi, rax
test rax, rax
je 0x140001e93
call fcn.140006298
mov edx, dword [rsp + 0x30]
mov rcx, rdi
call fcn.140006210
mov rcx, rdi
call fcn.140004074
jmp 0x140001e93
test rax, rax
je 0x140001eda
call fcn.140006298
mov rcx, rbx
call fcn.140006258
mov rdx, rsi
mov rcx, rbx
call fcn.1400062c8
lea rcx, [0x14001a8a8]
call fcn.140004d24
lea rcx, [0x14001a8c0]
call fcn.140004d24
lea rcx, [0x14001a8d8]
call fcn.140004d24
mov rcx, qword [0x140024780]
call fcn.140004074
mov rcx, qword [0x140024778]
call fcn.140004074
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400040ac
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.140009dbc
test rax, rax
je 0x1400040db
lea rdx, str._JAVA_LAUNCHER_DEBUG
lea rcx, str._____s_____n
mov byte [0x1400247d0], 1
call fcn.14000407c
add rsp, 0x28
ret

Function at 0x140004204
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
lea rax, [r11 - 0x18]
mov ebx, r9d
mov rbp, r8
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
lea r9, [r11 - 0x14]
xor r8d, r8d
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140004278
cmp dword [rsp + 0x34], 1
jne 0x140004278
cmp dword [rsp + 0x30], ebx
jae 0x140004278
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rcx
mov rcx, rsi
mov rdx, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140004278
mov al, 1
jmp 0x14000427a
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400045d4
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400230c0]
xor rax, rsp
mov qword [rbp + 0x70], rax
and qword [rsp + 0x30], 0
mov r13, rcx
mov qword [rsp + 0x48], 0xffffffff80000001
xor edi, edi
mov qword [rsp + 0x50], 0xffffffff80000002
mov rcx, qword [rsp + rdi*8 + 0x48]
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareJavaSoftJava_Runtime_Environment
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140004771
mov r12, qword [rsp + 0x30]
lea r8, [rsp + 0x60]
mov r9d, 0x104
xor edx, edx
mov rcx, r12
xor esi, esi
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x140004771
mov rdx, qword [r13 + 0x10]
lea rcx, [rsp + 0x60]
inc esi
call fcn.140006f24
test eax, eax
je 0x1400046b2
test rbx, rbx
je 0x1400046a5
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.140006e14
test eax, eax
jle 0x1400046b2
mov rcx, rbx
call fcn.140004074
lea rcx, [rsp + 0x60]
call fcn.140004048
mov rbx, rax
lea r8, [rsp + 0x60]
mov r9d, 0x104
mov edx, esi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x140004673
test rbx, rbx
je 0x140004771
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, rbx
test eax, eax
je 0x140004712
call fcn.140004074
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140004771
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140004771
call fcn.140004074
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea rdx, str.JavaHome
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
test eax, eax
jne 0x140004705
test rcx, rcx
je 0x14000475f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x60]
call fcn.140004048
mov rbx, rax
test rax, rax
jne 0x1400047b9
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140004781
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rdi
cmp rdi, 1
jle 0x14000461f
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000a850
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400047c9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
jmp 0x140004790
Function at 0x140005a9c
Capabilities:
Create thread
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax + 0x20], 0
lea rax, [rax - 0x18]
mov rsi, r8
mov r9, r8
mov rbp, rcx
mov r8, rcx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov rdi, rdx
mov dword [rsp + 0x20], 0x10000
call fcn.14000c4b0
mov rbx, rax
test rax, rax
jne 0x140005b03
lea rax, [rsp + 0x30]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], ebx
mov edx, edi
xor ecx, ecx
call fcn.14000c4b0
mov rbx, rax
cmp dword [0x140023078], 0
je 0x140005bc0
lea rcx, str.J2D_D3D
call fcn.140009dbc
test rax, rax
je 0x140005b40
lea rdx, str.false
mov rcx, rax
call fcn.1400196d0
neg eax
sbb ecx, ecx
and ecx, dword [0x140023078]
mov dword [0x140023078], ecx
lea rcx, str.J2D_D3D_PRELOAD
call fcn.140009dbc
mov rdi, rax
test rax, rax
je 0x140005b75
lea rdx, str.false
mov rcx, rax
call fcn.1400196d0
neg eax
sbb ecx, ecx
and ecx, dword [0x140023078]
mov dword [0x140023078], ecx
jmp 0x140005b7b
mov ecx, dword [0x140023078]
test ecx, ecx
jns 0x140005bb2
and dword [0x140023078], 0
test rdi, rdi
je 0x140005bc0
lea rdx, str.true
mov rcx, rdi
call fcn.1400196d0
mov ecx, dword [0x140023078]
mov edx, 1
test eax, eax
cmove ecx, edx
mov dword [0x140023078], ecx
test ecx, ecx
je 0x140005bc0
lea rcx, str.preloadD3D
call fcn.140005934
test rbx, rbx
je 0x140005bea
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140005bf3
mov rcx, rsi
call rbp
mov dword [rsp + 0x68], eax
cmp dword [0x1400247e0], 0
je 0x140005c0a
mov rax, qword [0x140024800]
test rax, rax
je 0x140005c0a
call rax
mov eax, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140005e5c
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14, rcx
mov ebx, 0x10
mov ecx, ebx
call fcn.140003ff0
lea ecx, [rbx + 0x70]
mov dword [rax + 0xc], ebx
mov rsi, rax
call fcn.140003ff0
and dword [rsi + 8], 0
mov ecx, ebx
mov qword [rsi], rax
call fcn.140003ff0
lea rdx, [0x140024810]
mov rcx, r14
mov r12, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x140006007
lea r15, [0x14002483c]
mov qword [r12], rax
mov qword [r12 + 8], r15
mov rbp, qword [r12 + 8]
test rbp, rbp
je 0x140005ee2
and qword [r12 + 8], 0
jmp 0x140005efb
mov rcx, qword [r12]
lea rdx, [0x140024810]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb rbp, rbp
and rbp, r15
test rbp, rbp
je 0x140005fe6
mov rcx, rbp
call fcn.140009fd0
cmp eax, 4
jl 0x140005ed0
movsxd rcx, eax
cmp byte [rcx + rbp - 4], 0x2e
jne 0x140005ed0
lea rbx, [rcx + rbp - 3]
lea rdx, [0x14001bc44]
mov rcx, rbx
call fcn.14000a880
test eax, eax
je 0x140005f46
lea rdx, [0x14001bc40]
mov rcx, rbx
call fcn.14000a880
test eax, eax
jne 0x140005ed0
mov edx, 0x3b
mov rcx, rbp
call fcn.14000c07c
test rax, rax
jne 0x140005ed0
mov rcx, r14
call fcn.140009fd0
mov rcx, rbp
mov rdi, rax
call fcn.140009fd0
lea ecx, [rax + rdi]
mov rbx, rax
movsxd rcx, ecx
call fcn.140003ff0
lea ecx, [rdi - 1]
mov rdx, r14
movsxd r8, ecx
mov rcx, rax
mov r13, rax
call fcn.14000a170
lea r11d, [rbx + 1]
movsxd rcx, edi
lea rcx, [rcx + r13 - 1]
movsxd r8, r11d
mov rdx, rbp
call fcn.14000a170
mov r11d, dword [rsi + 8]
mov eax, dword [rsi + 0xc]
inc r11d
cmp eax, r11d
jge 0x140005fd3
add eax, eax
mov dword [rsi + 0xc], eax
cmp eax, r11d
jl 0x140005fb7
mov rcx, qword [rsi]
movsxd rdx, eax
shl rdx, 3
call fcn.14000401c
mov qword [rsi], rax
movsxd rcx, dword [rsi + 8]
mov rax, qword [rsi]
mov qword [rax + rcx*8], r13
inc dword [rsi + 8]
jmp 0x140005ed0
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [r12 + 8]
call fcn.140004074
mov rcx, r12
call fcn.140004074
mov rax, rsi
jmp 0x140006009
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140006310
Capabilities:
Read file on windows

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
sub rsp, 0x80
cmp qword [rdx + 8], 0xffffffffffffffff
mov rbp, r8
mov rdi, rdx
mov esi, ecx
je 0x140006385
cmp qword [rdx], 0xffffffffffffffff
je 0x140006385
mov edx, dword [rdx + 0x10]
xor r8d, r8d
call fcn.140017694
test eax, eax
js 0x140006385
mov rcx, qword [rdi + 8]
inc rcx
call fcn.14000b304
mov rbx, rax
test rax, rax
je 0x140006385
mov r12, qword [rdi + 8]
mov rdx, rax
mov ecx, esi
mov r8d, r12d
call fcn.1400169c4
movsxd rcx, eax
cmp rcx, r12
je 0x1400063a5
mov rcx, rbx
call fcn.14000b490
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
cmp dword [rdi + 0x14], 0
jne 0x1400063c0
mov byte [r12 + rbx], 0
test rbp, rbp
je 0x1400063bb
mov eax, dword [rdi + 8]
mov dword [rbp], eax
mov rax, rbx
jmp 0x140006387
cmp dword [rdi + 0x14], 8
jne 0x140006385
mov eax, dword [rdi + 8]
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
mov r9d, 0x58
lea r8, str.1.2.3
lea rcx, [rsp + 0x20]
lea edx, [r9 - 0x67]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], eax
call fcn.140007210
test eax, eax
js 0x14000637d
mov rcx, qword [rdi]
inc rcx
call fcn.14000b304
mov rsi, rax
test rax, rax
je 0x14000637d
mov qword [rsp + 0x30], rax
mov eax, dword [rdi]
lea rcx, [rsp + 0x20]
mov edx, 1
mov dword [rsp + 0x38], eax
call fcn.1400073f8
mov rcx, rbx
test eax, eax
jns 0x14000644c
call fcn.14000b490
mov rcx, rsi
jmp 0x140006380
mov rax, qword [rdi]
mov byte [rsi + rax], 0
call fcn.14000b490
lea rcx, [rsp + 0x20]
call fcn.140008978
test eax, eax
js 0x140006444
test rbp, rbp
je 0x140006470
mov eax, dword [rdi]
mov dword [rbp], eax
mov rax, rsi
jmp 0x140006387
Function at 0x140006478
Capabilities:
Read file on windows

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
sub rsp, 0x20
mov rbp, rdx
mov edx, 0xffffffea
mov ebx, ecx
lea r8d, [rdx + 0x18]
call fcn.140017694
mov edi, eax
test eax, eax
js 0x1400065e3
mov r8d, 0x16
mov rdx, rbp
mov ecx, ebx
call fcn.1400169c4
test eax, eax
js 0x1400065e3
movzx eax, byte [rbp + 2]
movzx ecx, byte [rbp + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x1400064f4
mov eax, edi
jmp 0x1400065e6
xor edx, edx
mov ecx, ebx
lea r8d, [rdx + 2]
call fcn.140017694
mov r12d, eax
test eax, eax
js 0x1400065e3
mov edi, 0x10015
mov r8d, 2
mov ecx, ebx
cmp eax, edi
mov esi, edi
cmovl esi, eax
mov edx, esi
neg edx
call fcn.140017694
test eax, eax
js 0x1400065e3
mov ecx, edi
call fcn.14000b304
mov rdi, rax
test rax, rax
je 0x1400065e3
mov r8d, esi
mov rdx, rax
mov ecx, ebx
call fcn.1400169c4
test eax, eax
js 0x1400065db
movsxd rsi, eax
add eax, 0xffffffea
movsxd rbx, eax
add rsi, rdi
add rbx, rdi
cmp rbx, rdi
jb 0x1400065db
cmp byte [rbx], 0x50
jne 0x1400065b1
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x1400065b1
movzx eax, byte [rbx + 0x15]
shl eax, 8
movsxd rcx, eax
movzx eax, byte [rbx + 0x14]
or rcx, rax
lea rax, [rcx + rbx + 0x16]
cmp rax, rsi
je 0x1400065b6
dec rbx
jmp 0x140006568
mov r8d, 0x16
mov rdx, rbx
mov rcx, rbp
call fcn.14000a170
mov rcx, rdi
call fcn.14000b490
mov r11d, r12d
sub r11, rsi
lea rax, [rbx + r11]
jmp 0x1400065e6
mov rcx, rdi
call fcn.14000b490
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x140009bf4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140009a64

Function at 0x140009fa0
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
add r14, 0x18
mov r15, qword [r14]
mov r12, r15
add r12, 0x10
mov r14, qword [r12]
push rax
mov r12, qword [r14 + 0x30]
cmp r12, 0
cmp esp, 0
je 0x140009ffa
mov r15, qword [r14 + 0x60]
mov rax, qword [r15]
and eax, 0xdf00df
mov r15, qword [r15 + 0xb]
add r15d, eax
shr r15d, 2
sub r15d, 0xc914cd2
cmp r15, 0
je 0x14000a002
mov r14, qword [r14]
jmp 0x140009fcb
mov r14d, dword [r12 + 0x3c]
add r14, r12
add r14, 0x10
mov r15d, dword [r14 + 0x78]
add r15, r12
push r10
mov eax, dword [r15 + 0x20]
add rax, r12
mov r10d, dword [rax]
add r10, r12
mov r14d, dword [r10 + 0xb]
sub r14d, 0x746365
cmp r14d, 0
jne 0x14000a037
jmp 0x14000a045
inc rax
inc rax
inc rax
inc rax
jmp 0x14000a01e
mov r14d, dword [r15 + 0x20]
sub rax, r14
sub rax, r12
shr eax, 1
mov r14d, dword [r15 + 0x24]
add r14, rax
add r14, r12
mov eax, dword [r14]
mov r14d, dword [r15 + 0x1c]
shl eax, 0x10
shr eax, 0xe
add r14, r12
add r14, rax
mov eax, dword [r14]
add rax, r12
mov r14d, 0x96000
add r14, r11
push r12
push r11
push r14
push r10
push r10
push rax
mov rcx, r14
mov r9, rsp
mov r8d, 0x40
mov edx, 0x55000
call rax
pop r15
pop r10
pop r10
pop r14
pop r11
mov r12d, 0x3dff
push rax
movabs r15, 0x3ae00
mov eax, 0xd
imul r12, rax
movabs rax, 0x61e
add rax, r11
add r12, rax
call fcn.14000a0fc
mov r12d, 0x6ea11
movabs r14, 0xd6000
add r12, r11
mov r15d, 0x3b30
add r14, r11
call fcn.14000a0fc
pop rax
jmp 0x14000a122
mov r12d, 0x8000000
mov r15d, 0x4d0
movabs r14, 0x96000
mov eax, 3
imul r15d, eax
add r15d, 0x190
add r14, r11
sub r14, r15
mov r15, r14
sub r15, r12
mov r12d, 0x73611
add r12, r11

Function at 0x14000c34c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x14000c376
call fcn.14000be10
and dword [rax], 0
call fcn.14000bdf0
mov ebx, 0x16
mov dword [rax], ebx
call fcn.14000d04c
mov eax, ebx
jmp 0x14000c3c6
test edx, 0xfffffff9
jne 0x14000c359
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000c39f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000be30
call fcn.14000bdf0
mov eax, dword [rax]
jmp 0x14000c3c6
test al, 0x10
jne 0x14000c3c4
test al, 1
je 0x14000c3c4
test bl, 2
je 0x14000c3c4
call fcn.14000be10
mov dword [rax], 5
call fcn.14000bdf0
mov dword [rax], 0xd
jmp 0x14000c396
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140010a07
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400230c0]
jne 0x14000a86a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000a866
repz ret
ror rcx, 0x10
jmp 0x140010960
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140025470]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140025568]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400109e5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140025470]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140010a07
mov rax, qword [rsp + 0x88]
mov qword [0x140025568], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140025508], rax
mov rax, qword [0x140025568]
mov qword [0x1400253e0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400254f0], rax
mov dword [0x1400253d0], 0xc0000409
mov dword [0x1400253d4], 1
mov rax, qword [0x1400230c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400230c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140025468], eax
mov ecx, 1
call fcn.140014dfc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14001f6d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140025468], 0
jne 0x140010a8e
mov ecx, 1
call fcn.140014dfc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret