joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021620
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 0x14002167d
lea rbx, [0x14005b340]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140021664
cmp r10, 2
jb 0x140021664
cmp byte [r9], r8b
jne 0x140021664
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 0x140021640
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400216bf
lea rbx, [0x14005b340]
cmp r8b, 0x23
jne 0x1400216a3
cmp byte [r9], r8b
jne 0x1400216a3
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 0x140021690
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140021800
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14002181a
mov qword [r8], 0
lea rdx, [0x14006247c]
call fcn.1400216d0
mov rbx, rax
test rax, rax
jne 0x14002183a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140021911
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140021911
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140021911
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140021911
cmp rdi, 0xffffffffffffffff
je 0x140021911
mov rax, qword [0x14006e2c8]
test rax, rax
je 0x1400218ae
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140021911
mov r9, rbx
mov r8, rdi
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, rdi
je 0x1400218fe
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14006e2c8]
test rax, rax
je 0x1400218f3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14002191a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14002190c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14002191c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140024240
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x14005b340]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x14006e2c8]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x1400242d6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140037d20
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400242e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xd8]
lea r9, [0x14005b340]
movss xmm2, dword [rcx + 0xf0]
movss xmm3, dword [rcx + 0xf4]
movsxd rcx, dword [rcx + 0xd0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x1400319a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14006d010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14006e2c8]
mov edi, ecx
cmp byte [rbx + 0x4a15], 0
jne 0x140031a01
cmp byte [rbx + 0x4a16], 0
jne 0x140031a01
movsx r9d, word [rbx + 0x5b0a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400214e0
test dil, 1
je 0x140031b28
jmp 0x140031a8a
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b0a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140062eec]
mulss xmm1, dword [0x140062ee0]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4778], rax
mov dword [rbx + 0x4764], 1
movss dword [rbx + 0x4770], xmm0
movss dword [rbx + 0x4774], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x140062e48]
or dword [rbx + 0x4760], 0x41
movss dword [rbx + 0x47c0], xmm0
call fcn.1400214e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140031ae0
lea r11, [0x14005b340]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140031ac3
cmp byte [r8], r9b
jne 0x140031ac3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140031ab0
not ecx
call fcn.14002a010
test rax, rax
je 0x140031b28
cmp byte [rax + 0x96], 0
je 0x140031b28
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b0a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b0a]
call fcn.1400214e0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14002c7e0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140056f00
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140036800
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5bf0], 0
lea rbx, [rcx + 0x5bf8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400368a3
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x140036856
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140038850
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140021d20
mov eax, dword [rbx]
lea rcx, [0x14006e2c0]
mov r9, qword [rdi + 0x5bf0]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x5c00]
cmove edx, r14d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400368ab
mov rcx, rbx
call fcn.140021d20
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140036d20
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14006e2c8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140036d83
mov qword [rsp], rbx
lea rbx, [0x14005b340]
nop dword [rax]
cmp r9b, 0x23
jne 0x140036d63
cmp byte [r8], r9b
jne 0x140036d63
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140036d50
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b68]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140036db7
mov r10, qword [r10 + 0x5b70]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140036dbe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140036da4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140057b60
Capabilities:
Parse pe header

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

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r12, rcx
test edx, edx
je 0x140001be5
mov r13d, edx
mov edi, 0
lea r14, [0x140001530]
lea rbx, [0x14049fcc1]
jmp 0x140001ad7
mov byte [0x14049fcc1], 0
mov edx, esi
sar edx, 0x1f
shr edx, 0x1b
lea eax, [rsi + rdx]
and eax, 0x1f
sub eax, edx
cdqe
lea rdx, [0x14049fca0]
xor bpl, byte [rdx + rax]
mov byte [r12 + rdi], bpl
add rdi, 1
cmp r13, rdi
je 0x140001be5
mov esi, edi
movzx ebp, byte [r12 + rdi]
mov byte [rsp + 0x20], 0x14
mov byte [rsp + 0x21], 0x16
mov byte [rsp + 0x22], 0x1f
mov byte [rsp + 0x23], 0x23
mov byte [rsp + 0x24], 0x1d
mov byte [rsp + 0x25], 0x27
mov byte [rsp + 0x26], 0x28
mov byte [rsp + 0x27], 0x2a
mov byte [rsp + 0x28], 0x26
mov byte [rsp + 0x29], 0x1e
mov byte [rsp + 0x2a], 0x15
mov byte [rsp + 0x2b], 0x21
mov byte [rsp + 0x2c], 0x24
mov byte [rsp + 0x2d], 0x26
mov byte [rsp + 0x2e], 0x21
mov byte [rsp + 0x2f], 0x22
mov byte [rsp + 0x30], 0x12
mov byte [rsp + 0x31], 0x18
mov byte [rsp + 0x32], 0x18
mov byte [rsp + 0x33], 0x1d
mov byte [rsp + 0x34], 0x27
mov byte [rsp + 0x35], 0x1c
mov byte [rsp + 0x36], 0x13
mov byte [rsp + 0x37], 0x1c
mov byte [rsp + 0x38], 0x1d
mov byte [rsp + 0x39], 0x1f
mov byte [rsp + 0x3a], 0x1a
mov byte [rsp + 0x3b], 0x24
mov byte [rsp + 0x3c], 0x23
mov byte [rsp + 0x3d], 0x29
mov byte [rsp + 0x3e], 0x2b
mov byte [rsp + 0x3f], 0x25
mov byte [rsp + 0x40], 0xb1
cmp byte [0x14049fc80], 0
jne 0x140001bc0
mov byte [0x14049fcc1], 1
mov eax, 0
lea rcx, [0x14049fca0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x21
jne 0x140001b9f
mov byte [0x14049fc80], 1
mov rcx, r14
call fcn.1400014f0
cmp byte [0x14049fcc1], 0
je 0x140001aa9
lea rax, [0x14049fca0]
add byte [rax], 0x4f
add rax, 1
cmp rbx, rax
jne 0x140001bd4
jmp 0x140001aa2
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140007110
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x140007140
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x14000713f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140007145
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x14000713f
mov eax, 0
jmp 0x14000713f

Function at 0x1400077c0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140007770
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140010dd0
Capabilities:
Write file on windows

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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1404a0074]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x140010fd0
mov rax, qword [0x1404a0078]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x140010e8c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x140010f15
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x140010e70
mov rcx, rdi
call fcn.1400119a0
test rax, rax
mov r12, rax
je 0x140011022
mov rax, qword [0x1404a0078]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.140011ae0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1404a0078]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140011005
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140010f0e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140010f80
add dword [0x1404a0074], 1
cmp ebx, 8
jae 0x140010f41
test bl, 4
jne 0x140010fe0
test ebx, ebx
je 0x140010f36
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x140010ff4
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x140010f36
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x140010f5a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1404a0078]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140010f0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140010dd0
xor esi, esi
jmp 0x140010e97
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x140010f36
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x140010f36
mov rax, qword [0x1404a0078]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.140010dd0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.140010dd0
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x1400115f0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1404a00e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1404a00c0]
test rbx, rbx
je 0x140011644
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14001163b
test rsi, rsi
je 0x14001163b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140011620
lea rcx, [0x1404a00e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400119a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140499bd0]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x140011a0f
mov rcx, r9
call fcn.140011870
test eax, eax
je 0x140011a0f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x140011a0d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140011a04
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140011a0f
add rdx, 0x28
cmp rdx, r9
jne 0x1400119f0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001bd30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x140495fe0]
jmp 0x1400127d0

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

