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

Disassembly:
jmp 0x14003ac80
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14008f0fa]
call fcn.14001f662
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14003acd7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.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 0x14003ade3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14003ad7c
cmp qword [rbp + 0x28], 0
jle 0x14003ad7c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14003ad1c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14001f4e1
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14003add2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14003add2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14001e677
Capabilities:
Get common file path

Disassembly:
jmp 0x140051300
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [0x140083040]
xor rax, rbp
mov qword [rbp + 0x410], rax
mov dword [rbp + 0x3f4], 0
lea rcx, [0x14008f6e6]
call fcn.14001f662
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rdx, [rbp + 0x10]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rbp + 0x234], eax
cmp dword [rbp + 0x234], 0
je 0x14005138d
cmp dword [rbp + 0x234], 0x105
jbe 0x1400513e6
lea rdx, str.____Failed_to_get_temp_path
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001ebb3
mov qword [rbp + 0x408], rax
lea rdx, [0x14001eb27]
mov rcx, qword [rbp + 0x408]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [0x1400714e4]
mov rcx, qword [rbp + 0x440]
call fcn.14001e7a3
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x440]
jmp 0x140051458
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_wcslen]
movzx eax, word [rbp + rax*2 + 0xe]
cmp eax, 0x5c
jne 0x140051432
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax - 2]
mov qword [rbp + 0x3d8], rax
cmp qword [rbp + 0x3d8], 0x20a
jae 0x14005141f
jmp 0x140051424
call fcn.14001f02c
xor eax, eax
mov rcx, qword [rbp + 0x3d8]
mov word [rbp + rcx + 0x10], ax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x440]
call fcn.14001e7a3
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x440]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140078090]
call fcn.14001f27a
mov rax, rdi
mov rcx, qword [rbp + 0x410]
xor rcx, rbp
call fcn.14001eb13
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret
Function at 0x14001e7a8
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140051180
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x14008f6e6]
call fcn.14001f662
mov rcx, qword [rbp + 0x180]
call fcn.14001ea3c
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x188]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0
jmp 0x1400511fb
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x64], eax
jae 0x1400512a3
mov eax, dword [rbp + 0x64]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x180]
mov rcx, rax
call fcn.14001e898
test eax, eax
jne 0x14005129e
mov rax, qword [rbp + 0x88]
mov rcx, rax
call fcn.14001ea3c
cmp qword [rbp + 8], rax
jne 0x14005129e
mov rax, qword [rbp + 0x88]
cmp dword [rax + 0xc], 0
jne 0x140051268
xor eax, eax
jmp 0x1400512a5
cmp qword [rbp + 0x190], 0
je 0x140051285
mov rax, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x88]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
jmp 0x1400512a5
jmp 0x1400511f3
xor eax, eax
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x14001ecb2
Capabilities:
Terminate process

Disassembly:
jmp 0x1400567d0
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 0x14001ee88
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400528e0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14005291d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14001f649
add rsp, 0x58
ret
Function at 0x14001ef8c
Capabilities:
Parse pe header

Disassembly:
jmp 0x140059040
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140059060
xor al, al
jmp 0x1400590e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140059073
xor al, al
jmp 0x1400590e1
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 0x14005909d
xor al, al
jmp 0x1400590e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400590b1
xor al, al
jmp 0x1400590e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400590c3
xor al, al
jmp 0x1400590e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400590df
xor al, al
jmp 0x1400590e1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001f3c9
Capabilities:
Parse pe header

Disassembly:
jmp 0x14004cd40
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14008f489]
call fcn.14001f662
mov rax, qword [rbp + 0x120]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14004cd7c
xor eax, eax
jmp 0x14004cda9
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0x4550
je 0x14004cda5
xor eax, eax
jmp 0x14004cda9
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14001f603
Capabilities:
Write file on windows

