joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f880
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14000f903
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
add rax, 1
cmp rax, 2
jb 0x14000f8ce
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov rdx, rsi
mov r9, rax
call fcn.1400146c0
mov rcx, qword [rsi]
call fcn.140014650
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x14000f8fc
mov qword [rsi], rdi
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.140014680
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov bl, 0xd0
and dword [rdi + 0x23], edx
out dx, al
adc al, 0x18
jp 0x1400c3e22
sti
invalid
add eax, 0x3c6e14ff
xor r8b, byte [rdi]
and esp, edx
fmul st(2)
clc
or ebx, dword [rcx]
fadd dword [rcx]
clc
ja 0x1400c3dd7
mov ah, 0x44
jp 0x1400c3e65
jp 0x1400c3e65
adc al, 0x35
fdivp st(5)
pop rbp
cmp eax, 0x7a5cc5e
pop rbp
sub bl, byte [0x197e94baa]
mov edx, fs
cmp al, 0xe
cmp al, 0x2f
xor bl, bh
sbb dword [rsi], edx
push 0xffffffffffffff85
invalid
fistp word [rcx]
invalid
jne 0x1400c3e88
pop rdi
xchg esi, eax
invalid
pop rbp
adc al, byte [rdi]
pushfq
std
sbb eax, 0x2a6535b7
jns 0x1400c3e3f
ret
adc r11b, byte [rsi - 0x21ebbe93]
mov ebp, esp
cmc
jp 0x1400c3e0d
invalid
push rsi
and al, 0xbf
mov edx, dword [rdi + 0x6dfb16e0]
ret 0x1c7

Function at 0x140010e90
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov r14, rcx
mov rax, qword [0x140065020]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov word [rdi], 0
xor ebx, ebx
lea r15, str.PROGRAMFILES
mov rsi, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r15]
mov word [rsp + 0x20], 0
mov r8d, 0x104
mov rdx, rdi
call rsi
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140010eff
mov edx, eax
mov rcx, rdi
mov r8, r14
call fcn.140010e20
test al, al
jne 0x140010f0d
add rbx, 8
cmp rbx, 0x18
jne 0x140010ecd
xor esi, esi
jmp 0x140010f10
mov sil, 1
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14002a340
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400012c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, r9
mov esi, r8d
mov rbx, rdx
mov r13, rcx
test r8b, 0xf
jne 0x140001425
mov ecx, esi
call fcn.14000be4c
mov r12, rax
mov ecx, dword [r13 + 4]
inc ecx
shl ecx, 4
call fcn.14000be4c
mov r14, rax
mov r8, rax
mov rdx, rdi
mov rcx, r13
call fcn.140002090
mov rcx, qword [rbp + 0x50]
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x60], xmm0
xor r15d, r15d
test esi, esi
je 0x1400013f9
nop word [rax + rax]
movzx eax, byte [r15 + rbx]
xor byte [rbp - 0x60], al
movzx eax, byte [rbx + r15 + 1]
xor byte [rbp - 0x5f], al
movzx eax, byte [rbx + r15 + 2]
xor byte [rbp - 0x5e], al
movzx eax, byte [rbx + r15 + 3]
xor byte [rbp - 0x5d], al
movzx eax, byte [rbx + r15 + 4]
xor byte [rbp - 0x5c], al
movzx eax, byte [rbx + r15 + 5]
xor byte [rbp - 0x5b], al
movzx eax, byte [rbx + r15 + 6]
xor byte [rbp - 0x5a], al
movzx eax, byte [rbx + r15 + 7]
xor byte [rbp - 0x59], al
movzx eax, byte [rbx + r15 + 8]
xor byte [rbp - 0x58], al
movzx eax, byte [rbx + r15 + 9]
xor byte [rbp - 0x57], al
movzx eax, byte [rbx + r15 + 0xa]
xor byte [rbp - 0x56], al
movzx eax, byte [rbx + r15 + 0xb]
xor byte [rbp - 0x55], al
movzx eax, byte [rbx + r15 + 0xc]
xor byte [rbp - 0x54], al
movzx eax, byte [rbx + r15 + 0xd]
xor byte [rbp - 0x53], al
movzx eax, byte [rbx + r15 + 0xe]
xor byte [rbp - 0x52], al
movzx eax, byte [rbx + r15 + 0xf]
xor byte [rbp - 0x51], al
lea rdi, [r15 + r12]
mov r9, r14
mov r8, rdi
lea rdx, [rbp - 0x60]
mov rcx, r13
call fcn.140001890
movups xmm1, xmmword [rdi]
movups xmmword [rbp - 0x60], xmm1
add r15d, 0x10
cmp r15d, esi
jb 0x140001340
mov rcx, r14
call fcn.14000be08
mov rax, r12
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp - 0x48]
call fcn.1400012a0
nop
mov r8, rax
lea rcx, [rbp - 0x28]
call fcn.140002690
nop
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140001240
lea rdx, [0x140018160]
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140001460
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rdi, r9
mov r14d, r8d
mov rbp, rdx
mov r13, rcx
test r8b, 0xf
jne 0x1400015e2
mov ecx, r14d
call fcn.14000be4c
mov rbx, rax
mov ecx, dword [r13 + 4]
inc ecx
shl ecx, 4
call fcn.14000be4c
mov r15, rax
mov r8, rax
mov rdx, rdi
mov rcx, r13
call fcn.140002090
mov rcx, qword [rsp + 0xd0]
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x20], xmm0
xor r12d, r12d
test r14d, r14d
je 0x1400015b6
mov esi, r12d
lea rdi, [r12 + rbx]
add rbp, rsi
mov r9, r15
mov r8, rdi
mov rdx, rbp
mov rcx, r13
call fcn.140001c80
movzx eax, byte [rsp + 0x20]
xor byte [rdi], al
movzx eax, byte [rsp + 0x21]
xor byte [r12 + rbx + 1], al
movzx eax, byte [rsp + 0x22]
xor byte [rbx + r12 + 2], al
movzx eax, byte [rsp + 0x23]
xor byte [rbx + r12 + 3], al
movzx eax, byte [rsp + 0x24]
xor byte [rbx + r12 + 4], al
movzx eax, byte [rsp + 0x25]
xor byte [rbx + r12 + 5], al
movzx eax, byte [rsp + 0x26]
xor byte [rbx + r12 + 6], al
movzx eax, byte [rsp + 0x27]
xor byte [rbx + r12 + 7], al
movzx eax, byte [rsp + 0x28]
xor byte [rbx + r12 + 8], al
movzx eax, byte [rsp + 0x29]
xor byte [rbx + r12 + 9], al
movzx eax, byte [rsp + 0x2a]
xor byte [rbx + r12 + 0xa], al
movzx eax, byte [rsp + 0x2b]
xor byte [rbx + r12 + 0xb], al
movzx eax, byte [rsp + 0x2c]
xor byte [rbx + r12 + 0xc], al
movzx eax, byte [rsp + 0x2d]
xor byte [rbx + r12 + 0xd], al
movzx eax, byte [rsp + 0x2e]
xor byte [rbx + r12 + 0xe], al
movzx eax, byte [rsp + 0x2f]
xor byte [rbx + r12 + 0xf], al
movups xmm0, xmmword [rbp]
movups xmmword [rsp + 0x20], xmm0
add r12d, 0x10
cmp r12d, r14d
mov rbp, qword [rsp + 0xb8]
jb 0x1400014e0
mov rcx, r15
call fcn.14000be08
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsp + 0x38]
call fcn.1400012a0
nop
mov r8, rax
lea rcx, [rsp + 0x58]
call fcn.140002690
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140001240
lea rdx, [0x140018160]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140001620
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r12, r9
mov esi, r8d
mov rdi, rdx
mov r15, rcx
test r8b, 0xf
jne 0x1400017d3
mov ecx, esi
call fcn.14000be4c
mov rbx, rax
mov ecx, dword [r15 + 4]
inc ecx
shl ecx, 4
call fcn.14000be4c
mov r14, rax
mov r8, rax
mov rdx, r12
mov rcx, r15
call fcn.140002090
mov rcx, qword [rbp + 0x40]
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x40], xmm0
xor r12d, r12d
test esi, esi
je 0x1400017a7
nop dword [rax + rax]
mov r9, r14
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x40]
mov rcx, r15
call fcn.140001890
movzx eax, byte [rbp - 0x60]
xor al, byte [r12 + rdi]
mov byte [r12 + rbx], al
movzx eax, byte [rbp - 0x5f]
xor al, byte [r12 + rdi + 1]
mov byte [r12 + rbx + 1], al
movzx eax, byte [rbp - 0x5e]
xor al, byte [r12 + rdi + 2]
mov byte [r12 + rbx + 2], al
movzx eax, byte [rbp - 0x5d]
xor al, byte [r12 + rdi + 3]
mov byte [r12 + rbx + 3], al
movzx eax, byte [rbp - 0x5c]
xor al, byte [r12 + rdi + 4]
mov byte [r12 + rbx + 4], al
movzx eax, byte [rbp - 0x5b]
xor al, byte [r12 + rdi + 5]
mov byte [r12 + rbx + 5], al
movzx eax, byte [rbp - 0x5a]
xor al, byte [r12 + rdi + 6]
mov byte [r12 + rbx + 6], al
movzx eax, byte [rbp - 0x59]
xor al, byte [r12 + rdi + 7]
mov byte [r12 + rbx + 7], al
movzx eax, byte [rbp - 0x58]
xor al, byte [rdi + r12 + 8]
mov byte [rbx + r12 + 8], al
movzx eax, byte [rbp - 0x57]
xor al, byte [r12 + rdi + 9]
mov byte [r12 + rbx + 9], al
movzx eax, byte [rbp - 0x56]
xor al, byte [r12 + rdi + 0xa]
mov byte [r12 + rbx + 0xa], al
movzx eax, byte [rbp - 0x55]
xor al, byte [r12 + rdi + 0xb]
mov byte [r12 + rbx + 0xb], al
movzx eax, byte [rbp - 0x54]
xor al, byte [r12 + rdi + 0xc]
mov byte [r12 + rbx + 0xc], al
movzx eax, byte [rbp - 0x53]
xor al, byte [r12 + rdi + 0xd]
mov byte [r12 + rbx + 0xd], al
movzx eax, byte [rbp - 0x52]
xor al, byte [r12 + rdi + 0xe]
mov byte [r12 + rbx + 0xe], al
movzx eax, byte [rbp - 0x51]
xor al, byte [r12 + rdi + 0xf]
mov byte [r12 + rbx + 0xf], al
movups xmm0, xmmword [r12 + rdi]
movups xmmword [rbp - 0x40], xmm0
add r12d, 0x10
cmp r12d, esi
jb 0x1400016a0
mov rcx, r14
call fcn.14000be08
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, [rbp - 0x60]
call fcn.1400012a0
nop
mov r8, rax
lea rcx, [rbp - 0x28]
call fcn.140002690
nop
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140001240
lea rdx, [0x140018160]
lea rcx, [rbp - 0x40]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140002090
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push r14
sub rsp, 0x10
mov r9d, dword [rcx]
xor r10d, r10d
mov r11, r8
mov r14, rcx
lea eax, [r9*4]
test eax, eax
je 0x1400020cc
nop
movzx eax, byte [r10 + rdx]
mov byte [r10 + r8], al
inc r10d
mov r9d, dword [rcx]
lea eax, [r9*4]
cmp r10d, eax
jb 0x1400020b0
mov eax, dword [rcx + 4]
lea r9d, [r9*4]
inc eax
shl eax, 4
cmp r9d, eax
jae 0x14000224d
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 8], r12
lea r12, str.cw
mov qword [rsp], r15
lea r15d, [r9 + 2]
nop dword [rax]
mov ebp, dword [r14]
lea eax, [r9 - 4]
movzx r8d, byte [rax + r11]
xor edx, edx
lea eax, [r9 - 3]
movzx r10d, r8b
movzx ebx, byte [rax + r11]
lea eax, [r9 - 2]
movzx edi, byte [rax + r11]
lea eax, [r9 - 1]
movzx esi, byte [rax + r11]
mov eax, r9d
shr eax, 2
div ebp
test edx, edx
jne 0x14000219b
movzx r10d, byte [rbx + r12]
xor edx, edx
movzx ebx, byte [rdi + r12]
mov eax, r9d
movzx edi, byte [rsi + r12]
mov cl, 1
movzx esi, byte [r8 + r12]
lea r8d, [rbp*4]
div r8d
sub eax, 1
je 0x140002196
mov r8d, eax
nop word [rax + rax]
movzx eax, cl
add cl, cl
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
xor cl, dl
sub r8, 1
jne 0x140002180
xor r10b, cl
jmp 0x1400021b9
cmp ebp, 6
jbe 0x1400021b9
cmp edx, 4
jne 0x1400021b9
movzx r10d, byte [r8 + r12]
movzx ebx, byte [rbx + r12]
movzx edi, byte [rdi + r12]
movzx esi, byte [rsi + r12]
mov ecx, r9d
lea eax, [rbp*4]
sub ecx, eax
xor r10b, byte [rcx + r11]
mov ecx, r9d
mov byte [r9 + r11], r10b
mov eax, dword [r14]
shl eax, 2
sub ecx, eax
lea eax, [r15 - 1]
inc ecx
xor bl, byte [rcx + r11]
mov ecx, r9d
mov byte [rax + r11], bl
mov eax, dword [r14]
shl eax, 2
sub ecx, eax
add ecx, 2
xor dil, byte [rcx + r11]
mov ecx, r9d
mov byte [r15 + r11], dil
add r9d, 4
mov eax, dword [r14]
shl eax, 2
sub ecx, eax
lea eax, [r15 + 1]
add ecx, 3
add r15d, 4
xor sil, byte [rcx + r11]
mov byte [rax + r11], sil
mov eax, dword [r14 + 4]
inc eax
shl eax, 4
cmp r9d, eax
jb 0x140002110
mov r15, qword [rsp]
mov r12, qword [rsp + 8]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
add rsp, 0x10
pop r14
ret
Function at 0x140003500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, rdx
mov rdi, rcx
xor r8d, r8d
test rcx, rcx
jne 0x14000352a
xor eax, eax
jmp 0x1400035ea
mov qword [rsp + 8], r8
mov qword [rsp + 0x10], r8
movsxd rax, dword [rcx + 0x3c]
mov r11d, dword [rax + rcx + 0x88]
add r11, rdi
mov esi, dword [r11 + 0x1c]
add rsi, rdi
mov ebx, dword [r11 + 0x20]
add rbx, rdi
mov qword [rsp + 8], rbx
mov r10d, dword [r11 + 0x24]
add r10, rdi
mov qword [rsp + 0x10], r10
test r14d, 0xffff0000
jne 0x140003575
movzx eax, r14w
sub eax, dword [r11 + 0x10]
jmp 0x1400035d1
mov r11d, dword [r11 + 0x18]
mov dword [rsp], r11d
nop dword [rax]
mov eax, r11d
dec r11d
mov dword [rsp], r11d
test eax, eax
je 0x1400035dd
mov eax, dword [rbx]
add rax, rdi
mov r9, r14
sub r9, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x1400035b3
inc rax
test ecx, ecx
jne 0x1400035a0
test edx, edx
jne 0x1400035bd
movzx eax, word [r10]
jmp 0x1400035d1
add rbx, 4
mov qword [rsp + 8], rbx
add r10, 2
mov qword [rsp + 0x10], r10
jmp 0x140003580
mov r8d, dword [rsi + rax*4]
add r8, rdi
mov qword [rsp + 0x18], r8
jmp 0x1400035e7
mov rax, r8
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140003af0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x460
mov rbx, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, str.HTTP
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r15, rax
test rax, rax
je 0x140003b71
cmp qword [rbx + 0x18], 0xf
jbe 0x140003b41
mov rbx, qword [rbx]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbp, rax
test rax, rax
jne 0x140003b8c
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov ebx, 0xf
mov qword [rdi + 0x18], rbx
mov byte [rdi], r12b
jmp 0x140003c8a
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov r14, r12
mov qword [rsp + 0x40], r12
mov ebx, 0xf
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x30], r12b
lea r9, [rsp + 0x4a0]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140003c67
nop
mov eax, dword [rsp + 0x4a0]
test eax, eax
je 0x140003c67
mov esi, eax
mov rax, rbx
sub rax, r14
cmp rsi, rax
ja 0x140003c1e
lea rax, [r14 + rsi]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rbx, 0xf
cmova rax, qword [rsp + 0x30]
lea rbx, [rax + r14]
mov r8d, esi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call sub.msvcrt.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x140003c38
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14000a320
lea r9, [rsp + 0x4a0]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140003c67
mov rbx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
jmp 0x140003bd0
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm1
mov rax, rdi
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140005b20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140005b51
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x140005bcb
mov rdi, r14
mov rcx, rbx
call fcn.140009f90
test rax, rax
jle 0x140005ba3
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140005bbb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140005bc3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140005b65
sub r14, rdi
jmp 0x140005cb1
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140005be2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005be4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005c16
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140005cae
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140005c51
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
cmp rbp, 0xfff
jbe 0x140005c8e
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fread]
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140005cae
cmp rbp, rax
ja 0x140005c60
test rbp, rbp
je 0x140005cae
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fread]
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14000c870
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.14000d600
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.14000d600
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.14000d600
mov ecx, dword [0x14001a1a0]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 0x10
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.14000ea90
call fcn.14000d600
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret
Function at 0x14000fe10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140019080]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14000fe4c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.14000c718
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14000ff08
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14000ff6e
test ebx, ebx
jne 0x14000ff6e
lea ecx, [rax + 2]
call fcn.14000c718
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.14000c3c0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret