joyce8/EMBER2024-capa huggingface dataset:
Function at 0xaa365e
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
push 0x1a8fbebf
cmp ebx, 2
push 0xffffffffab0ba604
push 0x509e6ab8
lea rsp, [rsp + 0x18]
jne 0x154783d
mov edx, 0x6aa8d183
call fcn.015780a5
mov eax, 0x932cdca1
mov rbp, qword [r11 + riz]
mov rax, qword [r11 + riz + 8]
mul rbp
jmp 0x1546ff8
push 0x7b22dca0
mov dword [rsp + 2], 0xea186886
jmp 0x1558bb0
mov qword [rsp + rdx - 0x5d9e06d8], r11
shr ebx, 0x6f
mov r9d, esi
mov r9d, dword [rsp + rsi*2 - 0x66295a1c]
ror r9d, 1
lea r9d, [r9 + rsi - 0x369e8d01]
btr si, dx
push rax
neg bpl
rol r9d, 1
sub r9d, ebx
xadd eax, edx
mov qword [rsp + rsi*2 - 0x66295894], r10
cbw
cdq
btr eax, ebx
movabs rax, 0
push rsi
or dword [rsp + rbp*4 - 0x3c4], 0x832b5783
bt rdx, rdx
mov qword [rsp + rsi*2 - 0x6629584c], rax
movzx r10d, byte [rsp + rsi - 0x3314ac4a]
call fcn.01571a2c
xor edi, dword [rdx - 0x3c]
invalid
lea rsp, [rsp + 0x10]
jne 0x1562ef6
mov eax, 0x3e1f4685
btc rax, 0x1c
mov rax, qword [rax + rbp - 0x2e1f4685]
push 0xffffffffee3fc43f
jae 0xa9adcb
shl qword [rsp], 0xac
sbb rsp, 0x17
call rax
mov rsp, qword [rbp + riz - 0x10]
mov rbp, qword [rbp + riz - 8]
mov r9d, 0xee8b8131
mov qword [rbp + riz], rax
mov r11, rbp
movsx ebx, r9w
mov esi, r9d
push r9
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
call fcn.00a90092
not si
push r15
lea rbp, [rdx*4 + 0x3082ef92]
not rbp
push rbx
mov ebx, edx
push r13
lea rdx, [rsi + rbx*2 + 0x2a875a8a]
jmp 0x157baa4
mov qword [r11], rdx
jmp 0x1566ae5
mov qword [r11 + 8], rax
call fcn.01565b7e
ja 0x153b8fc
and eax, 0xe9d5f19
invalid
add byte [rsp + rdx], ah
ja 0x153b92e
and al, 0xb0
cmp bl, cl
xchg edx, eax
invalid
std
retf
jmp 0x153b8b3
jmp 0xb0f82c
cmp ebx, 3
push 0x683cf108
call fcn.01564c11
mov qword [rsp], rax
call fcn.00a954f9
mov eax, 0x10227ab4
imul eax, eax
mov rax, qword [rbp + rbx*8]
cmp ebx, 1
jne 0x157de82
push 0x2cae5796
mov rcx, rax
push 0xf8cd084
push 0x2935cc20
lea rsp, [rsp + 0x18]
jmp 0x1558bb5
jmp 0x153d575
dec dl
xor r10w, 0xe71d
sub edx, edx
sub rdx, 0x9ae7b9
sbb r10w, 0xcff
sal rdx, 5
dec dx
xor bx, r10w
bt edx, edx
add r10, rsp
movzx dx, byte [r10 + rdx + 0x135cf721]
sub r11, 2
jmp 0x15616bd
push r12
pushfq
bts dx, bp
cbw
shr rbp, 0x3c
push r14
sbb dl, 0x89
push r9
jnp 0x156d588
cdqe
jge 0xa9c149
xor al, 0x7d
invalid
jmp 0xa90d2b

Function at 0xb1013e
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
lea rsp, [rsp + 0x18]
jmp 0x1558bb5

Function at 0xb13ee0
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
lea rsp, [rsp + 0x60]
jmp fcn.01571ab5

Function at 0x153b60b
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
push 0x1b809012
call fcn.01553008
push 0x16853790
push 0xffffffffe593ad8e
mov word [r11], cx
lea rsp, [rsp + 0x18]
jmp fcn.01571ab5
xor bp, 0x27ab
jmp 0x156a62b
lea rbp, [rsp + rbp + 0x38]
push 0x5a0bec09
mov byte [rbp + riz], dil
jmp 0xaa1ba8
dec qword [rsp + 0x12]
xor bx, bp
jmp 0x1556b15

Function at 0x153c2e3
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
lea rbp, [rsp + rbp + 0x18]
mov dword [rbp + riz], edi
call fcn.00a993f9
jmp 0xb11626
Function at 0x1542d80
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
jmp 0x15798f5
lea rsp, [rsp + 0x18]
jmp fcn.01571ab5

Function at 0x1553008
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
lea rsp, [rsp + 0x50]
jmp fcn.01571ab5