Disassembly:
lea rcx, [0x140495fe0]
jmp 0x1400127d0
Function at 0x1400027b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov r15d, r9d
mov r14d, r8d
mov r13, rdx
mov r12, rcx
mov dword [rbp - 8], r9d
sub rsp, 0x200
nop
mov ecx, 0x1000000
call fcn.1400027a0
mov dword [rbp + 4], 3
cmp r15d, eax
jae 0x140002891
nop
nop
mov ecx, 0xff0000
mov edx, 0x8d
call fcn.1400027a0
mov rbx, rax
and ebx, r15d
mov edx, 0x1b
xor ecx, ecx
call fcn.1400027a0
mov dword [rbp + 4], 2
cmp ebx, eax
jne 0x140002891
nop
nop
mov ecx, 0xff00
mov edx, 0x56
mov r8d, 4
call fcn.1400027a0
mov rbx, rax
and ebx, r15d
xor ecx, ecx
call fcn.1400027a0
mov dword [rbp + 4], 1
cmp ebx, eax
jne 0x140002891
nop
nop
mov ecx, 0xff
mov edx, 0xec1e9b
mov r8d, 0x6fdc32
mov r9d, 0x17
call fcn.1400027a0
and r15d, eax
xor ecx, ecx
call fcn.1400027a0
mov dword [rbp + 4], 0
cmp r15d, eax
jne 0x140002891
nop
mov dword [rbp - 4], 0xffffffff
jmp 0x140002898
mov eax, dword [rbp + 4]
nop
mov dword [rbp - 4], eax
mov ebx, dword [rbp - 4]
mov edx, 0xac
xor ecx, ecx
mov r8d, ebx
call fcn.1400027a0
mov r15, rax
mov r8d, 0x74
mov r9d, 0x6a
xor ecx, ecx
mov edx, ebx
call fcn.1400027a0
cmp ebx, r15d
je 0x14000295b
cmp r14d, eax
je 0x14000295b
mov eax, r14d
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0
mov dword [rbp], 0
xor edi, edi
nop dword [rax]
mov esi, dword [rbp]
mov rbx, qword [rbp - 0x10]
mov ecx, 3
mov r8d, 0xc3
mov rdx, rbx
mov r9, rbx
call fcn.1400027a0
cmp esi, eax
cmovg esi, edi
nop
movsxd rsi, esi
movzx eax, byte [rbp + rsi - 8]
xor al, byte [r12 + rbx]
mov byte [r13 + rbx], al
mov ecx, 1
mov edx, 0xf6
mov r8d, 0x72
call fcn.1400027a0
add esi, eax
mov ecx, 1
mov rdx, rbx
mov r8, rbx
call fcn.1400027a0
add rax, rbx
cmp rax, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
mov dword [rbp], esi
jb 0x1400028f0
add rsp, 0x200
mov rax, r13
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14001a032
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
vmovaps xmmword [rsp + 0x80], xmm14
vmovaps xmmword [rsp + 0x70], xmm13
vmovaps xmmword [rsp + 0x60], xmm12
vmovaps xmmword [rsp + 0x50], xmm11
vmovaps xmmword [rsp + 0x40], xmm10
vmovaps xmmword [rsp + 0x30], xmm9
vmovaps xmmword [rsp + 0x20], xmm8
vmovaps xmmword [rsp + 0x10], xmm7
vmovaps xmmword [rsp], xmm6
vaesimc xmm0, xmmword [rdx + 0x10]
vaesimc xmm1, xmmword [rdx + 0x20]
vaesimc xmm2, xmmword [rdx + 0x30]
vaesimc xmm3, xmmword [rdx + 0x40]
vaesimc xmm4, xmmword [rdx + 0x50]
vaesimc xmm5, xmmword [rdx + 0x60]
vaesimc xmm6, xmmword [rdx + 0x70]
vaesimc xmm7, xmmword [rdx + 0x80]
vaesimc xmm8, xmmword [rdx + 0x90]
vaesimc xmm9, xmmword [rdx + 0xa0]
vaesimc xmm10, xmmword [rdx + 0xb0]
vaesimc xmm11, xmmword [rdx + 0xc0]
vaesimc xmm12, xmmword [rdx + 0xd0]
vmovaps xmm13, xmmword [rdx]
vmovaps xmm14, xmmword [rdx + 0xe0]
vmovaps xmmword [rcx], xmm13
vmovdqa xmmword [rcx + 0x10], xmm0
vmovdqa xmmword [rcx + 0x20], xmm1
vmovdqa xmmword [rcx + 0x30], xmm2
vmovdqa xmmword [rcx + 0x40], xmm3
vmovdqa xmmword [rcx + 0x50], xmm4
vmovdqa xmmword [rcx + 0x60], xmm5
vmovdqa xmmword [rcx + 0x70], xmm6
vmovdqa xmmword [rcx + 0x80], xmm7
vmovdqa xmmword [rcx + 0x90], xmm8
vmovdqa xmmword [rcx + 0xa0], xmm9
vmovdqa xmmword [rcx + 0xb0], xmm10
vmovdqa xmmword [rcx + 0xc0], xmm11
vmovdqa xmmword [rcx + 0xd0], xmm12
vmovaps xmmword [rcx + 0xe0], xmm14
vmovaps xmm6, xmmword [rsp]
vmovaps xmm7, xmmword [rsp + 0x10]
vmovaps xmm8, xmmword [rsp + 0x20]
vmovaps xmm9, xmmword [rsp + 0x30]
vmovaps xmm10, xmmword [rsp + 0x40]
vmovaps xmm11, xmmword [rsp + 0x50]
vmovaps xmm12, xmmword [rsp + 0x60]
vmovaps xmm13, xmmword [rsp + 0x70]
vmovaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret

Function at 0x140030389
Capabilities:
Get geographical location

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.14021f0ed
test rax, rax
je 0x1400303b4
mov qword [rsi + 8], rax
mov qword [rsi], 2
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rsi
mov rdx, rdi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14000abde
Function at 0x1400327ab
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov r14, r8
mov r15, rdx
mov rdi, rcx
mov r8, qword [rsp + 0xa0]
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov rdx, r9
call fcn.1402d9ce1
mov r12, qword [rsi]
mov rsi, qword [rsi + 0x10]
add rsi, rsi
test rsi, rsi
je 0x140032812
js 0x1400328b0
mov ecx, 1
mov rdx, rsi
call fcn.1400d2cea
mov rbx, rax
test rax, rax
jne 0x140032817
mov ecx, 1
mov rdx, rsi
call fcn.1400a9a20
ud2
mov ebx, 1
mov rcx, rbx
mov rdx, r12
mov r8, rsi
call sub.msvcrt.dll_memcpy
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x14003283f
add r8, r8
mov edx, 2
mov rcx, r12
call fcn.140031eef
lea r12, [rsp + 0x30]
mov rcx, r12
mov rdx, r15
mov r8, r14
call fcn.1400328b7
mov r14, qword [r12]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
xor r15d, r15d
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
mov r9d, 1
call sub.advapi32.dll_RegSetValueExW
mov rcx, rax
shl rcx, 0x20
or rcx, 2
test eax, eax
cmovne r15, rcx
mov rdx, qword [r12 + 8]
mov rcx, r14
call fcn.1402d7b3c
mov rcx, rbx
mov rdx, rsi
call fcn.1400d33bf
mov rax, r15
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400a99d0
ud2