joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800022f0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov rax, qword gs:[0x60]
mov r10, qword [rax + 0x18]
add r10, 0x10
mov eax, dword [0x180020a94]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a98], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r9b
or r9b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r14b
or r14b, al
lea rax, [rcx - 1]
mov r15, r10
test r8b, r8b
je 0x180002420
mov r15, qword [r15]
cmp r15, r10
je 0x180002442
mov rdi, rax
test r9b, r9b
je 0x180002430
nop word cs:[rax + rax]
nop
cmp byte [rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x1800023a0
test r14b, r14b
je 0x180002440
sub rdi, rcx
je 0x180002408
mov r12, qword [r15 + 0x60]
xor edx, edx
nop
movzx esi, word [r12 + rdx*2]
lea ebx, [rsi - 0x41]
lea ebp, [rsi + 0x20]
cmp bx, 0x1a
cmovae ebp, esi
movsx ebx, byte [rcx + rdx]
lea r13d, [rbx - 0x41]
lea r11d, [rbx + 0x20]
cmp r13b, 0x1a
cmovae r11d, ebx
sub ebp, r11d
test esi, esi
je 0x180002400
test ebp, ebp
jne 0x180002400
add rdx, 1
cmp rdi, rdx
jne 0x1800023c0
jmp 0x180002408
test ebp, ebp
jne 0x180002374
mov rax, qword [r15 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002420
jmp 0x180002430
jmp 0x180002440
xor eax, eax
jmp 0x18000240c
Function at 0x1400111e0
Capabilities:
Terminate process

Disassembly:
jmp 0x140014dd0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011253
Capabilities:
Create process on windows

Disassembly:
jmp 0x140011760
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14002109f]
call fcn.140011348
mov edx, 5
lea rcx, str.calc.exe
call qword [sym.imp.KERNEL32.dll_WinExec]
xor eax, eax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14001125d
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012be0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012c00
xor al, al
jmp 0x140012c81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012c13
xor al, al
jmp 0x140012c81
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140012c3d
xor al, al
jmp 0x140012c81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012c51
xor al, al
jmp 0x140012c81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012c63
xor al, al
jmp 0x140012c81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012c7f
xor al, al
jmp 0x140012c81
mov al, 1
add rsp, 0x38
ret

Function at 0x140001000
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x28
mov edx, 5
lea rcx, str.calc.exe
call qword [sym.imp.KERNEL32.dll_WinExec]
xor eax, eax
add rsp, 0x28
ret

Function at 0x14000190c
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1800134b0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x180026002]
call fcn.18001141a
nop
cmp dword [rbp + 0xe8], 1
jne 0x180013508
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x18001135c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov eax, 1
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x180011271
Capabilities:
Terminate process

Disassembly:
jmp 0x180014cb0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140003360
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x1400033a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
sub rsp, 0x30
test r8, r8
mov rsi, r8
mov rbp, rdx
mov r12, rcx
jne 0x1400033c9
mov ecx, 0x80004005
call fcn.140003230
int3
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
xor edi, edi
mov rbx, r8
nop
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 1
lea rbx, [rbx + rax*2]
lea edi, [rdi + rax*2]
jne 0x1400033e0
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x140003980
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x280
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x14001f8c0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rdx
mov rdi, rcx
xor ebp, ebp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x50], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x140003af8
mov ebx, ebp
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400039ff
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov qword [rsp + 0x40], rbp
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x40], rcx
test ebx, ebx
jne 0x140003af8
mov dword [rsp + 0x48], 0x100
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140003abc
nop
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140003980
mov ebx, eax
test eax, eax
jne 0x140003aa3
mov dword [rsp + 0x48], 0x100
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140003a50
jmp 0x140003abc
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140003ab8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov eax, ebx
jmp 0x140003b0f
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140003ad1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140003af4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov eax, ebx
jmp 0x140003b0f
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140003b0d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14000b9b0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005460
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x4f8
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x14001f8c0]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov dword [rsp + 0x78], r9d
mov qword [rsp + 0x80], r8
mov rbp, rdx
mov rax, rcx
mov qword [rsp + 0x70], rcx
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov ecx, dword [rsp + 0x540]
mov dword [rsp + 0xa0], ecx
mov rcx, rax
call fcn.1400034d0
mov edi, eax
test eax, eax
jns 0x1400054ca
jmp 0x140005db9
cmp word [rbp], 0x7d
je 0x140005da0
nop
nop
nop