Disassembly:
jmp 0x140035a00
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140083040]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14008f0fa]
call fcn.14001f662
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x140035a66
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140035a6d
mov al, 1
jmp 0x140035bdd
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.14001e68b
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.14001e68b
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.14001f1a8
movzx eax, al
test eax, eax
je 0x140035ad0
xor al, al
jmp 0x140035bdd
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.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 [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x140035b43
cmp dword [rbp + 0x160], 1
je 0x140035b4e
cmp dword [rbp + 0x160], 3
je 0x140035bcc
jmp 0x140035bdb
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140035b9e
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140035b9e
xor al, al
jmp 0x140035bdd
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140035bb9
mov dword [rbp + 0x154], 1
jmp 0x140035bc3
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x140035bdd
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140035bdd
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14006fd10]
call fcn.14001f27a
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.14001eb13
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140001f90
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0x40000000
mov rcx, qword [rsp + 0x20]
call fcn.1400060a8
mov qword [rsp + 0x28], rax
lea rcx, [0x140017900]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, str.Run_itoa_Test_Start_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [0x140017940]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.140001000
lea rcx, [0x140017968]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, str.Run_Matrix_Tests_Start_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, str.____________________________________n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.140001b40
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x140008e00
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008bf0
Function at 0x14000d7d8
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 0x14000d808
xor eax, eax
jmp 0x14000d8cb
mov rbp, rbx
cmp word [rax], si
je 0x14000d82d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000d814
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000d810
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.14000d728
movsxd r14, eax
test eax, eax
jne 0x14000d86b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000d801
mov rcx, r14
call fcn.14000979c
mov rdi, rax
test rax, rax
jne 0x14000d884
xor ecx, ecx
call fcn.140009ce0
jmp 0x14000d860
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.14000d728
test eax, eax
jne 0x14000d8b5
mov rcx, rdi
call fcn.140009ce0
jmp 0x14000d8bf
xor ecx, ecx
call fcn.140009ce0
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 0x14001230c
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.14000c82c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140012396
cmp byte [rbp - 0x21], r15b
je 0x140012391
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400123cc
call fcn.14000ebd8
test eax, eax
jne 0x1400123b8
cmp byte [rbp - 0x21], r15b
je 0x1400123b0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400123cc
cmp byte [rbp - 0x21], r15b
je 0x1400123c9
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.14000be08
test eax, eax
jne 0x14001246c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000c82c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001240b
cmp byte [rbp - 0x21], r15b
je 0x140012440
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140012440
call fcn.14000ebd8
test eax, eax
jne 0x14001242c
cmp byte [rbp - 0x21], r15b
je 0x140012425
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140012440
cmp byte [rbp - 0x21], r15b
je 0x14001243d
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.14000be08
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001246c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001246f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001247d
mov rcx, rdi
call fcn.140009ce0
cmp byte [rbp + 0x3f], r15b
je 0x14001248c
mov rcx, qword [rbp + 0x27]
call fcn.140009ce0
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 0x18c24d0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.018c2657
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x18c2501
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18c24e7
add dl, dl
jne 0x18c250e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18c256e
xor eax, eax
add dl, dl
jne 0x18c251d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18c2625
add dl, dl
jne 0x18c252e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18c253b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18c2548
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18c2555
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18c2562
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18c24f6
mov eax, 1
add dl, dl
jne 0x18c257e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18c258b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18c2573
sub eax, ebx
mov ebx, 1
jne 0x18c25c4
mov ecx, 1
add dl, dl
jne 0x18c25a6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18c25b3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18c259b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18c24f6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18c25e0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18c25ed
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18c25d5
cmp eax, 0x7d00
jae 0x18c2613
cmp eax, 0x500
jb 0x18c260e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18c24f6
cmp eax, 0x7f
ja 0x18c2616
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18c24f6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18c264a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18c24f6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18084c0b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x18084c237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x18084c0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18084c0c7
add dl, dl
jne 0x18084c0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18084c14e
xor eax, eax
add dl, dl
jne 0x18084c0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18084c205
add dl, dl
jne 0x18084c10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18084c11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18084c128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18084c135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18084c142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18084c0d6
mov eax, 1
add dl, dl
jne 0x18084c15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18084c16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18084c153
sub eax, ebx
mov ebx, 1
jne 0x18084c1a4
mov ecx, 1
add dl, dl
jne 0x18084c186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18084c193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18084c17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18084c0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18084c1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18084c1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18084c1b5
cmp eax, 0x7d00
jae 0x18084c1f3
cmp eax, 0x500
jb 0x18084c1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18084c0d6
cmp eax, 0x7f
ja 0x18084c1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18084c0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18084c22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18084c0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002860
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14004d780]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002880
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002888
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002880
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400028dd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400028d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002880
add rax, 0x28
cmp rax, r9
jne 0x1400028c0
xor eax, eax
ret

Function at 0x1400028e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14004d780]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400028ff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002908
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400028ff
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400029a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14004d780]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400029bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400029c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140011320
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140011341
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp 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]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14001136e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140011370
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400113c9
test ecx, ecx
jle 0x1400113a9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400113c9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400113c9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
in al, 0x47
sbb dword [rsi*8 + 0x72cfc72b], eax
cmp eax, esi
push rax
lodsb al, byte [rsi]
sar byte [rdi + 0x45b59ba6], 0xa7
fdivr qword [rdi - 0x3f29a70]
invalid