joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d8cd120
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d8ee5e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d8cd2a8
mov rax, qword [0x6d8ee5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d8cd16c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8cd1f5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d8cd150
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8cd2dd
mov rax, qword [0x6d8ee5e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d8ee5e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8cd2c0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8cd1ee
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d8cd250
add dword [0x6d8ee5e4], 1
cmp edi, 8
jae 0x6d8cd223
test dil, 4
jne 0x6d8cd294
test edi, edi
je 0x6d8cd218
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8cd2af
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d8cd218
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d8cd23c
jmp 0x6d8cd218
add rsi, qword [0x6d8ee5e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d8cd1ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d8cd218
xor esi, esi
jmp 0x6d8cd177
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d8cd218
mov rax, qword [0x6d8ee5e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d8cda30
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d8ee8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d8ee8a0]
test rbx, rbx
je 0x6d8cda84
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d8cda7b
test rsi, rsi
je 0x6d8cda7b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8cda60
lea rcx, [0x6d8ee8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d8cdcc0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d8cdcd0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d8cdce0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d8cdd21
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d8cdd18
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d8cdd23
add rax, 0x28
cmp rax, r9
jne 0x6d8cdd04
xor eax, eax
ret

Function at 0x6d8cddc0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8eb1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d8cde2d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8cde2d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8cde2d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8cde24
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8cde2f
add rax, 0x28
cmp rax, r9
jne 0x6d8cde10
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d8cdf30
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8eb1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d8cdf50
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8cdf48
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8cdfad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8cdfa4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8cdfb4
add rax, 0x28
cmp rax, r9
jne 0x6d8cdf90
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d8cdfd0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d8eb1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d8ce03e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8ce03e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d8ce03e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d8ce03e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d8ce035
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d8ce045
add rcx, 0x28
cmp rcx, rax
jne 0x6d8ce020
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d8ce058
jmp 0x6d8ce03e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d8ce066
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d8ce03e
test r9d, r9d
jg 0x6d8ce050
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8ce3d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140001000
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x40
mov rbx, rdx
mov r8d, 0x528
xor edx, edx
mov rsi, rcx
call fcn.14000b2b0
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov rcx, rbx
mov dword [rsp + 0x20], 3
lea r8d, [rbp + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
test rax, rax
je 0x1400011f2
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsi + 0x520], eax
test eax, eax
je 0x1400011f2
mov ecx, eax
call fcn.14000dbb8
mov qword [rsi + 0x518], rax
test rax, rax
je 0x1400011f2
mov r8d, dword [rsi + 0x520]
lea r9, [rsp + 0x50]
mov rdx, rax
mov qword [rsp + 0x20], rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x50], ebp
je 0x1400011f2
mov r9, qword [rsi + 0x518]
lea rdx, [rsi + 0x50]
lea ecx, [rbp + 2]
movups xmm0, xmmword [r9]
movups xmmword [rsi + 4], xmm0
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [rsi + 0x14], xmm1
movups xmm0, xmmword [r9 + 0x20]
movups xmmword [rsi + 0x24], xmm0
movups xmm1, xmmword [r9 + 0x30]
movups xmmword [rsi + 0x34], xmm1
movsxd r8, dword [rsi + 0x40]
lea rax, [r9 + r8]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rdx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x1400010f3
mov rcx, qword [rax]
mov qword [rdx], rcx
lea ecx, [r8 + 0x108]
movzx eax, word [rsi + 0x56]
mov edx, ecx
mov dword [rsi], ecx
add rdx, r9
lea rcx, [rsi + 0x158]
mov dword [rsi + 0x524], eax
lea r8, [rax + rax*4]
shl r8, 3
call fcn.14000ae50
cmp dword [rsi + 0x524], ebp
jbe 0x1400011f2
mov qword [rsp + 0x58], rdi
nop word [rax + rax]
mov r8d, dword [rsi + 0x8c]
xor edx, edx
mov edi, ebp
lea rax, [rdi + 9]
lea rax, [rax + rax*4]
lea rbx, [rsi + rax*8]
mov eax, dword [rsi + rax*8]
div r8d
test edx, edx
lea ecx, [rax + 1]
cmove ecx, eax
imul ecx, r8d
call fcn.14000dbb8
mov qword [rsi + rdi*8 + 0x478], rax
lea rcx, [rdi + rdi*4]
mov edx, dword [rsi + rcx*8 + 0x16c]
mov rcx, rax
add rdx, qword [rsi + 0x518]
mov r8d, dword [rbx]
call fcn.14000ae50
inc ebp
cmp ebp, dword [rsi + 0x524]
jb 0x140001190
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rax, rsi
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rsi
ret
Function at 0x140001240
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor eax, eax
xor edx, edx
mov qword [rsp + 0x60], rax
mov rsi, rcx
mov dword [rsp + 0x58], eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test eax, eax
jne 0x140001277
lea rax, str.0.0.0.0
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
mov qword [rsp + 0x50], rbx
call fcn.140004b30
mov r9, rax
mov r8d, edi
xor edx, edx
mov rcx, rsi
mov rbx, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14000130c
lea r9, [rsp + 0x58]
mov rcx, rbx
lea r8, [rsp + 0x60]
lea rdx, [0x14001e3c8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000130c
mov r8, qword [rsp + 0x60]
movzx ecx, word [r8 + 0xc]
movzx edx, word [r8 + 0xe]
movzx eax, word [r8 + 8]
movzx r9d, word [r8 + 0xa]
lea r8, str._d._d._d._d
mov dword [rsp + 0x30], ecx
lea rcx, [0x14002ccd0]
mov dword [rsp + 0x28], edx
mov edx, 0x40
mov dword [rsp + 0x20], eax
call fcn.1400013a0
mov rbx, qword [rsp + 0x50]
lea rax, [0x14002ccd0]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rcx, rbx
call fcn.140008f20
mov rbx, qword [rsp + 0x50]
lea rax, str.0.0.0.0
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140004710
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000474e
lea rcx, str.Failed_to_Load_DLL___Error_1__n
call fcn.140008ed0
xor eax, eax
jmp 0x140004971
lea rdx, str.LoadLibraryW
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [0x14002cdb8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400047a8
lea rcx, str.Failed_to_Load_DLL___Error_2__n
call fcn.140008ed0
xor eax, eax
jmp 0x140004971
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x30]
add rax, 0x30
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
add rax, 0xa
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x38], 0x1e
mov qword [rsp + 0x20], 0
mov r9d, 0x20
lea r8, [0x14001ea40]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [0x14002cdb8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rsp + 0x30]
add rax, 6
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, qword [0x14002cdb8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, qword [0x14002cdb8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rsp + 0x90]
call fcn.140001210
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov rax, qword [0x14002cdb8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [0x14002cdd0]
mov rcx, qword [0x14002cdc0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.140004980
test eax, eax
jne 0x140004908
lea rcx, str.Failed_to_Load_DLL___Error_3__n
call fcn.140008ed0
xor eax, eax
jmp 0x140004971
cmp qword [0x14002ce48], 0
jne 0x140004922
lea rcx, str.Failed_to_Load_DLL___Error_4__n
call fcn.140008ed0
xor eax, eax
jmp 0x140004971
lea rdx, [0x14002cdd0]
mov rcx, qword [0x14002cdc0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rsp + 0x70]
mov qword [0x14002cec8], rax
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x14002cdd0]
mov rcx, qword [0x14002cdc0]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov eax, 1
add rsp, 0x88
ret
Function at 0x140004980
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
cmp qword [rsp + 0x60], 0
je 0x1400049e0
lea rdx, [0x14002cdd0]
mov rcx, qword [0x14002cdc0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rax, qword [rsp + 0x60]
mov qword [0x14002cec8], rax
lea rdx, [0x14002cdd0]
mov rcx, qword [0x14002cdc0]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x14002cdb8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, [0x14001eae8]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x14002cdb8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14002cdc0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rdx, [0x14002cdd0]
mov rcx, qword [0x14002cdc0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140004a9f
cmp dword [rsp + 0x58], 1
jne 0x140004a82
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, [0x14001eae8]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x14002cdb8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rsp + 0x50]
cmp qword [0x14002cec8], rax
jne 0x140004a92
jmp 0x140004a9f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140004a3b
mov rcx, qword [0x14002cdc0]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
lea rdx, [0x14002cdd0]
mov rcx, qword [0x14002cdc0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x140004ac8
xor eax, eax
jmp 0x140004af3
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x14002cdb8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, 1
add rsp, 0x40
pop rdi
ret
Function at 0x1400114f0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001131c
Function at 0x14000631c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140010960], rbx
je 0x140006383
cmp rax, rbx
jne 0x140006376
mov ebx, 1
mov esi, ebx
jmp 0x140006388
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000635b
mov ebx, 1
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x1400063a0
mov edi, 0x1f
mov ecx, edi
call fcn.1401a2000
jmp 0x14000640c
mov eax, dword [0x140010968]
test eax, eax
jne 0x140006401
mov dword [0x140010968], ebx
lea r15, [0x1400089c8]
lea rdi, [0x1400089b0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400063f3
test eax, eax
jne 0x1400063f7
cmp qword [rdi], r14
je 0x1400063e8
mov rax, qword [rdi]
mov rcx, qword [0x140008930]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400063ca
test eax, eax
je 0x140006407
mov eax, 0xff
jmp 0x140006562
mov dword [0x14000e3e4], ebx
mov edi, 0x1f
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x140006433
lea rdx, [0x1400089a8]
lea rcx, [0x140008938]
call sub.msvcrt.dll__initterm
mov dword [0x140010968], 2
test esi, esi
jne 0x140006441
mov rax, r14
xchg qword [0x140010960], rax
cmp qword [0x140010970], r14
je 0x140006474
lea rcx, [0x140010970]
call fcn.140006730
test eax, eax
je 0x140006474
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140010970]
mov r9, qword [0x140008930]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000648d
mov eax, 0xff
jmp 0x140006562
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140006513
test ax, ax
je 0x1400064a8
test edx, edx
jne 0x140006513
sub ax, bx
cmp ax, di
ja 0x1400064be
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400064a8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001394
mov dword [0x14000e3e0], eax
cmp dword [0x14000e400], r14d
jne 0x1400064fc
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000e3e4], r14d
jne 0x140006511
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000e3e0]
jmp 0x140006562
cmp ax, 0x22
jne 0x140006527
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140006496
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400067b0
add rsp, 0x28
jmp 0x14000631c
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
sub cl, byte [rdi - 0x24]
sub byte [r15 + 0x7e], al
pop rsp
sub dword [rbp + rdx - 0x14], esp
push rdi
stosd dword [rdi], eax
xchg esi, eax
invalid
mov al, bl
push rsi
clc
nop
ja 0x1400232c7
int 0xbd
jle 0x1400232b9
std
cmp dword [rcx], ebp
sub ah, cl
jbe 0x14002325e
invalid
jnp 0x140023216
mov dword [rdi], eax
invalid
pop rdx
adc byte [rbx + 0x5c], dh
jle 0x14002325b
outsd dx, dword [rsi]
out 0xb, al
invalid
sbb eax, 0xff5ee4f0
jnp 0x14002326d
fsubp st(7)
and dword [rdi], 0xb7c40c18
mov eax, 0x58b7fb9e
mov bh, 0xb8
sahf
sti
mov bh, 0x58
and bh, byte [rdx + 0x7f]
and bl, byte [rax - 0x4b008ebc]
jle 0x1400232d7
push qword [rdx - 0x4d81338a]
mov dl, 0x76
int3
jle 0x1400232de
push qword [rcx + 0x77f56abc]
clc
mov cl, 0xbc
push 0xfffffffffffffff5
ja 0x1400232dd
movsx ebx, di
movsb byte [rdi], byte [rsi]
sub al, 0x66
xchg esi, eax
sti
invalid
Function at 0x140001884
Capabilities:
Link many functions at runtime

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
mov rsi, r8
mov ebp, edx
mov r14, rcx
xor r8d, r8d
xor edx, edx
lea rcx, str.bcrypt.dll
mov rdi, r9
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x1400018cc
mov eax, 0x80029c4a
jmp 0x140001a56
lea rdx, str.BCryptOpenAlgorithmProvider
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140009888], rax
test rax, rax
jne 0x1400018f2
mov eax, 0x7f
jmp 0x140001a56
lea rdx, str.BCryptCloseAlgorithmProvider
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140009880], rax
test rax, rax
je 0x1400018e8
lea rdx, str.BCryptGetProperty
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140009878], rax
test rax, rax
je 0x1400018e8
lea rdx, str.BCryptCreateHash
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140009870], rax
test rax, rax
je 0x1400018e8
lea rdx, str.BCryptHashData
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140009868], rax
test rax, rax
je 0x1400018e8
lea rdx, str.BCryptFinishHash
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140009860], rax
test rax, rax
je 0x1400018e8
lea rdx, str.BCryptDestroyHash
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140009858], rax
test rax, rax
je 0x1400018e8
xor r9d, r9d
lea rdx, str.SHA256
xor r8d, r8d
lea rcx, [0x140009890]
call qword [0x140009888]
test eax, eax
jne 0x140001a56
and dword [rsp + 0x28], eax
lea r8, [0x140009854]
mov rcx, qword [0x140009890]
lea rax, [rsp + 0x30]
mov ebx, 4
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea rdx, str.HashDigestLength
call qword [0x140009878]
test eax, eax
jne 0x140001a56
and dword [rsp + 0x28], eax
lea r8, [0x140009850]
mov rcx, qword [0x140009890]
lea rax, [rsp + 0x30]
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea rdx, str.ObjectLength
call qword [0x140009878]
test eax, eax
jne 0x140001a56
mov r9, rdi
mov r8, rsi
mov edx, ebp
mov rcx, r14
call fcn.140001768
test eax, eax
jne 0x140001a56
mov rcx, qword [0x140009890]
test rcx, rcx
je 0x140001a51
xor edx, edx
call qword [0x140009880]
mov eax, 1
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