joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180041670
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x1800a0a2c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x1800416b7
mov rax, qword [0x1800a0a20]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1800416c4
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x1800416a0
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x1800416b7
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.180041360
mov edi, eax
test eax, eax
jne 0x1800417af
mov r9d, dword [0x1800a0a2c]
cmp ebx, r9d
jae 0x18004173c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1800a0a20]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x180041735
mov edx, esi
mov ecx, ebx
call fcn.180041540
mov edi, eax
test eax, eax
jne 0x18004173c
mov r9d, dword [0x1800a0a2c]
inc ebx
cmp ebx, r9d
jb 0x180041700
cmp qword [rsp + 0x20], 0
je 0x1800417ad
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180041799
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18004178a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180041760
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800a0820]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x180049328
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x18004935f
call fcn.180054cdc
mov dword [rax], 0x16
call fcn.1800490d4
xor eax, eax
jmp 0x1800493ed
mov rdx, r9
mov rcx, r8
call fcn.1800492c4
mov rbx, rax
test rax, rax
je 0x1800493ea
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1800491f0]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1800493d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180054c50
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800493be
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1800493cd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.180054d74
jmp 0x1800493ea
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1800493e7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x18004be80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1800612d0
sub rsp, rax
mov rax, qword [0x18009e0c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180056a24
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18004becf
mov rax, rbp
jmp 0x18004bfd7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xa0100]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800571cc
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xa0100]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18004bfd3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18004bfd3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800571cc
test rax, rax
js 0x18004bfd3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18004bfd3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18004bfc5
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18004bfc5
cmp byte [rcx], 0xd
jne 0x18004bfab
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18004bfba
cmp byte [rcx + 1], 0xa
jne 0x18004bfba
inc rcx
jmp 0x18004bfba
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x9e420]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18004bf8d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18004bfd7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180042db0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180053270
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800532df
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800532df
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800532df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800532df
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800532df
cmp dword [rcx + 0x84], 0xe
jbe 0x1800532df
cmp dword [rcx + 0xf8], 0
je 0x1800532df
mov ecx, ebx
call fcn.180053390
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18005316c
nop
cmp dword [rbp + 0x20], 0
je 0x18005332d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180053338
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180053270
Function at 0x180057278
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800a0100]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1800572cf
cmp word [rdx], r13w
jne 0x1800572cf
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800572d4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800573f9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18005741a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18005730d
mov rdx, r9
mov word [rbx], cx
jmp 0x180057334
cmp r9, r8
jae 0x180057344
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1800572ee
jmp 0x1800573f9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800573ee
cmp dword [rsp + 0x80], esi
je 0x1800573ee
lea r8, [0x1800a0100]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800573c6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180057396
mov word [rbx], r13w
jmp 0x1800573f6
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1800573a3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800573f6
cmp word [rsp + 0x70], r13w
jne 0x1800573d3
cmp rbx, r14
je 0x180057390
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800571d4
cmp word [rsp + 0x70], r13w
je 0x1800573f9
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800a0100]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800573f3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800573f9
Function at 0x1800594d0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800594e6
mov al, 1
jmp 0x180059546
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800594f7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180059544
mov ecx, dword [rcx + 0x18]
nop
call fcn.18005ddf4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180059544
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180059544
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180059544
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180059546
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18005b5e0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18005b610
xor eax, eax
jmp 0x18005b6d3
mov rbp, rbx
cmp word [rax], si
je 0x18005b635
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18005b61c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18005b618
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18005b500
movsxd r14, eax
test eax, eax
jne 0x18005b673
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18005b609
mov rcx, r14
call fcn.1800553fc
mov rdi, rax
test rax, rax
jne 0x18005b68c
xor ecx, ecx
call fcn.180054d74
jmp 0x18005b668
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18005b500
test eax, eax
jne 0x18005b6bd
mov rcx, rdi
call fcn.180054d74
jmp 0x18005b6c7
xor ecx, ecx
call fcn.180054d74
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18006027c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800571d4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800571d4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800603cc
cmp rax, 0xffffffffffffffff
je 0x1800603cc
xor edi, edi
test rbp, rbp
jle 0x180060377
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180054cfc
mov rbx, rax
test rax, rax
jne 0x180060304
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18006036d
mov edx, 0x8000
mov ecx, r14d
call fcn.180060100
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180058ccc
cmp eax, 0xffffffff
je 0x18006034d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180060314
mov edx, r15d
mov ecx, r14d
call fcn.180060100
jmp 0x18006036d
cmp byte [rsi + 0x38], dil
je 0x180060364
cmp dword [rsi + 0x34], 5
jne 0x180060364
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18006036d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180054d74
jmp 0x1800603e0
jns 0x1800603e0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800571d4
cmp rax, 0xffffffffffffffff
jne 0x180060398
cmp byte [rsi + 0x30], dil
je 0x1800603e0
mov edi, dword [rsi + 0x2c]
jmp 0x1800603e0
mov ecx, r14d
call fcn.18005ddf4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800603e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800603e0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800603d9
mov eax, dword [rsi + 0x2c]
jmp 0x1800603de
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800571d4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180061200
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180061228
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180061228
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14001125d
Capabilities:
Terminate process

Disassembly:
jmp 0x1400140c0
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 0x1400112fd
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015410
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015430
xor al, al
jmp 0x1400154b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015443
xor al, al
jmp 0x1400154b1
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 0x14001546d
xor al, al
jmp 0x1400154b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015481
xor al, al
jmp 0x1400154b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015493
xor al, al
jmp 0x1400154b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400154af
xor al, al
jmp 0x1400154b1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400132f0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011438
movzx eax, al
test eax, eax
jne 0x140013310
mov ecx, 7
call fcn.1400113ac
nop
mov byte [rsp + 0x20], 0
call fcn.1400113c0
mov byte [rsp + 0x21], al
cmp dword [0x14001f868], 1
jne 0x140013334
mov ecx, 7
call fcn.1400113ac
nop
jmp 0x14001338c
cmp dword [0x14001f868], 0
jne 0x140013387
mov dword [0x14001f868], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111fe
test eax, eax
je 0x140013368
mov eax, 0xff
jmp 0x140013491
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.1400113b6
mov dword [0x14001f868], 2
jmp 0x14001338c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011398
call fcn.140011325
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400133e9
mov rcx, qword [rsp + 0x30]
call fcn.1400111a9
movzx eax, al
test eax, eax
je 0x1400133e9
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 [0x140026020]
nop
call fcn.14001135c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001341d
mov rcx, qword [rsp + 0x38]
call fcn.1400111a9
movzx eax, al
test eax, eax
je 0x14001341d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113f7
nop
call fcn.140013540
mov dword [rsp + 0x28], eax
call fcn.1400112fd
movzx eax, al
test eax, eax
jne 0x14001343c
mov ecx, dword [rsp + 0x28]
call fcn.140011069
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001344b
call fcn.140011401
nop
xor edx, edx
mov cl, 1
call fcn.140011195
mov eax, dword [rsp + 0x28]
jmp 0x140013491
add rsp, 0x68
ret
Function at 0x1407bc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407bc1df
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 0x1407bc089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407bc06f
add dl, dl
jne 0x1407bc096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407bc0f6
xor eax, eax
add dl, dl
jne 0x1407bc0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407bc1ad
add dl, dl
jne 0x1407bc0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407bc0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407bc0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407bc0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407bc0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407bc07e
mov eax, 1
add dl, dl
jne 0x1407bc106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407bc113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407bc0fb
sub eax, ebx
mov ebx, 1
jne 0x1407bc14c
mov ecx, 1
add dl, dl
jne 0x1407bc12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407bc13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407bc123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407bc07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407bc168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407bc175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407bc15d
cmp eax, 0x7d00
jae 0x1407bc19b
cmp eax, 0x500
jb 0x1407bc196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407bc07e
cmp eax, 0x7f
ja 0x1407bc19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407bc07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407bc1d2
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 0x1407bc07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000b9ac
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.14000b730
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.0x14000ba02
mov ecx, 1
call fcn.14000b730
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]
or byte [rsi], dh
jmp 0x1650e47e7
Function at 0x1400070f4
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x412b6b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00431880
xorps xmm15, xmm15
mov r14, qword [0x005c56b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x412a45
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x412a54
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x412a73
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x412a83
cmp rbx, 0x1000
jae 0x412a4b
jmp 0x412aed
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x412a95
xor edx, edx
jmp 0x412ae4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00431880
xorps xmm15, xmm15
mov r14, qword [0x005c56b0]
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 0x412a79
jmp 0x412a68
call fcn.0046daa0
xorps xmm15, xmm15
mov r14, qword [0x005c56b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00436040
lea rax, [0x004c1721]
mov ebx, 0x18
nop dword [rax]
call fcn.004368c0
mov rax, qword [rsp + 0x38]
call fcn.00436600
lea rax, [0x004c1aa1]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.004368c0
mov rax, qword [rsp + 0x30]
call fcn.00436600
call fcn.00436280
call fcn.004360a0
lea rax, [0x004c3a04]
mov ebx, 0x21
call fcn.00465040
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046a380
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004129e0