joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001360
Capabilities:
Enumerate pe sections

Disassembly:
push r13
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r12
mov rsi, rcx
xor ebx, ebx
mov qword [rsp + 0x28], rbx
movsxd rdi, dword [rcx + 0x3c]
add rdi, rcx
cmp word [rdi + 4], 0x8664
je 0x140001419
mov ecx, dword [rdi + 0x50]
call fcn.14008c4a0
mov r12, rax
mov qword [rsp + 0x28], rax
mov r8d, dword [rdi + 0x50]
xor edx, edx
mov rcx, rax
call fcn.1400c2840
mov r8d, dword [rdi + 0x54]
mov rdx, rsi
mov rcx, r12
call fcn.1400c1a10
movsxd r13, dword [r12 + 0x3c]
add r13, r12
movzx eax, word [r13 + 0x14]
lea rdi, [rax + r13 + 0x18]
mov dword [rsp + 0x20], ebx
nop
movzx eax, word [r13 + 6]
cmp ebx, eax
jae 0x140001495
mov eax, ebx
lea rcx, [rax + rax*4]
mov eax, dword [rdi + rcx*8 + 0x14]
test eax, eax
je 0x140001410
mov r8d, dword [rdi + rcx*8 + 0x10]
lea rdx, [rsi + rax]
mov ecx, dword [rdi + rcx*8 + 0xc]
add rcx, r12
call fcn.1400c1a10
add ebx, 1
mov dword [rsp + 0x20], ebx
jmp 0x1400013e0
mov ecx, dword [rdi + 0x50]
call fcn.14008c4a0
mov r12, rax
mov qword [rsp + 0x28], rax
mov r8d, dword [rdi + 0x50]
xor edx, edx
mov rcx, rax
call fcn.1400c2840
mov r8d, dword [rdi + 0x54]
mov rdx, rsi
mov rcx, r12
call fcn.1400c1a10
movsxd r13, dword [r12 + 0x3c]
add r13, r12
movzx eax, word [r13 + 0x14]
lea rdi, [rax + r13 + 0x18]
mov dword [rsp + 0x20], ebx
nop
movzx eax, word [r13 + 6]
cmp ebx, eax
jae 0x140001495
mov eax, ebx
lea rcx, [rax + rax*4]
mov eax, dword [rdi + rcx*8 + 0x14]
test eax, eax
je 0x14000148c
mov r8d, dword [rdi + rcx*8 + 0x10]
lea rdx, [rsi + rax]
mov ecx, dword [rdi + rcx*8 + 0xc]
add rcx, r12
call fcn.1400c1a10
add ebx, 1
mov dword [rsp + 0x20], ebx
jmp 0x140001460
mov rax, r12
jmp 0x14000149f
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
add rsp, 0x40
pop r13
ret

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

Disassembly:
sub rsp, 0x18
mov qword [rsp + 8], 0xfffffffffffffffe
cmp word [rcx], 0x5a4d
je 0x140001518
xor eax, eax
jmp 0x140001575
movsxd r8, dword [rcx + 0x3c]
add r8, rcx
cmp dword [r8], 0x4550
je 0x14000152c
xor eax, eax
jmp 0x140001575
movzx eax, word [r8 + 0x14]
lea r9, [rax + r8 + 0x18]
xor edx, edx
mov dword [rsp], edx
nop
nop
movzx eax, word [r8 + 6]
cmp edx, eax
jge 0x14000156c
movsxd rax, edx
lea rcx, [rax + rax*4]
mov eax, dword [r9 + rcx*8 + 0xc]
add eax, dword [r9 + rcx*8 + 8]
cmp eax, dword [r8 + 0x50]
jbe 0x140001564
xor eax, eax
jmp 0x140001575
add edx, 1
mov dword [rsp], edx
jmp 0x140001540
mov eax, 1
jmp 0x140001575
add rsp, 0x18
ret
Function at 0x1400015a0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
movsxd rsi, dword [rcx + 0x3c]
xor ebp, ebp
mov r12, rcx
add rsi, rcx
mov ebx, ebp
cmp word [rsi + 6], bx
movzx eax, word [rsi + 0x14]
lea rdi, [rax + rsi + 0x18]
jbe 0x140001602
nop
nop
nop
lea rdx, str..rsrc
mov rcx, rdi
call fcn.1400c1f80
test eax, eax
je 0x140001602
movzx eax, word [rsi + 6]
add ebx, 1
add rdi, 0x28
cmp ebx, eax
jl 0x1400015e0
movzx eax, word [rsi + 6]
cmp ebx, eax
jl 0x14000160e
xor eax, eax
jmp 0x140001626
mov eax, dword [rdi + 0xc]
mov edx, dword [rax + r12]
test edx, edx
je 0x14000160a
mov ecx, edx
shr ecx, 0x18
cmp dl, cl
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x140001930
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x40
movsxd rbx, dword [rdx + 0x3c]
xor r12d, r12d
xor r9d, r9d
add rbx, rdx
mov qword [rsp + 0x30], r12
xor r8d, r8d
cmp word [rbx + 4], 0x8664
movzx esi, word [rbx + 0x14]
mov r13, rdx
mov dword [rsp + 0x28], r12d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
je 0x140001a2c
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
mov rbp, rax
je 0x1400019bf
mov r8d, dword [rbx + 0x54]
lea r9, [rsp + 0x68]
mov rdx, r13
mov rcx, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r11d, dword [rbx + 0x54]
cmp dword [rsp + 0x68], r11d
je 0x1400019c9
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140001ac8
mov edi, r12d
cmp word [rbx + 6], di
jbe 0x140001abd
lea rsi, [rsi + rbx + 0x28]
nop
nop
mov edx, dword [rsi + 4]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [rsi - 4]
mov r8d, dword [rsi]
lea r9, [rsp + 0x68]
add rdx, r13
mov rcx, rbp
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r11d, dword [rsi]
cmp dword [rsp + 0x68], r11d
jne 0x1400019b6
movzx eax, word [rbx + 6]
add edi, 1
add rsi, 0x28
cmp edi, eax
jb 0x1400019e0
jmp 0x140001abd
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
mov rbp, rax
je 0x1400019bf
mov r8d, dword [rbx + 0x54]
lea r9, [rsp + 0x68]
mov rdx, r13
mov rcx, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r11d, dword [rbx + 0x54]
cmp dword [rsp + 0x68], r11d
jne 0x1400019b6
mov edi, r12d
cmp word [rbx + 6], di
jbe 0x140001abd
lea rsi, [rsi + rbx + 0x28]
mov edx, dword [rsi + 4]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [rsi - 4]
mov r8d, dword [rsi]
lea r9, [rsp + 0x68]
add rdx, r13
mov rcx, rbp
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r11d, dword [rsi]
cmp dword [rsp + 0x68], r11d
jne 0x1400019b6
movzx eax, word [rbx + 6]
add edi, 1
add rsi, 0x28
cmp edi, eax
jb 0x140001a72
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret
Function at 0x140001af0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movsxd rbx, dword [rcx + 0x3c]
add rbx, rcx
cmp word [rbx + 4], 0x8664
movzx eax, word [rbx + 0x14]
lea rdi, [rax + rbx + 0x18]
je 0x140001b46
cmp dword [rbx + 0xa0], 0
je 0x140001bc1
cmp dword [rbx + 0xa4], 0
je 0x140001bc1
xor eax, eax
mov dword [rbx + 0xa0], eax
mov dword [rbx + 0xa4], eax
jmp 0x140001b66
cmp dword [rbx + 0xb0], 0
je 0x140001bc1
cmp dword [rbx + 0xb4], 0
je 0x140001bc1
xor eax, eax
mov dword [rbx + 0xb0], eax
mov dword [rbx + 0xb4], eax
movzx esi, word [rbx + 6]
lea rdx, str..reloc
sub esi, 1
movsxd rax, esi
lea rcx, [rax + rax*4]
lea rbp, [rdi + rcx*8]
mov rcx, rbp
call fcn.1400c1f80
test eax, eax
jne 0x140001bc1
add word [rbx + 6], 0xffff
lea r8d, [rax + 0x28]
xor edx, edx
mov rcx, rbp
call fcn.1400c2840
mov edx, dword [rbx + 0x38]
lea eax, [rsi - 1]
cdqe
lea rcx, [rax + rax*4]
mov eax, dword [rdi + rcx*8 + 0xc]
add eax, dword [rdi + rcx*8 + 8]
lea ecx, [rax + rdx - 1]
lea eax, [rdx - 1]
not eax
and ecx, eax
mov dword [rbx + 0x50], ecx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140002dc0
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [rcx]
mov rbp, rcx
mov ecx, dword [rcx + 8]
mov r12d, edx
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, str.TEMP
mov rcx, rbx
call fcn.1400b3b50
test rax, rax
jne 0x140002e49
cmp byte [rbx], al
mov rsi, qword [rbp + 8]
mov rdi, rbx
je 0x140002e27
test rsi, rsi
je 0x140002e27
add rdi, 1
sub rsi, 1
cmp byte [rdi], 0
jne 0x140002e15
lea rdx, str.TEMP
mov r8, rsi
mov rcx, rdi
call fcn.1400c2b80
xor edx, edx
mov rcx, rbx
mov byte [rsi + rdi - 1], 0
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
cmp byte [rcx + rbx - 2], 0x5c
je 0x140002ead
cmp byte [rbx], al
mov rsi, qword [rbp + 8]
mov rdi, rbx
je 0x140002e81
nop
nop
test rsi, rsi
je 0x140002e81
add rdi, 1
sub rsi, 1
cmp byte [rdi], al
jne 0x140002e70
lea rdx, [0x1400e4e80]
lea rcx, [rsp + 0x20]
mov r8d, 0x5c
call fcn.1400c2cf0
lea rdx, [rsp + 0x20]
mov r8, rsi
mov rcx, rdi
call fcn.1400c2b80
mov byte [rdi + rsi - 1], 0
cmp byte [rbx], 0
mov rdi, qword [rbp + 8]
mov rsi, rbx
mov rbp, rdi
je 0x140002ed2
nop
test rbp, rbp
je 0x140002ed2
add rsi, 1
sub rbp, 1
cmp byte [rsi], 0
jne 0x140002ec0
lea rdx, str.ebsetup
mov r8, rbp
mov rcx, rsi
call fcn.1400c2b80
mov byte [rsi + rbp - 1], 0
cmp byte [rbx], 0
mov rsi, rbx
mov rbp, rdi
je 0x140002f06
test rbp, rbp
je 0x140002f06
add rsi, 1
sub rbp, 1
cmp byte [rsi], 0
jne 0x140002ef4
lea rdx, [0x1400e4e80]
lea rcx, [rsp + 0x20]
mov r8d, r12d
call fcn.1400c2cf0
lea rdx, [rsp + 0x20]
mov r8, rbp
mov rcx, rsi
call fcn.1400c2b80
mov byte [rsi + rbp - 1], 0
cmp byte [rbx], 0
je 0x140002f46
test rdi, rdi
je 0x140002f46
add rbx, 1
sub rdi, 1
cmp byte [rbx], 0
jne 0x140002f34
lea rdx, [0x1400e4e84]
mov r8, rdi
mov rcx, rbx
call fcn.1400c2b80
mov byte [rdi + rbx - 1], 0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400c2a20
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x140004220
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rdx, rcx
lea rcx, [rsp + 0xa0]
mov r8d, 0x80
call fcn.1400c2b80
lea rcx, [rsp + 0xa0]
mov byte [rsp + 0x11f], 0
call fcn.1400e23d0
xor edi, edi
cmp byte [str._86__.__t957], dil
je 0x1400042fe
lea rsi, str._86__.__t957
mov rbx, rsi
nop
nop
movsxd rax, edi
lea rdx, [rsp + 0x20]
mov rcx, rax
shl rax, 4
shl rcx, 4
sub rdx, rax
add rcx, rsi
sub rdx, rsi
nop
movzx eax, byte [rcx]
add rcx, 1
test al, al
mov byte [rdx + rcx - 1], al
jne 0x1400042b0
cmp byte [rsp + 0x20], 0
lea rax, [rsp + 0x20]
je 0x1400042dc
nop
nop
xor byte [rax], 0x5a
add rax, 1
cmp byte [rax], 0
jne 0x1400042d0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xa0]
call fcn.1400c2e00
test rax, rax
jne 0x140004325
add rbx, 0x10
add edi, 1
cmp byte [rbx], al
jne 0x140004290
xor eax, eax
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400c2a20
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov eax, 1
jmp 0x140004300
Function at 0x140004850
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
xor edx, edx
lea rdi, [0x140164298]
lea r8d, [rdx + 0x28]
mov rcx, rdi
call fcn.1400c2840
lea rcx, [0x1400040f0]
xor edx, edx
call qword [sym.imp.USER32.dll_EnumWindows]
xor ecx, ecx
call fcn.1400c2a40
xor r12d, r12d
lea r13, [0x1401642c0]
lea rbp, [rax + 0xa]
xor ecx, ecx
call fcn.1400c2a40
cmp rbp, rax
jle 0x1400048f8
mov esi, 1
mov rbx, rdi
mov r8d, dword [rbx]
test r8d, r8d
je 0x1400048e0
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x1400048dd
mov rcx, rax
mov esi, r12d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400048e0
mov dword [rbx], r12d
add rbx, 4
cmp rbx, r13
jl 0x1400048b5
test esi, esi
jne 0x1400048f8
lea ecx, [rsi + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400048a1
mov r8d, dword [rdi]
test r8d, r8d
je 0x14000493c
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x14000493c
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
mov rbx, rax
je 0x14000493c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
cmp rdi, r13
jl 0x1400048f8
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
jmp fcn.1400041f0
Function at 0x1400049d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x2b0
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
lea rax, [rsp + 0x48]
lea rdx, str.SOFTWAREMicrosoftInternet_ExplorerTypedUrls
xor ebx, ebx
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140004b14
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x2c0], rdi
mov qword [rsp + 0x28], rbx
mov byte [rsp + 0x60], bl
mov edi, ebx
mov dword [rsp + 0x40], 0x40
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x140004b0c
nop
nop
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
lea rdx, [rsp + 0x60]
xor r8d, r8d
add edi, 1
mov byte [rsp + 0xa0], bl
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x200
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140004ac6
lea rcx, [rsp + 0xa0]
call fcn.140004220
test eax, eax
jne 0x140004b07
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov edx, edi
mov qword [rsp + 0x28], rbx
mov byte [rsp + 0x60], bl
mov dword [rsp + 0x40], 0x40
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x140004a70
jmp 0x140004b0c
mov ebx, 1
mov rdi, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140004b24
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400c2a20
add rsp, 0x2b0
pop rbx
ret
Function at 0x140006cc0
Capabilities:
Timestomp file

