joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005f020
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [0x1801dc0a0]
xor edx, edx
mov dword [0x1801dc098], edx
mov dword [0x1801dc0a8], edx
mov dword [rax], ecx
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], edx
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], edx
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], edx
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], edx
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], 0x43480000
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], edx
movabs rdx, 0xa1dd317ea8fd4f29
inc dword [0x1801dc098]
jmp fcn.180047bd0

Function at 0x18005f0f0
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
movabs rdx, 0x70db57649fa8d0d8
mov dword [0x1801dc098], eax
mov dword [0x1801dc0a8], eax
mov rax, qword [0x1801dc0a0]
mov dword [rax], ecx
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], 0x447a0000
inc dword [0x1801dc098]
jmp fcn.180047bd0

Function at 0x18005f140
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
movabs rdx, 0xb59e4bd37ae292db
mov dword [0x1801dc098], eax
mov dword [0x1801dc0a8], eax
mov rax, qword [0x1801dc0a0]
mov dword [rax], ecx
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
movss dword [rax + rcx*8], xmm1
inc dword [0x1801dc098]
jmp fcn.180047bd0

Function at 0x18005f190
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
movabs rdx, 0xb77d05ac8c78aadb
mov dword [0x1801dc098], eax
mov dword [0x1801dc0a8], eax
mov rax, qword [0x1801dc0a0]
mov dword [rax], ecx
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], 0x447a0000
inc dword [0x1801dc098]
jmp fcn.180047bd0

Function at 0x18005f280
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
movabs rdx, 0xb96b00e976be977f
mov dword [0x1801dc098], eax
mov dword [0x1801dc0a8], eax
mov rax, qword [0x1801dc0a0]
mov dword [rax], 0xbf800000
inc dword [0x1801dc098]
jmp fcn.180047bd0
Function at 0x1800601d0
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
movabs rdx, 0x5927f96a78577363
mov dword [0x1801dc098], eax
mov dword [0x1801dc0a8], eax
mov rax, qword [0x1801dc0a0]
mov dword [rax], ecx
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], 0xaa289
inc dword [0x1801dc098]
jmp fcn.180047bd0

Function at 0x180066cb0
Capabilities:
Hash data using fnv

Disassembly:
movss xmm0, dword [0x1801f2fdc]
xor eax, eax
mov dword [0x1801dc098], eax
movabs rdx, 0xb96b00e976be977f
mov dword [0x1801dc0a8], eax
mov rax, qword [0x1801dc0a0]
movss dword [rax], xmm0
inc dword [0x1801dc098]
jmp fcn.180047bd0

Function at 0x180066d10
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
movabs rdx, 0xfc4842a34657bfcb
mov dword [0x1801dc098], eax
mov dword [0x1801dc0a8], eax
mov rax, qword [0x1801dc0a0]
mov qword [rax], rcx
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], 0x3f000000
inc dword [0x1801dc098]
jmp fcn.180047bd0
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x180060280

Function at 0x180066d50
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
movabs rdx, 0x957e790ea1727b64
mov dword [0x1801dc098], eax
mov dword [0x1801dc0a8], eax
jmp fcn.180047bd0
jmp 0x1800602d0

Function at 0x180066d80
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
movabs rdx, 0x4055e40bd2dbec1d
mov dword [0x1801dc098], eax
mov dword [0x1801dc0a8], eax
mov rax, qword [0x1801dc0a0]
mov dword [rax], ecx
inc dword [0x1801dc098]
jmp fcn.180047bd0
sub rsp, 0x28
lea rcx, str.NEUTRAL
call fcn.180046dd0
mov edx, 1
mov r8d, edx
lea ecx, [rdx + 0x14]
call fcn.180046e00
mov ecx, 1
add rsp, 0x28
jmp 0x1800601a0

Function at 0x180066dd0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
lea rcx, str.NEUTRAL
call fcn.180046dd0
mov edx, 1
mov r8d, edx
lea ecx, [rdx + 0x13]
call fcn.180046e00
mov ecx, 1
add rsp, 0x28
jmp 0x1800601a0

Function at 0x180066e20
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
lea rcx, str.NEUTRAL
call fcn.180046dd0
mov edx, 1
mov r8d, edx
lea ecx, [rdx + 0x12]
call fcn.180046e00
mov ecx, 1
add rsp, 0x28
jmp 0x1800601a0

Function at 0x180066e70
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
lea rcx, str.EXTRASUNNY
call fcn.180046dd0
mov edx, 1
mov r8d, edx
lea ecx, [rdx + 0xb]
call fcn.180046e00
xor ecx, ecx
add rsp, 0x28
jmp 0x1800601a0

Function at 0x180067230
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
movabs rdx, 0xd972df67326f966e
mov dword [0x1801dc098], eax
mov dword [0x1801dc0a8], eax
jmp fcn.180047bd0
jmp 0x180060330

Function at 0x180067260
Capabilities:
Hash data using fnv

Disassembly:
mov r8d, dword [0x1801da6ec]
mov edx, dword [0x1801da6f0]
mov ecx, dword [0x1801da6e8]
jmp fcn.180046e00
Function at 0x180067840
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword [0x1801f2fd0]
xor eax, eax
mov dword [0x1801dc098], eax
movabs rdx, 0x740e14fad5842351
mov dword [0x1801dc0a8], eax
mov rax, qword [0x1801dc0a0]
mov dword [rax], ecx
inc dword [0x1801dc098]
jmp fcn.180047bd0
jmp 0x1800602f0

Function at 0x180067cf0
Capabilities:
Hash data using fnv

Disassembly:
mov edx, dword [0x1801f30d0]
xor eax, eax
mov r9d, dword [0x1801dc080]
mov r8d, dword [0x1801f30cc]
mov dword [0x1801dc098], eax
mov dword [0x1801dc0a8], eax
mov rax, qword [0x1801dc0a0]
movss dword [rax], xmm0
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
movss dword [rax + rcx*8], xmm1
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
movss dword [rax + rcx*8], xmm2
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], edx
movabs rdx, 0xf2a1b2771a01dbd4
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], r8d
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], r9d
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], 0x43e10000
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], 0x42c80000
inc dword [0x1801dc098]
jmp fcn.180047bd0

Function at 0x180067e00
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [0x1801dc0a0]
xor edx, edx
mov dword [0x1801dc098], edx
mov dword [0x1801dc0a8], edx
movss dword [rax], xmm0
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
movss dword [rax + rcx*8], xmm1
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], 0x42480000
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], 0x42c80000
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], 0xff
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], 0xff
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], 0xff
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], 0x64
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], edx
movabs rdx, 0x3a618a217e5154f0
inc dword [0x1801dc098]
jmp fcn.180047bd0
Function at 0x180067f80
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
movabs rdx, 0x919be13eed931959
mov dword [0x1801dc098], eax
mov dword [0x1801dc0a8], eax
mov rax, qword [0x1801dc0a0]
mov dword [rax], ecx
mov eax, dword [0x1801dc098]
inc eax
mov dword [0x1801dc098], eax
mov ecx, eax
mov rax, qword [0x1801dc0a0]
mov dword [rax + rcx*8], 0xffffffff
inc dword [0x1801dc098]
jmp fcn.180047bd0
Function at 0x180069040
Capabilities:
Hash data using fnv

Disassembly:
mov edx, 1
mov r8d, edx
mov ecx, edx
jmp fcn.180046e00

Function at 0x180069060
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1800690c1
lea r8, [r9 + 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 r10, 1
jne 0x180069080
mov ecx, dword [r9]
jmp 0x1800691ab
cmp ecx, 0x4e0
jb 0x1800691ab
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1800690e0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x180069130
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 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 0x180069f50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x1801da600]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rcx, [rsp + 0x20]
call fcn.180006c20
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1800863a0
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0x2a0]
mov edx, dword [rsp + 0x298]
lea rcx, [rsp + 0x50]
call qword [rsp + 0x28]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
call fcn.180090f40
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.18008cad0
mov qword [rsp + 0x40], rax
mov r9, qword [rsp + 0x30]
mov r8d, 1
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
test rax, rax
jbe 0x18006a01a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
mov ecx, 0xa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
lea rcx, [rsp + 0x50]
call fcn.180086f20
nop
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18014e890
add rsp, 0x288
ret
Function at 0x18008b6e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x88]
call fcn.18008fc50
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x80]
call fcn.18008fc50
mov dword [rsp + 0x48], eax
mov r8d, dword [rsp + 0x44]
mov edx, dword [rsp + 0x48]
lea rcx, [rsp + 0x22]
call fcn.180089550
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x90]
call fcn.18008fc50
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x38]
inc eax
cmp eax, dword [rsp + 0x28]
jge 0x18008b776
mov eax, 0xffffffff
jmp 0x18008b8e8
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x38], eax
jle 0x18008b78a
mov eax, 1
jmp 0x18008b8e8
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xa8]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x88]
mov r8d, dword [rax + 0xa8]
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0xa8]
lea rcx, [rsp + 0x21]
call fcn.180089960
mov dword [rsp + 0x50], eax
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x50]
lea rcx, [rsp + 0x21]
call fcn.180089960
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x24], eax
jmp 0x18008b80e
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x24], eax
jl 0x18008b8ca
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x20]
call fcn.18008a070
mov eax, eax
mov qword [rsp + 0x60], rax
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x20]
call fcn.18008a070
mov eax, eax
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.18008a070
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
add rax, qword [rsp + 0x30]
cmp qword [rsp + 0x58], rax
jbe 0x18008b895
mov eax, 1
jmp 0x18008b8e8
mov eax, dword [rsp + 0x3c]
add rax, qword [rsp + 0x30]
sub rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 1
jbe 0x18008b8b7
mov eax, 0xffffffff
jmp 0x18008b8e8
mov rax, qword [rsp + 0x30]
shl rax, 0x20
mov qword [rsp + 0x30], rax
jmp 0x18008b804
cmp qword [rsp + 0x30], 0
je 0x18008b8dc
mov dword [rsp + 0x40], 0xffffffff
jmp 0x18008b8e4
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
add rsp, 0x70
pop rdi
ret
Function at 0x18008de50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov r9, qword [rsp + 0xe8]
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rsp + 0x28], rax
jae 0x18008df54
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x20]
call fcn.1800890a0
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.18006a8e0
lea rcx, [rsp + 0x48]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0x48]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0x80]
call fcn.180076c40
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.18006e320
nop
lea rcx, [rsp + 0x80]
call fcn.1800072e0
add rsp, 0xb8
pop rdi
pop rsi
ret
Function at 0x1800929f0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1801da600]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x180092be9
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180092bde
mov dword [rsp + 0x20], 1
mov eax, dword [rsp + 0x38]
cmp rax, 0x10
jb 0x180092b70
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x44], eax
jne 0x180092b70
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x40], eax
je 0x180092b70
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x180092ad9
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0x80
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [0x1801eb770]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x180092ad7
mov dword [rsp + 0x20], 0
jmp 0x180092b8f
jmp 0x180092b47
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xc], ecx
jb 0x180092b47
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl eax, 1
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl rax, 2
mov r9, rax
mov rax, qword [rsp + 0x70]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801eb770]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180092b3a
mov dword [rsp + 0x20], 0
jmp 0x180092b8f
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x40]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0xc], eax
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180092a54
cmp dword [rsp + 0x20], 0
je 0x180092ba9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x180092ba9
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x20], 0
jne 0x180092bde
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x180092bde
mov rax, qword [rsp + 0x70]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801eb770]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x70]
mov qword [rax], 0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18014e890
add rsp, 0x68
ret
Function at 0x180092c10
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.1800929f0
test eax, eax
jne 0x180092c69
mov dword [rsp + 0x24], 9
jmp 0x180092ceb
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180092ceb
mov dword [rsp + 0x20], 0
jmp 0x180092c88
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180092ceb
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180092ce9
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.180092840
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180092c7e
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret

Function at 0x180092d00
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180092d8f
mov dword [rsp + 0x20], 0
jmp 0x180092d28
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180092d78
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180092d76
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180092d1e
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801eb770]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x38
ret
Function at 0x180092da0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x60]
imul rax, rax, 0x38
mov rcx, qword [0x1801f40b0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180092e0a
mov rax, qword [rsp + 0x30]
sub rax, 5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180092e33
mov eax, 0xa
jmp 0x180092f64
cmp dword [rsp + 0x68], 0
je 0x180092e9e
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x30]
add rax, 5
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180092e9c
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x48]
mov byte [rax + 1], 0xf9
jmp 0x180092eea
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180092ece
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x180092eea
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x68]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x68]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x20], al
xor eax, eax
add rsp, 0x58
ret