joyce8/EMBER2024-capa huggingface dataset:
Function at 0x69dc18a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x69dc1a02
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x14]
mov dword [rsp + 0x10], ecx
mov qword [rsp], rax
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 8], rcx
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rdx
mov rbx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x28], 1
call sym.sti.dll_runtime.pcvalue
mov eax, dword [rsp + 0x30]
test eax, 7
jne 0x69dc1922
mov dword [rsp + 0x90], eax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 8], rcx
call sym.sti.dll_runtime.funcname
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x10]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rdx]
mov qword [rsp + 0x50], rbx
movsxd rdx, dword [rdx + 0x14]
mov qword [rsp + 0x48], rdx
call sym.sti.dll_runtime.printlock
lea rax, [0x69e7bd6c]
mov qword [rsp], rax
mov qword [rsp + 8], 0x10
call sym.sti.dll_runtime.printstring
mov rax, qword [rsp + 0x58]
mov qword [rsp], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 8], rax
call sym.sti.dll_runtime.printstring
call sym.sti.dll_runtime.printsp
mov rax, qword [rsp + 0x50]
mov qword [rsp], rax
call sym.sti.dll_runtime.printhex
call sym.sti.dll_runtime.printsp
mov rax, qword [rsp + 0x80]
mov qword [rsp], rax
call sym.sti.dll_runtime.printhex
call sym.sti.dll_runtime.printsp
mov rax, qword [rsp + 0x48]
mov qword [rsp], rax
call sym.sti.dll_runtime.printhex
call sym.sti.dll_runtime.printsp
mov eax, dword [rsp + 0x3c]
movsxd rcx, eax
mov qword [rsp], rcx
call sym.sti.dll_runtime.printint
call sym.sti.dll_runtime.printnl
call sym.sti.dll_runtime.printunlock
mov eax, dword [rsp + 0x3c]
jmp 0x69dc1911
call sym.sti.dll_runtime.morestack_noctxt
jmp sym.sti.dll_runtime.funcspdelta
Function at 0x69dc2290
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
inc dword [rax + 0x2c8]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rax + 0x30]
lea rdx, [rcx + 0x138]
test byte [rdx], al
mov rdx, rax
mov qword [rcx + 0x138], rax
lea rax, [rdx + 0xe0]
test byte [rax], al
mov rax, qword [rdx + 0x30]
mov qword [rdx + 0xe0], rax
mov dword [rsp], 0
lea rax, sym.sti.dll_runtime.unlockOSThread
mov qword [rsp + 8], rax
call sym.sti.dll_runtime.deferproc
test eax, eax
jne 0x69dc23c2
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x18], rax
lea rcx, [rax + 0x358]
test byte [rcx], al
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x358], rdx
mov rdx, qword [rsp + 0x38]
mov qword [rax + 0x360], rdx
lea rdx, [rsp + 0x40]
mov qword [rax + 0x368], rdx
mov rdx, qword [sym.sti.dll_runtime.asmstdcallAddr]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
call sym.sti.dll_runtime.cgocall
mov rax, qword [rsp + 0x18]
mov rcx, qword [rax + 0x370]
mov rdx, qword [rax + 0x378]
mov rax, qword [rax + 0x380]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rax
nop
call sym.sti.dll_runtime.deferreturn
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
nop
call sym.sti.dll_runtime.deferreturn
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x69dc7e70
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x69dc7f50
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x18], xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [sym.sti.dll_runtime.callers.func1]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call sym.sti.dll_runtime.systemstack
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
call sym.sti.dll_runtime.morestack_noctxt
jmp sym.sti.dll_runtime.callers

Function at 0x69dd01e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x18]
lea rdx, [rsp + 0x20]
jmp sym.sti.dll_runtime.aeshashbody

