joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400061e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140006260
cmp r11, r10
ja 0x1400062d7
cmp r10, rdx
ja 0x1400062e9
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140006262
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140006240
jmp 0x1400062c4
ja 0x14000626a
mov r11, r10
cmp rax, r8
jne 0x14000620e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x1400062a0
mov rdi, r8
sub ecx, edx
jns 0x1400062bb
jmp 0x1400062c6
cmp r8, rsi
je 0x1400062f8
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400062c6
xor al, 1
cmp rdi, rsi
jne 0x140006280
jmp 0x1400062c6
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140004b10
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400037a0
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140004b80
int3

Function at 0x1400071f6
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x140007217
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14004343c
mov rcx, rax
call fcn.140014e00
mov ecx, eax
jmp 0x14000720a

Function at 0x140007baa
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140045018]
test ecx, ecx
je 0x140007bc3
dec ecx
add rsp, 0x28
jmp fcn.140043444
lea rcx, section..data
call fcn.140014e00
mov ecx, eax
jmp 0x140007bba

Function at 0x140007dc9
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140045138]
test ecx, ecx
je 0x140007de2
dec ecx
add rsp, 0x28
jmp fcn.140043444
lea rcx, [0x140045120]
call fcn.140014e00
mov ecx, eax
jmp 0x140007dd9

Function at 0x14000c3eb
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14000c404
dec ecx
add rsp, 0x28
jmp fcn.140043444
mov rcx, rax
call fcn.140014e00
mov ecx, eax
jmp 0x14000c3fb
Function at 0x140011d60
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x140011d85
cmp rax, rcx
je 0x140011d8b
cmp rdx, 4
jae 0x140011d92
xor eax, eax
xor r8d, r8d
jmp 0x140011e30
pop rbp
jmp fcn.140003330
xor eax, eax
jmp 0x140011e47
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140046510]
movdqa xmm3, xmmword [0x140046520]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140011dc0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140011e47
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140011e30
pop rbp
ret
Function at 0x140012d20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov r10, qword [rcx]
test r10, r10
je 0x140012da4
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x140012da4
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x140012dbd
cmp eax, 0x42
jne 0x140012da4
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x140012eed
cmp byte [r10 + rsi], 0x5f
jne 0x140012e7c
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x140012eed
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x140012f47
mov dil, 1
xor r9d, r9d
jmp 0x140012eef
xor edx, edx
call fcn.14000e830
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call fcn.14000e830
test al, al
jne 0x140012f2d
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140012dfc
lea rdx, [0x140049f3b]
mov r8d, 1
call fcn.140003810
mov rdx, rbx
test al, al
jne 0x140012f2d
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x140012db0
xor r14d, r14d
lea rdi, [0x14004a291]
nop word cs:[rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x140012e34
cmp byte [rax + rcx], 0x45
je 0x140012f80
sub r14, 1
jb 0x140012e5c
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x140012e5c
mov r8d, 2
mov rdx, rdi
call fcn.140003810
mov rdx, rbx
test al, al
jne 0x140012f2d
mov rcx, rdx
call fcn.1400100c0
test al, al
jne 0x140012f2d
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x140012e20
jmp 0x140012db0
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x140012edd
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x140012ebf
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x140012eb1
add dl, 0xa9
jmp 0x140012ebd
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x140012eed
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x140012eed
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x140012eef
cmp rsi, r11
jb 0x140012e90
jmp 0x140012eef
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x140012d7f
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x140012f35
mov ecx, r9d
xor cl, 1
movzx ecx, cl
lea r8, [rcx + rcx*8]
add r8, 0x10
lea rcx, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x14004a270]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.140003810
mov rcx, rbx
test al, al
je 0x140012f35
mov sil, 2
jmp 0x140012db0
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x140012db0
cmp qword [rcx + 0x20], 0
je 0x140012f40
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
mov rsi, rcx
call fcn.140012d20
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140012db2
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x140012db0
Function at 0x140014e00
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
cmp qword [rcx], 0
je 0x140014e95
mov rax, qword [0x140057038]
mov dword [rbp], 0
lea rbx, [rsi + 0x10]
mov r8, rbp
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rbp - 4], eax
cmp eax, 1
jne 0x140014ed4
cmp dword [rbp], 0
je 0x140014eb8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140014ee9
mov edi, eax
mov rax, qword [0x1400540e8]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400540e8], rsi
jne 0x140014e70
mov eax, edi
inc eax
mov dword [rsi + 0x18], eax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x140014ec9
call sub.KERNEL32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x140014f2b
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x140014ebd
mov edi, dword [rbp + 4]
jmp 0x140014ec9
mov edi, dword [rsi + 0x18]
jmp 0x140014ec7
mov edi, eax
mov ecx, dword [rbp + 4]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x38], 0
lea rcx, [rbp - 4]
lea rdx, [rbp - 0x38]
call fcn.140015b90
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rdx, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp - 0x38]
call fcn.140002e20
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 4]
lea rdx, [rbp - 0x38]
call fcn.140015be0
int3
Function at 0x140016c40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x1400450d8]
test ecx, ecx
je 0x140016d11
dec ecx
call fcn.140043444
cmp rax, 1
jbe 0x140016c71
add rax, 8
jmp 0x140016d08
je 0x140016d06
movzx eax, byte [0x1400540f8]
mov edx, 0x10
xor ecx, ecx
call fcn.140033c60
test rax, rax
je 0x140016d44
mov rbx, rax
mov rsi, rax
lea rax, [0x1400450c0]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1400450d8]
test ecx, ecx
je 0x140016d24
dec ecx
call fcn.140043444
mov rdi, rax
mov ecx, dword [0x1400450d8]
test ecx, ecx
je 0x140016d34
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14004343c
test rdi, rdi
je 0x140016d01
mov rax, qword [rdi + 8]
test rax, rax
je 0x140016cf4
lock dec qword [rax]
jne 0x140016cf4
mov rcx, qword [rdi + 8]
call fcn.140016490
mov edx, 8
mov rcx, rdi
call fcn.140001f70
mov rax, rbx
jmp 0x140016d08
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1400450c0]
call fcn.140014e00
mov ecx, eax
jmp 0x140016c5d
lea rcx, [0x1400450c0]
call fcn.140014e00
mov ecx, eax
jmp 0x140016cb7
lea rcx, [0x1400450c0]
call fcn.140014e00
mov ecx, eax
jmp 0x140016ccb
mov ecx, 8
mov edx, 0x10
call fcn.140002460
int3

Function at 0x1400171c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x140045098]
test ecx, ecx
je 0x14001726e
dec ecx
call fcn.140043444
cmp rax, 1
jbe 0x1400171ee
add rax, 8
jmp 0x140017265
je 0x140017263
movzx eax, byte [0x1400540f8]
mov edx, 0x10
xor ecx, ecx
call fcn.140033c60
test rax, rax
je 0x1400172a1
mov rbx, rax
mov rsi, rax
lea rax, [0x140045080]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x140045098]
test ecx, ecx
je 0x140017281
dec ecx
call fcn.140043444
mov rdi, rax
mov ecx, dword [0x140045098]
test ecx, ecx
je 0x140017291
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14004343c
test rdi, rdi
je 0x14001725e
mov edx, 8
mov rcx, rdi
call fcn.140001f70
mov rax, rbx
jmp 0x140017265
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140045080]
call fcn.140014e00
mov ecx, eax
jmp 0x1400171dd
lea rcx, [0x140045080]
call fcn.140014e00
mov ecx, eax
jmp 0x14001722c
lea rcx, [0x140045080]
call fcn.140014e00
mov ecx, eax
jmp 0x140017240
mov ecx, 8
mov edx, 0x10
call fcn.140002460
int3
Function at 0x1400176c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x140045078]
test ecx, ecx
je 0x140017776
dec ecx
call fcn.140043444
cmp rax, 1
jbe 0x1400176ee
add rax, 8
jmp 0x14001776d
je 0x14001776b
movzx eax, byte [0x1400540f8]
mov edx, 0x18
xor ecx, ecx
call fcn.140033c60
test rax, rax
je 0x1400177a9
mov rbx, rax
mov rsi, rax
lea rax, [0x140045060]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov byte [rsi + 0x10], 0
mov ecx, dword [0x140045078]
test ecx, ecx
je 0x140017789
dec ecx
call fcn.140043444
mov rdi, rax
mov ecx, dword [0x140045078]
test ecx, ecx
je 0x140017799
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14004343c
test rdi, rdi
je 0x140017766
mov edx, 8
mov rcx, rdi
call fcn.140001f70
mov rax, rbx
jmp 0x14001776d
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140045060]
call fcn.140014e00
mov ecx, eax
jmp 0x1400176dd
lea rcx, [0x140045060]
call fcn.140014e00
mov ecx, eax
jmp 0x140017734
lea rcx, [0x140045060]
call fcn.140014e00
mov ecx, eax
jmp 0x140017748
mov ecx, 8
mov edx, 0x18
call fcn.140002460
int3
Function at 0x140033110
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x1400450b8]
test ecx, ecx
je 0x1400331e1
dec ecx
call fcn.140043444
cmp rax, 1
jbe 0x140033141
add rax, 8
jmp 0x1400331d8
je 0x1400331d6
movzx eax, byte [0x1400540f8]
mov edx, 0x10
xor ecx, ecx
call fcn.140033c60
test rax, rax
je 0x140033214
mov rbx, rax
mov rsi, rax
lea rax, [0x1400450a0]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1400450b8]
test ecx, ecx
je 0x1400331f4
dec ecx
call fcn.140043444
mov rdi, rax
mov ecx, dword [0x1400450b8]
test ecx, ecx
je 0x140033204
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14004343c
test rdi, rdi
je 0x1400331d1
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400331c4
lock dec qword [rax]
jne 0x1400331c4
mov rcx, qword [rdi + 8]
call fcn.140033230
mov edx, 8
mov rcx, rdi
call fcn.140001f70
mov rax, rbx
jmp 0x1400331d8
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1400450a0]
call fcn.140014e00
mov ecx, eax
jmp 0x14003312d
lea rcx, [0x1400450a0]
call fcn.140014e00
mov ecx, eax
jmp 0x140033187
lea rcx, [0x1400450a0]
call fcn.140014e00
mov ecx, eax
jmp 0x14003319b
mov ecx, 8
mov edx, 0x10
call fcn.140002460
int3

Function at 0x1400393bc
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x2c]
mov rcx, rax
call sub.SHELL32.dll_CommandLineToArgvW
test rax, rax
je 0x140039458
mov rdi, rax
lea rbx, [rsp + 0x30]
and qword [rbx], 0
mov qword [rbx + 8], 8
and qword [rbx + 0x10], 0
movsxd r12, dword [rsp + 0x2c]
shl r12, 3
xor r13d, r13d
lea r14, [rsp + 0x48]
cmp r12, r13
je 0x14003943d
mov r15, qword [rdi + r13]
mov rcx, r15
call sub.msvcrt.dll_wcslen
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.140038c95
mov rcx, rbx
mov rdx, r14
call fcn.1400396d8
add r13, 8
jmp 0x14003940d
mov rcx, rdi
call sub.KERNEL32.dll_LocalFree
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
jmp 0x140039469
and qword [rsi], 0
mov qword [rsi + 8], 8
and qword [rsi + 0x10], 0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140042ac6
Capabilities:
Reference wmi statements

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
and qword [rsp + 0x38], 0
mov rsi, rdx
mov rdi, rcx
cmp qword [rdx + 0x10], 0
je 0x140042b8a
lea rcx, [0x14004d222]
call sub.OLEAUT32.dll_SysAllocString
mov rbx, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.OLEAUT32.dll_SysAllocString
mov r14, rax
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
and qword [rsp + 0x20], 0
mov rdx, rbx
mov r8, r14
mov r9d, 0x30
call qword [rax + 0xa0]
mov ebp, eax
mov rcx, rbx
call sub.OLEAUT32.dll_SysFreeString
mov rcx, r14
call sub.OLEAUT32.dll_SysFreeString
test ebp, ebp
js 0x140042b8a
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x28]
call fcn.14003dc1a
mov qword [rsi + 0x20], 1
mov qword [rsi + 0x28], rbx
mov rax, qword [rsi + 0x30]
mov qword [rdi + 0x30], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi + 0x28]
mov qword [rdi + 0x28], rax
jmp 0x140042b99
mov qword [rdi], 2
mov rcx, rsi
call fcn.14003db9e
nop
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x14004323c
Capabilities:
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
call fcn.140007dc9
cmp rax, 1
jbe 0x14004325c
mov rsi, rax
add rsi, 8
jmp 0x1400432df
je 0x1400432dd
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi], xmm0
mov edx, 0x10
mov rcx, rsi
call sub.bcryptprimitives.dll_ProcessPrng
mov rdi, qword [rsi]
mov r14, qword [rsi + 8]
mov ecx, 8
mov edx, 0x18
call fcn.140007d9f
test rax, rax
je 0x1400432fc
mov rsi, rax
mov rbx, rax
lea rax, [0x140045120]
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r14
call fcn.140007dc9
mov rdi, rax
mov ecx, dword [0x140045138]
test ecx, ecx
je 0x1400432ec
dec ecx
add rsi, 8
mov rdx, rbx
call fcn.14004343c
test rdi, rdi
je 0x1400432df
mov edx, 8
mov rcx, rdi
call fcn.140001f70
jmp 0x1400432df
xor esi, esi
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140045120]
call fcn.140014e00
mov ecx, eax
jmp 0x1400432bd
mov ecx, 8
mov edx, 0x18
call fcn.140002460
int3

Function at 0x1400440a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
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.140044e60
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.140044e60
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 0x140044110
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140054184]
mov rbx, rcx
test esi, esi
jle 0x140044240
mov rax, qword [0x140054188]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14004415b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400441e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140044140
mov rcx, rbx
call fcn.140044b80
mov rdi, rax
test rax, rax
je 0x140044262
mov rax, qword [0x140054188]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140044cc0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140054188]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140044247
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400441de
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400441f0
add dword [0x140054184], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140054188]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400441de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400440a0
nop dword [rax]
xor esi, esi
jmp 0x140044168
mov rax, qword [0x140054188]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400440a0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400440a0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400447f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400541e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400541c0]
test rbx, rbx
je 0x14004484c
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 rsi, rsi
je 0x140044843
test eax, eax
jne 0x140044843
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140044828
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140044b80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14004de60]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140044ba0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140044ba8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140044ba0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140044bfd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140044bf4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140044ba0
add rax, 0x28
cmp rax, r9
jne 0x140044be0
xor eax, eax
ret

Function at 0x140044c00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14004de60]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140044c1f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140044c28
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140044c1f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140044cc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14004de60]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140044cdf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140044ce8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x180012340
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18001239d
lea rbx, [0x180063c00]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180012384
cmp r10, 2
jb 0x180012384
cmp byte [r9], r8b
jne 0x180012384
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180012360
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800123df
lea rbx, [0x180063c00]
cmp r8b, 0x23
jne 0x1800123c3
cmp byte [r9], r8b
jne 0x1800123c3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800123b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180012650
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x18001267f
mov r8d, 0x59a
lea rdx, str.C:UsersiygDesktopProject_Blue_executorimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x18001268b
mov qword [rdi], 0
lea rdx, [0x1800ab260]
mov rcx, rbx
call fcn.1800123f0
mov rbx, rax
test rax, rax
jne 0x1800126ad
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x180012786
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180012786
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180012786
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180012786
cmp rsi, 0xffffffffffffffff
je 0x180012786
mov rax, qword [0x1800bc5d0]
test rax, rax
je 0x180012723
inc dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x180012786
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x180012773
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800bc5d0]
test rax, rax
je 0x180012768
dec dword [rax + 0x3bc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001278f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x180012781
mov qword [rdi], rsi
mov rax, rbp
jmp 0x180012791
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret