joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001bed0
Capabilities:
Extract resource via kernel32 functions

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
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14001bf38
call fcn.14002c6ec
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x14001bf38
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14001bf5a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14001b8e8
mov esi, eax
test rdi, rdi
je 0x14001bf58
test rbx, rbx
je 0x14001bf58
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x14001d168
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x14001d1a6
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x14001d25a
call fcn.14001323c
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14001d1c5
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14005fee0
test eax, eax
je 0x14001d22d
cmp eax, 0xc
je 0x14001d227
cmp eax, 0x16
je 0x14001d221
cmp eax, 0x22
je 0x14001d221
cmp eax, 0x50
je 0x14001d22d
call fcn.140013114
int3
call fcn.140013114
int3
call fcn.1400130cc
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x14001d258
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140023e5c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp 0x140023e5c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r13, rdx
mov r12, rcx
call fcn.14002c6ec
mov rbx, qword [rax + 0x18]
mov r8d, 0xf1
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor r14d, r14d
cmp rax, r14
jne 0x140023ea2
xor eax, eax
jmp 0x140023f7b
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
cmp rax, r14
je 0x140023e9b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
cmp rax, r14
je 0x140023e9b
movzx ecx, word [rax + 6]
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140011218
mov r9d, r14d
mov rbp, rax
cmp r14w, word [rbx + 6]
jae 0x140023f14
mov rdx, rax
lea r8, [rbx + 8]
movzx ecx, word [r8]
inc r9d
add r8, 2
mov dword [rdx], ecx
movzx eax, word [rbx + 6]
add rdx, 4
cmp r9d, eax
jl 0x140023efa
movzx r8d, word [rbx + 6]
mov rdx, rbp
mov rcx, r12
call fcn.140022670
mov rcx, rbp
mov esi, eax
call fcn.140011264
cmp esi, r14d
je 0x140023f70
movzx ecx, word [rbx + 4]
movzx eax, word [rbx + 2]
mov dword [rsp + 0x60], eax
add eax, 7
mov dword [rsp + 0x64], ecx
mov r8, qword [rsp + 0x60]
mov dword [rsp + 0x68], eax
lea eax, [rcx + 7]
mov dword [rsp + 0x6c], eax
mov rdx, qword [rsp + 0x68]
mov rcx, r12
call fcn.140022ea0
mov rdx, r13
mov rcx, r12
call fcn.140022f74
mov esi, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x14002d530
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x14002d553
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.1400464c4
add rsp, 0x20
pop rbx
ret

Function at 0x14002d55c
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14002d57f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.1400464c4
add rsp, 0x20
pop rbx
ret
Function at 0x1400342f4
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xa8], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x14003436b
call fcn.140034280
mov rsi, rax
test rax, rax
jne 0x140034327
mov eax, edi
jmp 0x140034381
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
cmove edi, dword [rsp + 0x30]
jmp 0x140034323
mov r9, qword [rcx + 0xd0]
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140034c88
Capabilities:
Extract resource via kernel32 functions

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 r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x140034cfa
call fcn.14002c6ec
mov r8d, 0xf0
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140034cfa
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140034d47
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x140034d27
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x140034d27
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x140034d45
mov rcx, qword [rbp + 0x98]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x14003d944
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rdi, r9
mov rsi, r8
mov rbx, rcx
lea rcx, [rsp + 0x40]
call fcn.140012be8
nop
cmp rbx, 0xffffffff80000000
jne 0x14003d9d0
call fcn.14002bca4
cmp eax, 1
jne 0x14003d9d0
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x20]
call fcn.140032da0
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002170
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003d9c9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov rbx, 0xffffffff80000001
mov r9, rdi
mov r8, rsi
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14003da07
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14003da1c
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rdi, r9
mov esi, r8d
mov rbx, rcx
lea rcx, [rsp + 0x50]
call fcn.140012be8
nop
cmp rbx, 0xffffffff80000000
jne 0x14003daa8
call fcn.14002bca4
cmp eax, 1
jne 0x14003daa8
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x30]
call fcn.140032da0
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140002170
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003daa1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov rbx, 0xffffffff80000001
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov r8d, esi
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14003dae7
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140060ce4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14006a1f4
nop
cmp dword [0x14026d100], 1
je 0x140060c90
mov dword [0x14026d0fc], 1
mov byte [0x14026d0f8], r12b
test ebx, ebx
jne 0x140060c7c
mov rcx, qword [0x14026f1f0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140060c69
mov rcx, qword [0x14026f1e8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140060c08
call fcn.1400625a8
cmp qword [rdi], rax
jne 0x140060c08
jmp 0x140060bee
cmp rdi, rsi
jb 0x140060c69
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400625a8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14026f1f0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14026f1e8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140060c47
cmp r13, rax
je 0x140060c67
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140060bee
lea rdx, [0x14007b0d0]
lea rcx, [0x14007b0b8]
call fcn.140060a38
lea rdx, [0x14007b0e0]
lea rcx, [0x14007b0d8]
call fcn.140060a38
nop
test r12d, r12d
je 0x140060c9f
mov ecx, 8
call fcn.14006a0f4
test r12d, r12d
jne 0x140060cca
mov dword [0x14026d100], 1
lea ecx, [r12 + 8]
call fcn.14006a0f4
mov ecx, r15d
call fcn.1400609cc
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140060b58

Function at 0x140060cf0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140060b58
Function at 0x14006582f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140267a28]
jne 0x14005efca
rol rcx, 0x10
test cx, 0xffff
jne 0x14005efc6
repz ret
ror rcx, 0x10
jmp 0x140065788
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14026d1d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14026d2c8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14006580d
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, [0x14026d1d0]
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.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14006582f
mov rax, qword [rsp + 0x88]
mov qword [0x14026d2c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14026d268], rax
mov rax, qword [0x14026d2c8]
mov qword [0x14026d140], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14026d250], rax
mov dword [0x14026d130], 0xc0000409
mov dword [0x14026d134], 1
mov rax, qword [0x140267a28]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140267a30]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14026d1c8], eax
mov ecx, 1
call fcn.14006ba98
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14008c920]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14026d1c8], 0
jne 0x1400658b6
mov ecx, 1
call fcn.14006ba98
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 0x14006d4b0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400625a8
xor ebx, ebx
mov rdi, rax
cmp qword [0x14026def0], rbx
jne 0x14006d5b6
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14006d68b
lea rdx, [0x14008e3a8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14006d68b
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14008e398]
mov rcx, rsi
mov qword [0x14026def0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14008e380]
mov rcx, rsi
mov qword [0x14026def8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14026df00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14026df10], rax
test rax, rax
je 0x14006d5ad
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14026df08], rax
jmp 0x14006d5bd
mov rax, qword [0x14026df08]
jmp 0x14006d5c4
mov rax, qword [0x14026df08]
mov r11, qword [0x14026df10]
cmp rax, rdi
je 0x14006d62c
cmp r11, rdi
je 0x14006d62c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14026df10]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14006d62c
test rax, rax
je 0x14006d62c
call rsi
test rax, rax
je 0x14006d626
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14006d626
test byte [rsp + 0x38], 1
jne 0x14006d62c
bts ebp, 0x15
jmp 0x14006d66a
mov rcx, qword [0x14026def8]
cmp rcx, rdi
je 0x14006d66a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14006d66a
call rax
mov rbx, rax
test rax, rax
je 0x14006d66a
mov rcx, qword [0x14026df00]
cmp rcx, rdi
je 0x14006d66a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14006d66a
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14026def0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14006d68b
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14006d68d
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140001000
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
lea ebp, [rcx + 0x190]
mov edx, r8d
mov ebx, r8d
xor edx, 0x1c9
mov edi, r8d
add r9d, 0xffffd9b6
xor edi, 0x1b9
xor ebx, 0x353
lea eax, [rdx - 0x1a7]
cmp edi, eax
je 0x1400010dc
lea eax, [r9 + 0x23ff]
cmp edi, eax
jle 0x1400010a1
mov eax, dword [rsi + 0x80]
lea r10, [0x1400d7010]
add eax, 0x3abbbf4c
mov qword [r11 - 0x18], r10
mov dword [rsi], eax
lea r8d, [rdi + 0x76]
lea eax, [rdx + 0x10d]
xor r9d, 0x2537
mov edx, ebx
mov dword [rsp + 0x28], eax
xor edx, 0x1e9
mov dword [r11 - 0x28], r8d
lea ecx, [rbx - 0x2af]
call fcn.140011c34
mov r9d, eax
jmp 0x1400010dc
mov eax, ebx
lea edx, [rcx + 0x1f9]
sub eax, dword [rsi + 0xc0]
cmp edx, eax
jae 0x1400010dc
mov ecx, dword [0x1400d7150]
imul eax, dword [rsi + 0xc4], 0x249d
add edx, 4
xor ecx, eax
mov eax, ebx
xor ecx, ebp
mov dword [0x1400d7150], ecx
sub eax, dword [rsi + 0xc0]
cmp edx, eax
jb 0x1400010b9
cmp dword [rsi + 0x110], 0xa137
jbe 0x1400010fe
mov rax, qword [section..data]
mov ecx, dword [rax + 0x1c]
add ecx, 0x9f42
mov dword [0x1400d7060], ecx
lea eax, [r9 + 0xe6]
cmp ebp, eax
jle 0x140001154
mov eax, r9d
xor eax, 0x1a7
cmp ebp, eax
jle 0x140001140
mov r8d, edi
lea eax, [r9 - 0x1bb]
xor edi, 0x288
mov dword [rsp + 0x20], eax
mov ecx, edi
add r9d, 0xfffffff9
xor r8d, 0x303
mov rdx, rsi
call fcn.1400123c8
jmp 0x140001154
mov ecx, dword [0x1400d7080]
sub ecx, dword [0x1400d705c]
sub ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbp, qword [rsp + 0x58]
lea eax, [rbx - 0x28c]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400013f0
Capabilities:
Allocate or change rwx memory

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, 0x30
mov edi, dword [rsp + 0x78]
lea ebp, [rdx - 0x25c]
mov esi, r9d
mov r14d, edi
add r9d, 0xffffdab6
xor r14d, 0x172
xor esi, 0x254a
mov rbx, r8
lea r12d, [rdi - 0x2639]
xor edi, 0x5c6
lea eax, [r9 + 0x274b]
cmp r14d, eax
jg 0x140001586
lea eax, [rbp + 0x22]
cmp esi, eax
jg 0x1400014e5
mov eax, dword [0x1400d70e8]
cmp dword [0x1400d7150], eax
ja 0x1400014a0
mov rax, qword [section..data]
mov r8d, dword [r8 + 0x78]
mov edx, dword [rbx + 0x48]
mov ecx, dword [rax + 0x90]
add ecx, 0x2fff
add r8d, ecx
xor ecx, ecx
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
add rax, 0x5800
mov qword [0x1400d7108], rax
cmp dword [rbx + 0x4c], 0xfb3d
ja 0x1400014ba
mov eax, dword [rbx + 0xac]
add eax, 0xe6f92
mov dword [0x1400d707c], eax
mov eax, dword [0x1400d70a0]
add edi, 0xd
cmp dword [rbx + 0x30], eax
jb 0x140001586
mov eax, dword [rbx + 0xa4]
sub eax, dword [rbx + 0x110]
add eax, 0x1ba0a2
xor dword [rbx + 0x6c], eax
jmp 0x140001586
mov ecx, dword [r8 + 0xb0]
mov rax, qword [section..data]
sub ecx, esi
add ecx, r9d
cmp dword [rax + 0x18], ecx
jb 0x140001586
mov eax, dword [0x1400d70d4]
mov r15d, ebp
imul eax, esi
cmp ebp, eax
jne 0x140001586
mov edx, dword [rbx + 0xd0]
mov eax, dword [rbx + 0xcc]
add edx, r14d
mov r9d, dword [rbx + 0x10c]
sub eax, 0x274b
mov ecx, dword [rbx + 0x34]
or r9d, r12d
mov r8d, dword [rbx + 8]
and eax, ebp
and ecx, dword [0x1400d7090]
sub r9d, 0x249d
sub r8d, dword [rbx + 0x64]
and ecx, r12d
mov dword [rsp + 0x28], edx
lea rdx, [0x1400d7010]
mov dword [rsp + 0x20], eax
call fcn.140011ee0
mov ecx, r12d
mov edx, esi
sub ecx, dword [rbx + 0xc0]
or rcx, rdx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1400d70d4]
add r15d, 2
imul ecx, esi
cmp r15d, ecx
je 0x140001511
mov rbx, qword [rsp + 0x50]
xor edi, 0x2ac
mov rbp, qword [rsp + 0x58]
mov eax, edi
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x14000c128
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14000c105
call fcn.14000adf8
mov dword [rax], 0x16
call fcn.14000acd8
or eax, 0xffffffff
jmp 0x14000c122
sub dword [rcx + 0x10], 1
jns 0x14000c114
add rsp, 0x28
jmp 0x14000eeec
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14000c0e4
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
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14000ed8c
call fcn.14000adf8
mov dword [rax], 0x16
call fcn.14000acd8
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14000ed74
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14000ed74
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14000edbe
lock or dword [rax + 0x14], 0x10
jmp 0x14000ed74
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14000eddb
mov rcx, qword [rbp + 0x10]
call fcn.14000eef4
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14000bf28
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400102ec
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14000ee32
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14000ed74
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14000ee9e
mov rcx, qword [rbp + 0x10]
call fcn.14000bf28
cmp eax, 0xffffffff
je 0x14000ee85
mov rcx, qword [rbp + 0x10]
call fcn.14000bf28
cmp eax, 0xfffffffe
je 0x14000ee85
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14000bf28
movsxd rdi, eax
lea rsi, [0x14016ec60]
mov rcx, rbx
sar rdi, 6
call fcn.14000bf28
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14000ee8c
lea rax, [0x14016e100]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14000ee9e
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14000eed4
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14000eed0
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14000eed0
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14000ed77
jmp 0x14000ed44