joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400097d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14004c068]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
lea ecx, [rsi + 0x48]
call fcn.140012420
mov r9, rax
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], setsockopt
mov byte [rbx], sil
mov qword [rax + 0x20], rsi
mov qword [rax + 0x30], rsi
mov qword [rax + 0x38], rsi
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rax + 0x30], xmm1
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], setsockopt
mov byte [rbx + 0x20], sil
mov eax, dword [rbx + 0x40]
mov dword [r9 + 0x40], eax
mov qword [rsp + 0x30], r9
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
lea r8, [0x14000f680]
xor edx, edx
xor ecx, ecx
call fcn.14001cc94
mov qword [rdi], rax
test rax, rax
je 0x1400098a6
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012400
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], esi
mov ecx, 6
call fcn.140010d7c
int3

Function at 0x1400098c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004c068]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.140012420
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14000f6e0]
xor edx, edx
xor ecx, ecx
call fcn.14001cc94
mov qword [rbx], rax
test rax, rax
je 0x140009932
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012400
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call fcn.140010d7c
int3

Function at 0x140009950
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14004c068]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
lea ecx, [rsi + 0x20]
call fcn.140012420
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], setsockopt
mov byte [rbx], sil
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14000f710]
xor edx, edx
xor ecx, ecx
call fcn.14001cc94
mov qword [rdi], rax
test rax, rax
je 0x1400099f3
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012400
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], esi
mov ecx, 6
call fcn.140010d7c
int3
Function at 0x140009a00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004c068]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.140012420
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14000f7a0]
xor edx, edx
xor ecx, ecx
call fcn.14001cc94
mov qword [rbx], rax
test rax, rax
je 0x140009a72
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012400
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call fcn.140010d7c
int3

Function at 0x140009a90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14004c068]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
lea ecx, [rsi + 0x20]
call fcn.140012420
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], setsockopt
mov byte [rbx], sil
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14000f7e0]
xor edx, edx
xor ecx, ecx
call fcn.14001cc94
mov qword [rdi], rax
test rax, rax
je 0x140009b33
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012400
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], esi
mov ecx, 6
call fcn.140010d7c
int3

Function at 0x140009b40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14004c068]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
lea ecx, [rsi + 0x20]
call fcn.140012420
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], setsockopt
mov byte [rbx], sil
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14000f8d0]
xor edx, edx
xor ecx, ecx
call fcn.14001cc94
mov qword [rdi], rax
test rax, rax
je 0x140009be3
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012400
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], esi
mov ecx, 6
call fcn.140010d7c
int3
Function at 0x140009d20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14004c068]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
lea ecx, [rsi + 0x20]
call fcn.140012420
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], setsockopt
mov byte [rbx], sil
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14000fa20]
xor edx, edx
xor ecx, ecx
call fcn.14001cc94
mov qword [rdi], rax
test rax, rax
je 0x140009dc3
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012400
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], esi
mov ecx, 6
call fcn.140010d7c
int3

Function at 0x140009dd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14004c068]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
lea ecx, [rsi + 0x20]
call fcn.140012420
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], setsockopt
mov byte [rbx], sil
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14000faa0]
xor edx, edx
xor ecx, ecx
call fcn.14001cc94
mov qword [rdi], rax
test rax, rax
je 0x140009e73
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012400
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], esi
mov ecx, 6
call fcn.140010d7c
int3

Function at 0x140009e80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14004c068]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
lea ecx, [rsi + 0x20]
call fcn.140012420
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], setsockopt
mov byte [rbx], sil
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14000fb20]
xor edx, edx
xor ecx, ecx
call fcn.14001cc94
mov qword [rdi], rax
test rax, rax
je 0x140009f23
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012400
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], esi
mov ecx, 6
call fcn.140010d7c
int3
Function at 0x140009f30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14004c068]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
lea ecx, [rsi + 0x20]
call fcn.140012420
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], setsockopt
mov byte [rbx], sil
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14000fba0]
xor edx, edx
xor ecx, ecx
call fcn.14001cc94
mov qword [rdi], rax
test rax, rax
je 0x140009fd3
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012400
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], esi
mov ecx, 6
call fcn.140010d7c
int3

Function at 0x14001315c
Capabilities:
Parse pe header

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

Function at 0x14002288c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400226b8
Function at 0x10012dd2c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rsi, rdx
mov rdx, rcx
xor ebp, ebp
lea rcx, [rax - 0x58]
mov qword [rax + 0x20], rbp
mov qword [rax - 0x60], rbp
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea edx, [rbp + 1]
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], 0x30
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x58], 0x40
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rbp
call qword [sym.imp.ntdll.dll_NtOpenSymbolicLinkObject]
cmp eax, ebp
jl 0x10012df09
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov edi, ebp
mov dword [rsp + 0xa0], ebp
jmp 0x10012de11
cmp qword [rsp + 0x28], rbp
je 0x10012ddd8
mov rax, qword gs:[0x30]
mov r8, qword [rsp + 0x28]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [rsp + 0xa0]
xor edx, edx
mov word [rsp + 0x22], ax
lea edi, [rax + 2]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8d, edi
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x28], rax
cmp rax, rbp
je 0x10012df19
mov rcx, qword [rsp + 0xa8]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_NtQuerySymbolicLinkObject]
mov ebx, eax
cmp eax, 0xc0000023
je 0x10012ddb3
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntdll.dll_NtClose]
cmp ebx, ebp
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xa8], rbp
jl 0x10012dee4
movzx ecx, word [rsp + 0x20]
lea r8, [rsp + 0x40]
mov edx, 1
shr rcx, 1
mov word [rax + rcx*2], bp
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0xa8]
mov word [rsp + 0x22], di
mov dword [rsp + 0x40], 0x30
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x40
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rbp
call qword [sym.imp.ntdll.dll_NtOpenSymbolicLinkObject]
cmp eax, ebp
jge 0x10012de11
mov rax, qword [rsp + 0x28]
mov ebx, ebp
mov qword [rsi], rax
mov rcx, qword [rsp + 0xa8]
cmp rcx, rbp
je 0x10012dee0
call qword [sym.imp.ntdll.dll_NtClose]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xa8], rbp
cmp ebx, ebp
jge 0x10012df07
cmp rax, rbp
je 0x10012df07
mov rax, qword gs:[0x30]
mov r8, qword [rsp + 0x28]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov ebx, 0xc000009a
jmp 0x10012dec0
Function at 0x100130074
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100177108], rdi
je 0x1001300d4
cmp rax, rdi
jne 0x1001300c7
mov r12d, 1
jmp 0x1001300d4
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1001300ad
mov eax, dword [0x100177100]
cmp eax, 1
jne 0x1001300e9
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x100130150
mov eax, dword [0x100177100]
cmp eax, ebx
jne 0x100130146
mov dword [0x100177100], 1
lea r13, [0x100001c08]
lea rdi, [0x100001bf0]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x100130138
cmp eax, ebx
jne 0x100130138
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x10013012d
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x100130116
cmp eax, ebx
je 0x100130150
mov eax, 0xff
jmp 0x100130298
mov dword [0x100176464], 1
mov eax, dword [0x100177100]
cmp eax, 1
jne 0x100130178
lea rdx, [0x100001be8]
lea rcx, [0x100001b60]
call sub.msvcrt.dll__initterm
mov dword [0x100177100], 2
cmp r12d, ebx
jne 0x100130187
mov rax, rbx
xchg qword [0x100177108], rax
cmp qword [0x100177120], rbx
je 0x1001301af
lea rcx, [0x100177120]
call fcn.10013083c
cmp eax, ebx
je 0x1001301af
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100177120]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x1001301c5
mov eax, 0xff
jmp 0x100130298
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x10013024a
cmp word [rcx], bx
je 0x1001301e0
cmp edx, ebx
jne 0x10013024a
cmp word [rcx], bx
je 0x1001301f6
cmp word [rcx], 0x20
ja 0x1001301f6
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1001301e0
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.1000504ac
mov dword [0x100176460], eax
cmp dword [0x100176444], ebx
jne 0x100130234
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100176464], ebx
jne 0x100130248
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100176460]
jmp 0x100130298
cmp word [rcx], 0x22
jne 0x10013025d
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1001301d1
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.100216000
add rsp, 0x28
jmp 0x100130074
Function at 0x1001303c0
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100175150]
jne 0x1001303db
rol rcx, 0x10
test cx, 0xffff
jne 0x1001303d7
ret 0
ror rcx, 0x10
jmp 0x100130a0c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100176520]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x100176618]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x100130a91
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100176520]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x100130ab3
mov rax, qword [rsp + 0x88]
mov qword [0x100176618], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1001765b8], rax
mov rax, qword [0x100176618]
mov qword [0x100176490], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1001765a0], rax
mov dword [0x100176480], 0xc0000409
mov dword [0x100176484], 1
mov rax, qword [0x100175150]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100175158]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001ce0]
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, 0x88
ret

Function at 0x1001308a8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x1001308f5
cmp rcx, 0xffffffffffffffff
je 0x1001308f5
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1001308ed
cmp dword [rcx + 0x3c], edx
jl 0x1001308ed
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1001308ed
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 0x1001308f5
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14000b9fc
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b77c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba52
mov ecx, 1
call fcn.14000b77c
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
insd dword [rdi], dx
push rbx
invalid
movsd dword [rdi], dword [rsi]
jle 0x140023312
jmp qword [rax + rcx + 0x52ad1df5]
movsb byte [rdi], byte [rsi]
or ch, dh
sbb eax, 0x581452ad
sub eax, 0x7a869e1b
and ebp, ebx
test eax, esi
jnp 0x140023343
push word [rdx - 0x4938510]
insd dword [rdi], dx
cmpsb byte [rsi], byte [rdi]
sub ebp, dword [rdx + 0x1c]
nop
invalid
jmp 0x1400232f3
Function at 0x18098bd10
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.18098be97
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 0x18098bd41
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18098bd27
add dl, dl
jne 0x18098bd4e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18098bdae
xor eax, eax
add dl, dl
jne 0x18098bd5d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18098be65
add dl, dl
jne 0x18098bd6e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18098bd7b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18098bd88
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18098bd95
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18098bda2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18098bd36
mov eax, 1
add dl, dl
jne 0x18098bdbe
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18098bdcb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18098bdb3
sub eax, ebx
mov ebx, 1
jne 0x18098be04
mov ecx, 1
add dl, dl
jne 0x18098bde6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18098bdf3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18098bddb
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18098bd36
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18098be20
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18098be2d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18098be15
cmp eax, 0x7d00
jae 0x18098be53
cmp eax, 0x500
jb 0x18098be4e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18098bd36
cmp eax, 0x7f
ja 0x18098be56
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18098bd36
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18098be8a
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 0x18098bd36
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140153830]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140153840]
mov dword [rax], 1
mov rax, qword [0x140153850]
mov dword [rax], 1
mov rax, qword [0x1401537d0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140153820]
mov dword [0x14019b00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.unk_6524
call dbg.__p__fmode
mov rdx, qword [0x140153910]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1401538f0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140152b70]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.unk_6524
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a