joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003f970
Capabilities:
Packed with generic packer

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x900
mov rax, qword [0x1800c2008]
xor rax, rsp
mov qword [rsp + 0x8f0], rax
lea rcx, [0x1800a1c30]
jmp loc.18026ff3d

Function at 0x18004a460
Capabilities:
Packed with generic packer

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2c0
mov rax, qword [0x1800c2008]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
lea rcx, [0x1800a22c8]
jmp loc.1805cde08

Function at 0x1800512b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov rax, qword [0x1800c2008]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rcx, [0x1800a2798]
nop
nop
nop
nop
nop
nop
mov byte [rsp + 0x40], 0x4d
mov byte [rsp + 0x41], 0x44
mov byte [rsp + 0x42], 0x49
mov byte [rsp + 0x43], 0x43
mov byte [rsp + 0x44], 0x6c
mov byte [rsp + 0x45], 0x69
mov byte [rsp + 0x46], 0x65
mov byte [rsp + 0x47], 0x6e
mov byte [rsp + 0x48], 0x74
mov byte [rsp + 0x49], 0
mov byte [rsp + 0x50], 0
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov edx, 5
mov rcx, qword [rsp + 0x188]
mov rax, qword [rsp + 0x180]
call qword [rax + VariantCopy]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x180051355
xor eax, eax
jmp 0x180051490
mov r8d, 0x104
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x180]
call qword [rax + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1800633f0
test eax, eax
je 0x18005138a
xor eax, eax
jmp 0x180051490
mov edx, 5
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x180]
call qword [rax + VariantCopy]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180051486
mov edx, 5
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x180]
call qword [rax + VariantCopy]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180051467
xor edx, edx
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x180]
call qword [rax + 0x18]
mov dword [rsp + 0x20], eax
mov edx, 4
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x180]
call qword [rax + 0x18]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x20], 0x4cd6a8
je 0x180051441
cmp dword [rsp + 0x24], 0x4cd6a8
je 0x180051441
cmp dword [rsp + 0x20], 0x5e63c4
je 0x180051441
cmp dword [rsp + 0x24], 0x5e63c4
je 0x180051441
cmp dword [rsp + 0x20], 0x5376e0
je 0x180051441
cmp dword [rsp + 0x24], 0x5376e0
jne 0x180051448
mov eax, 1
jmp 0x180051490
mov edx, 2
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x180]
call qword [rax + VariantCopy]
mov qword [rsp + 0x28], rax
jmp 0x1800513ca
mov edx, 2
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x180]
call qword [rax + VariantCopy]
mov qword [rsp + 0x30], rax
jmp 0x1800513a4
xor eax, eax
jmp 0x180051490
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.18005ef70
add rsp, 0x170
pop rdi
ret
Function at 0x1800547f0
Capabilities:
Parse pe header

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x12f0
call fcn.180080180
sub rsp, rax
mov rax, qword [0x1800c2008]
xor rax, rsp
mov qword [rsp + 0x12e0], rax
lea rcx, [0x1800a2d00]
nop
nop
nop
nop
nop
nop
mov qword [rsp + 0x38], 0
mov byte [rsp + 0x30], 0
xor eax, eax
cmp eax, 1
je 0x180054a93
call qword [0x18008c078]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.180026040
cdqe
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x18005488b
jmp 0x180054a93
cmp qword [rsp + 0x70], 0
jne 0x180054898
jmp 0x180054a93
cmp dword [rsp + 0x78], 0x1000
jne 0x1800548bc
cmp dword [rsp + 0x80], 0x20000
je 0x1800548d6
cmp dword [rsp + 0x80], 0x40000
je 0x1800548d6
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x18005483f
mov ecx, 1
call fcn.1800283a0
cmp dword [rsp + 0x7c], 0x40
jne 0x180054a79
mov byte [rsp + 0x2e0], 0
lea rax, [rsp + 0x2e1]
mov rdi, rax
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
mov qword [rsp + 0x2d0], 0
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x20], rax
mov r9d, 0x1000
lea r8, [rsp + 0x2e0]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x1310]
call fcn.1800263e0
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x180054a79
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
lea rax, [rsp + rax + 0x2e0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0x4550
jne 0x180054a79
mov qword [rsp + 0x90], 0
lea rax, [rsp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x230
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xa0], eax
movzx eax, byte [rsp + 0x1318]
mov byte [rsp + 0xb8], al
mov dword [rsp + 0xb4], 0x10
mov edx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x1300]
call fcn.1800557a0
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x180054a79
mov eax, dword [rsp + 0xa0]
lea rcx, [rsp + 0x2d0]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x1310]
call fcn.1800263e0
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0x1328]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1320]
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x1308]
mov rcx, qword [rsp + 0x1300]
call fcn.180054ac0
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x180054a79
jmp 0x180054a93
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x18005483f
movzx eax, byte [rsp + 0x30]
jmp 0x180054aa0
mov rcx, qword [rsp + 0x12e0]
xor rcx, rsp
call fcn.18005ef70
add rsp, 0x12f0
pop rdi
ret
Function at 0x1800d86e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x1800d870d
xor al, al
jmp 0x1800d886f
mov rax, qword [0x1800f96c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1800f96c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1800f96d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1800f96d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1800f96e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1800f96e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1800f96f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1800f96f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x1800f9700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x1800d8861
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x1800d87b9
mov r11d, 2
jmp 0x1800d87dd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x1800d87d3
mov r11d, 1
jmp 0x1800d87dd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x1800d8885
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x1800d8822
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x1800d883a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x1800d884a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x1800d8858
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x1800d87a0
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x1800d886a

Function at 0x18040a1f9
Capabilities:
Execute syscall

Disassembly:
call fcn.1800601a6
mov r10, rcx
mov eax, dword [0x1800c2c14]
jmp 0x180ab8746
syscall
ret

Function at 0x1804a3b18
Capabilities:
Execute syscall

Disassembly:
call fcn.1800601a6
mov r10, rcx
movsx rax, r11w
mov eax, dword [0x1800c2c9c]
syscall
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0x28
mov edx, 0x3e8
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
test rax, rax
jne 0x14000102f
mov eax, 0xffffffff
add rsp, 0x28
ret
mov rdx, r8
xor eax, eax
mov ecx, 7
nop dword [rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x140001040
movups xmm0, xmmword [rax]
mov rcx, qword [rax + 0x60]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm1
mov qword [rdx + 0x60], rcx
call r8
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400019ec
Capabilities:
Parse pe header

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

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

Disassembly:
call fcn.14039d1df
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 0x14039d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14039d06f
add dl, dl
jne 0x14039d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14039d0f6
xor eax, eax
add dl, dl
jne 0x14039d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14039d1ad
add dl, dl
jne 0x14039d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14039d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14039d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14039d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14039d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14039d07e
mov eax, 1
add dl, dl
jne 0x14039d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14039d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14039d0fb
sub eax, ebx
mov ebx, 1
jne 0x14039d14c
mov ecx, 1
add dl, dl
jne 0x14039d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14039d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14039d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14039d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14039d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14039d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14039d15d
cmp eax, 0x7d00
jae 0x14039d19b
cmp eax, 0x500
jb 0x14039d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14039d07e
cmp eax, 0x7f
ja 0x14039d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14039d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14039d1d2
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 0x14039d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001102d
Capabilities:
Read file on windows
Write file on windows

Disassembly:
jmp 0x140011900
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xd38
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x24e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0xd58]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0xce8], rax
lea rcx, [0x1400240ac]
call fcn.14001139d
nop
lea rax, str..pipe_simple_pipe
mov qword [rbp + 0x858], rax
xor eax, eax
cmp eax, 1
je 0x1400119f4
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, qword [rbp + 0x858]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
je 0x1400119a4
jmp 0x1400119f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
je 0x1400119c5
lea rcx, str.Could_not_open_pipe__n
call fcn.140011032
nop
xor eax, eax
jmp 0x140011b58
mov edx, 0x4e20
mov rcx, qword [rbp + 0x858]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x1400119ef
lea rcx, str.Could_not_open_pipe__n
call fcn.140011032
nop
xor eax, eax
jmp 0x140011b58
jmp 0x14001195b
mov dword [rbp + 0x874], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x874]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov dword [rbp + 0x894], eax
cmp dword [rbp + 0x894], 0
jne 0x140011a38
lea rcx, str.SetNamedPipeHandleState_failed
call fcn.140011032
nop
xor eax, eax
jmp 0x140011b58
lea rax, str.news.txt
mov qword [rbp + 0x8b8], rax
mov dword [rbp + 0x8d4], 0
mov rcx, qword [rbp + 0x8b8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x8d4]
mov r8d, eax
mov rdx, qword [rbp + 0x8b8]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x894], eax
cmp dword [rbp + 0x894], 0
jne 0x140011aab
lea rcx, str.WriteFile_failed
call fcn.140011032
nop
xor eax, eax
jmp 0x140011b58
mov dword [rbp + 0x8f4], 0
xor eax, eax
cmp eax, 1
je 0x140011b4b
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x8f4]
mov r8d, 0x800
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rbp + 0x894], eax
cmp dword [rbp + 0x894], 0
jne 0x140011b02
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x140011b02
jmp 0x140011b4b
mov eax, dword [rbp + 0x8f4]
shl rax, 1
mov qword [rbp + 0xcd8], rax
cmp qword [rbp + 0xcd8], 0x802
jae 0x140011b21
jmp 0x140011b27
call fcn.1400112b7
nop
xor eax, eax
mov rcx, qword [rbp + 0xcd8]
mov word [rbp + rcx + 0x30], ax
lea rdx, [rbp + 0x30]
lea rcx, str._s__n
call fcn.140011032
nop
jmp 0x140011ab5
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001ad70]
call fcn.140011325
mov rax, rdi
mov rcx, qword [rbp + 0xce8]
xor rcx, rbp
call fcn.1400111b8
lea rsp, [rbp + 0xcf8]
pop rdi
pop rbp
ret
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x140011d50
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014510
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014530
xor al, al
jmp 0x1400145b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014543
xor al, al
jmp 0x1400145b1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001456d
xor al, al
jmp 0x1400145b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014581
xor al, al
jmp 0x1400145b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014593
xor al, al
jmp 0x1400145b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400145af
xor al, al
jmp 0x1400145b1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012910
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113c5
movzx eax, al
test eax, eax
jne 0x140012930
mov ecx, 7
call fcn.14001132f
nop
mov byte [rsp + 0x20], 0
call fcn.140011348
mov byte [rsp + 0x21], al
cmp dword [0x14001e860], 1
jne 0x140012954
mov ecx, 7
call fcn.14001132f
nop
jmp 0x1400129ac
cmp dword [0x14001e860], 0
jne 0x1400129a7
mov dword [0x14001e860], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.14001119f
test eax, eax
je 0x140012988
mov eax, 0xff
jmp 0x140012ab1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001133e
mov dword [0x14001e860], 2
jmp 0x1400129ac
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001131b
call fcn.1400112ad
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012a09
mov rcx, qword [rsp + 0x30]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x140012a09
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140025020]
nop
call fcn.1400112df
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012a3d
mov rcx, qword [rsp + 0x38]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x140012a3d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011384
nop
call fcn.140012b60
mov dword [rsp + 0x28], eax
call fcn.14001128a
movzx eax, al
test eax, eax
jne 0x140012a5c
mov ecx, dword [rsp + 0x28]
call fcn.14001105f
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012a6b
call fcn.14001138e
nop
xor edx, edx
mov cl, 1
call fcn.14001114f
mov eax, dword [rsp + 0x28]
jmp 0x140012ab1
add rsp, 0x68
ret
Function at 0x14007b88d
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400b43e0
mov rax, rcx
neg rcx
test rax, 7
je 0x1400b43fd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1400b4458
test al, 7
jne 0x1400b43f0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1400b4411
mov rdx, qword [rax - 8]
test dl, dl
je 0x1400b4482
test dh, dh
je 0x1400b447c
shr rdx, 0x10
test dl, dl
je 0x1400b4476
test dh, dh
je 0x1400b4470
shr rdx, 0x10
test dl, dl
je 0x1400b446a
test dh, dh
je 0x1400b4464
shr edx, 0x10
test dl, dl
je 0x1400b445e
test dh, dh
jne 0x1400b4411
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x14007bc1b
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400adeb0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400ad830
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400adeef
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401c9020]
jmp 0x1400adef9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x14007bd83
Capabilities:
Query environment variable

Disassembly:
jmp 0x14013afa0
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14013add0
lea rcx, [rsp + 0x40]
call fcn.14013af50
movzx eax, al
test eax, eax
jne 0x14013afe8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14013ae00
mov rax, qword [rsp + 0x70]
jmp 0x14013b1b9
lea rcx, [rsp + 0x40]
call fcn.14013af20
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14013aec0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.14013af20
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.14007c8eb
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14013b08e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14013ae00
mov rax, qword [rsp + 0x80]
jmp 0x14013b1b9
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.14007bb08
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14007b9c3
lea rcx, [rsp + 0x48]
call fcn.14007b5fe
movzx eax, al
test eax, eax
jne 0x14013b0f5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.14007a870
lea rcx, [rsp + 0x40]
call fcn.14013ae00
mov rax, qword [rsp + 0x88]
jmp 0x14013b1b9
lea rcx, [rsp + 0x48]
call fcn.14007c0bc
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14013af20
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.14007c8eb
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14013b18b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.14007a870
lea rcx, [rsp + 0x40]
call fcn.14013ae00
mov rax, qword [rsp + 0xa0]
jmp 0x14013b1b9
lea rcx, [rsp + 0x48]
call fcn.14007b991
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.14007a870
lea rcx, [rsp + 0x40]
call fcn.14013ae00
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x14007bd8d
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400adde0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1400ad7b0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400ade21
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401c9020]
jmp 0x1400ade27
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret