joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004340
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140018010]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rdx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x70]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
xor esi, esi
cmp eax, 0x104
ja 0x1400043e0
lea rcx, [rbp - 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x1400043b0
cmp word [rbp + rax*2 - 0x72], 0x5c
jne 0x1400043da
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x14000447d
mov word [rbp + rax - 0x70], si
lea rdx, [rbp - 0x70]
jmp 0x1400043e7
lea rdx, [0x140011dfc]
lea rcx, [rsp + 0x70]
call fcn.1400045fc
nop
cmp qword [rbp - 0x80], rsi
jne 0x140004409
lea rdx, [0x140011dfc]
mov rcx, rdi
call fcn.1400045fc
jmp 0x14000444e
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140004248
mov rbx, rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140005ba4
nop
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140005e48
nop
lea rcx, [rsp + 0x30]
call fcn.140004598
nop
lea rcx, [rsp + 0x50]
call fcn.140004598
nop
lea rcx, [rsp + 0x70]
call fcn.140004598
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14000ee70
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2b0
pop rdi
pop rsi
pop rbp
ret
call fcn.14000f610
int3

Function at 0x140004c6c
Capabilities:
Write 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 r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x140004c9d
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 0x140004d10
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140004cb4
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140004cb6
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140004d0a
test ecx, ecx
jle 0x140004ce5
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x140004d0a
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140004d0a
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140004d2c
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 r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rdi, r8
mov r14, rdx
mov rbx, rcx
je 0x140004d60
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 0x140004e0b
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x140004d77
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004d79
xor ecx, ecx
movsxd rsi, ecx
test rdi, rdi
jle 0x140004e05
test ecx, ecx
jle 0x140004dac
cmp rdi, rsi
mov rcx, r14
cmovl rsi, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov edx, esi
mov rcx, rbx
add r14, rsi
sub rdi, rsi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
test rdi, rdi
jle 0x140004e05
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x140004e05
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140004df1
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov r9, qword [rbx + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rbp, rdi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140005218
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140018010]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x140005251
xor eax, eax
jmp 0x140005364
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x14000527a
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, qword [rax]
cmp qword [rax], r8
jae 0x14000527a
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x140005364
cmp qword [rcx + 0x80], 0
je 0x140005362
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400052b5
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400052d9
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
cmovne edi, esi
jmp 0x140005362
lea rax, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x2f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
js 0x140005362
cmp eax, 1
jle 0x140005327
cmp eax, 3
jne 0x140005362
movsx ecx, byte [rbp - 0x30]
jmp 0x1400052c2
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x140005352
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x140005362
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
mov eax, esi
jne 0x140005364
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000ee70
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140005520
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140018010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400055ca
cmp byte [rcx + 0x71], 0
je 0x1400055ca
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000558b
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
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]
test eax, eax
je 0x14000558f
sub eax, 1
je 0x140005593
sub eax, 2
je 0x1400055ca
xor al, al
jmp 0x1400055cc
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400055c1
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000558b
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400055cc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000ee70
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x140005d50
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140018010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov rsi, r8
mov ecx, 1
mov rbp, rdx
xor eax, eax
lock cmpxchg dword [0x14001e8c0], ecx
jne 0x140005dd4
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x20]
call fcn.1400045fc
lea rcx, [rsp + 0x20]
call fcn.14000e718
lea rcx, [rsp + 0x20]
call fcn.140004598
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x40]
call fcn.1400045fc
lea rcx, [rsp + 0x40]
call fcn.14000e718
lea rcx, [rsp + 0x40]
call fcn.140004598
call fcn.14000e81c
lea rdi, [rbx + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and qword [rsp + 0x60], 0
lea rdx, [rsp + 0x60]
mov r8, rbp
mov rcx, rbx
call fcn.140006630
mov rax, qword [rsp + 0x60]
mov rcx, rdi
cmp rax, qword [rbx + 8]
je 0x140005e11
mov rbx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140005e19
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
test rbx, rbx
je 0x140005e25
mov rcx, qword [rsi]
call rbx
jmp 0x140005e2a
mov eax, 0xc0000138
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000ee70
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140006630
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
cmp qword [r8 + 0x18], 0x10
mov rdi, r8
mov r14, qword [r8 + 0x10]
mov r15, rdx
mov rbp, rcx
jb 0x14000665b
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r14, r14
je 0x14000668a
movzx eax, byte [rdx + r8]
movabs r9, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r9
cmp rdx, r14
jb 0x14000666c
mov rax, qword [rbp + 0x18]
mov r12, qword [rbp + 0x30]
mov rbp, qword [rbp + 8]
and r12, rcx
add r12, r12
mov qword [rsp + 0x20], rax
mov rbx, qword [rax + r12*8]
cmp qword [rax + r12*8], rbp
jne 0x1400066b0
mov rax, rbp
jmp 0x1400066b8
mov rax, qword [rax + r12*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14000672d
cmp qword [rdi + 0x18], 0x10
lea rsi, [rbx + 0x10]
mov rdx, rdi
jb 0x1400066ce
mov rdx, qword [rdi]
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
mov r13, qword [rsi + 0x10]
jb 0x1400066df
mov rcx, qword [rsi]
cmp r13, r14
jne 0x1400066f0
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400066fa
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x20]
jmp 0x1400066a5
cmp qword [rsi + 0x18], 0x10
jb 0x140006704
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 0x10
jb 0x14000670e
mov rdi, qword [rdi]
cmp r14, r13
jne 0x140006725
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140006728
mov rbx, rbp
mov qword [r15], rbx
jmp 0x140006730
mov qword [r15], rbp
mov rbx, qword [rsp + 0x88]
mov rax, r15
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140006f84
Capabilities:
Get hostname
Get session user name

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140018010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15b, dl
mov rbx, rcx
mov qword [rbp - 0x40], rcx
and dword [rbp - 0x50], 0
lea rdx, [0x140011f35]
call fcn.1400047d0
mov dword [rbp - 0x50], 1
mov dword [rbp - 0x38], 0x10
mov dword [rbp - 0x34], 0x10
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x1400070a9
lea rax, [rbp - 0x30]
or rdi, 0xffffffffffffffff
mov rsi, rdi
inc rsi
cmp byte [rax + rsi], 0
jne 0x140007005
cmp rsi, qword [rbx + 0x18]
ja 0x14000703b
mov r14, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140007021
mov r14, qword [rbx]
mov qword [rbx + 0x10], rsi
mov r8, rsi
lea rdx, [rbp - 0x30]
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rsi], 0
jmp 0x14000704a
lea r9, [rbp - 0x30]
mov rdx, rsi
mov rcx, rbx
call fcn.140006304
test r15b, r15b
je 0x1400070a9
lea rdx, [rbp - 0x34]
lea rcx, [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x1400070a9
lea rax, [rbp - 0x20]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140007065
cmp rdi, qword [rbx + 0x18]
ja 0x14000709a
mov rsi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140007081
mov rsi, qword [rbx]
mov qword [rbx + 0x10], rdi
mov r8, rdi
lea rdx, [rbp - 0x20]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], 0
jmp 0x1400070a9
lea r9, [rbp - 0x20]
mov rdx, rdi
mov rcx, rbx
call fcn.140006304
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000ee70
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400086dc
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x20], 0xfffffffffffffffe
lea rax, [r11 - 0x80]
mov qword [r11 + 8], rax
lea rdx, [0x14001e8c8]
lea rcx, [r11 - 0x80]
call fcn.1400093ec
mov rdi, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0xd8], rax
lea rdx, str.deniska132.myjino.ru_relesehack_cheak_active_Index.php
lea rcx, [rsp + 0x68]
call fcn.1400047d0
mov rbx, rax
lea rdx, str.MESSAGEBLOCKUSERKEY
lea rcx, [rsp + 0x88]
call fcn.1400047d0
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140007fa0
mov rdi, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140008764
mov rax, qword [rax]
mov r8, rdi
mov esi, 1
cmp rdi, rsi
cmova r8, rsi
lea rdx, [0x140012108]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
mov ebx, eax
test eax, eax
jne 0x14000879a
cmp rdi, rsi
jae 0x140008792
or ebx, 0xffffffff
jmp 0x14000879a
xor ebx, ebx
cmp rdi, rsi
seta bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400087da
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400087d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400087d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ee94
test ebx, ebx
jne 0x140008815
lea rdx, [0x140012110]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140009d20
lea rdx, [0x140009f18]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0xb0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000e664
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov r10, rcx
lea rdx, [r8 + 0x10]
cmp qword [rdx + 0x18], 0x10
mov r11, qword [rdx + 0x10]
jb 0x14000e686
mov rdx, qword [rdx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x14000e6b4
movzx eax, byte [rcx + rdx]
movabs rdi, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rdi
cmp rcx, r11
jb 0x14000e697
mov rdx, qword [r10 + 0x30]
and rdx, r9
mov r9, qword [r10 + 0x18]
add rdx, rdx
cmp qword [r9 + rdx*8 + 8], r8
jne 0x14000e6f1
cmp qword [r9 + rdx*8], r8
jne 0x14000e6e6
mov rax, qword [r10 + 8]
mov qword [r9 + rdx*8], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14000e6fe
mov rax, qword [r8 + 8]
mov qword [r9 + rdx*8 + 8], rax
jmp 0x14000e6fe
cmp qword [r9 + rdx*8], r8
jne 0x14000e6fe
mov rcx, qword [r8]
mov qword [r9 + rdx*8], rcx
lea rcx, [r10 + 8]
mov rdx, rbx
call fcn.14000e55c
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000ed70
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x36
syscall
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x00404480]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x00404490]
mov dword [rax], 1
mov rax, qword [0x004044a0]
mov dword [rax], 1
mov rax, qword [0x00404470]
mov dword [rax], 1
mov rax, qword [0x00404340]
cmp word [rax], 0x5a4d
jne 0x401067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4010d0
mov rax, qword [0x00404460]
mov dword [0x00407020], ecx
mov eax, dword [rax]
test eax, eax
je 0x4010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x00404420]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x00404400]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x004042f0]
cmp dword [rax], 1
je 0x401108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x401120
cmp dx, 0x20b
jne 0x401067
cmp dword [rax + 0x84], 0xe
jbe 0x401067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x401067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x401067
Function at 0x401540
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
call dbg.__main
mov rax, qword [sym.imp.KERNEL32.dll_FreeConsole]
call rax
mov byte [rbp - 0x39], 0
mov dword [rbp - 8], 0
mov dword [rbp - 4], 0
jmp 0x401590
mov eax, dword [rbp - 4]
cdqe
movzx eax, byte [rbp + rax - 0x39]
xor eax, 5
mov edx, eax
mov eax, dword [rbp - 4]
cdqe
mov byte [rbp + rax - 0x39], dl
add dword [rbp - 4], 1
cmp dword [rbp - 4], 0
je 0x401574
lea rax, [rbp - 0x39]
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], 1
mov byte [rbp - 0x48], 0x56
mov byte [rbp - 0x47], 0x69
mov byte [rbp - 0x46], 0x72
mov byte [rbp - 0x45], 0x74
mov byte [rbp - 0x44], 0x75
mov byte [rbp - 0x43], 0x61
mov byte [rbp - 0x42], 0x6c
mov byte [rbp - 0x41], 0x41
mov byte [rbp - 0x40], 0x6c
mov byte [rbp - 0x3f], 0x6c
mov byte [rbp - 0x3e], 0x6f
mov byte [rbp - 0x3d], 0x63
mov byte [rbp - 0x3c], 0x45
mov byte [rbp - 0x3b], 0x78
mov byte [rbp - 0x3a], 0
lea rax, [rbp - 0x48]
mov qword [rbp - 0x18], rax
mov byte [rbp - 0x51], 0x6b
mov byte [rbp - 0x50], 0x65
mov byte [rbp - 0x4f], 0x72
mov byte [rbp - 0x4e], 0x6e
mov byte [rbp - 0x4d], 0x65
mov byte [rbp - 0x4c], 0x6c
mov byte [rbp - 0x4b], 0x33
mov byte [rbp - 0x4a], 0x32
mov byte [rbp - 0x49], 0
lea rax, [rbp - 0x51]
mov qword [rbp - 0x20], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov r8d, eax
mov edx, 0
mov ecx, 0x10
mov rax, qword [sym.imp.KERNEL32.dll_OpenThread]
call rax
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
mov rax, qword [rbp - 0x18]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x30], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
mov edx, dword [rbp - 8]
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp - 0x30]
mov r9d, 0x3000
mov r8d, edx
mov edx, 0
call rax
mov qword [rbp - 0x38], rax
mov eax, dword [rbp - 8]
movsxd rcx, eax
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x38]
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x28]
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_QueueUserAPC]
call rax
mov edx, 3
mov ecx, 5
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov eax, 0
add rsp, 0x90
pop rbp
ret

Function at 0x4019c0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x401a30
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x004070c4]
mov r12, rcx
test ebx, ebx
jle 0x401b60
mov rax, qword [0x004070c8]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x401a7c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x401b03
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x401a60
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x401b82
mov rax, qword [0x004070c8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x004070c8]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401b67
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x401afc
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x401b10
add dword [0x004070c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x004070c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401afc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x401a87
mov rax, qword [0x004070c8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x402050
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00407120]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00407100]
test rbx, rbx
je 0x4020a4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x40209b
test r12, r12
je 0x40209b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402080
lea rcx, [0x00407120]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x4022c0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x4022d8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x4022e0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret