joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bc470
Capabilities:
Allocate or change rwx memory
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, r9
mov r14, r8
mov rsi, rcx
cmp edx, 0x40
jb 0x1400bc659
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400bc659
movsxd rcx, dword [rcx + 0x3c]
lea eax, [rcx + 0x108]
cmp edx, eax
jl 0x1400bc659
lea rbx, [rsi + rcx]
cmp dword [rbx], 0x4550
jne 0x1400bc659
mov eax, 0x2000
test word [rbx + 0x16], ax
jne 0x1400bc659
test byte [rbx + 0x16], 2
je 0x1400bc659
mov ecx, 0xe0
cmp word [rbx + 0x14], cx
je 0x1400bc4ff
lea eax, [rcx + 0x10]
cmp word [rbx + 0x14], ax
jne 0x1400bc659
lea rdi, [rbx + 0x108]
cmp word [rbx + 0x14], cx
jne 0x1400bc513
lea rdi, [rbx + 0xf8]
mov r9, rdi
mov r8, rbx
mov rcx, rsi
call fcn.1400b9fe4
mov r13, qword [rsp + 0x78]
mov rdx, rax
mov qword [r13], rax
xor eax, eax
cmp rdx, rax
je 0x1400bc65b
movzx eax, word [rbx + 6]
mov ebp, dword [rbx + 0x54]
xor ebx, ebx
cmp eax, ebx
jle 0x1400bc55f
add rdi, 0x14
mov rcx, rax
cmp dword [rdi], ebx
je 0x1400bc555
cmp dword [rdi], ebp
cmovb ebp, dword [rdi]
add rdi, 0x28
sub rcx, 1
jne 0x1400bc54c
movsxd rax, dword [rsi + 0x3c]
mov edi, 0x1000
mov r9d, 0x40
mov rcx, qword [rax + rsi + 0x30]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r12, qword [rsp + 0x70]
mov qword [r12], rax
cmp rax, rbx
jne 0x1400bc5ac
mov rdx, qword [r13]
mov r9d, 0x40
mov r8d, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [r12], rax
cmp rax, rbx
je 0x1400bc659
mov rcx, qword [r12]
mov r8d, ebp
mov rdx, rsi
call fcn.14001a478
mov r11, qword [r12]
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov qword [r14], rcx
lea r10, [rcx + 0x108]
mov qword [r15], r10
mov r9, qword [r14]
mov ecx, dword [r9 + 0x54]
mov edx, dword [r9 + 0x38]
call fcn.1400b9fd0
mov ebp, ebx
mov rdi, rax
add rdi, qword [r12]
cmp bx, word [r9 + 6]
jae 0x1400bc652
mov eax, dword [rbx + r10 + 0xc]
test eax, eax
je 0x1400bc603
mov rdi, rax
add rdi, qword [r12]
mov eax, dword [rbx + r10 + 0x10]
test eax, eax
je 0x1400bc62e
mov edx, dword [rbx + r10 + 0x14]
mov r8, rax
mov rcx, rdi
add rdx, rsi
call fcn.14001a478
mov r10, qword [r15]
mov ecx, dword [rbx + r10 + 0x10]
cmp dword [rbx + r10 + 8], ecx
jb 0x1400bc633
mov ecx, dword [rbx + r10 + 8]
mov rax, qword [r14]
mov edx, dword [rax + 0x38]
call fcn.1400b9fd0
mov rcx, qword [r14]
inc ebp
movzx edx, word [rcx + 6]
add rdi, rax
add rbx, 0x28
cmp ebp, edx
jl 0x1400bc5f3
mov eax, 1
jmp 0x1400bc65b
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400c374c
Capabilities:
Capture screenshot

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
xor edi, edi
mov ebp, edx
mov r12, rcx
cmp edx, edi
jl 0x1400c38b0
lea rdx, [rax - 0x38]
mov dword [rax - 0x38], edi
mov dword [rax - 0x34], edi
mov dword [rax - 0x30], edi
mov dword [rax - 0x2c], edi
call qword [sym.imp.USER32.dll_GetClientRect]
mov r13d, dword [rsp + 0x68]
mov r14d, dword [rsp + 0x6c]
mov rcx, r12
sub r13d, dword [rsp + 0x60]
sub r14d, dword [rsp + 0x64]
call qword [sym.imp.USER32.dll_GetDC]
lea ecx, [rdi + 0xf]
mov rsi, rax
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, rsi
mov r15d, eax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, r14d
mov edx, r13d
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
cmp rax, rdi
je 0x1400c37ee
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, r14d
mov edx, r13d
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
xor edi, edi
cmp rax, rdi
je 0x1400c3825
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rdx, [rsp + 0x60]
mov r8d, ebp
mov rcx, rbx
call fcn.1400bbc70
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov r9d, r13d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r14d
call fcn.1400c3568
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov r9d, r13d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.GDI32.dll_BitBlt]
cmp rbx, rdi
je 0x1400c389f
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
cmp rsi, rdi
je 0x1400c38b0
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400c484c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov r9, rdx
mov rbx, rcx
cmp rdx, rdi
je 0x1400c48d7
cmp dword [rdx], edi
jge 0x1400c486c
cmp dword [rdx + 4], edi
jl 0x1400c48d7
movzx r10d, di
mov r11d, 1
movsx ecx, r10w
add r10w, r11w
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
movsxd r8, eax
mov eax, ecx
cdq
and eax, r11d
xor eax, edx
sub eax, edx
movsxd rcx, eax
mov eax, dword [r9]
add r9, 4
cmp r10w, 2
lea rdx, [rcx + r8*2]
mov dword [rbx + rdx*4 + 0x6c], eax
jl 0x1400c4876
mov ecx, dword [rbx + 0x70]
cmp ecx, edi
jl 0x1400c48bf
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0x88], rax
mov ecx, dword [rbx + 0x78]
cmp ecx, edi
jl 0x1400c48d3
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0x90], rax
mov byte [rbx + 0x6b], dil
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400ca8c8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov r9, rdx
mov rbx, rcx
cmp rdx, rdi
je 0x1400ca998
cmp dword [rdx], edi
jge 0x1400ca8ff
cmp dword [rdx + 4], edi
jge 0x1400ca8ff
cmp dword [rdx + 8], edi
jge 0x1400ca8ff
cmp dword [rdx + 0xc], edi
jl 0x1400ca998
mov esi, 4
movzx r10d, di
lea r11d, [rsi - 3]
movsx ecx, r10w
add r10w, r11w
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
movsxd r8, eax
mov eax, ecx
cdq
and eax, r11d
xor eax, edx
sub eax, edx
movsxd rcx, eax
mov eax, dword [r9]
add r9, rsi
cmp r10w, si
lea rdx, [rcx + r8*2 + 0x1e]
mov dword [rbx + rdx*4], eax
jl 0x1400ca90c
mov ecx, dword [rbx + 0x7c]
cmp ecx, edi
jl 0x1400ca953
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0x98], rax
mov ecx, dword [rbx + 0x84]
cmp ecx, edi
jl 0x1400ca96a
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0xa0], rax
mov eax, dword [rbx + 0x84]
mov byte [rbx + 0xa8], dil
cmp eax, edi
jl 0x1400ca998
cmp eax, dword [rbx + 0x7c]
jne 0x1400ca998
mov eax, dword [rbx + 0x78]
cmp dword [rbx + 0x80], eax
jne 0x1400ca998
mov al, byte [rbx + 0x69]
cmp al, dil
jle 0x1400ca998
neg al
mov byte [rbx + 0x69], al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400cacdc
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x60
mov rdi, rcx
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_GetParent]
mov r12, rax
test rax, rax
je 0x1400cae33
mov rcx, qword [rdi + 0xc0]
test rcx, rcx
je 0x1400cad1f
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rdi + 0x20]
and qword [rdi + 0xc0], 0
and dword [rsp + 0x50], 0
and dword [rsp + 0x54], 0
and dword [rsp + 0x58], 0
and dword [rsp + 0x5c], 0
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowRect]
and dword [rsp + 0x80], 0
and dword [rsp + 0x84], 0
lea rdx, [rsp + 0x80]
mov rcx, r12
call qword [sym.imp.USER32.dll_ClientToScreen]
mov r8d, dword [rsp + 0x84]
mov edx, dword [rsp + 0x80]
mov ebp, dword [rsp + 0x58]
mov esi, dword [rsp + 0x5c]
lea rcx, [rsp + 0x50]
sub ebp, dword [rsp + 0x50]
sub esi, dword [rsp + 0x54]
neg r8d
neg edx
call qword [sym.imp.USER32.dll_OffsetRect]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r13, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, esi
mov edx, ebp
mov rcx, r13
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, rbx
mov rdx, rax
mov qword [rdi + 0xc0], rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ecx
mov ecx, dword [rsp + 0x50]
mov r9d, ebp
mov dword [rsp + 0x30], ecx
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], r13
mov rdi, rax
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
test rbx, rbx
je 0x1400cae22
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
test r13, r13
je 0x1400cae33
mov rdx, r13
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret

Function at 0x1400cbdbc
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 0xffdf
and cx, ax
mov eax, 0x41
cmp ax, cx
je 0x1400cbde5
mov eax, 0x42
cmp ax, cx
je 0x1400cbde5
mov eax, 0xfffffffe
jmp 0x1400cbe0e
mov word [rsp + 0x38], cx
mov eax, 0x3a
lea rcx, [rsp + 0x38]
xor ebx, ebx
mov word [rsp + 0x3a], ax
mov word [rsp + 0x3c], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
setne bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400cbee8
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [rsp + 0xc8]
mov qword [r11 - 0x30], rax
mov rax, qword [rsp + 0xc0]
mov qword [r11 - 0x38], rax
mov rax, qword [rsp + 0xb8]
mov qword [r11 - 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [r11 - 0x48], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x50], eax
jmp 0x1400cbf4e
add rsp, 0x78
ret
Function at 0x1400d2dd0
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.1400d63ec
nop
cmp dword [0x140108200], 1
je 0x1400d2d7c
mov dword [0x1401081fc], 1
mov byte [0x1401081f8], r12b
test ebx, ebx
jne 0x1400d2d68
mov rcx, qword [0x140109350]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400d2d55
mov rcx, qword [0x140109348]
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 0x1400d2cf4
call fcn.1400d24ec
cmp qword [rdi], rax
jne 0x1400d2cf4
jmp 0x1400d2cda
cmp rdi, rsi
jb 0x1400d2d55
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400d24ec
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140109350]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140109348]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400d2d33
cmp r13, rax
je 0x1400d2d53
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 0x1400d2cda
lea rdx, [0x1400e9268]
lea rcx, [0x1400e9250]
call fcn.1400d2b24
lea rdx, [0x1400e9278]
lea rcx, [0x1400e9270]
call fcn.1400d2b24
nop
test r12d, r12d
je 0x1400d2d8b
mov ecx, 8
call fcn.1400d62ec
test r12d, r12d
jne 0x1400d2db6
mov dword [0x140108200], 1
lea ecx, [r12 + 8]
call fcn.1400d62ec
mov ecx, r15d
call fcn.1400d2ab8
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 0x1400d2c44

Function at 0x1400d2ddc
Capabilities:
Terminate process

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

Disassembly:
cmp rcx, qword [0x1401054e0]
jne 0x1400d4f2a
rol rcx, 0x10
test cx, 0xffff
jne 0x1400d4f26
repz ret
ror rcx, 0x10
jmp 0x1400e0058
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140108bc0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140108cb8]
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 0x1400e00dd
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, [0x140108bc0]
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 0x1400e00ff
mov rax, qword [rsp + 0x88]
mov qword [0x140108cb8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140108c58], rax
mov rax, qword [0x140108cb8]
mov qword [0x140108b30], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140108c40], rax
mov dword [0x140108b20], 0xc0000409
mov dword [0x140108b24], 1
mov rax, qword [0x1401054e0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1401054e8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140108bb8], eax
mov ecx, 1
call fcn.1400df16c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400faef0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140108bb8], 0
jne 0x1400e0186
mov ecx, 1
call fcn.1400df16c
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 0x1400e17b8
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.1400d24ec
xor ebx, ebx
mov rdi, rax
cmp qword [0x140109098], rbx
jne 0x1400e18be
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400e1993
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400e1993
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400faf50]
mov rcx, rsi
mov qword [0x140109098], 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 [0x1401090a0], 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 [0x1401090a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1401090b8], rax
test rax, rax
je 0x1400e18b5
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1401090b0], rax
jmp 0x1400e18c5
mov rax, qword [0x1401090b0]
jmp 0x1400e18cc
mov rax, qword [0x1401090b0]
mov r11, qword [0x1401090b8]
cmp rax, rdi
je 0x1400e1934
cmp r11, rdi
je 0x1400e1934
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1401090b8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400e1934
test rax, rax
je 0x1400e1934
call rsi
test rax, rax
je 0x1400e192e
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 0x1400e192e
test byte [rsp + 0x38], 1
jne 0x1400e1934
bts ebp, 0x15
jmp 0x1400e1972
mov rcx, qword [0x1401090a0]
cmp rcx, rdi
je 0x1400e1972
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400e1972
call rax
mov rbx, rax
test rax, rax
je 0x1400e1972
mov rcx, qword [0x1401090a8]
cmp rcx, rdi
je 0x1400e1972
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400e1972
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140109098]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400e1993
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400e1995
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 0x140024520
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14002452d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14002453d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140024525
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140024555
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140024542
sub eax, 3
jb 0x14002456f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400245a6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140024596
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140024594
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140024583
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1400244e2
jmp 0x14002452d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x16200
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400245f2
cmp rsi, rcx
jae 0x1400245fa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400245d9
cmp al, 0x8f
ja 0x1400245d9
cmp byte [rsi - 2], 0xf
je 0x1400245df
sub al, 0xe8
cmp al, 1
ja 0x1400245c3
cmp rsi, rcx
jae 0x1400245fa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400245c9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400245fa
lodsb al, byte [rsi]
jmp 0x1400245d9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x22000]
mov eax, dword [rdi]
or eax, eax
je 0x140024657
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x24988]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140024607
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140024651
mov qword [rbx], rax
add rbx, 8
jmp 0x140024627
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400246af
sub rsp, 0xffffffffffffff80
jmp section.UPX0
Function at 0x6d8d43f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d8f55e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d8d4578
mov rax, qword [0x6d8f55e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d8d443c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8d44c5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d8d4420
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8d45ad
mov rax, qword [0x6d8f55e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d8f55e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8d4590
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8d44be
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d8d4520
add dword [0x6d8f55e4], 1
cmp edi, 8
jae 0x6d8d44f3
test dil, 4
jne 0x6d8d4564
test edi, edi
je 0x6d8d44e8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8d457f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d8d44e8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d8d450c
jmp 0x6d8d44e8
add rsi, qword [0x6d8f55e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d8d44be
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d8d44e8
xor esi, esi
jmp 0x6d8d4447
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d8d44e8
mov rax, qword [0x6d8f55e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d8d4d00
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d8f58c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d8f58a0]
test rbx, rbx
je 0x6d8d4d54
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d8d4d4b
test rsi, rsi
je 0x6d8d4d4b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8d4d30
lea rcx, [0x6d8f58c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]