Function at 0x140007990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x4b0], rbx
mov rax, qword [0x14001f8c0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r12, r9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
call qword [0x14001f830]
xor r11d, r11d
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x70], r11
xor edx, edx
lea r8d, [r11 + 2]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140007a10
call fcn.140003320
mov ebx, eax
jmp 0x140007b51
mov r8, r12
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140007a33
call fcn.140003320
mov ebx, eax
jmp 0x140007b47
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140007a58
call fcn.140003320
mov ebx, eax
jmp 0x140007b47
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
add eax, 1
cmp eax, ebx
jae 0x140007a92
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x140007a88
lea rcx, [rsp + 0x70]
call fcn.1400038c0
nop
mov eax, 0x8007000e
jmp 0x140007b6a
mov ecx, eax
test eax, eax
je 0x140007aca
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140007ac0
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140007aca
lea rcx, [rsp + 0x70]
call fcn.1400038d0
jmp 0x140007ad4
mov ecx, 0x80070057
call fcn.140003230
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140007ae4
mov r12, qword [rsp + 0x70]
test r12, r12
jne 0x140007af5
mov ebx, 0x8007000e
jmp 0x140007b47
call qword [0x14001f830]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r12
mov r9d, ebx
mov r8, rsi
xor edx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140007b21
call fcn.140003320
mov ebx, eax
jmp 0x140007b47
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], 0
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140006d80
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x140007b68
lea rcx, [rsp + 0x70]
call fcn.1400038c0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14000b9b0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret
Function at 0x14000a0e0
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push r12
sub rsp, 0x30
mov rdx, qword [0x140020bf8]
mov qword [rsp + 0x58], rsi
mov rsi, qword [0x140020bf0]
xor r12d, r12d
cmp rsi, rdx
mov rbp, rcx
mov ebx, 1
jae 0x14000a194
mov qword [rsp + 0x60], rdi
test ebx, ebx
js 0x14000a18f
mov rdi, qword [rsi]
test rdi, rdi
je 0x14000a186
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x50], r12
test rax, rax
jne 0x14000a134
mov ebx, r12d
jmp 0x14000a186
mov rcx, qword [rdi + 0x18]
lea r8, [rsp + 0x50]
lea rdx, [0x140017eb0]
call rax
test eax, eax
mov ebx, eax
js 0x14000a16f
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi]
mov r9d, 1
lea rax, [rdi + 0x28]
lea r8d, [r9 + 3]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000a17f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdx, qword [0x140020bf8]
add rsi, 8
cmp rsi, rdx
jb 0x14000a115
mov rdi, qword [rsp + 0x60]
test ebx, ebx
mov rsi, qword [rsp + 0x58]
jne 0x14000a1fc
cmp byte [rbp + 0x60], r12b
je 0x14000a200
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
mov qword [rbp + 0x50], rax
je 0x14000a1ee
lea rax, [rsp + 0x50]
lea r8, [0x140008fa0]
mov r9, rbp
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x14000a200
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004005
add rsp, 0x30
pop r12
pop rbp
pop rbx
ret
mov byte [rbp + 0x60], r12b
mov eax, ebx
add rsp, 0x30
pop r12
pop rbp
pop rbx
ret
Function at 0x14000a9c0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
call fcn.14000a0e0
test eax, eax
jne 0x14000a3ef
lea rcx, [rsp + 0x20]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x14000a3f3
nop
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rsp + 0x20]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jg 0x14000a3c0
jmp 0x14000a3f3
test eax, eax
js 0x14000a458
mov rdx, qword [0x140020bf8]
mov qword [rsp + 0x60], rbx
mov rbx, qword [0x140020bf0]
mov qword [rsp + 0x68], rdi
xor edi, edi
cmp rbx, rdx
jae 0x14000a43d
test edi, edi
jne 0x14000a43d
mov rax, qword [rbx]
test rax, rax
je 0x14000a434
mov ecx, dword [rax + 0x28]
test ecx, ecx
je 0x14000a434
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
mov rdx, qword [0x140020bf8]
mov edi, eax
add rbx, 8
cmp rbx, rdx
jb 0x14000a412
cmp byte [rsi + 0x60], 0
mov rbx, qword [rsp + 0x60]
je 0x14000a451
mov ecx, dword [rsi + 0x5c]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
push rbx
sub rsp, 0x30
cmp byte [0x140020a84], 0
mov ebx, r9d
je 0x14000a9db
or eax, 0xffffffff
add rsp, 0x30
pop rbx
ret
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x20]
lea rcx, [0x140020aa0]
mov rdx, rax
call fcn.14000a460
cmp al, 1
jne 0x14000aa14
lea rcx, [0x140020aa0]
mov edx, ebx
add rsp, 0x30
pop rbx
jmp 0x14000a390
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rbx
ret

Function at 0x14000ac2c
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x14001f8c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.14000b7d0
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x140002000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call fcn.14000b7d0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x14000acbf
cmp dword [rsp + 0x24], 5
jb 0x14000acd9
jmp 0x14000acd5
cmp dword [rsp + 0x30], esi
jne 0x14000acd9
cmp dword [rsp + 0x24], 4
ja 0x14000acd5
jne 0x14000acd9
cmp dword [rsp + 0x28], 0
jbe 0x14000acd9
mov byte [rbx + 0x18], sil
lea rax, [0x140018900]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.1400032a0
movzx ecx, byte [0x140020a84]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x140020a84], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000b9b0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000bbe0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x140020c28]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.14000dd70
test rax, rax
je 0x14000bc34
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x14000bcc9
mov ecx, 2
call fcn.14000dba0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.14000b7d0
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14000bcb5
test ebx, ebx
jne 0x14000bcb5
lea ecx, [rax + 2]
call fcn.14000dba0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14000bcf0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x5b8
mov rcx, qword [0x140020c28]
call fcn.14000dd70
test rax, rax
je 0x14000bd25
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], 0
call rax
add rsp, 0x5b8
ret
mov ecx, 2
mov qword [rsp + 0x5b0], rbx
call fcn.14000dba0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.14000b7d0
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14000bdae
test ebx, ebx
jne 0x14000bdae
lea ecx, [rax + 2]
call fcn.14000dba0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x5b8
ret
Function at 0x14000d7a7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14001f8c0]
jne 0x14000b9ca
rol rcx, 0x10
test cx, 0xffff
jne 0x14000b9c6
repz ret
ror rcx, 0x10
jmp 0x14000d700
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140020d10]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140020e08]
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 0x14000d785
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, [0x140020d10]
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 0x14000d7a7
mov rax, qword [rsp + 0x88]
mov qword [0x140020e08], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140020da8], rax
mov rax, qword [0x140020e08]
mov qword [0x140020c80], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140020d90], rax
mov dword [0x140020c70], 0xc0000409
mov dword [0x140020c74], 1
mov rax, qword [0x14001f8c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001f8c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140020d08], eax
mov ecx, 1
call fcn.14000dba0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140018b88]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140020d08], 0
jne 0x14000d82e
mov ecx, 1
call fcn.14000dba0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14000e7c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, [0x14001faa0]
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x14000e7fe
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x14000e7e0
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x14000e9e5
mov ecx, 3
call fcn.1400134b0
cmp eax, 1
je 0x14000e99c
mov ecx, 3
call fcn.1400134b0
test eax, eax
jne 0x14000e835
cmp dword [0x14001f910], 1
je 0x14000e99c
cmp edi, 0xfc
je 0x14000e9e5
mov qword [rsp + 0x50], rbp
lea rbp, [0x140021250]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.1400106c0
test eax, eax
je 0x14000e879
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.14000bb40
lea rdx, [0x140021269]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x14002136d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14000e8c9
lea r8, str._program_name_unknown_
lea rcx, [0x140021269]
mov edx, 0x2fb
call fcn.1400106c0
test eax, eax
je 0x14000e8c9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.14000bb40
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x140021269]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x14000e918
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x140021564]
lea r9d, [rax + 3]
lea r8, [0x1400191a4]
sub rdx, rcx
call fcn.140013390
test eax, eax
je 0x14000e918
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.14000bb40
lea r8, [0x1400191a0]
mov edx, 0x314
mov rcx, rbp
call fcn.1400132d0
test eax, eax
je 0x14000e944
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.14000bb40
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.1400132d0
test eax, eax
je 0x14000e974
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.14000bb40
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.140013070
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x14000e9e5
cmp rax, 0xffffffffffffffff
je 0x14000e9e5
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret