joyce8/EMBER2024-capa huggingface dataset:
Function at 0x540cc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x540efc
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rax
call fcn.004bac40
xorps xmm15, xmm15
mov r14, qword [0x00738ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
add qword [rcx + 0x68], rax
mov rdx, qword [rcx + 0x60]
test rdx, rdx
jle 0x540e0a
nop
cmp rdx, 0x40
ja 0x540eee
lea rsi, [rdx - 0x40]
mov rdi, rsi
neg rsi
cmp rax, rsi
cmovl rsi, rax
mov qword [rsp + 0x28], rsi
sar rdi, 0x3f
and rdi, rdx
lea rdx, [rcx + rdi]
lea rdx, [rdx + 0x20]
mov rbx, qword [rsp + 0x60]
cmp rbx, rdx
je 0x540d79
mov rax, rdx
mov rcx, rsi
nop
call fcn.00460d40
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x60]
add rdx, rsi
mov qword [rcx + 0x60], rdx
cmp rdx, 0x40
jne 0x540de1
mov qword [rsp], rcx
lea rax, [rcx + 0x20]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 0x40
mov qword [rsp + 0x18], 0x40
call fcn.00541320
xorps xmm15, xmm15
mov r14, qword [0x00738ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x60], 0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
cmp rax, rsi
jb 0x540ee3
mov rdi, qword [rsp + 0x70]
sub rdi, rsi
mov rdx, rax
sub rax, rsi
mov r8, rdi
neg rdi
sar rdi, 0x3f
and rsi, rdi
add rbx, rsi
jmp 0x540e17
mov rdx, rax
mov rbx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
cmp rax, 0x40
jl 0x540e97
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
and rax, 0xffffffffffffffc0
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x10], rax
mov qword [rsp + 0x18], r8
call fcn.00541320
xorps xmm15, xmm15
mov r14, qword [0x00738ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
mov rdx, rax
sub rax, rcx
sar rax, 0x3f
mov rcx, qword [rsp + 0x30]
and rax, rcx
and rax, 0xffffffffffffffc0
mov rbx, qword [rsp + 0x40]
add rbx, rax
sub rcx, rdx
mov rdx, qword [rsp + 0x68]
mov rax, rcx
mov rcx, qword [rsp + 0x58]
test rax, rax
je 0x540ed2
cmp rax, 0x40
mov esi, 0x40
cmovl rsi, rax
lea rax, [rcx + 0x20]
cmp rbx, rax
je 0x540ece
mov qword [rsp + 0x38], rsi
mov rcx, rsi
call fcn.00460d40
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x38]
mov qword [rcx + 0x60], rsi
mov rax, rdx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rcx, rax
mov rax, rsi
call fcn.00460440
mov rax, rdx
mov ecx, 0x40
call fcn.00460440
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045dd20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00540cc0
Function at 0x180002680
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov edi, dword [rsp + 0x70]
lea r14d, [rcx + 0x76f]
mov r15d, edi
mov esi, edi
xor r15d, 0x19c1
mov ebp, edx
xor esi, 0x129c
xor edi, 0x176c
xor ebp, 0x1bbd
mov rbx, r9
lea r9d, [r8 - 0xc08]
lea eax, [r15 - 0x56d]
lea r8d, [rcx - 0x242]
cmp ebp, eax
je 0x18000273d
cmp dword [0x18004a060], 0x13714
je 0x180002703
mov rcx, qword [section..data]
mov eax, 0xffffca97
sub eax, dword [rbx + 0xdc]
sub eax, dword [rbx + 0x50]
add dword [rcx + 0x28], eax
mov edx, dword [0x18004a0b8]
add edx, dword [0x18004a0ec]
mov eax, dword [rbx + 0xe8]
xor edx, 0x31f57
imul eax, edx
cmp dword [rbx + 0x14], 0xa825
mov dword [rbx + 0xe8], eax
ja 0x18000273d
mov rax, qword [section..data]
mov ecx, dword [rax + 0xe8]
mov dword [rbx + 0x7c], ecx
cmp r8d, r15d
je 0x1800027fa
lea eax, [rbp - 0x265]
cmp r14d, eax
je 0x18000277c
mov rax, qword [section..data]
mov ecx, dword [rax + 4]
sub dword [rbx + 0x7c], ecx
mov rax, qword [section..data]
mov ecx, dword [rbx + 0x94]
cmp dword [rax + 0x48], ecx
je 0x18000277c
mov eax, dword [rbx + 0xe8]
mov dword [rbx + 0xe4], eax
lea eax, [rsi + 0x150d]
mov qword [rsp + 0x28], rbx
lea r9d, [r14 - 0xdd5]
mov dword [rsp + 0x20], eax
lea edx, [rbp + 0x74c]
lea ecx, [rdi + 0xf1d]
call fcn.18000e520
mov r8d, dword [0x18004a120]
xor ecx, ecx
sub r8d, dword [0x18004a118]
mov esi, eax
mov edx, dword [0x18004a040]
add r8d, 0x34b786
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
add rax, 0x2000
mov qword [rbx + 0xc8], rax
mov rbx, qword [rsp + 0x50]
xor esi, 0x9c6
mov rbp, qword [rsp + 0x58]
mov eax, esi
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
mov rdx, qword [section..data]
mov eax, dword [rdx + 0x104]
and eax, dword [rdx + 0x2c]
cmp dword [rdx + 0x48], eax
ja 0x180002880
mov eax, dword [0x18004a0ac]
xor eax, r14d
and eax, r9d
cmp esi, eax
ja 0x1800027d9
mov ecx, dword [rdx + 0x9c]
sub ecx, dword [rdx + 0xa4]
call qword [sym.imp.KERNEL32.dll_HeapLock]
mov rax, qword [section..data]
mov r8d, dword [rbx + 0x108]
mov r10d, dword [rbx + 0x60]
or r10, 0x129c
imul r9d, esi, 0x142e
mov edx, dword [rax + 0xa4]
lea eax, [rdi + r15]
imul edx, dword [0x18004a03c]
movsxd rcx, eax
imul r8d, r14d
or rcx, 0x117c
mov qword [rsp + 0x20], r10
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
jmp 0x1800027d9
mov ecx, dword [0x18004a038]
mov ebx, dword [rbx]
add ecx, edi
cmp ebx, ecx
jb 0x1800027d9
mov ecx, dword [rdx + 0x9c]
imul ecx, edi
mov eax, ebp
xor rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxA]
mov ecx, dword [0x18004a038]
add ebx, 3
add ecx, edi
cmp ebx, ecx
jb 0x1800027d9
mov rdx, qword [section..data]
jmp 0x180002892
Function at 0x1800028d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push r15
sub rsp, 0x28
mov qword [rsp + 0x40], rbp
lea eax, [r9 + 0x366]
mov ebp, dword [rsp + 0x60]
lea r15d, [rcx - 0x105a]
mov qword [rsp + 0x48], rsi
add ebp, 0xfffff6e7
mov esi, r9d
mov qword [rsp + 0x20], r14
xor esi, 0xa4c
lea r14d, [r9 + 0x273]
xor edx, 0x273
mov rbx, r8
cmp edx, eax
je 0x180002987
mov eax, esi
xor eax, 0x1740
cmp r14d, eax
jl 0x180002987
mov qword [rsp + 0x50], rdi
mov edi, dword [r8 + 0x78]
mov qword [rsp + 0x58], r12
lea r12d, [rsi + 0x1104]
cmp edi, r12d
je 0x18000297d
mov rax, qword [section..data]
mov ecx, dword [rax + 0x14]
imul ecx, r15d
cmp dword [rbx + 0x70], ecx
jbe 0x180002975
mov ecx, dword [rbx]
sub ecx, dword [0x18004a074]
sub ecx, 0x1a0b
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [rbp - 0xc08]
mov dword [0x18004a038], eax
add edi, 2
cmp edi, r12d
jne 0x180002942
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rax, qword [section..data]
cmp dword [rax + 0x28], 0x6f26
jb 0x1800029a7
mov eax, dword [0x18004a058]
xor eax, 0x4f787a29
add dword [rbx + 0x68], eax
jmp 0x1800029b0
mov eax, dword [rbx + 0x60]
sub dword [0x18004a070], eax
xor esi, 0xf56
xor r14d, 0x83f
add esi, 0x375
xor ebp, 0xb19
lea eax, [rsi - 0x643]
cmp ebp, eax
jl 0x180002a09
lea eax, [r14 - 0x644]
xor eax, 0x182c
cmp esi, eax
je 0x180002a09
xor r14d, 0x161e
cmp ebp, r14d
je 0x180002a09
cmp dword [rbx + 0x100], 0xfa72
jae 0x180002a09
lea rax, [0x1800544f0]
mov qword [rbx + 0xb8], rax
mov edx, dword [rbx + 0x28]
xor r9d, r9d
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
nop
mov eax, dword [rbx + 0x94]
xor eax, dword [0x18004a0ec]
sub eax, 0x1fceec
xor dword [rbx + 0x100], eax
mov rax, qword [section..data]
mov rcx, qword [rax + 0xb8]
mov eax, edx
sub eax, dword [rbx]
sub eax, 0xbed56
mov r8d, dword [r9 + rcx]
add r9, 4
add dword [rbx + 0x48], eax
mov rax, qword [section..data]
imul r8d, dword [rax + 0x68]
mov eax, dword [rbx + 0x50]
sub eax, 0x56
or eax, edx
mov dword [rbx + 0x28], eax
mov rax, qword [section..data]
movsxd rdx, dword [0x18004a07c]
mov rcx, qword [rax + 0xc0]
mov byte [rdx + rcx], r8b
inc dword [0x18004a07c]
mov eax, dword [rbx + 0xe0]
imul eax, dword [rbx + 0x14]
mov ecx, dword [rbx + 0x34]
xor ecx, dword [rbx + 0x88]
mov dword [rbx + 0xe0], eax
mov eax, 0xfff04d03
mov rdx, qword [section..data]
sub eax, ecx
add dword [rdx + 0x28], eax
mov ecx, dword [rbx + 0x88]
add ecx, dword [rbx + 0xdc]
mov eax, dword [rbx + 0x28]
xor ecx, 0x180013
imul eax, ecx
mov dword [rbx + 0x28], eax
mov eax, dword [rbx + 0x2c]
xor eax, dword [rbx + 0x60]
sub eax, 0x183290f
add dword [rbx + 0xe0], eax
mov rcx, qword [section..data]
mov eax, dword [0x18004a084]
or dword [rcx + 0x94], eax
mov ecx, dword [rbx + 0x108]
mov edx, dword [rbx + 0x28]
add ecx, edx
xor ecx, dword [rbx + 0x98]
xor ecx, 0x407517
mov dword [rbx + 0x98], ecx
cmp r9, 0x6c5a0
jl 0x180002a20
mov ecx, dword [0x18004a0f0]
add ecx, 0xfff9d507
xor r15d, 0xab3
mov dword [0x18004a078], ecx
mov eax, r15d
add rsp, 0x28
pop r15
pop rbx
ret
Function at 0x18000d750
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, rdx
lea r15d, [r8 - 0x117c]
mov edx, r8d
lea edi, [rcx - 0x182c]
mov r14d, r8d
lea eax, [r15 + 0xc87]
xor edx, 0x720
lea esi, [r9 - 0x129c]
xor r14d, 0x1dfb
cmp edi, eax
je 0x18000d801
mov rax, qword [rbx + 0xc8]
mov qword [rbx + 0xc0], rax
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x48]
cmp dword [0x18004a0ec], eax
ja 0x18000d7c1
mov eax, dword [rcx + 0x88]
xor eax, 0x132f0c
mov dword [rbx + 0x68], eax
jmp 0x18000d7d5
mov eax, dword [rbx + 0x108]
sub eax, dword [rbx + 0x94]
add eax, 0x33f5
mov dword [rbx + 0x50], eax
mov rcx, qword [section..data]
mov eax, dword [rcx + 0xe0]
cmp dword [rcx + 0x98], eax
je 0x18000d8c6
mov eax, dword [rcx + 0x9c]
add eax, 0x17b4a
xor dword [rbx + 0x68], eax
jmp 0x18000d8c6
lea eax, [rdx - 0x182c]
mov qword [rsp + 0x68], rbp
mov ebp, dword [rbx + 0x2c]
mov dword [rsp + 0x60], eax
cmp ebp, eax
je 0x18000d8c1
mov qword [rsp + 0x70], r12
lea eax, [r14 + rsi]
movsxd rcx, r15d
lea r9d, [rsi + 0xb5d]
mov qword [rsp + 0x78], r13
movsxd r12, esi
or r12, rcx
movsxd r13, eax
or r13, rcx
nop
mov rax, qword [section..data]
mov edx, dword [rbx + 0x90]
mov r8d, dword [0x18004a074]
add r8d, esi
mov qword [rsp + 0x28], r12
mov ecx, dword [rax + 0x60]
xor r8d, esi
or ecx, r14d
mov eax, edi
or ecx, esi
and rdx, rax
mov eax, r15d
mov dword [rsp + 0x20], ecx
and rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rax, qword [section..data]
mov edx, dword [0x18004a080]
add edx, dword [0x18004a060]
add edx, r15d
mov ecx, dword [rax + 0x104]
and ecx, 0x49c
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
add ebp, 2
lea r9d, [rsi + 0xb5d]
cmp ebp, dword [rsp + 0x60]
jne 0x18000d840
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
lea eax, [rdi + 0x165c]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x18000e520
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov eax, dword [rsp + 0x70]
lea r9d, [rdx - 0xb1]
mov esi, eax
mov r14d, ecx
xor esi, 0x123
lea r11d, [r8 - 0x105a]
lea edi, [rdx + 0x1df]
lea ebp, [rax - 0x150d]
lea r10d, [rax - 0x886]
lea eax, [rbp + 0x182c]
cmp r9d, eax
jg 0x18000e648
mov rdx, qword [rsp + 0x78]
mov eax, dword [0x18004a118]
cmp dword [rdx + 0x74], eax
jbe 0x18000e59f
mov ecx, dword [rdx + 0xdc]
mov eax, 0x11dee
xor ecx, dword [rdx + 0x9c]
sub eax, ecx
add dword [rdx + 0x108], eax
jmp 0x18000e5af
mov rcx, qword [section..data]
mov eax, dword [rdx + 0x18]
add dword [rcx + 0xe4], eax
lea eax, [rsi - 0x5b3]
cmp edi, eax
je 0x18000e6c8
lea eax, [r9 - 0x118b]
cmp edi, eax
jle 0x18000e5f8
cmp dword [rdx + 0xa8], 0x5c6c
jb 0x18000e5e5
mov eax, dword [rdx + 0x34]
xor eax, dword [rdx + 0x14]
xor eax, dword [0x18004a0a8]
xor dword [rdx + 0x2c], eax
jmp 0x18000e5f8
mov rax, qword [section..data]
mov ecx, dword [rax + 0x2c]
sub ecx, 0x9bf25
mov dword [rdx + 0x30], ecx
mov eax, 0xfffff902
mov dword [rsp + 0x30], edi
sub eax, dword [0x18004a084]
lea r8d, [r10 + 0x1f4]
add dword [rdx + 0x30], eax
lea ecx, [r11 + 0x912]
mov edx, r11d
lea eax, [r10 + 0xd84]
xor edx, 0x912
add r9d, 0xfffffee1
mov dword [rsp + 0x28], edx
mov rdx, qword [section..data]
mov dword [rsp + 0x20], eax
call sym.zpodb664uz4.dll_PwAFLBz
jmp 0x18000e6c8
mov eax, dword [0x18004a108]
and r10d, r9d
imul r10d, dword [0x18004a038]
mov r11d, esi
xor r11d, r14d
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x28], r10
mov r8d, dword [rbx + 0x28]
mov edx, dword [rbx + 0x60]
sub esi, r8d
mov ecx, dword [rbx + 0xd0]
add edx, 0x117c
mov r9d, esi
or r8, rax
xor r9, 0x182c
mov dword [rsp + 0x20], r11d
xor rdx, 0xc08
and rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [0x18004a094]
sub edx, dword [rbx + 0x14]
mov ecx, dword [0x18004a018]
and edx, dword [0x18004a084]
add ecx, ebp
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
lea eax, [rdi - 0x141b]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
Function at 0x140003e9b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140010040]
jne 0x14000358a
rol rcx, 0x10
test cx, 0xffff
jne 0x140003586
repz ret
ror rcx, 0x10
jmp 0x140003df4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140011280]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140011378]
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 0x140003e79
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, [0x140011280]
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 0x140003e9b
mov rax, qword [rsp + 0x88]
mov qword [0x140011378], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140011318], rax
mov rax, qword [0x140011378]
mov qword [0x1400111f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140011300], rax
mov dword [0x1400111e0], 0xc0000409
mov dword [0x1400111e4], 1
mov rax, qword [0x140010040]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140010048]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140011278], eax
mov ecx, 1
call fcn.1400048d4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000c348]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140011278], 0
jne 0x140003f22
mov ecx, 1
call fcn.1400048d4
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 0x140004f80
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.140005738
nop
cmp dword [0x1400117b8], 1
je 0x140004f2c
mov dword [0x1400117b4], 1
mov byte [0x1400117b0], r12b
test ebx, ebx
jne 0x140004f18
mov rcx, qword [0x140012270]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140004f05
mov rcx, qword [0x140012268]
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 0x140004ea4
call fcn.1400048e4
cmp qword [rdi], rax
jne 0x140004ea4
jmp 0x140004e8a
cmp rdi, rsi
jb 0x140004f05
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400048e4
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140012270]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140012268]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140004ee3
cmp r13, rax
je 0x140004f03
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 0x140004e8a
lea rdx, [0x14000c2a0]
lea rcx, [0x14000c298]
call fcn.140004cd4
lea rdx, [0x14000c2b0]
lea rcx, [0x14000c2a8]
call fcn.140004cd4
nop
test r12d, r12d
je 0x140004f3b
mov ecx, 8
call fcn.140005638
test r12d, r12d
jne 0x140004f66
mov dword [0x1400117b8], 1
lea ecx, [r12 + 8]
call fcn.140005638
mov ecx, r15d
call fcn.140004c68
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 0x140004df4

Function at 0x140004f8c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140004df4
Function at 0x1400075e8
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.1400048e4
xor ebx, ebx
mov rdi, rax
cmp qword [0x140011f38], rbx
jne 0x1400076ee
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400077c3
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400077c3
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140011f38], 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 [0x140011f40], 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 [0x140011f48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140011f58], rax
test rax, rax
je 0x1400076e5
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140011f50], rax
jmp 0x1400076f5
mov rax, qword [0x140011f50]
jmp 0x1400076fc
mov rax, qword [0x140011f50]
mov r11, qword [0x140011f58]
cmp rax, rdi
je 0x140007764
cmp r11, rdi
je 0x140007764
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140011f58]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140007764
test rax, rax
je 0x140007764
call rsi
test rax, rax
je 0x14000775e
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 0x14000775e
test byte [rsp + 0x38], 1
jne 0x140007764
bts ebp, 0x15
jmp 0x1400077a2
mov rcx, qword [0x140011f40]
cmp rcx, rdi
je 0x1400077a2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400077a2
call rax
mov rbx, rax
test rax, rax
je 0x1400077a2
mov rcx, qword [0x140011f48]
cmp rcx, rdi
je 0x1400077a2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400077a2
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140011f38]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400077c3
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400077c5
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 0x14000adb0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140014c70
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140014c70
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14000ae20
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400e70a4]
test esi, esi
mov rbx, rcx
jle 0x14000af50
mov rax, qword [0x1400e70a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000ae6b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000aef5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000ae50
mov rcx, rbx
call fcn.14000b870
test rax, rax
mov rdi, rax
je 0x14000af72
mov rax, qword [0x1400e70a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000b9b0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400e70a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000af57
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000aeee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000af00
add dword [0x1400e70a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x1400e70a8]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000aeee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000adb0
nop dword [rax]
xor esi, esi
jmp 0x14000ae78
mov rax, qword [0x1400e70a8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.14000adb0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.14000adb0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000b4e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400e7100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400e70e0]
test rbx, rbx
je 0x14000b53c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14000b533
test rsi, rsi
je 0x14000b533
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000b518
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]