Function at 0x69dd0200
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rsp + 8]
mov rcx, qword [rax + 8]
mov rax, qword [rax]
lea rdx, [rsp + 0x18]
jmp sym.sti.dll_runtime.aeshashbody
Function at 0x69dd0770
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [sym.sti.dll_runtime.aeskeysched]
aesenc xmm0, xmmword [0x69f2e210]
aesenc xmm0, xmmword [0x69f2e220]
movq qword [rsp + 0x18], xmm0
ret

Function at 0x69dd07b0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [sym.sti.dll_runtime.aeskeysched]
aesenc xmm0, xmmword [0x69f2e210]
aesenc xmm0, xmmword [0x69f2e220]
movq qword [rsp + 0x18], xmm0
ret

Function at 0x69dd2450
Capabilities:
Access peb ldr_data

Disassembly:
lea rax, [sym.sti.dll_runtime.lastcontinuehandler]
jmp sym.sti.dll_runtime.sigtramp
Function at 0x69def020
Capabilities:
Encode data using base64

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x69def12a
sub rsp, 0x30
mov qword [rsp + 0x28], rbp
lea rbp, [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + 8]
lea rbx, [rdx + 0x2e]
neg rbx
imul rbx, rbx, 0x1c
movabs rax, 0x5816058160581606
mov rsi, rdx
imul rbx
sar rbx, 0x3f
sar rdx, 5
sub rdx, rbx
lea rbx, [rdx + 0x15c]
sar rbx, 0x3f
shr rbx, 0x3d
lea rdx, [rbx + rdx + 0x15c]
sar rdx, 3
jmp 0x69def097
mov rdx, rax
cmp rdx, 0x57
jae 0x69def123
lea rax, [rdx + rdx*2]
lea rbx, sym.sti.dll_strconv.powersOfTen
mov rdi, qword [rbx + rax*8 + 8]
mov r8, rax
shl rax, 3
lea r9, [rsi + rdi + 0x40]
cmp r9, 0xffffffffffffffc4
jge 0x69def0c9
lea rax, [rdx + 1]
jmp 0x69def094
cmp r9, 0xffffffffffffffe0
jle 0x69def0d5
lea rax, [rdx - 1]
jmp 0x69def094
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbx + r8*8]
movzx eax, byte [rbx + rax + 0x10]
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rdi
mov byte [rsp + 0x18], al
mov qword [rsp], rcx
call sym.sti.dll_strconv._extFloat_.Multiply
mov rax, qword [rsp + 0x20]
mov rcx, rax
shl rax, 3
add rax, 0xfffffffffffffea4
neg rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
call sym.sti.dll_runtime.panicindex
ud2
call sym.sti.dll_runtime.morestack_noctxt
jmp sym.sti.dll_strconv._extFloat_.frexp10

Function at 0x69dfadb0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x10]
mov edx, dword [rsp + 8]
xor ebx, ebx
jmp 0x69dfadd5
lea rsi, [rbx + 1]
imul edx, edx, 0x1000193
movzx edi, byte [rcx + rbx]
xor edx, edi
mov rbx, rsi
cmp rbx, rax
jl 0x69dfadc2
mov dword [rsp + 0x28], edx
ret
Function at 0x69ef8340
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
test rax, rax
mov qword [0x69f30910], rax
je 0x69ef8375
lea rcx, [0x69f30920]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
lea r9, [rax + 0x60]
mov r8d, 0x3d
mov edx, 1
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x69ef8410
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
mov r8, rdx
xor edx, edx
call qword [sym.imp.msvcrt.dll__beginthread]
cmp rax, 0xffffffffffffffff
je 0x69ef842c
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.msvcrt.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.msvcrt.dll___iob_func]
lea rdx, [0x69f10040]
lea rcx, [rax + 0x60]
mov r8d, ebx
call sub.msvcrt.dll_fprintf
call sub.msvcrt.dll_abort
nop
nop word cs:[rax + rax]

Function at 0x69ef8520
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
call sym.sti.dll__cgo_maybe_run_preinit
lea rcx, [0x69f30920]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [0x69f30920]
mov dword [0x69f30908], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x69f30910]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x69ef8563
add rsp, 0x28
ret
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.runtime:_failed_to_signal_runtime_initialization_complete._n
lea r9, [rax + 0x60]
mov r8d, 0x3b
mov edx, 1
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x69ef85f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0x18
call sub.msvcrt.dll_malloc
test rax, rax
je 0x69ef862a
mov rdx, qword [rbx]
mov rcx, rax
mov qword [rax], rdx
mov rdx, qword [rbx + 8]
mov qword [rax + 8], rdx
mov rdx, qword [rbx + 0x10]
mov qword [rax + 0x10], rdx
add rsp, 0x20
pop rbx
jmp sym.sti.dll__cgo_sys_thread_start
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.runtime_cgo:_out_of_memory_in_thread_start_n
lea r9, [rax + 0x60]
mov r8d, 0x2b
mov edx, 1
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub rsp, 0x48
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x30], rax
call sub.msvcrt.dll_free
mov rdx, qword [rsp + 0x20]
lea rax, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rdx + 8], rax
lea rax, [rsp - 0x1fdfe0]
mov qword [rdx], rax
mov qword gs:[0x28], rcx
mov rax, qword gs:[0x28]
mov qword [rax], rdx
mov rcx, qword [rsp + 0x30]
call sym.sti.dll_crosscall_amd64
nop
add rsp, 0x48
ret
Function at 0x69ef86f0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov r8, rcx
lea rcx, [0x69ef8660]
call qword [sym.imp.msvcrt.dll__beginthread]
cmp rax, 0xffffffffffffffff
je 0x69ef8713
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.msvcrt.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.msvcrt.dll___iob_func]
lea rdx, str.runtime:_failed_to_create_new_OS_thread___d__n
lea rcx, [rax + 0x60]
mov r8d, ebx
call sub.msvcrt.dll_fprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop

Function at 0x69ef8b10
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x69f30f24]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x69ef8c98
mov rax, qword [0x69f30f28]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x69ef8b5c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x69ef8be5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x69ef8b40
mov rcx, rbx
call fcn.69ef97b0
test rax, rax
mov r12, rax
je 0x69ef8ccd
mov rax, qword [0x69f30f28]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.69ef98e0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x69f30f28]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x69ef8cb0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x69ef8bde
sub eax, 0x40
and eax, 0xffffffbf
jne 0x69ef8c40
add dword [0x69f30f24], 1
cmp edi, 8
jae 0x69ef8c13
test dil, 4
jne 0x69ef8c84
test edi, edi
je 0x69ef8c08
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x69ef8c9f
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 0x69ef8c08
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 0x69ef8c2c
jmp 0x69ef8c08
add rsi, qword [0x69f30f28]
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 0x69ef8bde
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.69ef9ea0
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x69ef8c08
xor esi, esi
jmp 0x69ef8b67
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x69ef8c08
mov rax, qword [0x69f30f28]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.69ef9ea0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.69ef9ea0
nop
nop dword [rax]
Function at 0x69ef9420
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x69f31200]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x69f311e0]
test rbx, rbx
je 0x69ef9474
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 0x69ef946b
test rsi, rsi
je 0x69ef946b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x69ef9450
lea rcx, [0x69f31200]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x69ef97b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x69f10310]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x69ef981d
mov rcx, r8
call fcn.69ef9690
test eax, eax
je 0x69ef981d
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 0x69ef981d
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 0x69ef9814
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x69ef981f
add rax, 0x28
cmp rax, r9
jne 0x69ef9800
xor eax, eax
add rsp, 0x28
ret

