joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140024944
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x140058b30]
test rcx, rcx
jne 0x14002489b
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x140024894
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400248c6
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x140024890
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x140058b30], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x140024939
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1400248e9
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], 0x20
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x140058b30]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x140024916
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x140024939
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x140058b30]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x14002491d
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x140024820
Function at 0x140026db4
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140026e3d
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x140026dff
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x140026e4d
mov ecx, 0x20b
cmp word [rax + 0x18], cx
je 0x140026e15
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x140026e4d
cmp dword [rax + 0x84], 0xe
ja 0x140026e29
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x140026e4d
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xb0], ebx
jmp 0x140026e4d
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
lea rdi, [0x140000000]
mov ecx, 1
call fcn.14002edf4
test eax, eax
jne 0x140026e7d
cmp dword [0x140058c18], 1
jne 0x140026e69
call fcn.14002f7e8
mov ecx, 0x1c
call fcn.14002f5c0
mov ecx, 0xff
call fcn.140027b88
call fcn.14002d270
test eax, eax
jne 0x140026ea8
cmp dword [0x140058c18], 1
jne 0x140026e94
call fcn.14002f7e8
mov ecx, 0x10
call fcn.14002f5c0
mov ecx, 0xff
call fcn.140027b88
call fcn.140030278
nop
call fcn.14002ff88
test eax, eax
jns 0x140026ec1
mov ecx, 0x1b
call fcn.140027b1c
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x14005b1c8], rax
call fcn.14002fef4
mov qword [0x140058c10], rax
call fcn.14002fe04
test eax, eax
jns 0x140026eec
mov ecx, 8
call fcn.140027b1c
call fcn.14002fb34
test eax, eax
jns 0x140026eff
mov ecx, 9
call fcn.140027b1c
mov ecx, 1
call fcn.140027c28
test eax, eax
je 0x140026f14
mov ecx, eax
call fcn.140027b1c
call fcn.14002fad8
test byte [rsp + 0x6c], 1
movzx edx, word [rsp + 0x70]
mov r9d, 0xa
cmovne r9d, edx
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.14001e390
mov edi, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x140026f4b
mov ecx, eax
call fcn.140027e64
call fcn.140027e7c
jmp 0x140026f6c
mov eax, edi
jmp 0x140026f75
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.1400302e8
add rsp, 0x28
jmp 0x140026db4

Function at 0x140027e64
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140027cd8
Function at 0x140027e70
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.140031280
nop
cmp dword [0x140058c70], 1
je 0x140027e10
mov dword [0x140058c6c], 1
mov byte [0x140058c68], r12b
test ebx, ebx
jne 0x140027dfc
mov rcx, qword [0x14005b1b0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140027de9
mov rcx, qword [0x14005b1a8]
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 0x140027d88
call fcn.14002cf48
cmp qword [rdi], rax
jne 0x140027d88
jmp 0x140027d6e
cmp rdi, rsi
jb 0x140027de9
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14002cf48
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14005b1b0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14005b1a8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140027dc7
cmp r13, rax
je 0x140027de7
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 0x140027d6e
lea rdx, [0x140044a48]
lea rcx, [0x140044a30]
call fcn.140027bb8
lea rdx, [0x140044a58]
lea rcx, [0x140044a50]
call fcn.140027bb8
nop
test r12d, r12d
je 0x140027e1f
mov ecx, 8
call fcn.140031180
test r12d, r12d
jne 0x140027e4a
mov dword [0x140058c70], 1
lea ecx, [r12 + 8]
call fcn.140031180
mov ecx, r15d
call fcn.140027b4c
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
lea edx, [r8 + 1]
jmp 0x140027cd8
Function at 0x14002ed4f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140056b28]
jne 0x14002597a
rol rcx, 0x10
test cx, 0xffff
jne 0x140025976
repz ret
ror rcx, 0x10
jmp 0x14002eca8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140058d80]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140058e78]
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 0x14002ed2d
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, [0x140058d80]
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 0x14002ed4f
mov rax, qword [rsp + 0x88]
mov qword [0x140058e78], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140058e18], rax
mov rax, qword [0x140058e78]
mov qword [0x140058cf0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140058e00], rax
mov dword [0x140058ce0], 0xc0000409
mov dword [0x140058ce4], 1
mov rax, qword [0x140056b28]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140056b30]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140058d78], eax
mov ecx, 1
call fcn.14002fa74
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140046d10]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140058d78], 0
jne 0x14002edd6
mov ecx, 1
call fcn.14002fa74
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 0x140036978
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.14002cf48
xor ebx, ebx
mov rdi, rax
cmp qword [0x140059b88], rbx
jne 0x140036a7e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140036b53
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140036b53
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140049318]
mov rcx, rsi
mov qword [0x140059b88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140059b90], 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 [0x140059b98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140059ba8], rax
test rax, rax
je 0x140036a75
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140059ba0], rax
jmp 0x140036a85
mov rax, qword [0x140059ba0]
jmp 0x140036a8c
mov rax, qword [0x140059ba0]
mov r11, qword [0x140059ba8]
cmp rax, rdi
je 0x140036af4
cmp r11, rdi
je 0x140036af4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140059ba8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140036af4
test rax, rax
je 0x140036af4
call rsi
test rax, rax
je 0x140036aee
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140036aee
test byte [rsp + 0x38], 1
jne 0x140036af4
bts ebp, 0x15
jmp 0x140036b32
mov rcx, qword [0x140059b90]
cmp rcx, rdi
je 0x140036b32
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140036b32
call rax
mov rbx, rax
test rax, rax
je 0x140036b32
mov rcx, qword [0x140059b98]
cmp rcx, rdi
je 0x140036b32
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140036b32
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140059b88]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140036b53
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140036b55
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 0x14003d300
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call fcn.14003d190
movzx eax, al
test eax, eax
jne 0x14003d323
xor al, al
jmp 0x14003d349
mov rcx, qword [rsp + 0x38]
call fcn.14000dad0
mov rdx, rax
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x14003d347
xor al, al
jmp 0x14003d349
mov al, 1
add rsp, 0x28
ret
Function at 0x14003d360
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x50]
call fcn.14003d190
movzx eax, al
test eax, eax
jne 0x14003d388
xor al, al
jmp 0x14003d3eb
mov dword [rsp + 0x34], 4
mov rcx, qword [rsp + 0x58]
call fcn.14000dad0
mov rdx, rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14003d3da
cmp dword [rsp + 0x30], 4
je 0x14003d3de
cmp dword [rsp + 0x30], 5
je 0x14003d3de
xor al, al
jmp 0x14003d3eb
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x38]
mov dword [rcx], eax
mov al, 1
add rsp, 0x48
ret

Function at 0x14003d400
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x50]
call fcn.14003d190
movzx eax, al
test eax, eax
jne 0x14003d428
xor al, al
jmp 0x14003d471
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x58]
call fcn.14000dad0
mov rdx, rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14003d46f
xor al, al
jmp 0x14003d471
mov al, 1
add rsp, 0x48
ret

Function at 0x14003d480
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x38
mov rcx, qword [rsp + 0x50]
call fcn.14003d190
movzx eax, al
test eax, eax
jne 0x14003d4ad
xor al, al
jmp 0x14003d550
mov rcx, qword [rsp + 0x60]
call fcn.14000edf0
test rax, rax
jne 0x14003d4fc
mov rcx, qword [rsp + 0x58]
call fcn.14000dad0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 3
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14003d4fa
xor al, al
jmp 0x14003d550
jmp 0x14003d54e
mov rcx, qword [rsp + 0x60]
call fcn.14000edf0
mov rdi, rax
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14000ee10
mov rbx, rax
mov rcx, qword [rsp + 0x58]
call fcn.14000dad0
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
mov r9d, 3
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14003d54e
xor al, al
jmp 0x14003d550
mov al, 1
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x14003d600
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x80
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov dword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x90]
call fcn.14003d190
movzx eax, al
test eax, eax
jne 0x14003d661
mov rcx, qword [rsp + 0x98]
call fcn.14000ec40
mov eax, dword [rsp + 0x68]
or eax, 1
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x98]
jmp 0x14003d76d
lea rcx, [rsp + 0x38]
call fcn.14000ec40
nop
mov rcx, qword [rsp + 0xa0]
call fcn.14000dad0
mov rdx, rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14003d6b4
cmp dword [rsp + 0x30], 3
je 0x14003d6e3
mov rcx, qword [rsp + 0x98]
call fcn.14000ec40
mov eax, dword [rsp + 0x68]
or eax, 1
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x38]
call fcn.14000ed90
mov rax, qword [rsp + 0x98]
jmp 0x14003d76d
cmp dword [rsp + 0x34], 0
jbe 0x14003d73e
mov edx, dword [rsp + 0x34]
lea rcx, [rsp + 0x38]
call fcn.14000edc0
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14000ee10
mov rbx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.14000dad0
mov rdx, rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x98]
call fcn.14000ec90
mov eax, dword [rsp + 0x68]
or eax, 1
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x38]
call fcn.14000ed90
mov rax, qword [rsp + 0x98]
add rsp, 0x80
pop rbx
ret
Function at 0x14003e0e0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x310
mov qword [rsp + 0x2f0], 0xfffffffffffffffe
mov rax, qword [0x140056b28]
xor rax, rsp
mov qword [rsp + 0x308], rax
mov rcx, qword [rsp + 0x320]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14003e129
xor al, al
jmp 0x14003e2ce
mov rcx, qword [rsp + 0x320]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
jmp 0x14003e151
mov eax, dword [rsp + 0x28]
add eax, 1
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp rax, 9
jae 0x14003e2cc
mov eax, dword [rsp + 0x28]
lea rdx, str.7z.dll
mov rdx, qword [rdx + rax*8]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
je 0x14003e2c7
movzx eax, byte [0x140059e8c]
test eax, eax
jne 0x14003e236
xor eax, eax
mov word [rsp + 0x60], ax
lea rdi, [rsp + 0x62]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x328]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x270]
call fcn.140001050
nop
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x298]
call fcn.14003dd50
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x300], rax
mov rdx, qword [rsp + 0x300]
lea rcx, [0x140059e90]
call fcn.140001120
nop
lea rcx, [rsp + 0x298]
call fcn.140001100
nop
lea rcx, [rsp + 0x270]
call fcn.140001100
mov byte [0x140059e8c], 1
mov rdx, qword [rsp + 0x320]
lea rcx, [rsp + 0x2c0]
call fcn.140001050
nop
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x38]
call fcn.14003dd50
nop
lea rcx, [rsp + 0x2c0]
call fcn.140001100
lea rdx, [0x140059e90]
lea rcx, [rsp + 0x38]
call fcn.140001980
movzx eax, al
test eax, eax
je 0x14003e2a1
mov byte [rsp + 0x2e8], 0
lea rcx, [rsp + 0x38]
call fcn.140001100
mov al, byte [rsp + 0x2e8]
jmp 0x14003e2ce
mov byte [rsp + 0x2e9], 1
lea rcx, [rsp + 0x38]
call fcn.140001100
mov al, byte [rsp + 0x2e9]
jmp 0x14003e2ce
jmp 0x14003e146
mov al, 1
mov rcx, qword [rsp + 0x308]
xor rcx, rsp
call fcn.140025960
add rsp, 0x310
pop rdi
ret
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc qword [r8]
inc qword [rbx]
push rax
inc dword [rcx]
push rcx
inc dword [rbx]
push rbp
push rsi
inc dword [rax]
push rbp
push rbp
inc dword [rax]
pop rax
pop rax
inc dword [rax]
pop rdx
pop rdx
inc dword [rcx]
pop rbx
pop rbx
dec dword [0x14d036110]
jae 0x14003f715
inc dword [rax + rsi*2]
push 0xffffffffffffffff
or bh, byte [rax + 0x72]
call qword [rsi]
mov byte [rcx - 0x7871e501], al
cmp edi, 0xff878e1a
sbb byte [rcx - 0x6be50077], dl
invalid
call [rax]
xchg esi, eax
nop
jmp qword [rdx]
cmp edi, 0xff878e1a
sbb byte [rcx - 0x6be50077], dl
invalid
and dword [rbx - 0x61e20064], esp
cdq
call [rax]
pushfq
xchg esi, eax
call qword [rsi]
invalid
xchg ebx, eax
call [rax]
pushfq
xchg esi, eax
call [0x183038f7f]
lodsd eax, dword [rsi]
mov ah, 0xff
pushfq
cmpsd dword [rsi], dword [rdi]
call qword [rax]
push rsp
inc dword [eax]
invalid
cmp edi, edi
add byte [rdi], cl
xor edi, edi
adc bl, byte [rbx]
dec dword [rax + r10]
dec dword [r14]
adc al, byte [rbp - 1]
add edx, dword [rcx]
inc dword [r8]
add byte [rbx], dl
inc dword [rax]
adc eax, 0x1800ff47
add byte [rbx], dl
inc dword [rax]
adc eax, 0x1800ff47
inc dword [r9]
add dword [rax], ebx
inc dword [rdi]
invalid
sbb byte [rsi - 1], al
invalid
Function at 0x140b3e160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b3e2e7
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 0x140b3e191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b3e177
add dl, dl
jne 0x140b3e19e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b3e1fe
xor eax, eax
add dl, dl
jne 0x140b3e1ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b3e2b5
add dl, dl
jne 0x140b3e1be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b3e1cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b3e1d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b3e1e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b3e1f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b3e186
mov eax, 1
add dl, dl
jne 0x140b3e20e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b3e21b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b3e203
sub eax, ebx
mov ebx, 1
jne 0x140b3e254
mov ecx, 1
add dl, dl
jne 0x140b3e236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b3e243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b3e22b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b3e186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b3e270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b3e27d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b3e265
cmp eax, 0x7d00
jae 0x140b3e2a3
cmp eax, 0x500
jb 0x140b3e29e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b3e186
cmp eax, 0x7f
ja 0x140b3e2a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b3e186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b3e2da
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 0x140b3e186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20