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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x1400b5af9
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1400b5be7
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x1400b5b8f
cmp qword [rsp + 0x20], 0
jle 0x1400b5b8f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x1400b5b39
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140004090
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x1400b5bd7
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x1400b5bd7
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x1400b5bf0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1400e9010]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x1400b5c24
xor eax, eax
jmp 0x1400b5e20
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x1400b5c56
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x1400b5e20
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x1400b5d07
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.1400048f0
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140004090
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x1400b5e10
mov rcx, qword [rsp + 0x80]
call fcn.1400b6fa0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x1400b5dbd
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x1400b5db8
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x1400b5e20
jmp 0x1400b5d33
cmp qword [rsp + 0x50], 0
jbe 0x1400b5e10
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400baa60
add rsp, 0x78
ret
Function at 0x1400b7060
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1400e9010]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400b709d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400b70a4
mov al, 1
jmp 0x1400b71fe
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140018d10
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140018d10
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.140018d20
movzx eax, al
test eax, eax
je 0x1400b70fb
xor al, al
jmp 0x1400b71fe
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400b716b
cmp dword [rsp + 0x30], 1
je 0x1400b7177
cmp dword [rsp + 0x30], 3
je 0x1400b71ec
jmp 0x1400b71fc
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1400b71c3
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x1400b71c3
xor al, al
jmp 0x1400b71fe
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400b71dd
mov dword [rsp + 0x34], 1
jmp 0x1400b71e5
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400b71fe
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400b71fe
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400baa60
add rsp, 0xa8
ret

Function at 0x1400ba08c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400ba110
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400bfde0]
cmp byte [rcx + rax], 0
je 0x1400ba110
dec r8
sub rdx, 1
jne 0x1400ba0f6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400bb8b4
Capabilities:
Parse pe header

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

Disassembly:
cmp rcx, qword [0x140027550]
jne 0x140007e3b
rol rcx, 0x10
test cx, 0xffff
jne 0x140007e37
ret 0
ror rcx, 0x10
jmp 0x140007e40
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
lea rsi, [0x1400292b0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rdi, qword [0x1400293a8]
lea rdx, [rsp + 0x60]
mov rcx, rdi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140007eb3
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x70]
mov r9, rax
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov r8, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov r11, qword [0x1400293a8]
jmp 0x140007ecf
mov r11, qword [rsp + 0x58]
lea rax, [rsp + 0x58]
add rax, 8
mov qword [0x1400293a8], r11
mov qword [0x140029348], rax
mov rax, qword [0x140027550]
mov qword [0x140029220], r11
mov qword [0x140029330], rbx
mov dword [0x140029210], 0xc0000409
mov dword [0x140029214], 1
mov qword [rsp + 0x78], rax
mov rax, qword [0x140027558]
xor ecx, ecx
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14001fdd8]
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, 0x40
pop rdi
pop rsi
pop rbx
ret

