joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000df34
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rbx, rcx
jg 0x18000df63
mov r8d, 0x6c1
lea rdx, str.C:UserswojteDesktopdowberdllfreedowberimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rbx + 0xc8]
mov r9d, 4
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x1800c2410]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x18000df84
not r8d
mov ecx, r8d
call fcn.18000e288
mov eax, r8d
add rsp, 0x20
pop rbx
ret

Function at 0x18000dfbc
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rdi, rdx
mov rbx, rcx
jg 0x18000dfef
mov r8d, 0x6c1
lea rdx, str.C:UserswojteDesktopdowberdllfreedowberimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rbx + 0xc8]
xor edx, edx
mov r8, qword [rbx + 0xd0]
mov rcx, rdi
mov r8d, dword [r8 + rax*4 - 4]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18000c0d4

Function at 0x18000e018
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp dword [rcx + 0xc8], 0
mov rdi, rdx
mov rbx, rcx
jg 0x18000e05a
mov r8d, 0x6c1
lea rdx, str.C:UserswojteDesktopdowberdllfreedowberimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rdi]
lea r8, [rsp + 0x20]
subss xmm0, dword [rbx + 0x10]
movss xmm1, dword [rdi + 8]
mov r9d, 0x10
subss xmm1, dword [rbx + 0x10]
movsxd rcx, dword [rbx + 0xc8]
cvttss2si eax, xmm0
movss xmm0, dword [rdi + 4]
subss xmm0, dword [rbx + 0x14]
mov dword [rsp + 0x20], eax
cvttss2si eax, xmm0
movss xmm0, dword [rdi + 0xc]
subss xmm0, dword [rbx + 0x14]
mov dword [rsp + 0x24], eax
cvttss2si eax, xmm1
mov dword [rsp + 0x28], eax
cvttss2si eax, xmm0
mov dword [rsp + 0x2c], eax
mov rax, qword [rbx + 0xd0]
mov edx, dword [rax + rcx*4 - 4]
not edx
movzx eax, byte [r8]
inc r8
movzx ecx, dl
xor rcx, rax
shr edx, 8
lea rax, [0x1800c2410]
xor edx, dword [rax + rcx*4]
sub r9, 1
jne 0x18000e0c0
not edx
mov ecx, edx
call fcn.18000e288
mov eax, edx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18004be50
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800184a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x180106eb8]
mov dword [rsp + 0x20], ecx
mov rbx, qword [rax + 0x1c10]
cmp dword [rbx + 0xc8], 0
jg 0x1800184ea
mov r8d, 0x6c1
lea rdx, str.C:UserswojteDesktopdowberdllfreedowberimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx + 0xc8]
mov r9d, 4
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x20]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1800c2410]
xor r8d, dword [rax + rdx*4]
sub r9, 1
jne 0x18001850b
not r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0xc8]
mov dword [rsp + 0x20], r8d
call fcn.1800206e0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004be50
add rsp, 0x30
pop rbx
ret

Function at 0x18001e8f4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x30f8], 0
lea rbx, [rcx + 0x3100]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001e98d
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x18001e945
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180020a54
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.18000cd48
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x30f8]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x180106ea9]
movsxd r8, eax
mov rax, qword [rdi + 0x3108]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18001e995
mov rcx, rbx
call fcn.18000cd48
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001f218
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x180106eb8]
mov rbx, rcx
and dword [rax + 0x3094], 0
test rcx, rcx
je 0x18001f281
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18001f28c
lea rdx, [0x1800fc07c]
mov rcx, rbx
mov rdi, rax
call fcn.18000c180
mov rbx, rax
test rax, rax
je 0x18001f281
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18004b514
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x18004b578
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18004b566
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18004b55f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18004b533
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180106ed0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18004b588
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
imul rdi, rax, 0x38
add rdi, qword [0x180107540]
mov rdx, qword [rdi]
mov cl, byte [rdi + 0x20]
mov rsi, rdx
lea rbx, [rdx - 5]
and cl, 1
je 0x18004b5cd
mov rsi, rbx
movzx eax, cl
lea r9, [rsp + 0x20]
test cl, cl
mov r8d, 0x40
cmove rbx, rdx
lea rbp, [rax*2 + 5]
mov rcx, rbx
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18004b600
mov eax, 0xa
jmp 0x18004b64d
mov byte [rbx], 0xe9
mov eax, dword [rdi + 8]
sub eax, esi
sub eax, 5
mov dword [rbx + 1], eax
test byte [rdi + 0x20], 1
je 0x18004b61c
mov rax, qword [rdi]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rdi + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004be50
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x18004ba60
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x18004ba77
cmp r8b, 0x90
je 0x18004ba77
cmp r8b, 0xcc
jne 0x18004ba99
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x18004ba95
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x18004ba99
add edx, r10d
cmp edx, r9d
jb 0x18004ba85
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x140001190
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov r14, rdx
movsxd r12, ecx
xor r15d, r15d
mov qword [rax - 0x40], r15
mov dword [rax - 0x38], r15d
mov qword [rax - 0x30], r15
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x90], rdi
cmp r12d, 4
jge 0x140001211
lea rdx, [rdi - 0x18]
or rsi, 0xffffffffffffffff
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14000120c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x140001351
mov ebp, 3
mov ebx, ebp
mov r13, r12
or rsi, 0xffffffffffffffff
cmp rbp, r12
jge 0x140001287
dec r12d
mov rdx, qword [r14 + rbx*8]
test rdx, rdx
jne 0x140001235
mov ecx, r15d
jmp 0x140001246
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x90]
call fcn.1400013b0
cmp ebp, r12d
jge 0x140001275
mov r8d, 1
lea rdx, [0x1400032f0]
lea rcx, [rsp + 0x90]
call fcn.1400013b0
inc ebp
inc rbx
cmp rbx, r13
jl 0x140001227
mov rdi, qword [rsp + 0x90]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140001060
test eax, eax
jne 0x140001326
mov rbp, qword [r14 + 0x10]
mov r12, qword [r14 + 8]
mov eax, r15d
test rbp, rbp
setne al
mov rbx, qword [rsp + 0x38]
test eax, eax
je 0x1400012e1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbp
mov r9d, 1
xor r8d, r8d
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x1400012f4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x40], r15d
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x140001312
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001322
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x140001353
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140001341
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001351
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000b834
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000b630
Function at 0x14000e4f0
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000e520
xor eax, eax
jmp 0x14000e5e3
mov rbp, rbx
cmp word [rax], si
je 0x14000e545
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000e52c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000e528
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000e410
movsxd r14, eax
test eax, eax
jne 0x14000e583
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000e519
mov rcx, r14
call fcn.14000f3cc
mov rdi, rax
test rax, rax
jne 0x14000e59c
xor ecx, ecx
call fcn.14000ca70
jmp 0x14000e578
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000e410
test eax, eax
jne 0x14000e5cd
mov rcx, rdi
call fcn.14000ca70
jmp 0x14000e5d7
xor ecx, ecx
call fcn.14000ca70
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140011a60
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000d4e0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140011aea
cmp byte [rbp - 0x21], r15b
je 0x140011ae5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140011b20
call fcn.14000fbdc
test eax, eax
jne 0x140011b0c
cmp byte [rbp - 0x21], r15b
je 0x140011b04
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140011b20
cmp byte [rbp - 0x21], r15b
je 0x140011b1d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000cac0
test eax, eax
jne 0x140011bc0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000d4e0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140011b5f
cmp byte [rbp - 0x21], r15b
je 0x140011b94
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140011b94
call fcn.14000fbdc
test eax, eax
jne 0x140011b80
cmp byte [rbp - 0x21], r15b
je 0x140011b79
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140011b94
cmp byte [rbp - 0x21], r15b
je 0x140011b91
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000cac0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140011bc0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140011bc3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140011bd1
mov rcx, rdi
call fcn.14000ca70
cmp byte [rbp + 0x3f], r15b
je 0x140011be0
mov rcx, qword [rbp + 0x27]
call fcn.14000ca70
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14002d488
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140061210
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400b30c4]
call fcn.14002eced
mov qword [rbp + 8], 0
jmp 0x14006124e
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x1400612a4
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x140061243
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14002dc49
Capabilities:
Create thread

Disassembly:
jmp 0x140042a00
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x1400a6018]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x1400b3100]
call fcn.14002eced
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14002d415
mov rax, qword [rbp + 0x188]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x180]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x170]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x168]
mov r8, qword [rbp + 0x160]
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.14002ebfd
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.14002d0c8
nop
lea rcx, [rbp + 0x108]
call fcn.14002ed10
lea rax, [0x14002d988]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.14002db8b
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x140042b48
lea rcx, [rbp + 8]
call fcn.14002e6df
jmp 0x140042b61
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14002d60e
nop
lea rcx, [rbp + 8]
call fcn.14002ed10
lea rcx, [rbp - 0x40]
lea rdx, [0x1400932e0]
call fcn.14002e789
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.14002ddbb
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x14002dfeb
Capabilities:
Terminate process

Disassembly:
jmp 0x140084ea0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14002e3a6
Capabilities:
Parse pe header

Disassembly:
jmp 0x140084250
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140084270
xor al, al
jmp 0x1400842f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140084283
xor al, al
jmp 0x1400842f1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400842ad
xor al, al
jmp 0x1400842f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400842c1
xor al, al
jmp 0x1400842f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400842d3
xor al, al
jmp 0x1400842f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400842ef
xor al, al
jmp 0x1400842f1
mov al, 1
add rsp, 0x38
ret
Function at 0x14002e9af
Capabilities:
Create thread

Disassembly:
jmp 0x140042800
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x1400a6018]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x1400b3100]
call fcn.14002eced
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14002da8c
mov rax, qword [rbp + 0x188]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x180]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x170]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x168]
mov r8, qword [rbp + 0x160]
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.14002ed29
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.14002dbd6
nop
lea rcx, [rbp + 0x108]
call fcn.14002e03b
lea rax, [0x14002ee9b]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.14002da50
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x140042948
lea rcx, [rbp + 8]
call fcn.14002d23a
jmp 0x140042961
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14002d60e
nop
lea rcx, [rbp + 8]
call fcn.14002e03b
lea rcx, [rbp - 0x40]
lea rdx, [0x140093260]
call fcn.14002e789
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.14002ddbb
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x140024f90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140024ff1
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140024fb0
mov ecx, dword [r10]
jmp 0x1400250da
cmp ecx, 0x4e0
jb 0x1400250da
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140025010
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140025060
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140032a58
Capabilities:
Parse pe header

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