joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b47c
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001b4ac
xor eax, eax
jmp 0x14001b56f
mov rbp, rbx
cmp word [rax], si
je 0x14001b4d1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001b4b8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001b4b4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140019a7c
movsxd r14, eax
test eax, eax
jne 0x14001b50f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001b4a5
mov rcx, r14
call fcn.1400178d0
mov rdi, rax
test rax, rax
jne 0x14001b528
xor ecx, ecx
call fcn.140015308
jmp 0x14001b504
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140019a7c
test eax, eax
jne 0x14001b559
mov rcx, rdi
call fcn.140015308
jmp 0x14001b563
xor ecx, ecx
call fcn.140015308
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14001e438
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140013f4c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14001e4d9
cmp ebx, dword [rsp + 0x30]
je 0x14001e4d2
test esi, esi
je 0x14001e4d2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14001e4ad
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14001e4ba
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14001e497
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14001e4be
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14001e4db
mov eax, 1
jmp 0x14001e4db
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140020aa4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000fc00
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140020b2e
cmp byte [rbp - 0x21], r15b
je 0x140020b29
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140020b64
call fcn.140015c34
test eax, eax
jne 0x140020b50
cmp byte [rbp - 0x21], r15b
je 0x140020b48
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140020b64
cmp byte [rbp - 0x21], r15b
je 0x140020b61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000fd88
test eax, eax
jne 0x140020c04
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000fc00
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140020ba3
cmp byte [rbp - 0x21], r15b
je 0x140020bd8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140020bd8
call fcn.140015c34
test eax, eax
jne 0x140020bc4
cmp byte [rbp - 0x21], r15b
je 0x140020bbd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140020bd8
cmp byte [rbp - 0x21], r15b
je 0x140020bd5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000fd88
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140020c04
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140020c07
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140020c15
mov rcx, rdi
call fcn.140015308
cmp byte [rbp + 0x3f], r15b
je 0x140020c24
mov rcx, qword [rbp + 0x27]
call fcn.140015308
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140021270
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.14001782c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001782c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400213c0
cmp rax, 0xffffffffffffffff
je 0x1400213c0
xor edi, edi
test rbp, rbp
jle 0x14002136b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400158f4
mov rbx, rax
test rax, rax
jne 0x1400212f8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140021361
mov edx, 0x8000
mov ecx, r14d
call fcn.140011010
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.140015000
cmp eax, 0xffffffff
je 0x140021341
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140021308
mov edx, r15d
mov ecx, r14d
call fcn.140011010
jmp 0x140021361
cmp byte [rsi + 0x38], dil
je 0x140021358
cmp dword [rsi + 0x34], 5
jne 0x140021358
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140021361
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140015308
jmp 0x1400213d4
jns 0x1400213d4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001782c
cmp rax, 0xffffffffffffffff
jne 0x14002138c
cmp byte [rsi + 0x30], dil
je 0x1400213d4
mov edi, dword [rsi + 0x2c]
jmp 0x1400213d4
mov ecx, r14d
call fcn.14001bee4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400213d4
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 0x1400213d4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400213cd
mov eax, dword [rsi + 0x2c]
jmp 0x1400213d2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001782c
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 0x140022290
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400222b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400222b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x223aad0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x223aadd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x223aaed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x223aad5
lea eax, [rcx + 1]
jmp 0x223aafb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x223ab0e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x223aaf4
sub eax, 3
jb 0x223ab2e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x223ab7d
sar eax, 1
movsxd rbp, eax
jb 0x223ab64
jmp 0x223ab3c
add ebx, ebx
jne 0x223ab3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x223ab64
inc ecx
add ebx, ebx
jne 0x223ab4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x223ab64
call r11
adc ecx, ecx
add ebx, ebx
jne 0x223ab5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x223ab4c
add ecx, 2
jmp 0x223ab69
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0223aa92
jmp 0x223aadd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x538800
mov dl, 0x59
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x223abc9
cmp rsi, rcx
jae 0x223abd1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x223abb0
cmp al, 0x8f
ja 0x223abb0
cmp byte [rsi - 2], 0xf
je 0x223abb6
sub al, 0xe8
cmp al, 1
ja 0x223ab9a
cmp rsi, rcx
jae 0x223abd1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x223aba0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x223abd1
lodsb al, byte [rsi]
jmp 0x223abb0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1e2a000]
mov eax, dword [rdi]
or eax, eax
je 0x223ac2e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1e44218]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x223abde
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x223ac28
mov qword [rbx], rax
add rbx, 8
jmp 0x223abfe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x223ac72
cmp al, 0xef
ja 0x223ac5a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x223ac3a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x223ac49
mov eax, dword [rdi]
add rdi, 4
jmp 0x223ac49
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x223acc6
sub rsp, 0xffffffffffffff80
jmp 0x4784a0
Function at 0x1428d9c04
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1428d9c0e
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 0x1428d9c37
pop rbp
sub rbp, 0x33
sub rbp, 0x28d9c04
in eax, dx
add al, 0x9c
lea eax, [rdx]
sub rsp, 0x20
jmp 0x1428d9c56
mov rax, 0x28d9c04
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x6e69fee3
xor byte [rax], dl
inc rax
dec rcx
jne 0x1428d9c75
jmp 0x1428d9c8c
stosd dword [rdi], eax
push 0xa
push 0xffffffffe3e3df6a
jrcxz 0x1428d9c41
invalid
Function at 0x1808c6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1808c61df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1808c6089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808c606f
add dl, dl
jne 0x1808c6096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808c60f6
xor eax, eax
add dl, dl
jne 0x1808c60a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808c61ad
add dl, dl
jne 0x1808c60b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808c60c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808c60d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808c60dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1808c60ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1808c607e
mov eax, 1
add dl, dl
jne 0x1808c6106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808c6113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808c60fb
sub eax, ebx
mov ebx, 1
jne 0x1808c614c
mov ecx, 1
add dl, dl
jne 0x1808c612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1808c613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808c6123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1808c607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1808c6168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1808c6175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808c615d
cmp eax, 0x7d00
jae 0x1808c619b
cmp eax, 0x500
jb 0x1808c6196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1808c607e
cmp eax, 0x7f
ja 0x1808c619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1808c607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1808c61d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1808c607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140ca3058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140ca31df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140ca3089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ca306f
add dl, dl
jne 0x140ca3096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ca30f6
xor eax, eax
add dl, dl
jne 0x140ca30a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ca31ad
add dl, dl
jne 0x140ca30b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ca30c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ca30d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ca30dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ca30ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ca307e
mov eax, 1
add dl, dl
jne 0x140ca3106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ca3113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ca30fb
sub eax, ebx
mov ebx, 1
jne 0x140ca314c
mov ecx, 1
add dl, dl
jne 0x140ca312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ca313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ca3123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ca307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ca3168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ca3175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ca315d
cmp eax, 0x7d00
jae 0x140ca319b
cmp eax, 0x500
jb 0x140ca3196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ca307e
cmp eax, 0x7f
ja 0x140ca319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ca307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ca31d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140ca307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001121c
Capabilities:
Terminate process

Disassembly:
jmp 0x140013300
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400112a3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014690
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400146b0
xor al, al
jmp 0x140014731
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400146c3
xor al, al
jmp 0x140014731
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400146ed
xor al, al
jmp 0x140014731
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014701
xor al, al
jmp 0x140014731
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014713
xor al, al
jmp 0x140014731
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001472f
xor al, al
jmp 0x140014731
mov al, 1
add rsp, 0x38
ret
Function at 0x140012520
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113cf
movzx eax, al
test eax, eax
jne 0x140012540
mov ecx, 7
call fcn.14001133e
nop
mov byte [rsp + 0x20], 0
call fcn.140011352
mov byte [rsp + 0x21], al
cmp dword [0x14001e868], 1
jne 0x140012564
mov ecx, 7
call fcn.14001133e
nop
jmp 0x1400125bc
cmp dword [0x14001e868], 0
jne 0x1400125b7
mov dword [0x14001e868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111bd
test eax, eax
je 0x140012598
mov eax, 0xff
jmp 0x1400126c1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011348
mov dword [0x14001e868], 2
jmp 0x1400125bc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001132a
call fcn.1400112c6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012619
mov rcx, qword [rsp + 0x30]
call fcn.14001116d
movzx eax, al
test eax, eax
je 0x140012619
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140025020]
nop
call fcn.1400112fd
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001264d
mov rcx, qword [rsp + 0x38]
call fcn.14001116d
movzx eax, al
test eax, eax
je 0x14001264d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011389
nop
call fcn.140012770
mov dword [rsp + 0x28], eax
call fcn.1400112a3
movzx eax, al
test eax, eax
jne 0x14001266c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001267b
call fcn.140011393
nop
xor edx, edx
mov cl, 1
call fcn.14001115e
mov eax, dword [rsp + 0x28]
jmp 0x1400126c1
add rsp, 0x68
ret
Function at 0x140001f98
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], r8
push rdi
sub rsp, 0x30
mov rdi, r9
lea rax, [r11 + 0x18]
xor ebx, ebx
mov qword [r11 - 0x18], rax
mov r9d, 0x20019
mov qword [r11 + 0x18], rbx
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_Explorer
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140002014
mov rax, qword [rsp + 0x60]
lea rdx, str.svcVersion
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
lea ecx, [rbx + 1]
cmove ebx, ecx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140002024
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x18], r8
push rbx
sub rsp, 0x30
lea rax, [r11 + 0x18]
xor ebx, ebx
mov r9d, 0x20006
mov qword [r11 + 0x18], rbx
xor r8d, r8d
mov qword [r11 - 0x18], rax
lea rdx, str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140002097
mov rcx, qword [rsp + 0x50]
lea r9d, [rbx + 4]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x1400a0d08]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
lea ecx, [rbx + 1]
cmove ebx, ecx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400020a0
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
push rbx
sub rsp, 0x30
lea rax, [r11 + 0x18]
xor ebx, ebx
mov r9d, 0x20006
mov qword [r11 + 0x18], rbx
xor r8d, r8d
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400020f2
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1400a0d08]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
lea ecx, [rbx + 1]
cmove ebx, ecx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140007940
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, r9
mov r15, r8
mov r14, rdx
xor r12d, r12d
mov ebx, r12d
mov qword [rbp - 0x41], rbx
mov dword [rbp - 0x39], r12d
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], r12
mov rdx, r8
lea rcx, [rbp - 0x29]
call fcn.14000931c
nop
cmp qword [r14 + 0x10], r12
jne 0x1400079ab
mov rdi, 0xffffffff80000001
jmp 0x140007a52
mov rdi, 0xffffffff80000003
mov rdx, r14
lea rcx, [rbp - 0x29]
call fcn.1400056e0
lea rcx, [0x14009f290]
call fcn.14005fd94
mov r8, rax
lea rdx, [0x14009f290]
lea rcx, [rbp - 0x29]
call fcn.14000566c
mov qword [rbp - 9], r12
mov qword [rbp + 7], r12
mov qword [rbp + 0xf], r12
mov rdx, r15
lea rcx, [rbp - 9]
call fcn.14000931c
nop
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
lea rcx, [rbp - 0x29]
call fcn.14000566c
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x140007a52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007a4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007b41
call fcn.140027b00
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
mov qword [rbp - 0x49], r12
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x140007a8c
mov edi, r12d
mov rbx, qword [rbp - 0x49]
test edi, edi
jne 0x140007abb
cmp qword [rsi + 0x18], 8
jb 0x140007a9a
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test rbx, rbx
je 0x140007ab9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
test edi, edi
sete dil
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x140007afb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007af6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007b3b
call fcn.140027b00
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r12w
test rbx, rbx
je 0x140007b1a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14007a950
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14005fbcc
nop
call fcn.14005fbcc
int3