Function at 0x69ef9ea0
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x69d813a0]
jmp 0x69d81380
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 fcn.69ef9e60
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.69ef9e60
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x69d81390
Function at 0x1400016a0
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14000f948]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1400016e0
mov eax, 0xff
jmp 0x140001883
mov r9d, dword [rsp + 0x3c]
and r9d, 0x7fff
mov edx, dword [rsp + 0x34]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0x38]
add ecx, eax
mov r8d, dword [rsp + 0x40]
mov dword [0x140010048], r8d
mov dword [0x140010050], ecx
mov dword [0x140010054], edx
mov dword [0x140010058], eax
mov eax, r9d
bts eax, 0xf
cmp r8d, 2
cmove eax, r9d
mov dword [0x14001004c], eax
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140001776
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001776
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x140001776
xor ebx, ebx
cmp dword [rax + 0x84], 0xe
jbe 0x140001778
cmp dword [rax + 0xf8], ebx
setne bl
jmp 0x140001778
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edi, 1
mov ecx, edi
call fcn.140003dc8
test eax, eax
jne 0x1400017ae
cmp dword [0x140010028], 2
je 0x14000179a
call fcn.140003bb0
mov ecx, 0x1c
call fcn.140003bfc
mov ecx, 0xff
call fcn.1400037e0
call fcn.1400036c0
test eax, eax
jne 0x1400017da
cmp dword [0x140010028], 2
je 0x1400017c5
call fcn.140003bb0
mov ecx, 0x10
call fcn.140003bfc
mov ecx, 0xff
call fcn.1400037e0
nop
call fcn.140003e3c
test eax, eax
jns 0x1400017ed
mov ecx, 0x1b
call fcn.1400037fc
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x140012138], rax
call fcn.14000463c
mov qword [0x140010020], rax
call fcn.1400040cc
test eax, eax
jns 0x140001818
mov ecx, 8
call fcn.1400037fc
call fcn.140004400
test eax, eax
jns 0x14000182b
mov ecx, 9
call fcn.1400037fc
mov ecx, edi
call fcn.140003860
test eax, eax
je 0x14000183d
mov ecx, eax
call fcn.1400037fc
mov r8, qword [0x140010038]
mov qword [0x140010068], r8
mov rdx, qword [0x140010030]
mov ecx, dword [0x14001002c]
call fcn.140001200
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
je 0x1400018a4
call fcn.14000384c
jmp 0x140001881
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140001af0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
mov ecx, eax
call fcn.140003ba0
nop
mov ecx, eax
call fcn.140003770
nop
int3
sub rsp, 0x28
call fcn.140139000
add rsp, 0x28
jmp 0x1400016a0
Function at 0x1400016e6
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x140001707
mov r11d, edx
xor r10d, r10d
mov eax, r10d
cdq
idiv r9d
mov al, byte [r8 + rdx]
xor byte [rcx + r10], al
inc r10
cmp r11, r10
jne 0x1400016f0
ret
Function at 0x14000289c
Capabilities:
Parse pe header

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

Function at 0x140039320
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003932d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003933d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140039325
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140039355
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140039342
sub eax, 3
jb 0x14003936f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400393a6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140039396
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140039394
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140039383
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1400392e2
jmp 0x14003932d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x22e00
mov dl, reloc.COMCTL32.dll_InitCommonControls
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400393f2
cmp rsi, rcx
jae 0x1400393fa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400393d9
cmp al, 0x8f
ja 0x1400393d9
cmp byte [rsi - 2], 0xf
je 0x1400393df
sub al, 0xe8
cmp al, 1
ja 0x1400393c3
cmp rsi, rcx
jae 0x1400393fa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400393c9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400393fa
lodsb al, byte [rsi]
jmp 0x1400393d9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x37000]
mov eax, dword [rdi]
or eax, eax
je 0x140039463
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3d510]
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 0x140039407
jns 0x14003943c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140039446
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 0x14003945d
mov qword [rbx], rax
add rbx, 8
jmp 0x140039427
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
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 + 0x18f]
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 0x1400394bb
sub rsp, 0xffffffffffffff80
jmp 0x140023590
Function at 0x140033bb8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140076b90], eax
call fcn.140033ee0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140076b90], 0
jne case.default.0x140033c0e
mov ecx, 1
call fcn.140033ee0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
in eax, dx
invalid