joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140169288
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402e4f80]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402dc9f4]
test eax, eax
je 0x1401692d3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402dc9f4]
test eax, eax
jne 0x1401692dc
call fcn.140024684
test eax, eax
je 0x1401692f8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d35a8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140169300
xor eax, eax
jmp 0x14016935d
test rbx, rbx
jne 0x140169320
lea rcx, str.PrintDlgW
call fcn.140073130
mov rbx, rax
test rax, rax
je 0x14016932b
mov qword [0x1402e4f80], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140169340
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140169342
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14016935b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14017c1a4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402e4fb0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402dc9f4]
test eax, eax
je 0x14017c1ef
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402dc9f4]
test eax, eax
jne 0x14017c1f8
call fcn.140024684
test eax, eax
je 0x14017c214
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d35a8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14017c21c
xor eax, eax
jmp 0x14017c279
test rbx, rbx
jne 0x14017c23c
lea rcx, str.GetOpenFileNameW
call fcn.140073130
mov rbx, rax
test rax, rax
je 0x14017c247
mov qword [0x1402e4fb0], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14017c25c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14017c25e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14017c277
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14017c290
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402e4fb8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402dc9f4]
test eax, eax
je 0x14017c2db
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402dc9f4]
test eax, eax
jne 0x14017c2e4
call fcn.140024684
test eax, eax
je 0x14017c300
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d35a8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14017c308
xor eax, eax
jmp 0x14017c365
test rbx, rbx
jne 0x14017c328
lea rcx, str.GetSaveFileNameW
call fcn.140073130
mov rbx, rax
test rax, rax
je 0x14017c333
mov qword [0x1402e4fb8], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14017c348
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14017c34a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14017c363
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14019feb4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402e56c0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402dc9f4]
test eax, eax
je 0x14019feff
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402dc9f4]
test eax, eax
jne 0x14019ff08
call fcn.140024684
test eax, eax
je 0x14019ff24
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d35a8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14019ff2c
xor eax, eax
jmp 0x14019ff89
test rbx, rbx
jne 0x14019ff4c
lea rcx, str.ChooseFontW
call fcn.140073130
mov rbx, rax
test rax, rax
je 0x14019ff57
mov qword [0x1402e56c0], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14019ff6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14019ff6e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14019ff87
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1401a7d28
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
call fcn.140025058
test eax, eax
je 0x1401a7e5c
cmp dword [rbx + 0xb28], 0
je 0x1401a7d78
and dword [rbx + 0x124], 0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
jmp 0x1401a7e61
call fcn.14002bd2c
mov rcx, qword [rax + 8]
call fcn.14001b514
nop
mov rcx, qword [rbx + 0xb30]
sub rcx, 0x18
call fcn.140010970
add rax, 0x18
mov qword [rsp + 0x60], rax
cmp dword [rax - 0x10], 0
jne 0x1401a7db3
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14001ee14
lea rdx, [rbx + 0xb38]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.140068f58
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rax]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401a7e06
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rbx + 0xb2c], 1
and dword [rbx + 0x124], 0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401a7e52
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x58]
call fcn.1400122f8
mov eax, 1
add rsp, 0x40
pop rbx
ret
Function at 0x1401a99b4
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xd40]
sub rsp, 0xe40
mov rax, qword [0x1402d4b00]
xor rax, rsp
mov qword [rbp + 0xd30], rax
xor ebx, ebx
mov esi, r9d
mov rdi, r8
mov r10, rdx
test rdx, rdx
je 0x1401a9baa
test r8, r8
je 0x1401a9bb0
mov qword [rbp + 0x170], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x160], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x30], xmm1
mov ecx, r9d
mov qword [rsp + 0x40], rbx
test r9d, r9d
je 0x1401a9b68
sub ecx, 1
je 0x1401a9a3c
sub ecx, 1
je 0x1401a9ae8
cmp ecx, 1
jne 0x1401a9b86
mov rcx, qword [r10 + 8]
lea rdx, [rbp + 0x910]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1401a9b63
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x910]
call fcn.140179c5c
test eax, eax
je 0x1401a9b63
mov rcx, qword [rdi + 8]
lea rdx, [rbp + 0xb20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1401a9b5c
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xb20]
call fcn.140179c5c
test eax, eax
je 0x1401a9b5c
cmp esi, 1
jne 0x1401a9b49
test byte [rbp + 0x180], 0x10
jne 0x1401a9b63
test byte [rsp + 0x50], 0x10
jne 0x1401a9b5c
mov rax, qword [rbp + 0x178]
cmp rax, qword [rsp + 0x48]
seta bl
or ecx, 0xffffffff
cmp rax, qword [rsp + 0x48]
cmovb ebx, ecx
jmp 0x1401a9b86
mov rcx, qword [r10 + 8]
lea r8, [rbp + 0x650]
mov esi, 0x408
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], esi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1401a9b86
mov rcx, qword [rdi + 8]
lea r8, [rbp + 0x390]
mov r9d, 0x2b8
mov dword [rsp + 0x20], esi
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1401a9b86
lea rdx, [rbp + 0x5a8]
lea rcx, [rbp + 0x868]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, eax
jmp 0x1401a9b86
mov rax, qword [rbp + 0x168]
cmp rax, qword [rsp + 0x38]
jl 0x1401a9b63
setg bl
jmp 0x1401a9b86
mov ebx, 1
jmp 0x1401a9b86
or ebx, 0xffffffff
jmp 0x1401a9b86
mov rcx, qword [rdx]
mov r9, qword [r8 + 0x10]
mov r8, qword [rdx + 0x10]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
jns 0x1401a9b83
xor eax, eax
jmp 0x1401a9b88
movsx ebx, ax
mov eax, ebx
mov rcx, qword [rbp + 0xd30]
xor rcx, rsp
call fcn.1401ce180
mov rbx, qword [rsp + 0xe60]
add rsp, 0xe40
pop rdi
pop rsi
pop rbp
ret
call fcn.1400177e4
int3
call fcn.1400177e4
int3
Function at 0x1401aad68
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov rdi, rcx
xor eax, eax
cmp qword [0x1402e4fa0], rax
setne al
test eax, eax
jne 0x1401aad99
call fcn.1400177e4
int3
lea r8, [rbp + 0x77]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x1401aadb2
xor eax, eax
jmp 0x1401aaf20
lea rcx, [rbp + 0x7f]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x1401aadab
mov dword [rbp - 0x59], 0x67
mov edx, 0x18
lea ecx, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x1401aadea
call fcn.1400177e4
int3
mov rax, qword [rbp + 0x77]
mov qword [rbx + 0x10], rax
mov rdx, qword [rbp + 0x77]
mov rcx, qword [0x1402e4fa0]
call fcn.140178518
mov qword [rbx + 8], rax
and qword [rbx], 0
mov qword [rbp - 0x29], rbx
mov rax, qword [rdi]
mov r8, rbx
lea rdx, [rbp + 0x6f]
mov rcx, rdi
call qword [rax + 0x2c8]
nop
mov rax, qword [rbp + 0x6f]
mov edx, dword [rax - 0x10]
test edx, edx
jns 0x1401aae38
mov ecx, 0x80070057
call fcn.1400029ec
int3
mov r8d, 1
sub r8d, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edx
or ecx, r8d
jge 0x1401aae59
lea rcx, [rbp + 0x6f]
call fcn.140003294
mov rax, qword [rbp + 0x6f]
mov qword [rbp - 0x41], rax
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x2d0]
mov dword [rbp - 0x35], eax
mov rax, qword [rdi]
mov r8d, 1
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x2d0]
mov dword [rbp - 0x31], eax
mov dword [rbp - 0x2d], 1
movups xmm0, xmmword [rbp - 0x59]
movaps xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp - 0x49]
movaps xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rbp - 0x39]
movaps xmmword [rbp + 0x17], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp + 0x27], xmm1
mov qword [rbp - 0x11], 0xffffffffffff0002
mov qword [rbp - 0x19], 0xffffffffffff0000
lea r9, [rbp - 0x19]
xor r8d, r8d
mov edx, 0x1132
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, rax
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1401aaf1b
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
Function at 0x1401ad39c
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov bl, r8b
movzx ebp, dx
mov rdi, rcx
call qword [rax + 0x2f0]
mov ecx, ebp
mov edx, 2
mov esi, eax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test bl, bl
jne 0x1401ad3f3
test esi, esi
js 0x1401ad3f3
cmp ax, 0x20
je 0x1401ad3e5
cmp bp, 0x71
jne 0x1401ad3f3
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax + 0x320]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1401ae9a8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402e5968]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402dc9f4]
test eax, eax
je 0x1401ae9f3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402dc9f4]
test eax, eax
jne 0x1401ae9fc
call fcn.140024684
test eax, eax
je 0x1401aea18
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d35a8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401aea20
xor eax, eax
jmp 0x1401aea7d
test rbx, rbx
jne 0x1401aea40
lea rcx, str.ChooseColorW
call fcn.140073130
mov rbx, rax
test rax, rax
je 0x1401aea4b
mov qword [0x1402e5968], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1401aea60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401aea62
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401aea7b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1401ce3a8
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1401ce439
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1401ce439
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401ce439
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1401ce41d
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1401ce417
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1401ce41f
add rdx, 0x28
jmp 0x1401ce3fc
xor edx, edx
test rdx, rdx
jne 0x1401ce428
xor al, al
jmp 0x1401ce43f
test dword [rdx + 0x24], 0x80000000
je 0x1401ce435
xor al, al
jmp 0x1401ce43f
mov al, 1
jmp 0x1401ce43f
xor al, al
jmp 0x1401ce43f
add rsp, 0x18
ret
Function at 0x1401d10f4
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402d4b00]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, rcx
xor r15d, r15d
cmp qword [rcx + 0x68], r15
je 0x1401d127e
cmp byte [rcx + 0x72], r15b
je 0x1401d127e
mov rax, qword [rcx]
mov edi, 0xffff
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.1401cf09c
movzx edx, di
mov rcx, r12
call rbx
cmp di, ax
jne 0x1401d116b
xor al, al
jmp 0x1401d1280
mov edx, SafeArrayGetDim
mov qword [rbp - 0x18], rdx
xor ecx, ecx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x20], 8
lea rax, [rbp - 0x30]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], r15b
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
lea r9, [rbp - 0x30]
cmp rdx, 0x10
cmovae r9, r8
lea r14, [rbp - 0x30]
cmovae r14, r8
mov rsi, qword [r12 + 0x68]
mov rdx, qword [rsi]
mov rbx, qword [rbp - 0x20]
add rbx, r9
mov rdi, qword [rdx + 0x40]
mov rcx, rdi
call fcn.1401cf09c
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r14
lea rdx, [r12 + 0x74]
mov rcx, rsi
call rdi
mov ecx, eax
test eax, eax
je 0x1401d11ef
sub ecx, 1
jne 0x1401d1263
jmp 0x1401d11f4
mov byte [r12 + 0x72], r15b
lea rax, [rbp - 0x30]
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
cmovae rax, r8
mov rbx, qword [rbp - 0x40]
sub rbx, rax
je 0x1401d123f
lea rcx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rcx, r8
mov r9, qword [r12 + 0x80]
mov r8, rbx
mov edx, 1
call fcn.1401da700
cmp rbx, rax
jne 0x1401d126b
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x30]
cmp byte [r12 + 0x72], r15b
je 0x1401d1268
test rbx, rbx
jne 0x1401d119a
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.140008318
jmp 0x1401d1192
cmp ecx, 2
jne 0x1401d126b
mov r15b, 1
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.140007f08
mov al, r15b
jmp 0x1401d1280
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401ce180
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1401e834c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1401e8120
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401e8120
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401e8120
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401e8120
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401e8120
cmp dword [rcx + 0x84], 0xe
jbe 0x1401e8120
cmp dword [rcx + 0xf8], esi
je 0x1401e8120
mov ecx, r14d
call fcn.1401e8268
mov ecx, 2
call fcn.1401e9e48
nop
cmp byte [0x1402e7ce0], 0
jne 0x1401e81ea
mov r15d, 1
mov eax, r15d
xchg dword [0x1402e7cd4], eax
test ebx, ebx
jne 0x1401e8193
mov rdi, qword [0x1402d4b00]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1402e7cd8]
cmp rcx, rax
je 0x1401e818a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1401d1478]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1402e7cf0]
jmp 0x1401e819f
cmp ebx, r15d
jne 0x1401e81a5
lea rcx, [0x1402e7d08]
call fcn.1401e9bb4
nop
test ebx, ebx
jne 0x1401e81bc
lea rdx, [0x14020dc40]
lea rcx, [0x14020dc18]
call fcn.1401e7fe0
lea rdx, [0x14020dc50]
lea rcx, [0x14020dc48]
call fcn.1401e7fe0
movzx eax, byte [0x1402e7ce0]
test esi, esi
cmove eax, r15d
mov byte [0x1402e7ce0], al
jmp 0x1401e81ea
mov ecx, 2
call fcn.1401e9e9c
test esi, esi
jne 0x1401e8201
mov ecx, r14d
call fcn.1401e821c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1401e80b0
Function at 0x1401eeacc
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1401ee932
call fcn.1401d6a74
mov dword [rax], 0x16
call fcn.1401d6924
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401ee914
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1401ee914
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x1401ee964
lock or dword [rax + 0x14], 0x10
jmp 0x1401ee914
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1401ee981
mov rcx, qword [rbp + 0x20]
call fcn.1401ef054
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x1401ee996
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x1401ee99c
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1401e63e4
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1401f2160
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x1401ee9ef
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x1401ee914
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1401eea5b
mov rcx, qword [rbp + 0x20]
call fcn.1401e63e4
cmp eax, 0xffffffff
je 0x1401eea42
mov rcx, qword [rbp + 0x20]
call fcn.1401e63e4
cmp eax, 0xfffffffe
je 0x1401eea42
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1401e63e4
movsxd rdi, eax
lea r15, [0x1402e7f50]
mov rcx, rbx
sar rdi, 6
call fcn.1401e63e4
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x1401eea49
lea rax, [0x1402d50c0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1401eea5b
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x1401eea91
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1401eea8d
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1401eea8d
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x1401eeaaf
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x1401eeaba
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x1401ee919
jmp 0x1401ee8e0