Disassembly:
push rbx
sub rsp, 0x50
xor eax, eax
xor r9d, r9d
mov edx, 0xc0000000
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
lea r8d, [rax + 3]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x140006d2b
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea r9, [rsp + 0x68]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x50
pop rbx
ret

Function at 0x140006d40
Capabilities:
Get common file path
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x170
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor esi, esi
test rcx, rcx
mov rbx, rdx
mov rbp, rcx
je 0x140006eec
test rdx, rdx
je 0x140006eec
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x103
mov qword [rsp + 0x1a0], rdi
mov byte [rsp + 0x50], sil
call fcn.1400c2840
mov rcx, qword [0x140167678]
lea rdx, [rsp + 0x50]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [rsi + 0x5c]
lea rcx, [rsp + 0x50]
call fcn.1400c36c0
test rax, rax
je 0x140006e33
mov byte [rax + 1], sil
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasb al, byte [rdi]
mov rax, qword [str.pl_runset.ini]
lea rcx, [rsp + 0x50]
mov qword [rdi - 1], rax
mov eax, dword [0x1400e5d20]
mov dword [rdi + 7], eax
movzx eax, word [0x1400e5d24]
mov word [rdi + 0xb], ax
call fcn.1400b6a90
test eax, eax
je 0x140006e33
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x50]
sub rbx, rax
nop
nop
movzx eax, byte [rcx]
add rcx, 1
test al, al
mov byte [rbx + rcx - 1], al
jne 0x140006e10
mov rdi, qword [rsp + 0x1a0]
mov esi, 1
mov eax, esi
jmp 0x140006eee
cmp rbp, 0xff
je 0x140006ee0
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call fcn.1400c2840
lea rdx, [rsp + 0x50]
mov ecx, 0x103
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, [0x1400e5d10]
lea rcx, [rsp + 0x50]
mov r9, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
lea r8d, [r9 + 3]
mov edx, 0xc0000000
mov rcx, rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x140006ee0
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasb al, byte [rdi]
lea r9, [rsp + 0x40]
mov rdx, rbp
not rcx
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x20], rsi
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x1a0]
mov eax, esi
jmp 0x140006eee
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400c2a20
add rsp, 0x170
pop rsi
pop rbp
pop rbx
ret

Function at 0x140006f80
Capabilities:
Check internet connectivity via wininet

Disassembly:
xor ecx, ecx
jmp qword [sym.imp.WININET.dll_InternetAttemptConnect]
Function at 0x140006f90
Capabilities:
Get common file path
Get disk information
Set current directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x140
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor esi, esi
test rcx, rcx
mov rbx, rcx
jne 0x140006fc0
xor eax, eax
jmp 0x1400070fd
cmp byte [0x140168bc0], sil
mov qword [rsp + 0x158], rdi
je 0x140007006
lea rcx, [0x140168bc0]
mov rdx, rbx
sub rdx, rcx
nop
movzx eax, byte [rcx]
add rcx, 1
test al, al
mov byte [rdx + rcx - 1], al
jne 0x140006fe0
mov edx, 0x5c
mov rcx, rbx
call fcn.1400c2dd0
test rax, rax
je 0x14000703f
mov byte [rax], sil
jmp 0x14000703f
cmp byte [0x140168df0], sil
je 0x140007031
lea rcx, [0x140168df0]
mov rdx, rbx
sub rdx, rcx
nop
movzx eax, byte [rcx]
add rcx, 1
test al, al
mov byte [rdx + rcx - 1], al
jne 0x140007020
jmp 0x14000703f
mov rdx, rcx
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
lea rcx, [rsp + 0x20]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp edi, 5
je 0x140007076
test edi, edi
jne 0x1400070f3
mov edx, 4
lea rcx, str.shell32.dll
lea r8d, [rdx + 0x43]
call fcn.1400b36e0
cmp eax, 1
jne 0x1400070df
lea rcx, str.shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rdi, rax
je 0x1400070df
lea rdx, str.SHGetSpecialFolderPathA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400070d2
mov rcx, qword [0x140167898]
xor r9d, r9d
mov rdx, rbx
lea r8d, [r9 + 0x10]
call rax
mov esi, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
jne 0x1400070f3
movzx ecx, word [0x1400e5d28]
mov word [rbx], cx
movzx ecx, byte [0x1400e5d2a]
mov byte [rbx + 2], cl
mov rdi, qword [rsp + 0x158]
mov eax, esi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400c2a20
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rsi
ret
Function at 0x140009110
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x3b0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
mov rbx, rcx
mov byte [rsp + 0x70], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x71]
call fcn.1400c2840
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
lea rcx, [rsp + 0x70]
call fcn.1400c2dd0
mov rdi, rax
test rax, rax
je 0x140009188
add rdi, 1
jmp 0x14000918d
lea rdi, [rsp + 0x70]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400092be
mov byte [rsp + 0x290], al
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x291]
call fcn.1400c2840
mov byte [rsp + 0x180], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x181]
call fcn.1400c2840
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x48], 0x104
xor esi, esi
mov ebx, esi
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x44], esi
nop
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x290]
mov edx, ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x1400092b2
lea rcx, [rsp + 0x180]
call fcn.1400e23d0
cmp dword [rsp + 0x44], 1
jne 0x140009296
mov rdx, rdi
lea rcx, [rsp + 0x180]
call fcn.1400c2e00
test rax, rax
je 0x140009296
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x1400092b2
jmp 0x14000929d
add ebx, 1
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x48], 0x104
jmp 0x140009210
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.1400c2a20
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140009310
Capabilities:
Delete file

Disassembly:
push rbx
push rsi
push r12
push r15
sub rsp, 0x168
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor r12d, r12d
test rcx, rcx
mov rsi, r8
mov rbx, rdx
mov r15, rcx
je 0x1400094bc
test rdx, rdx
je 0x1400094bc
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x150], r13
mov dword [rsp + 0x20], 1
call fcn.140008560
test rax, rax
mov r13, rax
je 0x1400094af
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], r12b
call fcn.1400c2840
lea rdx, [rsp + 0x30]
mov rcx, r13
call fcn.140006d40
test eax, eax
je 0x1400094a0
lea r8, [rsp + 0x30]
lea rdx, [0x1400e5c38]
lea ecx, [r12 + 4]
mov qword [rsp + 0x160], rbp
call fcn.140095c10
test rax, rax
mov rbp, rax
je 0x140009486
mov rax, qword [rax]
lea edx, [r12 + 0x40]
mov rcx, rbp
mov qword [rsp + 0x158], rdi
call qword [rax + 0x88]
mov rdx, qword [rbp + 0x298]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rdx + 0x2570]
repne scasb al, byte [rdi]
mov rdi, qword [rsp + 0x158]
not rcx
sub rcx, 1
cmp rcx, 0x10
jne 0x140009478
lea rcx, [rdx + 0x2685]
nop
nop
nop
movzx eax, byte [rcx]
add rbx, 1
add rcx, 1
test al, al
mov byte [rbx - 1], al
jne 0x140009420
mov rcx, qword [rbp + 0x298]
add rcx, 0x2581
movzx eax, byte [rcx]
add rsi, 1
add rcx, 1
test al, al
mov byte [rsi - 1], al
jne 0x140009440
mov rdx, qword [rbp + 0x298]
mov r8d, 0x10
mov rcx, r15
add rdx, 0x2570
call fcn.1400c2b80
mov byte [r15 + 0x10], r12b
mov r12d, 1
mov rax, qword [rbp]
mov edx, 1
mov rcx, rbp
call qword [rax]
cmp dword [rsp + 0x20], 0
mov rbp, qword [rsp + 0x160]
je 0x1400094af
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [rsp + 0x20], 0
je 0x1400094af
mov rcx, r13
call fcn.14008c4f0
mov r13, qword [rsp + 0x150]
mov eax, r12d
jmp 0x1400094be
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400c2a20
add rsp, 0x168
pop r15
pop r12
pop rsi
pop rbx
ret