joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140037010
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
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.140037db0
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.140037db0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140037080
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1406241f4]
mov rbx, rcx
test esi, esi
jle 0x1400371b0
mov rax, qword [0x1406241f8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400370cb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140037155
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400370b0
mov rcx, rbx
call fcn.140037ad0
mov rdi, rax
test rax, rax
je 0x1400371d2
mov rax, qword [0x1406241f8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140037c10
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1406241f8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400371b7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14003714e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140037160
add dword [0x1406241f4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1406241f8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14003714e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140037010
nop dword [rax]
xor esi, esi
jmp 0x1400370d8
mov rax, qword [0x1406241f8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140037010
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140037010
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140037740
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140624260]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140624240]
test rbx, rbx
je 0x14003779c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140037793
test rsi, rsi
je 0x140037793
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140037778
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140037ad0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14061ed10]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140037af0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140037af8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140037af0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140037b4d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140037b44
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140037af0
add rax, 0x28
cmp rax, r9
jne 0x140037b30
xor eax, eax
ret

Function at 0x140037b50
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14061ed10]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140037b6f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140037b78
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140037b6f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140037c10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14061ed10]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140037c2f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140037c38
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x415420
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4155ab
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x005ce378]
invalid
sbb eax, dword [rax]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
add al, ch
loope 0x415431
add dword [rax], eax
xorps xmm15, xmm15
mov r14, qword [0x006393e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jl 0x415499
and byte [rax], al
jne 0x415485
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415494
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4154b3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4154c3
cmp rbx, 0x1000
jae 0x41548b
jmp 0x41552d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
cmp ebx, 0x1000
jae 0x4154d5
xor edx, edx
jmp 0x415524
mov rcx, qword [0x005ce378]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432940
add dword [rax], eax
xorps xmm15, xmm15
mov r14, qword [0x006393e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x4154b9
jmp 0x4154a8
jnp 0x41552a
invalid
invalid
call fcn.00462fa0
xorps xmm15, xmm15
mov r14, qword [0x006393e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00436d40
lea rax, [0x00500113]
mov ebx, 0x18
nop dword [rax]
call fcn.004375c0
mov rax, qword [rsp + 0x38]
call fcn.00437300
lea rax, [0x005007ed]
lea eax, [0x005007ed]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.004375c0
mov rax, qword [rsp + 0x30]
call fcn.00437300
call fcn.00436f80
call fcn.00436da0
sbb byte [rdx], al
add byte [rax - 0x73], cl
add eax, 0xede22
mov ebx, 0x21
call fcn.004353a0
add dword [rax], eax
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f8e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ebx, dword [rsp + 0x10]
jmp fcn.00415420
invalid
Function at 0x4155e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415806
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x005ce380]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
add byte [rax], al
add al, ch
cwde
rol dword [rcx], cl
add byte [rbp + 0xf], al
push rdi
dec dword [rbx + rcx*4 + 0x35]
lodsd eax, dword [rsi]
cmp eax, 0x4d650022
mov esi, dword [rsi]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x415653
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x415662
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x415685
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x415695
cmp rbx, 0x1000
jae 0x415659
nop
jmp 0x415718
add rsp, 0x50
push rax
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x4156ad
xor esi, esi
jmp 0x41570a
mov rax, qword [0x005ce380]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
and al, 8
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
and al, 0x20
add al, 0
add byte [rax], al
call fcn.004329c0
xorps xmm15, xmm15
mov r14, qword [0x006393e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
xchg esp, eax
ror byte [rax - 0x75], 0x4c
and al, 0x48
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x41568b
jmp 0x415676
call fcn.00462fa0
xorps xmm15, xmm15
mov r14, qword [0x006393e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4157a0
nop dword [rax + rax]
call fcn.00436d40
lea rax, [0x00500806]
mov ebx, 0x19
call fcn.004375c0
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00437300
lea rax, [0x005007ed]
mov ebx, 0x19
call fcn.004375c0
mov eax, dword [rsp + 0x34]
call fcn.00437300
nop
call fcn.00436f80
call fcn.00436da0
lea rax, [0x004fc3dc]
mov ebx, 0xd
call fcn.004353a0
nop dword [rax + rax]
cmp eax, 0x5af
je 0x415740
call fcn.00436d40
lea rax, [0x00500806]
mov ebx, 0x19
call fcn.004375c0
mov rax, qword [rsp + 0x38]
call fcn.00437300
lea rax, [0x005007ed]
mov ebx, 0x19
call fcn.004375c0
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00437300
call fcn.00436f80
call fcn.00436da0
lea rax, [0x00502a9a]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.004353a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f8e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004155e0
Function at 0x41ec00
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x00639193], 0
jne 0x41ece7
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x50]
test byte [rdx], al
mov esi, dword [rax + 0x64]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], r8b
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x41ecda
lea rbx, [0x0060b578]
mov rdx, qword [rbx + rdx*8]
test byte [rdx], al
mov rbx, rcx
shr rbx, 0x10
and ebx, 0x3f
shr rcx, 0xd
and ecx, 7
mov esi, 1
shl esi, cl
shr rax, 0x16
and eax, 0xfffff
mov rax, qword [rdx + rax*8]
test byte [rax], al
movzx edx, byte [rax + rbx + 0x11440]
lea rax, [rax + rbx]
lea rax, [rax + 0x11440]
test sil, dl
jne 0x41ecc0
lock or byte [rax], sil
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rdi
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call fcn.00461b80
lea rax, [0x00505928]
mov ebx, 0x2c
call fcn.004353a0
nop
int3

Function at 0x420fc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4210c6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], dil
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x18], 0
jmp 0x421003
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x4210bb
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.00421da0
test rax, rax
je 0x4210bb
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rcx, [0x00421100]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x20]
mov qword [rsp], rbx
nop dword [rax]
call fcn.0045f7a0
xorps xmm15, xmm15
mov r14, qword [0x006393e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x4210a9
xor eax, eax
jmp 0x4210b3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x420ff1
mov rax, qword [rsp + 0x18]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.0045f8e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jl 0x421116
and cl, ch
enter 0xfffffffffffffffe, 0xffffffffffffffff
Function at 0x42f0a0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42f326
push rbp
mov rbp, rsp
sub rsp, 0x38
test byte [rax], al
mov rcx, qword [rax + 0x1268]
lea rsi, [rax + 0x1278]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42f31a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x00639193], 0
jne 0x42f0fa
xor edx, edx
xor ebx, ebx
jmp 0x42f140
xor edx, edx
jmp 0x42f125
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call fcn.0041e460
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42f0fe
add rax, 0x1268
call fcn.0042f020
add rsp, 0x38
pop rbp
ret
inc rdx
nop
cmp rdx, rcx
jge 0x42f2b4
mov rsi, qword [rax + rdx*8 + 0x1278]
cmp rsi, 0x1000
jb 0x42f13b
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
call 0x412740
test rax, rax
jne 0x42f18c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42f13b
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
mov r8, rcx
shr r8, 3
movzx r9d, byte [rsi + r8]
and ecx, 7
mov r10d, 1
shl r10d, cl
nop
add rsi, r8
test r10b, r9b
je 0x42f1cc
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42f13b
nop
lock or byte [rsi], r10b
mov rcx, qword [rbx + 0x18]
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
nop
nop
nop
cmp r8, 0x40
jae 0x42f30d
lea r10, [0x0060b578]
mov r8, qword [r10 + r8*8]
test byte [r8], al
mov r10, rcx
shr r10, 0x10
and r10d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r11d, 1
shl r11d, cl
shr r9, 0x16
and r9d, 0xfffff
mov r8, qword [r8 + r9*8]
test byte [r8], al
movzx r9d, byte [r8 + r10 + 0x11440]
lea r8, [r8 + r10]
lea r8, [r8 + 0x11440]
test r11b, r9b
jne 0x42f24f
lock or byte [r8], r11b
movzx r8d, byte [rbx + 0x6a]
test r8b, 1
je 0x42f285
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x70]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42f13b
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42f305
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x42f13b
cmp rbx, 0x200
ja 0x42f2f4
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00424ca0
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call fcn.0042f020
add rsp, 0x38
pop rbp
ret
mov rcx, rbx
mov edx, 0x200
nop dword [rax]
call fcn.00461be0
mov rax, r8
call fcn.00461b60
mov rax, r8
mov ecx, 0x40
call fcn.00461b80
mov edx, 0x200
nop
call fcn.00461bc0
nop
mov qword [rsp + 8], rax
call fcn.00466420
mov rax, qword [rsp + 8]
jmp fcn.0042f0a0
Function at 0x461720
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x006394c0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0063918c], 0
je 0x461756
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00639780]
aesenc xmm0, xmmword [0x00639790]
aesenc xmm0, xmmword [0x006397a0]
movq rax, xmm0
ret
jmp 0x409680
Function at 0x1400111ef
Capabilities:
Terminate process

Disassembly:
jmp 0x140012f50
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]
add rsp, 0x28
ret

Function at 0x140011271
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x1400118a0
push rbp
push rsi
push rdi
sub rsp, 0x280
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x68
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x258], rax
lea rcx, [0x1400230a2]
call fcn.14001137a
lea rax, [rbp + 0x10]
lea rcx, [0x14001acb0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x115
rep movsb byte [rdi], byte [rsi]
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtTestAlert
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x148], rax
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x115
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x168], rax
cmp qword [rbp + 0x168], 0
jne 0x14001195f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____VirtualAlloc_FAiled_With_Error_:__d__n
call fcn.140011195
mov eax, 0xffffffff
jmp 0x1400119aa
mov r8d, 0x115
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x168]
call fcn.1400111b3
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x188], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
call qword [sym.imp.ucrtbased.dll_getchar]
call qword [rbp + 0x148]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ac80]
call fcn.14001130c
mov rax, rdi
mov rcx, qword [rbp + 0x258]
xor rcx, rbp
call fcn.1400111ae
lea rsp, [rbp + 0x260]
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001127b
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400142a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400142c0
xor al, al
jmp 0x140014341
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400142d3
xor al, al
jmp 0x140014341
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 0x1400142fd
xor al, al
jmp 0x140014341
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014311
xor al, al
jmp 0x140014341
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014323
xor al, al
jmp 0x140014341
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001433f
xor al, al
jmp 0x140014341
mov al, 1
add rsp, 0x38
ret
Function at 0x141a1b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141a1b1df
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 0x141a1b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a1b06f
add dl, dl
jne 0x141a1b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a1b0f6
xor eax, eax
add dl, dl
jne 0x141a1b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a1b1ad
add dl, dl
jne 0x141a1b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a1b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a1b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a1b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141a1b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141a1b07e
mov eax, 1
add dl, dl
jne 0x141a1b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a1b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a1b0fb
sub eax, ebx
mov ebx, 1
jne 0x141a1b14c
mov ecx, 1
add dl, dl
jne 0x141a1b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141a1b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a1b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a1b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141a1b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141a1b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a1b15d
cmp eax, 0x7d00
jae 0x141a1b19b
cmp eax, 0x500
jb 0x141a1b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a1b07e
cmp eax, 0x7f
ja 0x141a1b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a1b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141a1b1d2
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 0x141a1b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x6d8cdb80
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 0x6d8cdd08
mov rax, qword [0x6d8ee5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d8cdbcc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8cdc55
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d8cdbb0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8cdd3d
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 0x6d8cdd20
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8cdc4e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d8cdcb0
add dword [0x6d8ee5e4], 1
cmp edi, 8
jae 0x6d8cdc83
test dil, 4
jne 0x6d8cdcf4
test edi, edi
je 0x6d8cdc78
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8cdd0f
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 0x6d8cdc78
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 0x6d8cdc9c
jmp 0x6d8cdc78
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 0x6d8cdc4e
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 0x6d8cdc78
xor esi, esi
jmp 0x6d8cdbd7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d8cdc78
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 0x6d8ce490
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 0x6d8ce4e4
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 0x6d8ce4db
test rsi, rsi
je 0x6d8ce4db
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8ce4c0
lea rcx, [0x6d8ee8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]