Function at 0x1557dfd
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
lea rsp, [rsp + 0x10]
jmp fcn.01571ab5

Function at 0x15780aa
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
lea rsp, [rsp + 0x10]
jmp fcn.01571ab5
jmp 0x15616b1

Function at 0x15783e3
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
push 0x3a286d36
mov byte [rdx], cl
jmp 0x155ff44
xor bx, dx
lea rdx, [rsp + rdx + 0x50]
jmp 0xb0ee05
call fcn.00b13ee0
invalid
rol word [rsp + 0x41], 7
jae 0x153c31a
sub r9, 4
mov r10d, 0x288ba3a8
shl r10w, 0x24
mov r10d, dword [r9 + r10*2 - 0x51167500]
xor r10d, ebx
bswap r10d
call fcn.00a9a23a

Function at 0x158423a
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
not dword [rsp + 0xc]
sbb r11, 3
mov dword [r11], ebp
lea rsp, [rsp + 0x18]
jmp fcn.00a94d4f
not al
xchg qword [rsp + rbp*2 + 0xa], rbp
mov qword [rsp + rbp*8], rbp
shr ebp, 0x71
ror al, 1
bt bp, 0xa7
sbb al, 0x16
rol al, 1
rol byte [rsp + rbp + 2], 0x61
mov qword [rsp + rbp*8 + 0xb], 0x693e4b0d
shr bp, 0x61
xor bl, al
add byte [rsp + rbp*2 + 0xb], 0xb2
sal ebp, 0xbe
not ebp
lea rax, [rsp + rax + 0x18]
or word [rsp + 0x13], bp
dec ebp
add bpl, 0x11
mov ebp, dword [rax + riz]
jb 0x15677d6
invalid