Function at 0x140007e40
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140027550]
jne 0x140007e3b
rol rcx, 0x10
test cx, 0xffff
jne 0x140007e37
ret 0
ror rcx, 0x10
jmp 0x140007e40
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
lea rsi, [0x1400292b0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rdi, qword [0x1400293a8]
lea rdx, [rsp + 0x60]
mov rcx, rdi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140007eb3
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x70]
mov r9, rax
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov r8, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov r11, qword [0x1400293a8]
jmp 0x140007ecf
mov r11, qword [rsp + 0x58]
lea rax, [rsp + 0x58]
add rax, 8
mov qword [0x1400293a8], r11
mov qword [0x140029348], rax
mov rax, qword [0x140027550]
mov qword [0x140029220], r11
mov qword [0x140029330], rbx
mov dword [0x140029210], 0xc0000409
mov dword [0x140029214], 1
mov qword [rsp + 0x78], rax
mov rax, qword [0x140027558]
xor ecx, ecx
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14001fdd8]
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, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400089e4
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140008a4f
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x140008a6f
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret
Function at 0x1400097b0
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140027550]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1400097f0
mov eax, 0xff
jmp 0x1400099b7
mov r8d, dword [rsp + 0x3c]
and r8d, 0x7fff
mov r9d, dword [rsp + 0x40]
cmp r9d, 2
je 0x14000980c
bts r8d, 0xf
mov edx, dword [rsp + 0x34]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0x38]
add ecx, eax
mov dword [0x140029a24], r9d
mov dword [0x140029a2c], ecx
mov dword [0x140029a30], edx
mov dword [0x140029a34], eax
mov dword [0x140029a28], r8d
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000989f
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
je 0x14000986a
xor ebx, ebx
mov dword [rsp + 0x20], ebx
jmp 0x1400098a5
mov ecx, 0x20b
cmp word [rax + 0x18], cx
je 0x14000987d
xor ebx, ebx
mov dword [rsp + 0x20], ebx
jmp 0x1400098a5
cmp dword [rax + 0x84], 0xe
ja 0x14000988e
xor ebx, ebx
mov dword [rsp + 0x20], ebx
jmp 0x1400098a5
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0x20], ebx
jmp 0x1400098a5
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edi, 1
mov ecx, edi
call fcn.14000d1a4
test eax, eax
jne 0x1400098d7
cmp dword [0x1400297a8], 2
je 0x1400098c3
call fcn.140011e9c
mov ecx, 0x1c
call fcn.140011ca4
mov ecx, 0xff
call fcn.14001185c
call fcn.14000e43c
test eax, eax
jne 0x140009903
cmp dword [0x1400297a8], 2
je 0x1400098ee
call fcn.140011e9c
mov ecx, 0x10
call fcn.140011ca4
mov ecx, 0xff
call fcn.14001185c
nop
call fcn.140012658
test eax, eax
jns 0x140009916
mov ecx, 0x1b
call fcn.1400117f0
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x14002b3e8], rax
call fcn.1400125c4
mov qword [0x1400297a0], rax
call fcn.1400124d0
test eax, eax
jns 0x140009941
mov ecx, 8
call fcn.1400117f0
call fcn.1400121a0
test eax, eax
jns 0x140009954
mov ecx, 9
call fcn.1400117f0
mov ecx, edi
call fcn.14001194c
test eax, eax
je 0x140009966
mov ecx, eax
call fcn.1400117f0
mov r8, qword [0x140029a60]
mov qword [0x140029a68], r8
mov rdx, qword [0x140029a48]
mov ecx, dword [0x140029a38]
call fcn.140006d60
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
jne 0x140009997
mov ecx, eax
call fcn.140011b1c
call fcn.140011b34
jmp 0x1400099b5
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140007e20
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
sub rsp, 0x28
call fcn.1400bb000
add rsp, 0x28
jmp 0x1400097b0
Function at 0x140011a1c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov dword [rax + 0x18], r8d
push r12
sub rsp, 0x30
mov edi, r8d
mov ebx, edx
mov r12d, ecx
mov ecx, 8
call int.140010430
nop
cmp dword [0x140029a84], 1
je 0x140011acf
mov dword [0x140029a80], 1
mov byte [0x140029a3c], dil
test ebx, ebx
jne 0x140011abb
mov rcx, qword [0x14002a3b0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov rcx, qword [0x14002a3a8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov qword [rsp + 0x20], rax
test rsi, rsi
je 0x140011aa8
sub rbx, 8
mov qword [rsp + 0x20], rbx
cmp rbx, rsi
jb 0x140011aa8
mov rcx, qword [rbx]
test rcx, rcx
je 0x140011aa6
call rcx
jmp 0x140011a8e
lea rdx, [0x14001f3a8]
lea rcx, [0x14001f390]
call fcn.14001188c
lea rdx, [0x14001f3b8]
lea rcx, [0x14001f3b0]
call fcn.14001188c
nop
test edi, edi
je 0x140011add
mov ecx, 8
call fcn.140010330
test edi, edi
jne 0x140011b05
mov dword [0x140029a84], 1
lea ecx, [rdi + 8]
call fcn.140010330
mov ecx, r12d
call fcn.140011820
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
xor r8d, r8d
xor edx, edx
jmp 0x140011a1c

Function at 0x140011b1c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov dword [rax + 0x18], r8d
push r12
sub rsp, 0x30
mov edi, r8d
mov ebx, edx
mov r12d, ecx
mov ecx, 8
call int.140010430
nop
cmp dword [0x140029a84], 1
je 0x140011acf
mov dword [0x140029a80], 1
mov byte [0x140029a3c], dil
test ebx, ebx
jne 0x140011abb
mov rcx, qword [0x14002a3b0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov rcx, qword [0x14002a3a8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov qword [rsp + 0x20], rax
test rsi, rsi
je 0x140011aa8
sub rbx, 8
mov qword [rsp + 0x20], rbx
cmp rbx, rsi
jb 0x140011aa8
mov rcx, qword [rbx]
test rcx, rcx
je 0x140011aa6
call rcx
jmp 0x140011a8e
lea rdx, [0x14001f3a8]
lea rcx, [0x14001f390]
call fcn.14001188c
lea rdx, [0x14001f3b8]
lea rcx, [0x14001f3b0]
call fcn.14001188c
nop
test edi, edi
je 0x140011add
mov ecx, 8
call fcn.140010330
test edi, edi
jne 0x140011b05
mov dword [0x140029a84], 1
lea ecx, [rdi + 8]
call fcn.140010330
mov ecx, r12d
call fcn.140011820
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
xor r8d, r8d
xor edx, edx
jmp 0x140011a1c

Function at 0x140011b28
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140011a1c
Function at 0x140011ca4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r13
sub rsp, 0x30
lea r13, [0x140028000]
mov ebx, ecx
xor edi, edi
mov rax, r13
cmp ecx, dword [rax]
je 0x140011cd6
inc edi
add rax, 0x10
cmp edi, 0x17
jb 0x140011cc7
cmp edi, 0x17
jae 0x140011e84
mov ebp, 3
mov ecx, ebp
call fcn.140019478
cmp eax, 1
je 0x140011e3c
mov ecx, ebp
call fcn.140019478
test eax, eax
jne 0x140011d0c
cmp dword [0x140027618], 1
je 0x140011e3c
cmp ebx, 0xfc
je 0x140011e84
lea rbx, [0x140029a90]
mov ebp, 0x314
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbx
mov rdx, rbp
call fcn.14000d130
test eax, eax
je 0x140011d4f
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400089e4
lea rdx, [0x140029aa9]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x140029bad], 0
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140011da0
lea r8, str._program_name_unknown_
lea rcx, [0x140029aa9]
mov edx, 0x2fb
call fcn.14000d130
test eax, eax
je 0x140011da0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400089e4
lea r8, [0x140029aa9]
mov rdx, rbp
mov rcx, rbx
call fcn.140015088
test eax, eax
je 0x140011dcb
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400089e4
lea r8, [0x140020fa0]
mov rdx, rbp
mov rcx, rbx
call fcn.140015088
test eax, eax
je 0x140011df6
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400089e4
movsxd r8, edi
mov rdx, rbp
mov rcx, rbx
add r8, r8
mov r8, qword [r13 + r8*8 + 8]
call fcn.140015088
test eax, eax
je 0x140011e25
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400089e4
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbx
call fcn.140019244
jmp 0x140011e84
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r11, rax
test rax, rax
je 0x140011e84
or rcx, 0xffffffffffffffff
cmp rax, rcx
je 0x140011e84
movsxd rdx, edi
xor eax, eax
lea r9, [rsp + 0x48]
and qword [rsp + 0x20], rax
add rdx, rdx
mov rdx, qword [r13 + rdx*8 + 8]
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 + 0x40]
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r13
ret
Function at 0x14001314c
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r12
push r13
sub rsp, 0x90
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rdi
mov rax, qword [0x140027550]
xor rax, rbp
mov qword [rbp + 0x68], rax
mov eax, dword [rsp]
sub rsp, 0x10
lea r12, [rsp + 0x20]
mov eax, dword [r12]
lea rdx, [rbp + 8]
mov r8d, 0x30
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140013252
mov r13, qword [rbp + 0x10]
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rbp + 0x3c]
lea rcx, [rbp]
xor ebx, ebx
and dword [rbp], ebx
call qword [sym.imp.KERNEL32.dll_SetThreadStackGuarantee]
cmp eax, 1
jne 0x1400131da
mov eax, dword [rbp]
test eax, eax
cmovne ebx, eax
lea edx, [rdi - 1]
lea ecx, [rdx + rbx]
cmp ecx, ebx
jb 0x140013252
mov eax, edx
not eax
and ecx, eax
je 0x1400131f5
lea eax, [rcx + rdi]
cmp eax, ecx
jb 0x140013252
mov ecx, eax
lea eax, [rdi + rdi*2]
mov ebx, edx
cmp ecx, eax
not rbx
cmovb ecx, eax
and rbx, r12
lea rax, [r13 + rdi]
mov esi, ecx
sub rbx, rsi
cmp rbx, rax
jb 0x140013252
mov r9d, 4
mov r8d, 0x1000
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140013252
lea r9, [rbp + 4]
mov r8d, 0x104
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140013252
mov eax, 1
jmp 0x140013254
xor eax, eax
mov rcx, qword [rbp + 0x68]
xor rcx, rbp
call fcn.140007e20
mov rbx, qword [rbp + 0x90]
mov rsi, qword [rbp + 0x98]
mov rdi, qword [rbp + 0xa0]
lea rsp, [rbp + 0x70]
pop r13
pop r12
pop rbp
ret