joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400166f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140026878], rbx
je 0x14001673c
cmp rax, rbx
jne 0x14001672f
mov ebx, 1
mov esi, ebx
jmp 0x140016741
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140016714
mov ebx, 1
mov eax, dword [0x140026880]
cmp eax, ebx
jne 0x140016757
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400167bc
mov eax, dword [0x140026880]
test eax, eax
jne 0x1400167b6
mov dword [0x140026880], ebx
lea r15, [0x14001a6f0]
lea rdi, [0x14001a6d8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400167a8
test eax, eax
jne 0x1400167ac
cmp qword [rdi], 0
je 0x14001679d
mov rax, qword [rdi]
mov rcx, qword [case.0x140006774.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14001677e
test eax, eax
je 0x1400167bc
mov eax, 0xff
jmp 0x140016898
mov dword [0x140026178], ebx
mov eax, dword [0x140026880]
cmp eax, ebx
jne 0x1400167e3
lea rdx, [0x14001a6d0]
lea rcx, [0x14001a618]
call sub.msvcrt.dll__initterm
mov dword [0x140026880], 2
test esi, esi
jne 0x1400167f0
xor eax, eax
xchg qword [0x140026878], rax
cmp qword [0x140026898], 0
je 0x140016824
lea rcx, [0x140026898]
call fcn.140017310
test eax, eax
je 0x140016824
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140026898]
mov r9, qword [case.0x140006774.0]
call r9
mov r8, qword [0x140026190]
mov rdx, qword [0x140026188]
mov ecx, dword [0x140026180]
call fcn.140002c70
mov dword [0x140026174], eax
cmp dword [0x140026198], 0
jne 0x140016854
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140026178], 0
jne 0x140016869
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140026174]
jmp 0x140016898
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1400b6000
add rsp, 0x28
jmp 0x1400166f0

Function at 0x140016e34
Capabilities:
Print debug messages

Disassembly:
jmp 0x140016e40
push rbx
sub rsp, 0x540
mov rax, qword [0x140026110]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140016ebd
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140016edd
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400168f0
add rsp, 0x540
pop rbx
ret
Function at 0x140016e40
Capabilities:
Print debug messages

Disassembly:
jmp 0x140016e40
push rbx
sub rsp, 0x540
mov rax, qword [0x140026110]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140016ebd
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140016edd
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400168f0
add rsp, 0x540
pop rbx
ret

Function at 0x1400171fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140017248
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140017240
cmp dword [rcx + 0x3c], edx
jl 0x140017240
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140017240
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140017248
mov rax, rdx
add rsp, 0x18
ret
Function at 0x10001e024
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push r12
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1000301f8], rdi
je 0x10001e07d
cmp rax, rdi
jne 0x10001e070
mov esi, 1
jmp 0x10001e07d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001e057
mov eax, dword [0x1000301f0]
cmp eax, 1
jne 0x10001e092
lea ecx, [rax + 0x1e]
call fcn.10014d000
jmp 0x10001e0f7
mov eax, dword [0x1000301f0]
test eax, eax
jne 0x10001e0ed
mov dword [0x1000301f0], 1
lea r12, [0x100001690]
lea rdi, [0x100001678]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
cmp rdi, r12
jae 0x10001e0df
test eax, eax
jne 0x10001e0df
mov rcx, qword [rdi]
test rcx, rcx
je 0x10001e0d4
call rcx
mov dword [rsp + 0x30], eax
add rdi, 8
mov qword [rsp + 0x38], rdi
jmp 0x10001e0bd
test eax, eax
je 0x10001e0f7
mov eax, 0xff
jmp 0x10001e241
mov dword [0x10002f924], 1
mov eax, dword [0x1000301f0]
cmp eax, 1
jne 0x10001e11f
lea rdx, [0x100001670]
lea rcx, [0x1000015f8]
call sub.msvcrt.dll__initterm
mov dword [0x1000301f0], 2
test esi, esi
jne 0x10001e12c
xor eax, eax
xchg qword [0x1000301f8], rax
cmp qword [0x100030210], 0
je 0x10001e155
lea rcx, [0x100030210]
call fcn.10001e5dc
test eax, eax
je 0x10001e155
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100030210]
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rdi, qword [rax]
mov qword [rsp + 0x28], rdi
mov esi, dword [rsp + 0x20]
cmp byte [rdi], 0x20
ja 0x10001e1e0
cmp byte [rdi], 0
je 0x10001e176
test esi, esi
jne 0x10001e1e0
cmp byte [rdi], 0
je 0x10001e18a
cmp byte [rdi], 0x20
ja 0x10001e18a
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001e176
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rdi
xor edx, edx
lea rcx, [0x100000000]
call fcn.100008db4
mov dword [0x10002f920], eax
cmp dword [0x10002f904], 0
jne 0x10001e1c9
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x10002f924], 0
jne 0x10001e1de
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x10002f920]
jmp 0x10001e241
cmp byte [rdi], 0x22
jne 0x10001e1f2
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rdi]
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x10001e207
inc rdi
mov qword [rsp + 0x28], rdi
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001e168
lea r11, [rsp + 0xb0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r12
ret
sub rsp, 0x28
call fcn.10001e6e4
add rsp, 0x28
jmp 0x10001e024
Function at 0x140003384
Capabilities:
Parse pe header

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

Function at 0x14173a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14173a1df
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 0x14173a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14173a06f
add dl, dl
jne 0x14173a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14173a0f6
xor eax, eax
add dl, dl
jne 0x14173a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14173a1ad
add dl, dl
jne 0x14173a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14173a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14173a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14173a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14173a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14173a07e
mov eax, 1
add dl, dl
jne 0x14173a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14173a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14173a0fb
sub eax, ebx
mov ebx, 1
jne 0x14173a14c
mov ecx, 1
add dl, dl
jne 0x14173a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14173a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14173a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14173a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14173a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14173a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14173a15d
cmp eax, 0x7d00
jae 0x14173a19b
cmp eax, 0x500
jb 0x14173a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14173a07e
cmp eax, 0x7f
ja 0x14173a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14173a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14173a1d2
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 0x14173a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001070
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
movaps xmmword [rsp + 0x20], xmm6
mov rax, 0xffffffffffffffff
movsx esi, dl
mov rdi, rcx
mov rbx, rax
movd xmm6, esi
punpcklbw xmm6, xmm6
punpcklwd xmm6, xmm6
pshufd xmm6, xmm6, 0
inc rbx
cmp byte [rcx + rbx], 0
jne 0x1400010a5
mov rcx, rbx
add rcx, 1
cmovb rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rax
test rax, rax
jne 0x1400010e0
lea rcx, str.Failed_to_allocate_memory_for_xorString
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r9d, r9d
test rbx, rbx
je 0x140001193
cmp rbx, 0x40
jb 0x140001169
lea rcx, [rax - 1]
lea rax, [rdi - 1]
add rcx, rbx
add rax, rbx
cmp r8, rax
ja 0x14000110a
cmp rcx, rdi
jae 0x140001169
mov rdx, rbx
and rdx, 0xffffffffffffffc0
mov rcx, rdi
lea rax, [r8 + 0x10]
sub rcx, r8
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx + rax - 0x10]
add r9, 0x40
movdqu xmm1, xmmword [rcx + rax]
lea rax, [rax + 0x40]
xorps xmm0, xmm6
xorps xmm1, xmm6
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm0, xmmword [rcx + rax - 0x30]
movdqu xmmword [rax - 0x40], xmm1
xorps xmm0, xmm6
movdqu xmm1, xmmword [rcx + rax - 0x20]
movdqu xmmword [rax - 0x30], xmm0
xorps xmm1, xmm6
movdqu xmmword [rax - 0x20], xmm1
cmp r9, rdx
jb 0x140001120
cmp r9, rbx
jae 0x140001193
sub rdi, r8
lea rcx, [r9 + r8]
mov rdx, rbx
sub rdx, r9
nop word [rax + rax]
movzx eax, sil
xor al, byte [rcx + rdi]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140001180
mov rsi, qword [rsp + 0x48]
mov rax, r8
movaps xmm6, xmmword [rsp + 0x20]
mov byte [r8 + rbx], 0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400011b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, 0xffffffffffffffff
movaps xmmword [rsp + 0x30], xmm6
movdqa xmm6, xmmword [0x1400047b0]
mov rbx, rbp
mov rdi, rcx
nop
inc rbx
cmp byte [rcx + rbx], 0
jne 0x1400011e0
mov rcx, rbx
add rcx, 1
cmovb rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, rax
mov rsi, rax
sub rdx, rdi
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdi]
mov byte [rdx + rdi], cl
lea rdi, [rdi + 1]
test cl, cl
jne 0x140001210
xor r8d, r8d
mov ecx, r8d
test rbx, rbx
je 0x14000129e
cmp rbx, 0x40
jb 0x14000128a
mov rdx, rbx
and rdx, 0xffffffffffffffc0
add rax, 0x20
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x20]
add rcx, 0x40
lea rax, [rax + 0x40]
xorps xmm0, xmm6
movdqu xmmword [rax - 0x60], xmm0
movdqu xmm0, xmmword [rax - 0x50]
xorps xmm0, xmm6
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm1, xmmword [rax - 0x40]
xorps xmm1, xmm6
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm6
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
cmp rcx, rdx
jb 0x140001240
cmp rcx, rbx
jae 0x14000129e
lea rax, [rcx + rsi]
sub rbx, rcx
xor byte [rax], 1
lea rax, [rax + 1]
sub rbx, 1
jne 0x140001291
mov dword [rsp + 0x28], r8d
mov r9d, ebp
mov qword [rsp + 0x20], r8
xor edx, edx
mov r8, rsi
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rbp
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9d, ebp
mov dword [rsp + 0x28], ebx
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x140001520
Capabilities:
Parse pe header
Resolve function by parsing pe exports
Terminate process