Function at 0x1585cf7
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
xor bx, ax
sub r11, 2
mov word [r11], ax
lea rsp, [rsp + 0x20]
jmp fcn.00a94d4f
Function at 0x456ef0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xd44fd4dd
call fcn.00454500
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 0x456f30
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xd970113
call fcn.00454500
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 0x456f70
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x1f890917
call fcn.00454500
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 0x456ff0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xfcac29f1
call fcn.00454500
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 0x457030
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xb499dc05
call fcn.00454500
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 0x457990
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.00458770
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.00458770
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x457a00
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x0045e074]
mov r12, rcx
test ebx, ebx
jle 0x457b30
mov rax, qword [0x0045e078]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x457a4c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x457ad3
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x457a30
mov rcx, r12
call fcn.004583b0
mov rsi, rax
test rax, rax
je 0x457b52
mov rax, qword [0x0045e078]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.004584e0
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0045e078]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x457b37
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x457acc
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x457ae0
add dword [0x0045e074], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x0045e078]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x457acc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00457990
nop dword [rax]
xor ebx, ebx
jmp 0x457a57
mov rax, qword [0x0045e078]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.00457990
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.00457990
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x458020
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0045e0e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0045e0c0]
test rbx, rbx
je 0x458074
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x45806b
test r12, r12
je 0x45806b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x458050
lea rcx, [0x0045e0e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x4583b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x0045a380]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x4583d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x4583d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x4583d0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x458425
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x45841c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4583d0
add rax, 0x28
cmp rax, r9
jne 0x458408
xor eax, eax
ret
Function at 0x458430
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x0045a380]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x458450
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x458458
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x458450
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x4584e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x0045a380]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x458500
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x458508
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x2fc4c8b10
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4c9512
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ee108]
test eax, eax
je 0x2fc4c95aa
lea rax, [0x2fc4ee0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ee110]
mov qword [rbp - 8], rax
jmp 0x2fc4c958e
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 0x2fc4c9582
cmp qword [rbp - 0x10], 0
je 0x2fc4c9582
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 0x2fc4c9548
lea rax, [0x2fc4ee0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c95ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c96b0
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 0x2fc4c96d8
mov eax, 0
jmp 0x2fc4c9726
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 0x2fc4c9701
mov eax, 0
jmp 0x2fc4c9726
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 0x2fc4c9721
mov eax, 0
jmp 0x2fc4c9726
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c972c
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 0x2fc4c97aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c97a1
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 0x2fc4c97a1
mov rax, qword [rbp - 8]
jmp 0x2fc4c97bf
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 0x2fc4c9774
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14002982c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001ce24
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ce24
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002997c
cmp rax, 0xffffffffffffffff
je 0x14002997c
xor edi, edi
test rbp, rbp
jle 0x140029927
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f738
mov rbx, rax
test rax, rax
jne 0x1400298b4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002991d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a758
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001db00
cmp eax, 0xffffffff
je 0x1400298fd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400298c4
mov edx, r15d
mov ecx, r14d
call fcn.14001a758
jmp 0x14002991d
cmp byte [rsi + 0x38], dil
je 0x140029914
cmp dword [rsi + 0x34], 5
jne 0x140029914
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002991d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b4ec
jmp 0x140029990
jns 0x140029990
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ce24
cmp rax, 0xffffffffffffffff
jne 0x140029948
cmp byte [rsi + 0x30], dil
je 0x140029990
mov edi, dword [rsi + 0x2c]
jmp 0x140029990
mov ecx, r14d
call fcn.140018c10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029990
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029990
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029989
mov eax, dword [rsi + 0x2c]
jmp 0x14002998e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ce24
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002aa80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002aaa8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002aaa8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140979abc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140979ac6
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140979aef
pop rbp
sub rbp, 0x33
sub rbp, 0x979abc
sub rsp, 0x20
jmp 0x140979b0e
mov rax, 0x979abc
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0x7d0afd2c
xor byte [rax], dl
inc rax
dec rcx
jne 0x140979b2d
jmp 0x140979b44
movsd dword [rdi], dword fs:[rsi]
invalid
Function at 0x14003c80f
Capabilities:
Identify system language via api

Disassembly:
push r15
xor rax, rax
push rax
sub rsp, 0x28
call fcn.1400fa660
mov rcx, qword [rsp + 0x60]
call fcn.140077c64
push rcx
sub rsp, 0x28
call fcn.1400fa330
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400fa330
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
sub rsp, 0x20
call sub.KERNEL32.dll_GetUserDefaultLangID
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400f8060
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400fa3f0
push qword [rsp + 0x28]
pop rcx
call fcn.1400f7ee0
mov r15, rax
cmp r15, 3
jne 0x14003c8d2
push rcx
sub rsp, 0x28
call fcn.1400fa330
add rsp, 0x28
pop rcx
push rax
movabs rcx, 0x14018c4e8
sub rsp, 0x28
call fcn.1400fa380
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400fa380
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400fa3f0
mov rcx, qword [rsp + 0x28]
push rcx
sub rsp, 0x28
call fcn.1400fa330
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400fa380
add rsp, 0x28
pop rax
push rax
call fcn.1400fa560
pop rdx
add rax, rdx
jmp 0x14003c90b
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400fa6d0
add rsp, 0x28
pop rax
add rsp, 0x30
pop r15
ret
Function at 0x14005a049
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push r15
mov rax, 7
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14005a05c
sub rsp, 0x28
call fcn.1400fa660
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400fa1d0
add rsp, 0x10
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x30]
sub rsp, 0x10
call fcn.1400fa1d0
add rsp, 0x10
push qword [rsp + 0x28]
pop rcx
call fcn.14005aaa5
push qword [rsp + 0x30]
movabs rcx, 0x14018c362
pop rdx
call fcn.1400fa500
or rax, rax
je 0x14005a18d
cmp dword [0x1408461b0], 0
je 0x14005a16b
movabs rax, str.Advapi32.dll
push rax
push 0xffffffffffffffff
pop rcx
pop rdx
call fcn.1400be920
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14005a169
movabs rax, str.RegDeleteKeyExA
push rax
push qword [rsp + 0x40]
pop rcx
pop rdx
call fcn.1400be9a8
mov qword [rsp + 0x40], rax
sub rsp, 8
push 0
movsxd r15, dword [0x1408461b8]
or r15, 0xf003f
mov rax, r15
push rax
mov rax, qword [0x1408460a4]
mov rax, rax
push rax
push qword [0x1408460cc]
push qword [rsp + 0x68]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400bffd4
add rsp, 0x30
mov qword [rsp + 0x48], rax
push qword [rsp + 0x38]
pop rcx
call fcn.1400be80c
jmp 0x14005a188
mov rax, qword [0x1408460a4]
mov rax, rax
push rax
push qword [0x1408460cc]
pop rcx
pop rdx
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov qword [rsp + 0x48], rax
jmp 0x14005a252
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push qword [0x1408460cc]
push qword [rsp + 0x40]
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_RegConnectRegistryW
movsxd rax, eax
mov qword [rsp + 0x50], rax
cmp dword [0x1408461b0], 0
je 0x14005a237
movabs rax, str.Advapi32.dll
push rax
push 0xffffffffffffffff
pop rcx
pop rdx
call fcn.1400be920
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14005a235
push 0
movsxd r15, dword [0x1408461b8]
or r15, 0xf003f
mov rax, r15
push rax
mov rax, qword [0x1408460a4]
mov rax, rax
push rax
push qword [rsp + 0x70]
movabs rax, str.RegDeleteKeyExA
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400bf4d8
add rsp, 0x30
mov qword [rsp + 0x48], rax
push qword [rsp + 0x38]
pop rcx
call fcn.1400be80c
jmp 0x14005a252
mov rax, qword [0x1408460a4]
mov rax, rax
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0x48]
and r15, r15
jne 0x14005a265
mov rax, 1
jmp 0x14005a268
xor rax, rax
push rax
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400fa6d0
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400fa6d0
add rsp, 0x28
pop rax
add rsp, 0x60
pop r15
ret

Function at 0x140077c64
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x140841190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret