joyce8/EMBER2024-capa huggingface dataset:
Function at 0x178c0
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x178f2
mov qword [rsp + 0x20], 0
mov r8d, 0x5450454b
mov edx, 0xd8
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x17923
lea rcx, [0x00019940]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x17a04
mov rdi, qword [rsp + 0x28]
xor eax, eax
mov ecx, 0xd8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x28]
mov dword [rax], 3
mov rcx, qword [rsp + 0x28]
mov eax, dword [rsp + 0x48]
mov dword [rcx + 0x18], eax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call fcn.00017b30
test eax, eax
jne 0x17982
lea rcx, [0x00019980]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [rsp + 0x28], 0
jmp 0x17a04
mov rcx, qword [rsp + 0x28]
add rcx, 0x30
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeInitializeMutex]
mov rcx, qword [rsp + 0x28]
add rcx, 0x68
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeInitializeMutex]
mov rcx, qword [rsp + 0x28]
add rcx, 0xa0
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeInitializeMutex]
mov rcx, qword [rsp + 0x28]
add rcx, 0x1c
xor edx, edx
call fcn.00011960
mov rcx, qword [rsp + 0x28]
call fcn.00017c70
test eax, eax
jne 0x179fa
lea rcx, [0x000199c0]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [rsp + 0x28], 0
jmp 0x17a04
xor eax, eax
test eax, eax
jne 0x178e1
mov rax, qword [rsp + 0x28]
add rsp, 0x30
pop rdi
ret
Function at 0x17c70
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
jmp 0x17ca0
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 2
jge 0x17d21
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
shl rax, 3
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x28]
call fcn.00011720
mov rdx, rax
movsxd rcx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x50]
mov qword [rax + rcx*8 + 0x20], rdx
movsxd rcx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x50]
cmp qword [rax + rcx*8 + 0x20], 0
jne 0x17cfc
mov rax, qword [rsp + 0x50]
mov edx, dword [rax + 0x18]
lea rcx, [0x00019a00]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x17d21
movsxd rax, dword [rsp + 0x20]
mov rdi, qword [rsp + 0x50]
mov rdi, qword [rdi + rax*8 + 0x20]
xor eax, eax
mov rcx, qword [rsp + 0x28]
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 1
jmp 0x17c95
xor eax, eax
test eax, eax
jne 0x17c8b
cmp dword [rsp + 0x30], 0
je 0x17d3f
mov rax, qword [rsp + 0x50]
mov dword [rax], 3
jmp 0x17da8
mov dword [rsp + 0x20], 0
jmp 0x17d54
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 2
jge 0x17da8
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
shl rax, 3
mov qword [rsp + 0x28], rax
movsxd rcx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x50]
cmp qword [rax + rcx*8 + 0x20], 0
je 0x17da6
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + rax*8 + 0x20]
call fcn.00011780
movsxd rdx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x50]
mov qword [rax + rdx*8 + 0x20], 0
jmp 0x17d49
mov eax, dword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret

Function at 0x183c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x40], 0
je 0x184cd
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x20], eax
movsxd rcx, dword [rsp + 0x20]
imul rcx, rcx, 0x38
mov rax, qword [rsp + 0x40]
lea rcx, [rax + rcx + 0x30]
call fcn.00011850
test eax, eax
je 0x1841f
mov rcx, qword [rsp + 0x48]
mov eax, dword [rsp + 0x20]
mov dword [rcx], eax
mov eax, 1
jmp 0x184cf
cmp dword [rsp + 0x20], 0
jne 0x18430
mov dword [rsp + 0x20], 1
jmp 0x1843f
cmp dword [rsp + 0x20], 1
jne 0x1843f
mov dword [rsp + 0x20], 0
movsxd rcx, dword [rsp + 0x20]
imul rcx, rcx, 0x38
mov rax, qword [rsp + 0x40]
lea rcx, [rax + rcx + 0x30]
call fcn.00011850
test eax, eax
jne 0x1848f
movsxd rcx, dword [rsp + 0x20]
imul rcx, rcx, 0x38
mov rax, qword [rsp + 0x40]
lea rcx, [rax + rcx + 0x30]
mov edx, 0xffffffff
call fcn.000117b0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1848f
lea rcx, [0x00019a80]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x40]
add rcx, 0x1c
mov edx, dword [rsp + 0x20]
call fcn.00011960
mov r11, qword [rsp + 0x48]
mov eax, dword [rsp + 0x20]
mov dword [r11], eax
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x1c]
mov edx, dword [rsp + 0x20]
lea rcx, [0x00019ac0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 1
jmp 0x184cf
xor eax, eax
add rsp, 0x38
ret
Function at 0x184e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0
jmp 0x18512
mov rax, qword [rsp + 0x20]
add rax, 1
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x20], rax
jge 0x185b2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + rcx*8], 0
jne 0x185ad
mov ecx, dword [rsp + 0x60]
call fcn.00011750
mov rdx, rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, qword [rsp + 0x48]
mov qword [rax + rcx*8], rdx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + rcx*8], 0
jne 0x1858b
mov rdx, qword [rsp + 0x20]
lea rcx, [0x00019ae0]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x185b7
movsxd rdx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x20]
add rax, rcx
mov rdi, qword [rsp + 0x48]
mov rdi, qword [rdi + rax*8]
xor eax, eax
mov rcx, rdx
rep stosb byte [rdi], al
jmp 0x18504
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x1a010
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rdx, qword [rsp + 0x48]
lea rcx, [0x0001a200]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x20], 0
jmp 0x1a044
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x1b
ja 0x1a062
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
lea rax, [fcn.00015fb0]
mov qword [rcx + rdx*8 + 0x70], rax
jmp 0x1a039
mov rcx, qword [rsp + 0x40]
lea rax, [0x00015d00]
mov qword [rcx + 0x68], rax
mov rcx, qword [rsp + 0x40]
lea rax, [0x00016160]
mov qword [rcx + 0x70], rax
mov rcx, qword [rsp + 0x40]
lea rax, [0x000160b0]
mov qword [rcx + 0x80], rax
mov rcx, qword [rsp + 0x40]
lea rax, [0x000163d0]
mov qword [rcx + 0x90], rax
mov rcx, qword [rsp + 0x40]
lea rax, [0x00016310]
mov qword [rcx + 0x88], rax
mov rcx, qword [rsp + 0x40]
lea rax, [0x00016490]
mov qword [rcx + 0xe0], rax
mov rcx, qword [rsp + 0x40]
lea rax, [0x00016210]
mov qword [rcx + 0x128], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.00015010
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x1a10d
lea rcx, [0x0001a230]
call fcn.00011870
mov eax, dword [rsp + 0x24]
jmp 0x1a176
mov rax, qword [rsp + 0x40]
mov qword [0x000131e8], rax
mov r8, qword [0x000131e8]
mov rdx, qword [0x000131e0]
lea rcx, [0x0001a260]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
lea rcx, [0x00013400]
call qword [sym.imp.ntoskrnl.exe_KeInitializeMutex]
cmp qword [0x000131e8], 0
je 0x1a166
call fcn.00011040
movzx eax, al
test eax, eax
jne 0x1a166
mov rcx, qword [rsp + 0x40]
call fcn.00016e80
mov dword [rsp + 0x24], eax
lea rcx, [0x0001a2b0]
call fcn.00011870
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret
sub rsp, 0x28
mov r8, rdx
mov r9, rcx
call fcn.0001a184
mov rdx, r8
mov rcx, r9
add rsp, 0x28
jmp 0x1a010
Function at 0x1a1e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rdx, qword [rsp + 0x48]
lea rcx, [0x0001a200]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x20], 0
jmp 0x1a044
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x1b
ja 0x1a062
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
lea rax, [fcn.00015fb0]
mov qword [rcx + rdx*8 + 0x70], rax
jmp 0x1a039
mov rcx, qword [rsp + 0x40]
lea rax, [0x00015d00]
mov qword [rcx + 0x68], rax
mov rcx, qword [rsp + 0x40]
lea rax, [0x00016160]
mov qword [rcx + 0x70], rax
mov rcx, qword [rsp + 0x40]
lea rax, [0x000160b0]
mov qword [rcx + 0x80], rax
mov rcx, qword [rsp + 0x40]
lea rax, [0x000163d0]
mov qword [rcx + 0x90], rax
mov rcx, qword [rsp + 0x40]
lea rax, [0x00016310]
mov qword [rcx + 0x88], rax
mov rcx, qword [rsp + 0x40]
lea rax, [0x00016490]
mov qword [rcx + 0xe0], rax
mov rcx, qword [rsp + 0x40]
lea rax, [0x00016210]
mov qword [rcx + 0x128], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.00015010
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x1a10d
lea rcx, [0x0001a230]
call fcn.00011870
mov eax, dword [rsp + 0x24]
jmp 0x1a176
mov rax, qword [rsp + 0x40]
mov qword [0x000131e8], rax
mov r8, qword [0x000131e8]
mov rdx, qword [0x000131e0]
lea rcx, [0x0001a260]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
lea rcx, [0x00013400]
call qword [sym.imp.ntoskrnl.exe_KeInitializeMutex]
cmp qword [0x000131e8], 0
je 0x1a166
call fcn.00011040
movzx eax, al
test eax, eax
jne 0x1a166
mov rcx, qword [rsp + 0x40]
call fcn.00016e80
mov dword [rsp + 0x24], eax
lea rcx, [0x0001a2b0]
call fcn.00011870
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret
sub rsp, 0x28
mov r8, rdx
mov r9, rcx
call fcn.0001a184
mov rdx, r8
mov rcx, r9
add rsp, 0x28
jmp 0x1a010
Function at 0x140001740
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x4c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400018e4
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x438
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x1400018db
movabs rbp, 0x6174654272657961
movabs r14, 0x6c50786f6c626f52
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x80]
mov qword [rsp + 0x30], rdi
mov r9d, 0xffffffff
mov dword [rsp + 0x28], edi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x490]
call fcn.140001960
cmp qword [rsp + 0x4a8], 0xf
lea rcx, [rsp + 0x490]
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x80]
cmova rcx, qword [rsp + 0x490]
mov r9d, 0xffffffff
mov qword [rsp + 0x30], rdi
xor edx, edx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rdx, qword [rsp + 0x4a8]
lea rax, [rsp + 0x490]
mov rcx, qword [rsp + 0x490]
cmp rdx, 0xf
cmova rax, rcx
cmp qword [rsp + 0x4a0], 0x14
jne 0x140001892
cmp qword [rax], r14
jne 0x140001892
cmp qword [rax + 8], rbp
jne 0x140001892
cmp dword [rax + 0x10], 0x6578652e
je 0x140001915
cmp rdx, 0xf
jbe 0x1400018c5
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018c0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000194b
call fcn.14000279c
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400017c3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140002740
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov rdi, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400018db
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001944
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000194b
call fcn.14000279c
jmp 0x1400018db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400030c0
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x140809add
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140809aed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140809ad5
lea eax, [rcx + 1]
jmp 0x140809afb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140809b0e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140809af4
sub eax, 3
jb 0x140809b2e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140809b7d
sar eax, 1
movsxd rbp, eax
jb 0x140809b64
jmp 0x140809b3c
add ebx, ebx
jne 0x140809b3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140809b64
inc ecx
add ebx, ebx
jne 0x140809b4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140809b64
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140809b5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140809b4c
add ecx, 2
jmp 0x140809b69
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140809a92
jmp 0x140809add
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x806000]
mov eax, dword [rdi]
or eax, eax
je 0x140809bdd
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x822d24]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140809b8d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140809bd7
mov qword [rbx], rax
add rbx, 8
jmp 0x140809bad
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140809c21
cmp al, 0xef
ja 0x140809c09
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140809be9
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140809bf8
mov eax, dword [rdi]
add rdi, 4
jmp 0x140809bf8
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140809c75
sub rsp, 0xffffffffffffff80
jmp 0x14007c614
Function at 0x1401dc790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1401dc80a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1401dc800
cmp r11, r10
ja 0x1401dc8a1
cmp r10, rdx
ja 0x1401dc8b3
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1401dc802
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1401dc7e0
jmp 0x1401dc877
ja 0x1401dc80a
mov r11, r10
cmp rax, r8
jne 0x1401dc7b2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1401dc87b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1401dc850
mov r8, r10
sub ecx, r9d
jns 0x1401dc86e
jmp 0x1401dc87d
cmp r10, rdx
je 0x1401dc889
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1401dc87d
xor al, 1
cmp r8, rdx
jne 0x1401dc830
jmp 0x1401dc87d
xor eax, eax
jmp 0x1401dc87d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140283db1]
lea r8, [0x1402851b8]
mov edx, 0x2b
call fcn.1401ed9a0
lea r8, [0x1402851d0]
mov rcx, r11
mov rdx, r10
call fcn.1401edf50
lea r8, [0x1402851d0]
mov rcx, r10
call fcn.1401eded0
int3

Function at 0x1401df298
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x1401ef1c8]
test rax, rax
je 0x1401df2e2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401df2e2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401df2e2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401df2e2
cmp dword [rcx + 0x84], 0xe
jbe 0x1401df2e2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401df2e4
xor al, al
add rsp, 0x28
ret
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140022050]
mov dword [rax], 1
mov rax, qword [0x140022060]
mov dword [rax], 1
mov rax, qword [0x140022070]
mov dword [rax], 1
mov rax, qword [0x140022040]
mov dword [rax], 1
mov rax, qword [0x140021f00]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140003980
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x1400039a1
mov rcx, rdx
call sym.strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sym.fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp sym.fflush

Function at 0x14000a870
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
mov rbx, rdx
mov r13, rcx
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov rcx, r13
mov r8, rbx
mov edx, 1
mov r12, rax
mov r9, rax
call sym.fwrite
mov rcx, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
jmp sym.fflush
Function at 0x14000a8c0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x40
mov rax, qword [0x140029150]
mov r12, rcx
mov rbx, rdx
test rax, rax
je 0x14000a970
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
test rcx, rcx
je 0x14000a950
call sym.strlen
lea r13, [rsp + 0x20]
mov rdx, r12
mov rcx, r13
mov r8, rax
call sym.toNimStr
mov r12, qword [rsp + 0x28]
mov rcx, r13
call qword [0x140029150]
test r12, r12
je 0x14000a929
test byte [r12 + 7], 0x40
je 0x14000a9a8
lea rcx, [0x140020240]
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x14000a9c8
add rsp, 0x40
pop rbx
pop r12
pop r13
ret
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], 0
call rax
jmp 0x14000a929
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov rcx, r12
mov r8, rbx
mov edx, 1
mov r13, rax
mov r9, rax
call sym.fwrite
mov rcx, r13
add rsp, 0x40
pop rbx
pop r12
pop r13
jmp sym.fflush
lea rcx, [0x140020260]
call sym.__emutls_get_address
mov rdx, r12
mov rcx, rax
call sym.rawDealloc__system_u6959
jmp 0x14000a929
mov byte [rax], 0
lea rcx, [0x140020180]
call sym.__emutls_get_address
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x40
pop rbx
pop r12
pop r13
jmp sym.eqcopy___stdZtypedthreads_u169

Function at 0x14000b110
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r13, [0x140029120]
mov rsi, rdx
mov rbx, rcx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test rsi, rsi
jle 0x14000b19f
lea rcx, [0x140020240]
xor r14d, r14d
lea r12, [rsp + 0x20]
call sym.__emutls_get_address
mov rbp, qword [sym.__acrt_iob_func]
mov rdi, rax
jmp 0x14000b16d
add r14, 1
add rbx, 0x10
cmp rsi, r14
je 0x14000b1a6
mov ecx, 1
call rbp
movdqu xmm0, xmmword [rbx]
xor r8d, r8d
mov rdx, r12
mov rcx, rax
movaps xmmword [rsp + 0x20], xmm0
call sym.writeWindows__system_u8944
cmp byte [rdi], 0
je 0x14000b160
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rbp, qword [sym.__acrt_iob_func]
mov ecx, 1
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x1400212e1]
mov r9, rax
call sym.fwrite
mov ecx, 1
call rbp
mov rcx, rax
call sym.fflush
mov rcx, r13
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14000c410
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sym.vfprintf
call sym.abort
nop