joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005a50
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push r14
sub rsp, 0x188
mov rax, qword [0x14000e008]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbp, rdx
mov r14, rcx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x140005ab1
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140005ae1
cmp eax, 2
jne 0x140005ad1
lea rcx, str.Key_not_found._n
call fcn.140001060
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140005f50
add rsp, 0x188
pop r14
pop rbp
ret
lea rcx, str.Error_opening_key._n
call fcn.140001060
xor eax, eax
jmp 0x140005ab6
mov qword [rsp + 0x1b8], rsi
mov rcx, rbp
mov qword [rsp + 0x180], rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdi, eax
add rdi, rbp
cmp byte [rdi - 1], 0x5c
je 0x140005b0f
mov byte [rdi], 0x5c
inc rdi
mov byte [rdi], 0
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
xor esi, esi
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x140005be1
mov qword [rsp + 0x1b0], rbx
lea rax, [rsp + 0x60]
mov rbx, rdi
sub rbx, rax
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x60]
nop word [rax + rax]
movzx ecx, byte [rax]
mov byte [rbx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140005b80
mov rdx, rbp
mov rcx, r14
call fcn.140005a50
test eax, eax
je 0x140005bd9
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x140005b70
mov rbx, qword [rsp + 0x1b0]
mov byte [rdi - 1], sil
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rdi, qword [rsp + 0x180]
test eax, eax
sete sil
mov eax, esi
mov rsi, qword [rsp + 0x1b8]
jmp 0x140005ab6

Function at 0x140005c20
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [0x14000c6dc]
lea rcx, str.c:prtatibminstall.log
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [0x14000e638], rax
test rax, rax
jne 0x140005c88
lea r8, str.failed_to_open_log_file_fatal_err
lea rdx, [0x140007a8c]
lea rcx, [0x14000ead0]
call fcn.140005e20
xor r9d, r9d
lea r8, str.Print_ibm_install
lea rdx, [0x14000ead0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8, rbx
lea rdx, [0x14000c71c]
mov rcx, rax
call fcn.140001010
mov rcx, qword [0x14000e638]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
Function at 0x140005cb0
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
xorps xmm0, xmm0
lea r8, str.about_to_start_process
xor eax, eax
movdqa xmmword [0x14000f080], xmm0
movups xmmword [0x14000f070], xmm0
mov rdi, rcx
xor ebx, ebx
movups xmmword [0x14000f0b0], xmm0
mov r9, rcx
mov dword [0x14000f070], 0x68
movups xmmword [0x14000f0a0], xmm0
lea rdx, str._s__s
mov qword [0x14000f078], rbx
lea rcx, [0x14000ed70]
mov qword [0x14000f0ac], 1
mov qword [0x14000f0b8], rbx
movups xmmword [0x14000f090], xmm0
mov qword [0x14000f0d0], rax
movups xmmword [0x14000f0c0], xmm0
mov qword [0x14000e630], rax
movups xmmword [0x14000e620], xmm0
call fcn.140005ee0
lea rdx, [0x14000c6dc]
lea rcx, str.c:prtatibminstall.log
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [0x14000e638], rax
test rax, rax
jne 0x140005da1
lea r8, str.failed_to_open_log_file_fatal_err
lea rdx, [0x140007a8c]
lea rcx, [0x14000ead0]
call fcn.140005e20
xor r9d, r9d
lea r8, str.Print_ibm_install
lea rdx, [0x14000ead0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea r8, [0x14000ed70]
mov rcx, rax
lea rdx, [0x14000c71c]
call fcn.140001010
mov rcx, qword [0x14000e638]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rax, [0x14000e620]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [0x14000f070]
mov rdx, rdi
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x200
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x140006858
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400068a2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400068a2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400068a2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400068a2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400068a2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400068a4
xor al, al
add rsp, 0x28
ret
Function at 0x14000bcd0
Capabilities:
Reference http user-agent string

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xf0
mov qword [rax - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rdi, rcx
mov rdx, rcx
lea rcx, [0x140060338]
call fcn.1400025f0
lea rcx, [0x140060358]
call fcn.1400034a0
test al, al
je 0x14000bd77
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
lea rdx, str.Chrome__i._i._i._i__s
lea rcx, [rsp + 0xa0]
call fcn.140002330
mov rbx, rax
mov rcx, rdi
call fcn.1400032d0
nop
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x77
mov dword [rsp + 0x20], 0xcd2
xor r9d, r9d
lea r8d, [r9 + 0x40]
mov rdx, rbx
lea rcx, [0x140060358]
call fcn.1400029f0
lea rcx, [0x140060378]
call fcn.1400034a0
test al, al
je 0x14000be79
mov dword [rsp + 0x40], 0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
xor ecx, ecx
call sub.urlmon.dll_ObtainUserAgentString
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov ecx, eax
call fcn.14001204c
mov rsi, rax
test rax, rax
je 0x14000be79
lea r8, [rsp + 0x40]
mov rdx, rax
xor ecx, ecx
call sub.urlmon.dll_ObtainUserAgentString
lea rdx, [0x140042b38]
lea rcx, [rsp + 0xc0]
call fcn.140002330
mov rbx, rax
mov rdx, rsi
lea rcx, [rsp + 0x80]
call fcn.140002330
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400012d0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.1400027f0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xa0]
call fcn.140002280
nop
lea rcx, [rsp + 0x58]
call fcn.140002500
nop
lea rdx, [rsp + 0xa0]
lea rcx, [0x140060378]
call fcn.1400025a0
nop
lea rcx, [rsp + 0xa0]
call fcn.140002500
nop
lea rcx, [rsp + 0xc0]
call fcn.140002500
mov edx, 1
mov rcx, rsi
call fcn.140011dd0
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140011d70
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140039b40
Capabilities:
Identify system language via api

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
mov qword [rbp - 0x69], rcx
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edx, ax
mov ebx, 0x3ff
and dx, bx
xor ecx, ecx
lea r9, [0x14005f270]
mov rax, r9
lea r8, [0x14005f4c0]
cmp word [rax], dx
je 0x140039bb1
inc ecx
add rax, 0x10
cmp rax, r8
jl 0x140039b98
lea rdx, [0x140041928]
jmp 0x140039bbc
movsxd rdx, ecx
add rdx, rdx
mov rdx, qword [r9 + rdx*8 + 8]
lea rcx, [rbp + 7]
call fcn.140002330
nop
lea rcx, [rbp + 7]
call fcn.1400034a0
test al, al
je 0x140039be7
lea rdx, str.en_US
mov rcx, rdi
call fcn.140002330
jmp 0x140039cfc
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
and cx, bx
shr ax, 0xa
cmp cx, 9
jne 0x140039c19
lea rcx, [rbp - 0x19]
cmp ax, 1
jne 0x140039c10
lea rdx, [0x14004a748]
jmp 0x140039c6c
lea rdx, [0x14004a74c]
jmp 0x140039c6c
cmp cx, 4
jne 0x140039c43
sub ax, 2
mov ecx, 0xfffd
test cx, ax
lea rcx, [rbp - 0x19]
je 0x140039c3a
lea rdx, [0x14004a754]
jmp 0x140039c6c
lea rdx, [0x14004a750]
jmp 0x140039c6c
cmp cx, 0x16
lea rcx, [rbp - 0x19]
jne 0x140039c65
cmp ax, 2
jne 0x140039c5c
lea rdx, [0x14004a758]
jmp 0x140039c6c
lea rdx, [0x14004a75c]
jmp 0x140039c6c
lea rdx, [0x140041928]
call fcn.140002330
nop
lea rcx, [rbp - 0x19]
call fcn.1400034a0
test al, al
je 0x140039c8d
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.140002280
jmp 0x140039cf2
lea rdx, [0x14004a76c]
lea rcx, [rbp + 0x27]
call fcn.140002330
mov rbx, rax
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.1400022b0
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x61]
call fcn.1400012d0
nop
lea rcx, [rbp + 0x27]
call fcn.140002500
lea rax, [rbp - 0x61]
mov qword [rbp - 0x69], rax
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x61]
call fcn.1400027f0
lea rdx, [rbp - 0x61]
mov rcx, rdi
call fcn.140002280
nop
lea rcx, [rbp - 0x61]
call fcn.140002500
nop
lea rcx, [rbp - 0x19]
call fcn.140002500
nop
lea rcx, [rbp + 7]
call fcn.140002500
mov rax, rdi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140011d70
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14003b0a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x8c0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rdx, [0x140041928]
lea rcx, [rsp + 0x50]
call fcn.140002330
nop
lea rcx, [rsp + 0x70]
call fcn.140002480
nop
lea rdx, str.SoftwareSketchUpSketchUp_20_dInstallLocation
lea rcx, [rsp + 0x90]
call fcn.140002330
mov r8d, 0x14
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400029f0
lea rcx, [rsp + 0x70]
call fcn.1400032d0
mov rdx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003b1b8
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003b1ad
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x90]
call fcn.140002380
nop
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.1400025a0
nop
lea rcx, [rsp + 0x90]
call fcn.140002500
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14003a440
nop
lea rcx, [rsp + 0x70]
call fcn.140002500
nop
lea rcx, [rsp + 0x50]
call fcn.140002500
mov rax, rbx
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.140011d70
add rsp, 0x8c0
pop rbx
ret
Function at 0x14003b3e0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor eax, eax
mov word [rbp - 0x70], ax
xor r9d, r9d
lea r8d, [rax + 0x23]
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.140002380
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14003a440
nop
lea rcx, [rsp + 0x50]
call fcn.140002500
nop
lea rcx, [rsp + 0x70]
call fcn.140002480
nop
lea rdx, str.SketchUp_SketchUp_20_d
lea rcx, [rsp + 0x50]
call fcn.140002330
mov r8d, 0x14
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400029f0
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14003a2a0
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400025a0
nop
lea rcx, [rsp + 0x50]
call fcn.140002500
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14003a2a0
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400025a0
nop
lea rcx, [rsp + 0x50]
call fcn.140002500
lea rcx, [rsp + 0x30]
call fcn.14003b200
test al, al
jne 0x14003b501
lea rcx, [rsp + 0x30]
call fcn.14003b550
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14003a440
nop
lea rcx, [rsp + 0x70]
call fcn.140002500
nop
lea rcx, [rsp + 0x30]
call fcn.140002500
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140011d70
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x14003b550
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
call fcn.1400034a0
test al, al
je 0x14003b58f
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140011d70
add rsp, 0x70
pop rbx
ret
mov rcx, rbx
call fcn.14003b200
test al, al
je 0x14003b5b0
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140011d70
add rsp, 0x70
pop rbx
ret
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.14003a440
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.14003afb0
nop
lea rcx, [rsp + 0x28]
call fcn.14003b200
test al, al
jne 0x14003b604
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.140003300
test eax, eax
jne 0x14003b5f3
xor bl, bl
jmp 0x14003b61c
lea rcx, [rsp + 0x28]
call fcn.14003b550
movzx ebx, al
test al, al
je 0x14003b61c
lea rcx, [rsp + 0x48]
call fcn.1400032d0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
test eax, eax
sete bl
lea rcx, [rsp + 0x28]
call fcn.140002500
nop
lea rcx, [rsp + 0x48]
call fcn.140002500
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140011d70
add rsp, 0x70
pop rbx
ret
Function at 0x14003b6c0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rbx, rcx
mov sil, 1
call fcn.14003b370
test al, al
jne 0x14003b72e
mov rcx, rbx
call fcn.14003b2e0
test al, al
je 0x14003b72e
mov rcx, rbx
call fcn.14003b370
test al, al
jne 0x14003b72e
mov rcx, rbx
call fcn.1400032d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
test sil, al
je 0x14003b72e
and edi, 0xfffffffe
mov rcx, rbx
call fcn.1400032d0
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call fcn.14003b2e0
test al, al
je 0x14003b751
mov rcx, rbx
call fcn.1400032d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne sil
test sil, sil
jne 0x14003b75e
jmp 0x14003b758
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14003b790
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
movzx ebx, r9b
mov edi, r8d
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
xor eax, eax
mov word [rbp - 0x50], ax
xor r9d, r9d
lea r8d, [rax + 0x1a]
lea rdx, [rbp - 0x50]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.140002380
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.14003a440
nop
lea rcx, [rbp - 0x70]
call fcn.140002500
nop
test bl, bl
jne 0x14003b842
lea rdx, str._.._Local
lea rcx, [rsp + 0x30]
call fcn.140002330
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400027f0
nop
lea rcx, [rsp + 0x30]
call fcn.140002500
lea rcx, [rsp + 0x70]
call fcn.140002480
nop
lea rcx, [rsp + 0x30]
test edi, edi
jne 0x14003b871
lea rdx, str.SketchUp_Viewer
call fcn.140002330
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400029f0
jmp 0x14003b88d
lea rdx, str.SketchUp_SketchUp_20_d
call fcn.140002330
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400029f0
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14003a2a0
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400025a0
nop
lea rcx, [rsp + 0x30]
call fcn.140002500
test edi, edi
je 0x14003b8e9
mov r8, r14
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14003a2a0
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400025a0
nop
lea rcx, [rsp + 0x30]
call fcn.140002500
lea rcx, [rsp + 0x50]
call fcn.14003b200
test al, al
jne 0x14003b901
lea rcx, [rsp + 0x50]
call fcn.14003b550
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14003a440
nop
lea rcx, [rsp + 0x70]
call fcn.140002500
nop
lea rcx, [rsp + 0x50]
call fcn.140002500
mov rax, rsi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140011d70
add rsp, 0x2d0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400438d0
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.14004337c
test al, al
je 0x140043837
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.140043210
mov bl, al
mov ecx, dword [0x1400b5e90]
cmp ecx, 1
je 0x140043842
test ecx, ecx
jne 0x14004376d
mov dword [0x1400b5e90], 1
lea rdx, [0x1400a03e0]
lea rcx, [0x1400a03a8]
call fcn.140057c8c
test eax, eax
je 0x14004374e
mov eax, 0xff
jmp 0x140043827
lea rdx, [0x1400a03a0]
lea rcx, [0x1400a0378]
call fcn.140057c48
mov dword [0x1400b5e90], 2
jmp 0x140043775
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1400434dc
call fcn.1400445c8
mov rbx, rax
cmp qword [rax], 0
je 0x1400437a8
mov rcx, rax
call fcn.140043444
test al, al
je 0x1400437a8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x1400a0350]
call fcn.1400445d0
mov rbx, rax
cmp qword [rax], 0
je 0x1400437ca
mov rcx, rax
call fcn.140043444
test al, al
je 0x1400437ca
mov rcx, qword [rbx]
call fcn.14005593c
call fcn.140056fd0
mov rdi, rax
call fcn.140057f80
mov rbx, qword [rax]
call fcn.140057f78
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call main
mov ebx, eax
call fcn.140044374
test al, al
je 0x14004384c
test sil, sil
jne 0x140043801
call fcn.140055918
xor edx, edx
mov cl, 1
call fcn.140043500
mov eax, ebx
jmp 0x140043827
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.1400441e4
nop
mov ecx, 7
call fcn.1400441e4
mov ecx, ebx
call fcn.14005597c
nop
mov ecx, ebx
call fcn.140055928
nop
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call fcn.140056fd0
mov rdi, rax
call fcn.140057f80
mov rbx, qword [rax]
call fcn.140057f78
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp main
sub rsp, 0x28
call fcn.1400444a4
add rsp, 0x28
jmp 0x1400436e0

Function at 0x140044374
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400443be
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400443be
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400443be
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400443be
cmp dword [rcx + 0x84], 0xe
jbe 0x1400443be
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400443c0
xor al, al
add rsp, 0x28
ret

Function at 0x14005597c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140055704
Function at 0x1400845b0
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 0x1400845e0
xor eax, eax
jmp 0x1400846a3
mov rbp, rbx
cmp word [rax], si
je 0x140084605
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400845ec
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400845e8
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.140084430
movsxd r14, eax
test eax, eax
jne 0x140084643
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400845d9
mov rcx, r14
call fcn.140080a8c
mov rdi, rax
test rax, rax
jne 0x14008465c
xor ecx, ecx
call fcn.140081040
jmp 0x140084638
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.140084430
test eax, eax
jne 0x14008468d
mov rcx, rdi
call fcn.140081040
jmp 0x140084697
xor ecx, ecx
call fcn.140081040
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 0x140090948
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.140082304
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400909d2
cmp byte [rbp - 0x21], r15b
je 0x1400909cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140090a08
call fcn.14008600c
test eax, eax
jne 0x1400909f4
cmp byte [rbp - 0x21], r15b
je 0x1400909ec
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140090a08
cmp byte [rbp - 0x21], r15b
je 0x140090a05
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.1400810a4
test eax, eax
jne 0x140090aa8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140082304
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140090a47
cmp byte [rbp - 0x21], r15b
je 0x140090a7c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140090a7c
call fcn.14008600c
test eax, eax
jne 0x140090a68
cmp byte [rbp - 0x21], r15b
je 0x140090a61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140090a7c
cmp byte [rbp - 0x21], r15b
je 0x140090a79
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.1400810a4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140090aa8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140090aab
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140090ab9
mov rcx, rdi
call fcn.140081040
cmp byte [rbp + 0x3f], r15b
je 0x140090ac8
mov rcx, qword [rbp + 0x27]
call fcn.140081040
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 0x14009d690
Capabilities:
Parse pe header

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