joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005ca0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.Jasmine_tgi_tutm_tmld_tcalendario_tenterchatau_tobsolete_tsitecontrol_tfestival_tupc_tlinktous_tciao_tmodificar_tanalog_tpowercounter_tkaizentrack_treviewhelpful_tclean_tjsfiles_tweblinks_tgetfile_tcalendarix_tnewspro_tbzccc_ttool_tsubmit_tinstaller_titems_tlinkdirectory_tbo_tanfrage_thffiles_timi_tlogon_tcalcviews_theatmap_tcooper_tcafr_tphpforms_teichart_tdemo_tderecha_tstep_tpki_tie_tbridesonly_tautocar_tplus_tharper_twebster_tgaz_tlistingsdetail_tbrand_tlinkunit_tbadger_tbanners_tlasvegas_tapr
mov r10, rax
sub rbx, rax
movabs rdi, 0x25e22708092f1139
lea r9, [rax + 2]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rax, r8
mov rcx, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1be
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 2]
movsx eax, al
mov word [r9 - 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1be
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [r9 + rbx]
movsx eax, al
mov word [r9], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1be
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 2]
movsx eax, al
mov word [r9 + 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1be
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 4]
movsx eax, al
mov word [r9 + 4], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1be
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 6]
movsx eax, al
mov word [r9 + 6], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1be
sub rcx, rax
movzx eax, byte [rcx + rsi]
add r11d, 6
xor al, byte [rbx + r9 + 8]
lea r9, [r9 + 0xc]
movsx eax, al
mov word [r9 - 4], ax
cmp r11d, 6
jb 0x140005cf0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000d7e0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000d842
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000daf0
test al, al
jne 0x14000d854
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000d810
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 9
mov dword [rbp - 0x20], 0x240001
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x230021
mov dword [rbp - 0x18], 0x22002c
mov dword [rbp - 0x14], 0x480027
mov dword [rbp - 0x10], 0x2c0034
call fcn.140005e60
mov rcx, rax
call 0x14000d7e0
mov qword [0x1400191b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x67
mov dword [rbp - 0x20], 0x240001
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x230021
mov dword [rbp - 0x18], 0x22002c
mov dword [rbp - 0x14], 0x3b0056
call fcn.140002590
mov rcx, rax
call 0x14000d7e0
lea rcx, [rbp - 0x20]
mov qword [0x1400191a8], rax
mov dword [rbp - 0x20], 0x150024
mov dword [rbp - 0x1c], 0x10017
mov dword [rbp - 0x18], 0x6e0005
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000d7e0
Function at 0x14000d870
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400191c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x90019
mov dword [rbp - 0x1c], 0x10016
mov dword [rbp - 0x18], 0x5d0005
mov dword [rbp - 0x14], 0x270057
mov dword [rbp - 0x10], 0x50003
mov dword [rbp - 0xc], 0x750065
call fcn.140002e40
mov rcx, rax
call rbx
mov rbx, qword [0x1400191c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400191a0], rax
mov dword [rbp - 0x20], 0x8001d
mov dword [rbp - 0x1c], 0x4001d
mov dword [rbp - 0x18], 0xb0007
mov dword [rbp - 0x14], 0x270011
mov dword [rbp - 0x10], 0x50003
mov dword [rbp - 0xc], 0x750065
call fcn.140002e40
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x140018090]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400191b0], rax
mov word [rbp - 0x10], 0x331a
mov byte [rbp - 0xe], 9
call fcn.140005220
mov rcx, qword [0x1400191a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140019130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x1160919
mov dword [rbp - 0x1c], 0x6c1d2b05
mov dword [rbp - 0x18], 0x107d1c04
mov word [rbp - 0x14], 0x6d23
call fcn.140001180
mov rcx, qword [0x1400191a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140019130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x8070f03
mov dword [rbp - 0x1c], 0x7d00001b
mov dword [rbp - 0x18], 0x1b6c1928
mov word [rbp - 0x14], 0x6d35
call fcn.140001180
mov rcx, qword [0x1400191b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140018100]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400190e8], rax
mov byte [rbp - 0x10], 0x6c
call fcn.140004e60
mov rcx, qword [0x1400191b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140018030]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400190f0], rax
mov dword [rbp - 0x10], 0x636c0808
call fcn.1400029f0
mov rcx, qword [0x1400191b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140018070]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400190e0], rax
mov byte [rbp - 0x10], 0x6c
call fcn.140004e60
mov rcx, qword [0x1400191b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400180e0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400190d8], rax
mov dword [rbp - 0x10], 0x22670b05
mov byte [rbp - 0xc], 0x61
call fcn.140003790
mov rcx, qword [0x1400191b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140018010]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x2502
mov byte [rbp - 0xe], 9
call fcn.140005220
mov rcx, qword [0x1400191b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x14000e350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000e57e
mov word [rbp + 0x50], 0x614a
mov word [rbp + 0x58], 0x614a
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000e404
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000e3f0
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000e435
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000e420
cmp rdi, rbx
jne 0x14000e552
mov r13, rsi
mov word [rbp - 0x50], 0x614a
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000e476
lea rcx, [rbp - 0x50]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000e462
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000e578
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x61002b
call fcn.1400027f0
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000e4e8
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x610030
call fcn.1400027f0
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000e4e8
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x61002b
mov dword [rbp - 0x42], 0x61000b
call fcn.1400027f0
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x61002b
call fcn.1400027f0
movzx eax, word [rax]
cmp edi, eax
jl 0x14000e545
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x610030
call fcn.1400027f0
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000e545
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x61002b
mov dword [rbp - 0x32], 0x61000b
call fcn.1400027f0
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000e552
inc r14
jmp 0x14000e450
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000e57e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000e3c0
mov rax, qword [rbp - 8]
jmp 0x14000e580
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000f290
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000d842
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000daf0
test al, al
jne 0x14000d854
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000d810
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 9
mov dword [rbp - 0x20], 0x240001
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x230021
mov dword [rbp - 0x18], 0x22002c
mov dword [rbp - 0x14], 0x480027
mov dword [rbp - 0x10], 0x2c0034
call fcn.140005e60
mov rcx, rax
call 0x14000d7e0
mov qword [0x1400191b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x67
mov dword [rbp - 0x20], 0x240001
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x230021
mov dword [rbp - 0x18], 0x22002c
mov dword [rbp - 0x14], 0x3b0056
call fcn.140002590
mov rcx, rax
call 0x14000d7e0
lea rcx, [rbp - 0x20]
mov qword [0x1400191a8], rax
mov dword [rbp - 0x20], 0x150024
mov dword [rbp - 0x1c], 0x10017
mov dword [rbp - 0x18], 0x6e0005
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000d7e0
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14004ce90]
mov dword [rax], 1
mov rax, qword [0x14004cea0]
mov dword [rax], 1
mov rax, qword [0x14004ceb0]
mov dword [rax], 1
mov rax, qword [0x14004ce40]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14002f260
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1400409e0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1400409e0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14002ff32
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400551e8]
test eax, eax
je 0x14002ffca
lea rax, [0x1400551c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400551f0]
mov qword [rbp - 8], rax
jmp 0x14002ffae
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14002ffa2
cmp qword [rbp - 0x10], 0
je 0x14002ffa2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14002ff68
lea rax, [0x1400551c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14002ffcb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400300d0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400300f8
mov eax, 0
jmp 0x140030146
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140030121
mov eax, 0
jmp 0x140030146
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140030141
mov eax, 0
jmp 0x140030146
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14003014c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400301ca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400301c1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400301c1
mov rax, qword [rbp - 8]
jmp 0x1400301df
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140030194
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001a200
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x14001a322
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x14001a358
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x14001a360
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x14001a364
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x14001a36a
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x14001a25c
xor eax, eax
jmp 0x14001a2f1
mov dl, byte [r8 + 0x19]
jmp 0x14001a351
cmp byte [r8 + 0x1a], 0
je 0x14001a355
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14001a355
cmp ecx, 0x666f736f
jne 0x14001a355
cmp edx, 0x76482074
jne 0x14001a355
mov byte [r8 + 0x19], 1
jmp 0x14001a355
Function at 0x14001b4e0
Capabilities:
Set thread local storage value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x14010d038]
xor rax, rsp
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x14001b729
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x140119f10], rax
jne 0x14001b72c
mov rsi, rcx
mov r14d, dword [rcx + 8]
add r14, 0x518
mov byte [rsp + 0x3f], 0xaa
cmp byte [rcx + 2], 0
sete al
bsr rdx, r14
xor rdx, 0xffffffffffffffc0
lea rcx, [0x1400f1f90]
mov cl, byte [rdx + rcx + 0x41]
mov r8, r14
shr r8, cl
and r8d, 7
lea rcx, [0x1400f1fe0]
mov rcx, qword [rcx + rdx*8 + 0x208]
and rcx, r14
lea rdx, [r8 + rdx*8]
add rdx, 0x208
cmp rcx, 1
sbb rdx, 0xffffffffffffffff
lea rcx, [0x1400f1778]
movzx ecx, word [rcx + rdx*2 + 0x400]
cmp cx, 0x6e
setb dl
and dl, al
movzx eax, dl
or eax, ecx
movzx eax, ax
lea r12, [rax + rax*4]
lea r15, [rsi + r12*8]
add r15, 0x48
lea rbx, [rsi + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14001b6af
mov rax, qword [r15]
mov rdi, qword [rax]
test rdi, rdi
je 0x14001b6bc
mov byte [rsp + 0x3f], 0
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001b6a8
lea rdx, [rsi + 0x48]
bswap rcx
mov r14d, dword [rdx + r12*8 + 0x18]
mov rdx, rcx
xor rdx, rdi
cmp rdx, 0x1fffff
ja 0x14001b72f
mov edx, ecx
and edx, 0x1fc000
je 0x14001b72f
prefetcht0 byte [rcx]
mov qword [rax], rcx
mov ecx, dword [rax + 0x18]
lea edx, [rcx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [rax + 0x18], ecx
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x18]
add rax, qword [rsi + 0x1498]
mov qword [rsi + 0x1498], rax
mov rcx, qword [rsi + 0x14a0]
cmp rcx, rax
cmova rax, rcx
mov qword [rsi + 0x14a0], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rdi
mov rdx, rsi
call fcn.14004ade0
mov ecx, dword [0x14011e910]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x14011c780]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x120], rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140079e40
mov rax, rdi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ecx, ecx
jmp 0x14001b609
mov rcx, rbx
call fcn.14004a9c0
jmp 0x14001b5b9
lea rax, [rsp + 0x3f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rcx, r15
mov rdx, rsi
mov r8d, 2
mov r9, r14
call fcn.140048af0
test rax, rax
je 0x14001b722
mov rdi, rax
and rax, 0xffffffffffe00000
mov ecx, edi
shr ecx, 0xe
movzx ecx, cl
shl rcx, 5
or rcx, rax
mov rax, rcx
or rax, 0x1000
or rcx, 0x101e
movzx ecx, byte [rcx]
and ecx, 0x3f
shl rcx, 5
sub rax, rcx
jmp 0x14001b623
xor edi, edi
jmp 0x14001b64d
int3
int3
movaps xmm0, xmmword [0x1400f09f0]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi], xmm0
mov r8, qword [rdi]
lea rdx, str.first
mov rcx, rsi
call fcn.1400ae1e0
mov rcx, rsi
call fcn.140018990
mov rcx, r14
call fcn.1400ae250
int3