Disassembly:
push rsi
sub rsp, 0x30
lea rcx, str.JDSODM23_EMM
call fcn.1400011b0
mov rcx, rax
call fcn.140001480
mov rsi, rax
mov eax, 0x5a4d
cmp word [rsi], ax
je 0x14000155b
lea rcx, str.Invalid_DOS_signature.
call fcn.140001010
xor eax, eax
add rsp, 0x30
pop rsi
ret
movsxd rax, dword [rsi + 0x3c]
cmp dword [rax + rsi], 0x4550
je 0x14000157c
lea rcx, str.Invalid_PE_signature.
call fcn.140001010
xor eax, eax
add rsp, 0x30
pop rsi
ret
mov eax, dword [rax + rsi + 0x88]
add rax, rsi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
xor ebx, ebx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x28], r14
mov edi, dword [rax + 0x20]
mov r14d, dword [rax + 0x24]
add rdi, rsi
mov ebp, dword [rax + 0x18]
add r14, rsi
mov qword [rsp + 0x20], r15
mov r15d, dword [rax + 0x1c]
add r15, rsi
test ebp, ebp
je 0x1400015e0
nop dword [rax]
mov ecx, dword [rdi]
lea rdx, [0x140004410]
add rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400015f5
inc ebx
add rdi, 4
cmp ebx, ebp
jb 0x1400015c0
lea rcx, str.Function_not_found.
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movzx ecx, word [r14 + rbx*2]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov eax, dword [r15 + rcx*4]
mov rbx, qword [rsp + 0x40]
add rax, rsi
mov r15, qword [rsp + 0x20]
add rsp, 0x30
pop rsi
ret
Function at 0x140001b00
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
lea rcx, str.ouemm_emm
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
call fcn.1400011b0
mov rcx, rax
call fcn.140001480
mov rbx, 0xffffffffffffffff
lea r8, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0x18
mov rdx, rax
mov r15, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov rbp, qword [rsp + 0x40]
lea rdi, str.B__Vhoenvr_Rxrudl23_ouemm_emm
mov rdx, rdi
lea rcx, str.str:_____s_n
call fcn.140001010
lea edx, [rbx + 2]
lea rcx, str.key:_____c_n
call fcn.140001010
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140001b93
mov rdx, rbx
lea rcx, str.strlen:__d_n
call fcn.140001010
mov dl, 1
mov rcx, rdi
call fcn.140001070
xor r13d, r13d
mov rcx, rax
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov dword [rsp + 0x28], r13d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r13 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x28], r13
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x20], r13d
xor edx, edx
mov r8d, 0x1000002
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov rcx, rax
lea edx, [r13 + 4]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
movsxd rsi, dword [rbp + 0x3c]
movzx edi, r13w
add rsi, rbp
mov r14, rax
cmp r13w, word [rsi + 6]
jae 0x140001cd4
mov qword [rsp + 0xa0], r12
lea r12, str..text
nop dword [rax]
movzx ecx, word [rsi + 0x14]
movzx eax, di
add rcx, rsi
lea rdx, [rax + rax*4]
mov rax, r13
lea rbx, [rcx + rdx*8]
nop word [rax + rax]
movzx ecx, byte [rbx + rax + 0x18]
inc rax
cmp cl, byte [r12 + rax - 1]
jne 0x140001cbf
cmp rax, 6
jne 0x140001c60
mov ecx, dword [rbx + 0x24]
lea r9, [rsp + 0x58]
mov edx, dword [rbx + 0x20]
lea r8d, [rax + 0x3a]
add rcx, rbp
mov dword [rsp + 0x58], r13d
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rbx + 0x24]
mov r8d, dword [rbx + 0x20]
lea rdx, [rax + r14]
lea rcx, [rax + rbp]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rbx + 0x24]
lea r9, [rsp + 0x58]
mov edx, dword [rbx + 0x20]
add rcx, rbp
mov r8d, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
inc di
cmp di, word [rsi + 6]
jb 0x140001c40
mov r12, qword [rsp + 0xa0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140002590
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x140001d10
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
push rdi
sub rsp, 0xb0
mov ecx, 0x1c8
call fcn.1400021e0
call fcn.140001f80
mov ecx, 0x315
call fcn.1400021e0
call fcn.140001b00
mov ecx, 0x222
call fcn.1400021e0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
mov rcx, qword [rax + 0x20]
mov eax, 0x5a4d
mov rdi, qword [rcx]
mov rcx, qword [rdi + 0x20]
cmp word [rcx], ax
jne 0x140001ed6
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140001ed6
mov qword [rsp + 0xc0], rbx
mov ebx, dword [rax + rcx + 0x88]
add rbx, rcx
je 0x140001ece
xorps xmm0, xmm0
mov qword [rsp + 0x20], 0
xor eax, eax
lea r8, [rsp + 0x20]
mov qword [rsp + 0xa8], rax
mov rdx, rbx
movabs rax, 0xf5bd373480a6b89b
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x28], rax
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x98], xmm0
call fcn.140001320
test eax, eax
je 0x140001ece
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x50]
movabs rax, 0x64dc7db288c5015f
mov rdx, rbx
mov qword [rsp + 0x58], rax
call fcn.140001320
test eax, eax
je 0x140001ece
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x38]
movabs rax, 0x858bcb1046fb6a37
mov rdx, rbx
mov qword [rsp + 0x40], rax
call fcn.140001320
test eax, eax
je 0x140001ece
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x68]
movabs rax, 0xc6a2fa174e551bcb
mov rdx, rbx
mov qword [rsp + 0x70], rax
call fcn.140001320
test eax, eax
je 0x140001ece
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x80]
movabs rax, 0x5d25d3cc80a44184
mov rdx, rbx
mov qword [rsp + 0x88], rax
call fcn.140001320
test eax, eax
je 0x140001ece
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x98]
movabs rax, 0x68a3c2ba486f0741
mov rdx, rbx
mov qword [rsp + 0xa0], rax
call fcn.140001320
test eax, eax
je 0x140001ece
lea rcx, [rsp + 0x20]
call fcn.140001800
mov rbx, qword [rsp + 0xc0]
mov ecx, 0x24c
call fcn.1400021e0
xor eax, eax
add rsp, 0xb0
pop rdi
ret
Function at 0x140002571
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [section..data]
syscall
ret

Function at 0x140002e50
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140043010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140004b1d
xor eax, eax
jmp 0x140004c63
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004b57
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004b57
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 0x140004c63
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140004c56
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140004b9a
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 0x140004ba9
movsx ecx, dil
jmp 0x140004bfd
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
js 0x140004c56
cmp eax, 1
jle 0x140004c17
cmp eax, 3
jne 0x140004c56
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.14000ecac
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004c5b
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004c44
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.14000fcd4
cmp rsi, rax
jne 0x140004c56
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x140004c5b
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140006380
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x14000ec88
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000eab4