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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
call fcn.14000144c
xor ebp, ebp
mov rcx, rax
test rax, rax
je 0x1400050f0
mov rax, qword [rax]
call qword [rax + 0x18]
xor r8d, r8d
xor edx, edx
add rax, 0x18
mov rcx, rsi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
je 0x1400050c8
test eax, eax
js 0x1400050e5
mov rax, qword [rbx]
lea edx, [rbp + 1]
mov ecx, dword [rax - 0xc]
sub edx, dword [rax - 8]
sub ecx, edi
or edx, ecx
jge 0x140005089
mov edx, edi
mov rcx, rbx
call fcn.140001a54
mov rax, qword [rbx]
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400050a4
mov eax, ebp
jmp 0x1400050b1
movsxd rdx, dword [rcx - 0xc]
call fcn.14002c498
test eax, eax
js 0x1400050e5
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1400050e5
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x1400050cd
call fcn.14000ba64
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.1400017a4
int3
mov ecx, 0x80004005
call fcn.1400017a4
int3

Function at 0x1400060c4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.14000144c
xor ebp, ebp
mov rcx, rax
test rax, rax
je 0x140006190
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov esi, 0x103
mov qword [rbx], rax
lea edi, [rsi + 1]
test edi, edi
js 0x14000619b
mov r8, qword [rbx]
mov ecx, 1
mov eax, dword [r8 - 0xc]
sub ecx, dword [r8 - 8]
sub eax, edi
or ecx, eax
jge 0x14000612e
mov edx, edi
mov rcx, rbx
call fcn.140001a54
mov r8, qword [rbx]
mov edx, edi
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, edi
mov esi, eax
sbb eax, eax
and eax, esi
cmp eax, 0xffffffff
jne 0x14000615b
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140006152
mov eax, ebp
jmp 0x14000615f
movsxd rdx, dword [rcx - 0xc]
call fcn.14002c498
test eax, eax
js 0x14000619b
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14000619b
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
cmp esi, edi
jae 0x140006100
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80004005
call fcn.1400017a4
int3
mov ecx, 0x80070057
call fcn.1400017a4
int3
Function at 0x1400061a8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.14000144c
xor ebp, ebp
mov rcx, rax
test rax, rax
je 0x14000626f
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov esi, 0x103
mov qword [rbx], rax
lea edi, [rsi + 1]
test edi, edi
js 0x14000627a
mov rdx, qword [rbx]
mov ecx, 1
mov eax, dword [rdx - 0xc]
sub ecx, dword [rdx - 8]
sub eax, edi
or ecx, eax
jge 0x140006210
mov edx, edi
mov rcx, rbx
call fcn.140001a54
mov rdx, qword [rbx]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, edi
mov esi, eax
sbb eax, eax
and eax, esi
cmp eax, 0xffffffff
jne 0x14000623a
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140006231
mov eax, ebp
jmp 0x14000623e
movsxd rdx, dword [rcx - 0xc]
call fcn.14002c498
test eax, eax
js 0x14000627a
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14000627a
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
cmp esi, edi
jae 0x1400061e4
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80004005
call fcn.1400017a4
int3
mov ecx, 0x80070057
call fcn.1400017a4
int3

Function at 0x140006648
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call fcn.1400065a4
test al, al
jne 0x14000666d
mov eax, 0x80070002
jmp 0x14000669e
mov rcx, rdi
mov ebx, 4
call fcn.1400065f0
test al, al
lea ecx, [rbx + 1]
mov rdx, rsi
cmove ebx, ecx
mov rcx, rdi
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14000669c
call fcn.14000ba64
jmp 0x14000669e
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140006938
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov r11, rcx
test edx, edx
jle 0x140006a5f
mov r10, r8
lea rbx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
jmp 0x1400069bb
sub r9d, 4
js 0x140006a5f
movzx eax, byte [r11]
shr rax, 2
mov al, byte [rax + rbx]
mov byte [r10], al
movzx eax, byte [r11 + 1]
movzx ecx, byte [r11]
shr eax, 4
and ecx, 3
shl ecx, 4
add ecx, eax
mov al, byte [rcx + rbx]
mov byte [r10 + 1], al
movzx eax, byte [r11 + 2]
movzx ecx, byte [r11 + 1]
shr eax, 6
and ecx, 0xf
lea eax, [rax + rcx*4]
mov al, byte [rax + rbx]
mov byte [r10 + 2], al
movzx eax, byte [r11 + 2]
add r11, 3
and eax, 0x3f
mov al, byte [rax + rbx]
mov byte [r10 + 3], al
add r10, 4
sub edx, 3
cmp edx, 2
jg 0x140006954
sub edx, 1
je 0x140006a1f
cmp edx, 1
jne 0x140006a57
sub r9d, 3
js 0x140006a5f
movzx eax, byte [r11]
shr rax, 2
mov al, byte [rax + rbx]
mov byte [r10], al
movzx ecx, byte [r11]
movzx eax, byte [r11 + 1]
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
mov al, byte [rcx + rbx]
mov byte [r10 + 1], al
movzx eax, byte [r11 + 1]
and eax, 0xf
mov al, byte [rbx + rax*4]
mov byte [r10 + 2], al
lea eax, [r9 - 1]
test eax, eax
js 0x140006a5f
mov byte [r10 + 3], 0x3d
jmp 0x140006a53
sub r9d, 2
js 0x140006a5f
movzx eax, byte [r11]
shr rax, 2
mov al, byte [rax + rbx]
mov byte [r10], al
movzx eax, byte [r11]
and eax, 3
add rax, rax
mov cl, byte [rbx + rax*8]
mov byte [r10 + 1], cl
lea ecx, [r9 - 2]
test ecx, ecx
js 0x140006a5f
mov word [r10 + 2], 0x3d3d
add r10, 4
sub r10d, r8d
mov eax, r10d
jmp 0x140006a61
xor eax, eax
mov rbx, qword [rsp + 8]
ret

Function at 0x1400072e0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rbp, rdx
mov dword [rax - 0x78], 0x68
xor edx, edx
lea rcx, [rax - 0x70]
mov rsi, r8
mov edi, r9d
lea r8d, [rdx + 0x60]
call fcn.140020a20
mov rbx, qword [rsp + 0x110]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rbx
xor ecx, ecx
mov qword [rsp + 0x40], rax
xor r9d, r9d
and qword [rsp + 0x38], rcx
xor r8d, r8d
mov dword [rsp + 0xac], 0x80
mov rdx, rbp
test rsi, rsi
jne 0x140007358
and qword [rsp + 0x30], rsi
and dword [rsp + 0x28], esi
jmp 0x140007365
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000737a
call fcn.14000ba64
jmp 0x1400073c8
mov al, byte [0x140054b09]
lea rdx, [0x140054b10]
neg al
sbb rcx, rcx
and rcx, rdx
je 0x1400073c6
mov edx, 7
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], edx
lea r8d, [rdx - 6]
mov dword [rsp + 0x5c], r8d
call fcn.140008144
mov r8d, dword [rbx + 0x10]
lea rdx, str._Started_process___u_
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x60], eax
call fcn.140004120
xor eax, eax
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140007a5c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rdx
call fcn.14000144c
xor esi, esi
mov rcx, rax
test rax, rax
je 0x140007b5b
mov rax, qword [rax]
call qword [rax + 0x18]
lea ecx, [rsi + 1]
mov edx, 0x104
lea rbx, [rax + 0x18]
mov eax, dword [rbx - 0xc]
sub ecx, dword [rbx - 8]
sub eax, edx
or ecx, eax
mov qword [rsp + 0x40], rbx
jge 0x140007ab8
lea rcx, [rsp + 0x40]
call fcn.140001a54
mov rbx, qword [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x23]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x140007ad8
mov rcx, rdi
jmp 0x140007aef
lea rdx, str.GoogleUpdateLog
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rcx, rdi
test eax, eax
jne 0x140007b4f
lea rdx, [0x140046cf8]
call fcn.1400055c0
test rbx, rbx
jne 0x140007b04
mov eax, esi
jmp 0x140007b14
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.14002c498
test eax, eax
js 0x140007b66
cmp eax, dword [rbx - 0xc]
jg 0x140007b66
mov dword [rbx - 0x10], eax
lea rdx, [rbx - 0x18]
cdqe
mov word [rbx + rax*2], si
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007b3c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x48]
mov rax, rdi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea rdx, [rsp + 0x40]
call fcn.14000564c
jmp 0x140007afb
mov ecx, 0x80004005
call fcn.1400017a4
int3
mov ecx, 0x80070057
call fcn.1400017a4
int3
Function at 0x140007ce0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x148], 0
mov rbp, rcx
jne 0x140007d30
mov ecx, 0x40
call fcn.1400335f4
mov rcx, rax
call fcn.14000bdf4
mov qword [rbp + 0x148], rax
test rax, rax
jne 0x140007d30
mov rdx, qword [rbp + 0x58]
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Cannot_create_ETW_log_writer
call fcn.14000bbc8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x140007d56
movsxd rax, dword [rbp + 0xb8]
cmp eax, 0xf
jge 0x140007d56
mov qword [rbp + rax*8 + 0xc0], rcx
inc dword [rbp + 0xb8]
cmp byte [rbp + 0x93], 0
je 0x140007eac
cmp qword [rbp + 0x138], 0
jne 0x140007e86
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.140007b74
mov rdi, qword [rsp + 0x40]
cmp dword [rdi - 0x10], 0
jne 0x140007daf
lea rdx, [rdi - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140007eac
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140007eac
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14000b6f4
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.1400065a4
test al, al
jne 0x140007e03
mov rcx, rbx
call fcn.140004880
test eax, eax
jns 0x140007e03
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140007df8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
jmp 0x140007d90
mov sil, byte [rbp + 0xa1]
mov ecx, 0x38
call fcn.1400335f4
mov r8b, sil
mov rdx, rdi
mov rcx, rax
call fcn.1400088a0
mov qword [rbp + 0x138], rax
test rax, rax
jne 0x140007e4a
mov rdx, qword [rbp + 0x58]
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Cannot_create_log_writer_to__s
mov r8, rdi
call fcn.14000bbc8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140007e67
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x40]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140007e86
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x140007eac
movsxd rax, dword [rbp + 0xb8]
cmp eax, 0xf
jge 0x140007eac
mov qword [rbp + rax*8 + 0xc0], rcx
inc dword [rbp + 0xb8]
cmp byte [rbp + 0xa0], 0
je 0x140007efe
mov rcx, qword [rbp + 0x140]
test rcx, rcx
jne 0x140007ee4
mov ecx, 8
call fcn.1400335f4
mov rcx, rax
lea rax, fcn.140002460
mov qword [rcx], rax
mov qword [rbp + 0x140], rcx
test rcx, rcx
je 0x140007efe
movsxd rax, dword [rbp + 0xb8]
cmp eax, 0xf
jge 0x140007efe
mov qword [rbp + rax*8 + 0xc0], rcx
inc dword [rbp + 0xb8]
cmp dword [rbp + 0xb8], 0
mov rbx, qword [rsp + 0x50]
setg al
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007f18
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp byte [rcx + 0xa2], 1
jne 0x140007f5e
lea rcx, [rsp + 0x48]
call fcn.1400073ec
mov rdx, qword [rax]
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Calling_the_logging_system_after_it_has_been_shut_down__n
call fcn.14000bbc8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x48]
call fcn.1400018b0
xor al, al
jmp 0x140007faf
cmp byte [rcx + 0x50], 1
jne 0x140007f68
mov al, 1
jmp 0x140007faf
cmp byte [rcx + 0x51], 0
je 0x140007f72
xor al, al
jmp 0x140007faf
mov byte [rcx + 0x51], 1
call fcn.1400077bc
cmp byte [rbx + 0x90], 0
je 0x140007f8f
mov rcx, rbx
call fcn.140007ce0
mov byte [rbx + 0x50], al
mov byte [rbx + 0x51], 0
mov al, 1
jmp 0x140007faf
add rsp, 0x30
pop rbx
ret

Function at 0x140007fb8
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov al, 1
mov rbx, rcx
cmp byte [rcx + 0xa2], al
jne 0x140008014
lea rcx, [rsp + 0x30]
call fcn.1400073ec
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Calling_the_logging_system_after_it_has_been_shut_down__n
mov rdx, qword [rax]
call fcn.14000bbc8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140008010
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x14000803b
cmp byte [rcx + 0x50], al
je 0x14000803b
lea rdi, [rcx + 0x60]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, rbx
call fcn.140007f18
mov rdx, qword [rdi]
mov rcx, rdi
mov bl, al
call qword [rdx + 0x10]
mov al, bl
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400084c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rsi, qword [rsp + 0xa0]
mov ebp, r9d
mov r12d, r8d
mov r14d, edx
mov r13, rcx
test rsi, rsi
je 0x140008624
test edx, edx
jne 0x140008507
cmp r9d, 2
jg 0x140008624
call fcn.14000144c
test rax, rax
je 0x140008642
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.14000144c
test rax, rax
je 0x140008642
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
mov edi, 1
lea r15, [r13 + 0x60]
lea rbx, [rax + 0x18]
mov qword [rsp + 0xa0], rbx
xor edx, edx
mov rcx, r15
call fcn.140009cd0
test al, al
jne 0x140008575
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x14
jle 0x140008553
jmp 0x1400085c0
mov rax, qword [rsp + 0xa8]
mov r9d, ebp
mov qword [rsp + 0x38], rax
mov r8d, r12d
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov edx, r14d
lea rax, [rsp + 0x40]
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.140008238
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x10]
mov rbx, qword [rsp + 0xa0]
cmp edi, 0x14
jle 0x1400085e8
lea rcx, str.LOG_SYSTEM:_Couldnt_acquire_lock__
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x14004a228]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140008605
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x40]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140008624
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x80004005
call fcn.1400017a4
int3
Function at 0x1400088a0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
and word [rcx + 0xc], 0
lea rax, fcn.140008a9c
mov ebp, 1
mov qword [rcx], rax
mov byte [rcx + 0xf], bpl
mov rbx, rdx
mov rdi, rcx
mov dword [rcx + 8], 0x989680
mov byte [rcx + 0xe], r8b
call fcn.14000144c
test rax, rax
je 0x1400089ec
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea rcx, [rdi + 0x20]
mov rdx, rbx
add rax, 0x18
mov qword [rdi + 0x10], rax
and qword [rdi + 0x18], 0
call fcn.1400055c0
and qword [rdi + 0x28], 0
call fcn.14000144c
test rax, rax
je 0x1400089ec
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
lea rcx, [0x140054b10]
mov qword [rdi + 0x30], rax
mov al, byte [0x140054b09]
neg al
sbb rsi, rsi
and rsi, rcx
je 0x1400089d6
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140008824
mov rbx, qword [rsp + 0x40]
cmp dword [rbx - 0x10], 0
je 0x1400089a4
mov r9, rbx
lea rdx, str.MaxLogFileSize
mov r8d, 0x989680
lea rcx, str.LoggingSettings
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, rbx
lea rdx, str.LogFileWide
lea rcx, str.LoggingSettings
mov dword [rdi + 8], eax
mov r8d, ebp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
setne bpl
jmp 0x1400089ab
mov dword [rdi + 8], 0x989680
lea rdx, [rsi + 0x58]
mov byte [rdi + 0xf], bpl
lea rcx, [rdi + 0x30]
call fcn.1400017c8
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400089d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x48]
mov rax, rdi
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.1400017a4
int3
Function at 0x140008ad4
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r15, rcx
lea r8, [rcx + 0x20]
lea rcx, [rbp + 0x50]
lea rdx, str._Google_Update_logging_mutex_
call fcn.140009504
or r12d, 0xffffffff
mov r14, rax
xor edi, edi
mov r9, qword [rax]
mov rdx, r9
movzx r8d, word [r9]
jmp 0x140008b21
cmp r8w, 0x5c
je 0x140008b40
add rdx, 2
movzx r8d, word [rdx]
test r8w, r8w
jne 0x140008b12
mov edx, r12d
cmp edx, r12d
jne 0x140008b48
mov rdx, r14
lea rcx, [rbp + 0x48]
call fcn.14000564c
jmp 0x140008bd4
sub rdx, r9
sar rdx, 1
jmp 0x140008b2a
call fcn.14000144c
mov rcx, rax
test rax, rax
je 0x140008ceb
mov rax, qword [rax]
call qword [rax + 0x18]
mov esi, edi
lea rbx, [rax + 0x18]
mov rax, qword [r14]
mov qword [rbp + 0x40], rbx
cmp dword [rax - 0x10], edi
jle 0x140008bab
mov rbx, rdi
test rbx, rbx
js 0x140008ce0
cmp esi, dword [rax - 0x10]
jg 0x140008ce0
movzx edx, word [rbx + rax]
cmp dx, 0x5c
je 0x140008b9c
lea rcx, [rbp + 0x40]
call fcn.14000574c
mov rax, qword [r14]
inc esi
add rbx, 2
cmp esi, dword [rax - 0x10]
jl 0x140008b74
mov rbx, qword [rbp + 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x48]
call fcn.14000564c
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140008bd4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rbp + 0x48]
lea rcx, [r15 + 0x10]
call fcn.1400017c8
mov rdx, qword [rbp + 0x48]
mov eax, r12d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140008c01
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp + 0x50]
mov eax, r12d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140008c21
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rsi, [0x140049998]
mov qword [rbp - 0x38], rdi
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x40], rsi
call fcn.140004218
mov rdx, qword [rbp - 0x38]
mov rax, rdi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rax
test rdx, rdx
je 0x140008c5a
lea rcx, [rbp - 0x18]
call fcn.14000394c
mov rax, qword [rbp - 0x10]
mov rbx, qword [r15 + 0x10]
mov dword [rbp - 0x30], 0x18
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], edi
call fcn.140009ac0
mov rax, qword [0x140054830]
lea rcx, [rbp - 0x30]
test rax, rax
je 0x140008c91
mov r9d, 0x100001
xor r8d, r8d
mov rdx, rbx
call rax
jmp 0x140008c9c
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [r15 + 0x18], rax
test rax, rax
je 0x140008cb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete dil
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x18], rsi
call fcn.140003874
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x40], rsi
call fcn.140003874
mov al, dil
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80070057
call fcn.1400017a4
int3
mov ecx, 0x80004005
call fcn.1400017a4
int3
Function at 0x140008eb4
Capabilities:
Move file
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
lea rcx, str.LOG_SYSTEM:_trying_to_move_log_file_to_backup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdi, [rsi + 0x20]
mov rdx, rdi
lea r8, str..bak
lea rcx, [rsp + 0x30]
call fcn.14000639c
mov rbx, qword [rsp + 0x30]
mov r8d, 0xb
mov rcx, qword [rdi]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140008f0d
call fcn.14000ba64
jmp 0x140008f0f
xor eax, eax
test eax, eax
jns 0x140008f3c
lea rcx, str.LOG_SYSTEM:_failed_to_move_log_file_to_backup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rsi
call fcn.140008f70
test al, al
jne 0x140008f37
mov rcx, qword [rdi]
mov rdx, rbx
call fcn.140006648
xor dil, dil
jmp 0x140008f3f
mov dil, 1
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140008f5a
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rbx, qword [rsp + 0x38]
mov al, dil
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret