joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a7b8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1400231c0]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor esi, esi
mov rbx, rcx
test rcx, rcx
je 0x14000a8a5
cmp si, word [rcx]
je 0x14000a8a5
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x14000a8a0
call fcn.14000a194
cmp eax, 0x3d
jg 0x14000a8a0
mov ebp, 0x104
lea rcx, [rsp + 0x20]
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test eax, eax
je 0x14000a8a0
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], si
jne 0x14000a83c
lea rax, [rdx + 2]
add rcx, rax
cmp rcx, rbp
ja 0x14000a8a0
lea ecx, [rdx - 1]
mov eax, 0x5c
cmp ax, word [rsp + rcx*2 + 0x20]
je 0x14000a881
mov eax, 0x2f
cmp ax, word [rsp + rcx*2 + 0x20]
je 0x14000a881
lea r8, [0x14001aadc]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r8, rbx
lea rcx, [rsp + 0x20]
mov rdx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov rax, rdi
jmp 0x14000a8a7
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400172f0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14000e6a4
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x20
mov r8, qword [rdx + 0x10]
xor esi, esi
mov rbx, rcx
test r8, r8
jne 0x14000e735
lea r9, [rax + 8]
mov qword [rax + 8], rsi
xor edx, edx
lea rcx, [0x14001c8e0]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x14000e750
mov rdx, qword [rsp + 0x30]
lea rdi, [rbx + 0xd0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x14000e6ec
mov rcx, rdi
call fcn.140001a80
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r8d, 1
lea rdx, [0x14001aadc]
mov rcx, rdi
call fcn.1400090b4
mov r8d, 4
lea rdx, [0x14001bc90]
mov rcx, rdi
call fcn.1400090b4
jmp 0x14000e750
add rcx, 0xd0
cmp rcx, rdx
je 0x14000e750
cmp qword [rdx + 0x18], 8
jb 0x14000e74b
mov rdx, qword [rdx]
call fcn.140001a80
lea r8, [rbx + 0xd0]
add rbx, 0xf0
cmp rbx, r8
je 0x14000e77c
cmp qword [r8 + 0x18], 8
mov rdx, r8
jb 0x14000e770
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
mov rcx, rbx
call fcn.140001a80
mov r8d, 6
lea rdx, str.data_
mov rcx, rbx
call fcn.1400090b4
mov r8d, 0xb
lea rdx, str.Zoom.us.ini
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400090b4
Function at 0x1400123c8
Capabilities:
Read .ini file

Disassembly:
mov r11d, r9d
mov r10, r8
lea r9, [rcx + 8]
mov rax, rdx
cmp qword [r9 + 0x18], 8
jb 0x1400123df
mov r9, qword [r9]
cmp qword [r8 + 0x18], 8
jb 0x1400123e9
mov r10, qword [r8]
cmp qword [rdx + 0x18], 8
jb case.default.0x1400123fc
mov rax, qword [rdx]
mov r8d, r11d
mov rdx, r10
mov rcx, rax
jmp qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop rax
sub byte [rdi + 0x7e], bl
js 0x14003b2f3
mov esi, 0xafd8d00
add byte [rbp + 0x21cd0afd], cl
invalid
fscale
mov dl, 0x6f
or ch, bh
mov eax, dword [rsi + 0x271cc7f0]
cmp al, 0xfc
cmp qword [r13 + 0x1d], rsi
mov edi, 0x6236ee1e
push r8
invalid
test al, 1
jnp 0x14003b4a7
in al, dx
invalid
cld
jge 0x14003b40b
std
and ah, dh
movabs al, byte [0xbfa0a17e23947fcb]
mov edi, 0xea326e8a
mov edi, 0xea326e8a
jge 0x14003b4e4
cmpsb byte [rsi], byte [rdi]
test dword [rdi - 0x78], eax
jbe case.0x1400123fc.3
or eax, 0x99acbac5
mov edi, ebx
and al, 0x8a
push rsp
and al, 0xf
adc byte [rax + 3], al
outsb dx, byte [rsi]
jns 0x14003b417
in al, dx
mov bl, 0xe3
xor ebp, edi
sub al, byte [rdx + 0x377faa07]
test dh, 0x65
invalid
push 0xffffffffffffffa2
xlatb
js 0x14003b472
movsb byte [rdi], byte [rsi]
cmp cl, cl
and eax, dword [0x1778dea7b]
or eax, 0x172c5dfd
pop rbp
sub al, 0x17
pop rbp
sub al, 0x17
and dword [rbx], ebx
invalid
cmp al, 0xff
invalid
sub al, 0x39
and esp, dword [rdx - 0x41]
sbb al, 0x2d
test dl, bh
invalid

Function at 0x140012404
Capabilities:
Read .ini file

Disassembly:
push rbx
add rcx, 8
mov r10, r9
mov r11, r8
mov rbx, rdx
cmp qword [rcx + 0x18], 8
jb case.default.0x140012439
mov rcx, qword [rcx]
mov eax, dword [rsp + 0x38]
mov r8, r10
mov r9, qword [rsp + 0x30]
mov rdx, r11
mov qword [rsp + 0x38], rcx
mov rcx, rbx
mov dword [rsp + 0x30], eax
pop rbx
jmp qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
invalid
Function at 0x1400129b4
Capabilities:
Get file size
Parse pe header
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor esi, esi
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x140012b26
cmp si, word [rdx]
je 0x140012b26
cmp qword [rcx + 8], rsi
je 0x1400129e8
call fcn.1400128c8
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov rcx, rdi
mov dword [rsp + 0x20], 3
lea edx, [r9 + 1]
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
mov qword [rbx], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140012b26
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0x40
jb 0x140012b26
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov dword [rsp + 0x20], edi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rax
mov qword [rbx + 0x18], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140012b26
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 8], rax
mov rdx, rax
test rax, rax
je 0x140012b26
lea r8, [rdi + rax]
mov qword [rbx + 0x10], r8
cmp dword [rax + 0x3c], 0x40
jb 0x140012b26
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
mov qword [rbx + 0x20], rcx
lea rax, [rcx + 0xf8]
cmp r8, rax
jb 0x140012b26
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140012b26
cmp dword [rcx], 0x4550
jne 0x140012b26
mov eax, 0x14c
cmp word [rcx + 4], ax
je 0x140012aff
mov eax, 0x8664
cmp word [rcx + 4], ax
je 0x140012af6
mov eax, 0xaa64
cmp word [rcx + 4], ax
jne 0x140012b26
mov dword [rbx + 0x30], 3
lea rax, [rcx + 0x108]
jmp 0x140012b0d
mov dword [rbx + 0x30], 2
jmp 0x140012aed
mov dword [rbx + 0x30], 1
lea rax, [rcx + 0xf8]
mov qword [rbx + 0x28], rax
movzx ecx, word [rcx + 6]
lea rdx, [rcx + rcx*4]
lea rcx, [rax + rdx*8]
cmp r8, rcx
jb 0x140012b26
mov al, 1
jmp 0x140012b30
mov rcx, rbx
call fcn.1400128c8
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140012bc8
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and qword [rcx], 0
mov rbx, rcx
and qword [rcx + 8], 0
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
and qword [rcx + 0x20], 0
and qword [rcx + 0x28], 0
and qword [rcx + 0x30], 0
and qword [rcx + 0x38], 0
lea rcx, str.crypt32.dll
call fcn.14000a7b8
mov rdi, rax
test rax, rax
je 0x140012cc7
lea rdx, str.CertCloseStore
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CertFindCertificateInStore
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CertFreeCertificateContext
mov rcx, rdi
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CertGetNameStringW
mov rcx, rdi
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptDecodeObject
mov rcx, rdi
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptMsgClose
mov rcx, rdi
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptMsgGetParam
mov rcx, rdi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptQueryObject
mov rcx, rdi
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptMsgClose
mov rcx, rdi
mov qword [rbx + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140016900
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1400231c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [rcx + 0x18], 0
mov r14, rdx
mov rsi, rcx
je 0x140016a89
cmp byte [rcx + 0x8c], 0
mov ebp, dword [rdx + 0x10]
je 0x140016a68
mov edx, dword [rcx + 0x98]
mov ecx, dword [rcx + 0x84]
lea eax, [rdx + rbp]
cmp eax, ecx
jle 0x140016a68
mov ebx, dword [rsi + 0x88]
cmp ebx, 1
jne 0x1400169bc
sub ecx, edx
movsxd rbx, ecx
mov rcx, rbx
call fcn.1400175a4
mov r8, rbx
mov edx, 0x20
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov r9, qword [rsi + 0x18]
mov r8, rbx
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call fcn.140017310
mov rcx, qword [rsi + 0x18]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
and dword [rsi + 0x98], 0
jmp 0x140016a68
jle 0x140016a68
mov rcx, rsi
call fcn.14001601c
mov rcx, rsi
call fcn.1400163b0
test al, al
je 0x140016a68
cmp dword [rsi + 0x9c], ebx
jle 0x140016a68
lea rdi, [rsi + 0xa8]
mov rax, qword [rdi]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140016a68
and qword [rsp + 0x20], 0
lea rdx, [rbx + 0x28]
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x20]
and qword [rsp + 0x38], 0
call fcn.14000d4d0
mov rdx, rbx
mov rcx, rdi
call fcn.140015f68
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140016a68
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016a63
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016a63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017310
cmp qword [r14 + 0x18], 0x10
jb 0x140016a72
mov r14, qword [r14]
mov r9b, 1
mov r8d, ebp
mov rdx, r14
mov rcx, rsi
call fcn.140016d8c
add dword [rsi + 0x98], ebp
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400172f0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140016d8c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, rdx
movsxd r8, r8d
mov bl, r9b
mov rdi, rcx
mov r9, qword [rcx + 0x18]
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
test bl, bl
je 0x140016dc2
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140016e54
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rdx, [rsp + 0x20]
mov rdi, rcx
call fcn.140016e28
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x140016ec8
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140016ec8
mov edx, 0x1d4c0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140016eac
mov eax, dword [rbx + 0x10]
mov edi, 1
mov dword [0x140024450], eax
mov edx, edi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x140016ecd
mov rcx, rdi
call fcn.140016f24
mov rcx, rax
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edi, dword [rsp + 0x48]
jmp 0x140016ecd
mov edi, 1
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140016f17
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140016f17
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
mov rax, qword [rbx]
mov rax, qword [rax]
call qword [0x14001a640]
or ecx, 0xffffffff
lock xadd dword [rbx + 0xc], ecx
cmp ecx, 1
jne 0x140016f17
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [0x14001a640]
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret

Function at 0x140017054
Capabilities:
Create thread
Resume thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x30
mov r9, qword [rcx]
lea r8, [0x140017130]
mov rsi, rdx
mov rdi, rcx
xor edx, edx
xor ecx, ecx
lea rax, [r9 + 0x10]
mov qword [r11 - 0x10], rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, rax
test rax, rax
je 0x140017111
mov rax, qword [rdi]
mov rdx, rsi
mov qword [rax + 8], rcx
mov rcx, qword [rdi]
add rcx, 0x18
call fcn.140009130
mov rax, qword [rdi]
xor ecx, ecx
mov ebp, dword [rax + 0x10]
lea rax, [0x140024380]
cmp dword [rax], 0
je 0x1400170dd
inc ecx
lea rdx, [0x140024490]
add rax, 0x44
cmp rax, rdx
jl 0x1400170c4
jmp 0x140017102
movsxd rax, ecx
lea r14, [0x140024340]
imul rbx, rax, 0x44
mov r8, rsi
mov edx, 0x40
lea rcx, [rbx + r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov dword [rbx + r14 + 0x40], ebp
mov rcx, qword [rdi]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14002982c
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.14001ce24
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ce24
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002997c
cmp rax, 0xffffffffffffffff
je 0x14002997c
xor edi, edi
test rbp, rbp
jle 0x140029927
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f738
mov rbx, rax
test rax, rax
jne 0x1400298b4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002991d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a758
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.14001db00
cmp eax, 0xffffffff
je 0x1400298fd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400298c4
mov edx, r15d
mov ecx, r14d
call fcn.14001a758
jmp 0x14002991d
cmp byte [rsi + 0x38], dil
je 0x140029914
cmp dword [rsi + 0x34], 5
jne 0x140029914
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002991d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b4ec
jmp 0x140029990
jns 0x140029990
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ce24
cmp rax, 0xffffffffffffffff
jne 0x140029948
cmp byte [rsi + 0x30], dil
je 0x140029990
mov edi, dword [rsi + 0x2c]
jmp 0x140029990
mov ecx, r14d
call fcn.140018c10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029990
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 0x140029990
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029989
mov eax, dword [rsi + 0x2c]
jmp 0x14002998e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ce24
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 0x14002aa80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002aaa8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002aaa8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001c48
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001c92
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001c92
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001c92
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001c92
cmp dword [rcx + 0x84], 0xe
jbe 0x140001c92
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001c94
xor al, al
add rsp, 0x28
ret
Function at 0x18000ea90
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rbx, rcx
cmp eax, 0xca
jne 0x18000eac6
call sym.libjpeg.dll_jinit_master_decompress
cmp byte [rbx + 0x58], 0
je 0x18000eabd
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
jmp 0x18000ead1
cmp eax, 0xcb
jne 0x18000eb55
mov rax, qword [rbx + 0x240]
cmp byte [rax + 0x20], 0
je 0x18000eb3c
nop
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x18000eaee
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x240]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x18000eb34
cmp eax, 2
je 0x18000eb3c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18000eae0
dec eax
test eax, 0xfffffffd
jne 0x18000eae0
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x18000eae0
mov ecx, dword [rbx + 0x190]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x18000eae0
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x18000ec10
cmp eax, 0xcc
je 0x18000eb77
mov rax, qword [rcx]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rcx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x18000ec10
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor ebp, ebp
lea rsi, [rcx + 0x98]
cmp dword [rcx + 0x24], 0xcc
mov rbx, rcx
je 0x18000ec4c
mov rax, qword [rcx + 0x220]
call qword [rax]
mov dword [rsi], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x220]
mov qword [rsp + 0x30], rdi
cmp byte [rax + 0x10], bpl
je 0x18000ecd0
nop
mov eax, dword [rsi]
cmp eax, dword [rbx + 0x78]
jae 0x18000eca8
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18000ec86
mov dword [rcx + 8], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov rax, qword [rbx + 0x228]
xor r9d, r9d
mov edi, dword [rsi]
mov r8, rsi
xor edx, edx
mov rcx, rbx
call qword [rax + 8]
mov eax, dword [rsi]
cmp eax, edi
je 0x18000ecfe
cmp eax, dword [rbx + 0x78]
jb 0x18000ec67
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
mov dword [rsi], ebp
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x10], bpl
jne 0x18000ec60
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
xor al, al
jmp 0x18000ece3
Function at 0x18000eb90
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov edi, edx
mov rbx, rcx
cmp eax, 0xcf
je 0x18000ebc8
cmp eax, 0xcc
je 0x18000ebc8
mov rax, qword [rcx]
mov dword [rax + 0x28], 0x15
mov eax, dword [rcx + 0x24]
mov rdx, qword [rcx]
mov dword [rdx + 0x2c], eax
mov rax, qword [rcx]
call qword [rax]
mov rax, qword [rbx + 0x240]
test edi, edi
mov ecx, 1
cmovg ecx, edi
cmp byte [rax + 0x21], 0
je 0x18000ebea
mov eax, dword [rbx + 0x9c]
cmp ecx, eax
cmovg ecx, eax
mov dword [rbx + 0xa4], ecx
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x18000ec10
Function at 0x18000ec10
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rbx, rcx
cmp eax, 0xca
jne 0x18000eac6
call sym.libjpeg.dll_jinit_master_decompress
cmp byte [rbx + 0x58], 0
je 0x18000eabd
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
jmp 0x18000ead1
cmp eax, 0xcb
jne 0x18000eb55
mov rax, qword [rbx + 0x240]
cmp byte [rax + 0x20], 0
je 0x18000eb3c
nop
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x18000eaee
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x240]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x18000eb34
cmp eax, 2
je 0x18000eb3c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18000eae0
dec eax
test eax, 0xfffffffd
jne 0x18000eae0
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x18000eae0
mov ecx, dword [rbx + 0x190]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x18000eae0
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x18000ec10
cmp eax, 0xcc
je 0x18000eb77
mov rax, qword [rcx]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rcx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x18000ec10
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor ebp, ebp
lea rsi, [rcx + 0x98]
cmp dword [rcx + 0x24], 0xcc
mov rbx, rcx
je 0x18000ec4c
mov rax, qword [rcx + 0x220]
call qword [rax]
mov dword [rsi], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x220]
mov qword [rsp + 0x30], rdi
cmp byte [rax + 0x10], bpl
je 0x18000ecd0
nop
mov eax, dword [rsi]
cmp eax, dword [rbx + 0x78]
jae 0x18000eca8
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18000ec86
mov dword [rcx + 8], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov rax, qword [rbx + 0x228]
xor r9d, r9d
mov edi, dword [rsi]
mov r8, rsi
xor edx, edx
mov rcx, rbx
call qword [rax + 8]
mov eax, dword [rsi]
cmp eax, edi
je 0x18000ecfe
cmp eax, dword [rbx + 0x78]
jb 0x18000ec67
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
mov dword [rsi], ebp
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x10], bpl
jne 0x18000ec60
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
xor al, al
jmp 0x18000ece3