joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b34d4
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x2030
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [0x14012ece0]
mov rsi, r8
call fcn.1400d6598
test rax, rax
mov rdi, rax
sete al
mov byte [rbx + 0x3048], al
test rdi, rdi
jne 0x1400b3527
xor al, al
jmp 0x1400b3566
mov ebx, 1
jmp 0x1400b3541
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8, rax
mov rdx, rbx
call fcn.140112590
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rbx
call fcn.140115d98
test rax, rax
jne 0x1400b352e
mov rcx, rdi
call fcn.140111fa8
mov al, bl
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.140105c50
add rsp, 0x2030
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400b3584
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x2030
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [0x14013d870]
call fcn.1400d6598
test rax, rax
mov rdi, rax
sete al
mov byte [rbx + 0x3048], al
test rdi, rdi
je 0x1400b36ab
xor r15d, r15d
lea r12d, [r15 + 1]
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, r12
call fcn.140115d98
mov rbp, rax
cmp rax, 0x20
jbe 0x1400b36a3
xor esi, esi
lea r14d, [rbp - 0x20]
test r14d, r14d
jle 0x1400b3653
lea rbx, [rsp + 0x21]
cmp byte [rbx - 1], 0x61
jne 0x1400b3648
cmp byte [rbx], 0x73
jne 0x1400b3648
movsxd rax, esi
lea rcx, [rsp + 0x22]
add rcx, rax
lea rdx, str.Invoker_
mov r8d, 0x14
call fcn.140111b60
test eax, eax
je 0x1400b3669
add esi, r12d
add rbx, r12
cmp esi, r14d
jl 0x1400b361c
add ebp, 0xffffffe0
xor r8d, r8d
add r15d, ebp
mov rcx, rdi
mov edx, r15d
call fcn.1401160b0
jmp 0x1400b35e9
lea edx, [rsi + r15]
xor r8d, r8d
mov rcx, rdi
call fcn.1401160b0
mov r9, rdi
lea rcx, str.requireAdministrator_
mov r8d, 0x15
mov rdx, r12
call fcn.140112590
cmp rax, 0x15
mov rcx, rdi
sete bl
call fcn.140111fa8
mov al, bl
jmp 0x1400b36ad
mov rcx, rdi
call fcn.140111fa8
xor al, al
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.140105c50
lea r11, [rsp + 0x2030]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400b3c6c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2030
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rsp + 0x2020], rax
lea rdx, [0x14012ece0]
call fcn.140077628
mov rsi, rax
test rax, rax
je 0x1400b3d5a
xor r14d, r14d
xor r15d, r15d
lea ebx, [r14 + 1]
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rbx
call fcn.140115d98
mov r12, rax
cmp eax, 0x20
jle 0x1400b3d4e
xor ebp, ebp
lea r13d, [rax - 0x20]
test r13d, r13d
jle 0x1400b3d29
lea rdi, [rsp + 0x21]
cmp byte [rdi - 1], 0x72
jne 0x1400b3d1f
cmp byte [rdi], 0x65
jne 0x1400b3d1f
movsxd rax, ebp
lea rcx, [rsp + 0x22]
add rcx, rax
lea rdx, str.quireAdministrator_
mov r8d, 0x14
call fcn.140111b60
test eax, eax
je 0x1400b3d50
add ebp, ebx
add rdi, rbx
cmp ebp, r13d
jl 0x1400b3cf3
add r14d, 0xffffffe0
xor r8d, r8d
add r14d, r12d
mov rcx, rsi
mov edx, r14d
call fcn.1401160b0
add r15d, ebx
cmp r15d, 0x100
jb 0x1400b3cc5
xor bl, bl
mov rcx, rsi
call fcn.140111fa8
mov al, bl
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.140105c50
lea r11, [rsp + 0x2030]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1400b3d8c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x430
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [0x14012ece0]
call fcn.1400d6598
xor edi, edi
mov rsi, rax
test rax, rax
sete al
mov byte [rbx + 0x3048], al
test rsi, rsi
je 0x1400b3e2e
mov r9, rsi
lea edx, [rdi + 1]
mov r8d, 0x400
lea rcx, [rsp + 0x20]
call fcn.140115d98
mov rcx, rsi
mov rbx, rax
call fcn.140111fa8
lea eax, [rbx - 4]
movsxd rcx, eax
test eax, eax
jle 0x1400b3e2a
cmp byte [rsp + rdi + 0x20], 0x55
jne 0x1400b3e22
cmp byte [rsp + rdi + 0x21], 0x50
jne 0x1400b3e22
cmp byte [rsp + rdi + 0x22], 0x58
jne 0x1400b3e22
cmp byte [rsp + rdi + 0x23], 0x30
je 0x1400b3e2e
inc rdi
cmp rdi, rcx
jl 0x1400b3e06
xor al, al
jmp 0x1400b3e30
mov al, 1
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140105c50
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400b4318
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2038
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [0x14012ece0]
mov r13, r9
mov r12, r8
call fcn.1400d6598
test rax, rax
mov rsi, rax
sete al
mov byte [rbx + 0x3048], al
test rsi, rsi
je 0x1400b449f
xor r15d, r15d
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov edx, 1
call fcn.140115d98
mov rbp, rax
cmp rax, 0x28
jbe 0x1400b4497
xor edi, edi
lea r14, [rax - 0x28]
test r14, r14
je 0x1400b444c
lea rbx, [rsp + 0x24]
cmp byte [rsp + rdi + 0x20], 0x2a
jne 0x1400b43e3
cmp byte [rsp + rdi + 0x21], 0x2a
jne 0x1400b43e3
lea rcx, [rsp + 0x22]
mov r8d, 0xc
add rcx, rdi
lea rdx, [0x14013c858]
call fcn.140111b60
test eax, eax
je 0x1400b4465
cmp word [rbx - 4], 0x2a
jne 0x1400b440a
cmp word [rbx - 2], 0x2a
jne 0x1400b440a
mov r8d, 0xc
lea rdx, str.messages
mov rcx, rbx
call fcn.140111e14
test eax, eax
je 0x1400b4465
mov eax, 0xfeff
cmp word [rbx - 4], ax
jne 0x1400b443c
cmp word [rbx - 2], 0x2a
jne 0x1400b443c
cmp word [rbx], 0x2a
jne 0x1400b443c
lea rcx, [rbx + 2]
mov r8d, 0xc
lea rdx, str.messages
call fcn.140111e14
test eax, eax
je 0x1400b4465
inc rdi
add rbx, 2
cmp rdi, r14
jb 0x1400b43b3
add ebp, 0xffffffd8
xor r8d, r8d
add r15d, ebp
mov rcx, rsi
mov edx, r15d
call fcn.1401160b0
jmp 0x1400b437a
lea edx, [rdi + r15]
xor r8d, r8d
mov rcx, rsi
call fcn.1401160b0
mov r9, rsi
mov r8, r13
mov edx, 1
mov rcx, r12
call fcn.140115d98
mov rcx, rsi
mov rbx, rax
call fcn.140111fa8
mov rax, rbx
jmp 0x1400b44a1
mov rcx, rsi
call fcn.140111fa8
xor eax, eax
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.140105c50
add rsp, 0x2038
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b5900
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x28
mov r8, qword [0x1401bc8d0]
lea rdx, [0x14012f340]
mov rcx, qword [str.SFXDefault]
call fcn.1400ae928
mov rax, qword [0x1401bc8d0]
lea rdx, str.PathType
mov rcx, qword [str.SFXDefault]
mov r8d, dword [rax + 0x1000]
call fcn.1400ae940
mov rax, qword [0x1401bc8d0]
lea rdx, str.SavePath
mov rcx, qword [str.SFXDefault]
movzx r8d, byte [rax + 0x1004]
call fcn.1400ae940
mov r8, qword [0x1401bc8d0]
lea rdx, [0x14012b238]
mov rcx, qword [str.SFXDefault]
add r8, 0x1006
call fcn.1400ae928
mov r8, qword [0x1401bc8d0]
lea rdx, str.Presetup
mov rcx, qword [str.SFXDefault]
add r8, 0x11006
call fcn.1400ae928
mov rax, qword [0x1401bc8d0]
lea rdx, str.SetupCode
mov rcx, qword [str.SFXDefault]
movzx r8d, byte [rax + 0x21006]
call fcn.1400ae940
mov rax, qword [0x1401bc8d0]
lea rdx, str.SetupCodeAdjust
mov rcx, qword [str.SFXDefault]
mov r8d, dword [rax + 0x21008]
call fcn.1400ae940
mov rax, qword [0x1401bc8d0]
lea rdx, str.TempMode
mov rcx, qword [str.SFXDefault]
movzx r8d, byte [rax + 0x2100c]
call fcn.1400ae940
mov r8, qword [0x1401bc8d0]
lea rdx, str.TempModeQuestion
mov rcx, qword [str.SFXDefault]
add r8, 0x2100e
call fcn.1400ae928
mov r8, qword [0x1401bc8d0]
lea rdx, str.TempModeTitle
mov rcx, qword [str.SFXDefault]
add r8, 0x2180e
call fcn.1400ae928
mov rax, qword [0x1401bc8d0]
lea rdx, str.Silent
mov rcx, qword [str.SFXDefault]
mov r8d, dword [rax + 0x21a10]
call fcn.1400ae940
mov rax, qword [0x1401bc8d0]
lea rdx, str.Overwrite
mov rcx, qword [str.SFXDefault]
mov r8d, dword [rax + 0x21a14]
call fcn.1400ae940
mov rax, qword [0x1401bc8d0]
lea rdx, str.UpdateFiles
mov rcx, qword [str.SFXDefault]
movzx r8d, byte [rax + 0x21a19]
call fcn.1400ae940
mov rax, qword [0x1401bc8d0]
lea rdx, str.FreshFiles
mov rcx, qword [str.SFXDefault]
movzx r8d, byte [rax + 0x21a18]
call fcn.1400ae940
mov r8, qword [0x1401bc8d0]
lea rdx, str.DelFiles
mov rcx, qword [str.SFXDefault]
add r8, 0x21a1a
call fcn.1400ae928
mov r8, qword [0x1401bc8d0]
lea rdx, str.Title
mov rcx, qword [str.SFXDefault]
add r8, 0x23a1a
call fcn.1400ae928
mov r8, qword [0x1401bc8d0]
add r8, 0x23c1a
mov rcx, qword [str.SFXDefault]
lea rdx, [0x14013dca0]
call fcn.1400ae928
mov r8, qword [0x1401bc8d0]
lea rdx, str.LicenseTitle
mov rcx, qword [str.SFXDefault]
add r8, 0xa3c1a
call fcn.1400ae928
mov r8, qword [0x1401bc8d0]
lea rdx, str.LicenseText
mov rcx, qword [str.SFXDefault]
add r8, 0xa3e1a
call fcn.1400ae928
mov r8, qword [0x1401bc8d0]
lea rdx, str.ShortcutText
mov rcx, qword [str.SFXDefault]
add r8, 0x123e1a
call fcn.1400ae928
mov rcx, qword [str.SFXDefault]
lea r8, [0x14018b442]
lea rdx, str.SFXLogo
call fcn.1400ae928
mov rcx, qword [str.SFXDefault]
lea r8, [0x14018a442]
lea rdx, str.SFXIcon
call fcn.1400ae928
movzx r8d, byte [0x14018d442]
lea rdx, str.SFXElevate
mov rcx, qword [str.SFXDefault]
call fcn.1400ae940
mov rcx, qword [str.SFXDefault]
lea r8, [0x140181f28]
lea rdx, str.SFXModule
add rsp, 0x28
jmp fcn.1400ae928
Function at 0x1400b6b80
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor ebp, ebp
mov rdi, r8
cmp qword [0x140168a18], rbp
mov rbx, rdx
mov rsi, rcx
jne 0x1400b6bf3
lea r9d, [rbp + 0x64]
mov ecx, 0x400
lea r8, [rsp + 0xa0]
lea edx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsp + 0xa0]
mov word [0x1401bcc38], ax
lea rax, [0x1401bcc38]
mov qword [0x140168a18], rax
mov word [0x1401bcc3a], bp
mov r8d, 0x32
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14009cab4
lea r9, [0x140168a00]
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x30]
mov word [rbx], bp
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov word [rbx + rdi*2 - 2], bp
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140105c50
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400b6c54
Capabilities:
Get geographical location

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rsp + 0x130], rax
movdqa xmm0, xmmword [0x14013dfa0]
xor esi, esi
xor edi, edi
mov dword [rsp + 0x30], r9d
mov r13d, 0x400
mov r15d, r9d
mov r14, r8
mov rbp, rdx
mov rbx, rcx
movdqu xmmword [rsp + 0x34], xmm0
cmp rcx, r13
jb 0x1400b6cc3
lea eax, [rsi + 1]
cmp eax, 5
jae 0x1400b6cc3
mov edi, ebx
inc esi
and edi, 0x3ff
shr rbx, 0xa
inc eax
cmp rbx, r13
jae 0x1400b6ca9
mov rcx, rbx
call fcn.1400b6b80
cmp rbx, 0x64
jae 0x1400b6d62
test edi, edi
je 0x1400b6d62
imul eax, edi, 0x3e8
shr eax, 0xa
cmp rbx, 0xa
sbb ecx, ecx
xor edx, edx
and ecx, 0xffffffa6
add ecx, 0x64
div ecx
mov edi, eax
test eax, eax
je 0x1400b6d62
cmp rbx, 0xa
jae 0x1400b6d0e
lea rbx, [0x14012ec3c]
cmp eax, 0xa
jb 0x1400b6d15
lea rbx, [0x14012ae60]
mov r9d, reloc.SHELL32.dll_SHRestricted
lea r8, [rsp + 0x60]
mov ecx, r13d
lea edx, [r9 - 0x56]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx r9d, word [rsp + 0x60]
lea r8, str._c_s_u
mov edx, 0xa
mov dword [rsp + 0x28], edi
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
call fcn.1400027fc
mov r8, r14
lea rdx, [rsp + 0x48]
mov rcx, rbp
call fcn.14009cca0
test r15d, r15d
jne 0x1400b6d6b
test esi, esi
je 0x1400b6d94
mov r8, r14
lea rdx, [0x14012ee7c]
mov rcx, rbp
call fcn.14009cca0
mov ecx, dword [rsp + rsi*4 + 0x30]
call fcn.140096d58
mov rdx, rax
mov r8, r14
mov rcx, rbp
call fcn.14009cca0
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140105c50
add rsp, 0x140
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b7074
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, rcx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ebp, ebp
movsxd rdi, eax
test eax, eax
je 0x1400b7253
lea rcx, [rdi*2 + 2]
call fcn.140110e7c
mov rbx, rax
test rax, rax
je 0x1400b7253
lea r8d, [rdi + 1]
mov word [rax], bp
mov rdx, rax
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextW]
or rsi, 0xffffffffffffffff
mov rdi, rsi
inc rdi
cmp word [rbx + rdi*2], bp
jne 0x1400b70e8
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDC]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
mov r12, rax
lea edx, [r9 + 0x31]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
lea r9, [rsp + 0x20]
mov r8d, edi
mov rdx, rbx
mov rcx, r12
mov r13, rax
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [rsp + 0x30]
cmp dword [rsp + 0x20], ecx
jl 0x1400b7233
mov rcx, rbx
call fcn.1400876ec
cmp rax, rbx
je 0x1400b7188
mov r8, rsi
inc r8
cmp word [rax + r8*2], bp
jne 0x1400b715f
lea r8, [r8*2 + 2]
mov rdx, rax
mov rcx, rbx
call fcn.140106ff0
mov rdi, rsi
inc rdi
cmp word [rbx + rdi*2], bp
jne 0x1400b717f
mov rsi, rdi
lea r9, [rsp + 0x20]
mov r8d, edi
shr rsi, 1
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea r15, [rsi + 2]
cmp r15, rdi
jae 0x1400b7227
lea rdi, [rbx + r15*2]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], bp
jne 0x1400b71b3
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x20], eax
jl 0x1400b7227
cmp rsi, 1
jb 0x1400b7227
cmp r8, 1
jb 0x1400b7227
mov eax, 0x2026
lea r8, [r8*2 + 2]
lea rcx, [rdi - 4]
mov word [rdi - 6], ax
mov rdx, rdi
call fcn.140106ff0
or rbp, 0xffffffffffffffff
xor eax, eax
inc rbp
cmp word [rbx + rbp*2], ax
jne 0x1400b71f6
lea r9, [rsp + 0x20]
mov r8d, ebp
mov rdx, rbx
mov rcx, r12
dec rsi
sub rdi, 2
dec r15
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp r15, rbp
mov ebp, 0
jb 0x1400b71af
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, r12
mov rcx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rbx
call fcn.140110e68
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140105c50
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400b73d8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x1400b7456
lea edi, [rax + 1]
mov eax, 2
movsxd rcx, edi
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140105cf0
mov rbx, rax
test rax, rax
je 0x1400b7456
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call fcn.1400b7530
mov rcx, rbx
call fcn.1401058a8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b92b8
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov edi, edx
mov rbx, rcx
cmp edx, 0x10d
jne 0x1400b92e3
call fcn.1400b9260
mov al, 1
jmp 0x1400b9400
cmp edi, 0x10e
jne 0x1400b931b
mov ecx, 0x4fe
call fcn.140096d58
mov r8, rax
mov dword [rsp + 0x28], 1
lea rax, [0x14012ae60]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1400b92dc
call fcn.1400b8b38
mov rsi, rax
cmp edi, 0x10f
jne 0x1400b933b
or dword [rbx + 0x118], 0xffffffff
lea r8, [0x14012ae60]
jmp 0x1400b93b0
lea eax, [rdi - 0x41a]
cmp eax, 0x7f
ja 0x1400b93fe
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x50]
call fcn.140108940
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0x50
xor r8d, r8d
mov dword [rsp + 0x34], 0x20
mov edx, edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x1400b93fe
mov rax, qword [rbx + 0xf8]
cmp qword [rsp + 0x60], rax
jae 0x1400b93fe
movsxd rax, dword [rsp + 0x60]
imul rcx, rax, 0x1304
mov dword [rbx + 0x118], eax
add rcx, qword [rbx + 0xf0]
call fcn.1400876ec
mov r8, rax
lea rdx, str.ActivePath
lea rcx, str.InterfaceThemes
call fcn.1400ae928
mov edx, dword [rbx + 0x1120]
cmp edx, 0xffffffff
je 0x1400b93da
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov r8d, 8
mov edx, edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, rbx
mov dword [rbx + 0x1120], edi
call fcn.1400b79bc
jmp 0x1400b92dc
xor al, al
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400bb350
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
lea rdx, str.ViewAddress
lea rcx, str.GeneralToolbar
mov r8d, 1
call fcn.1400add30
test eax, eax
je 0x1400bb436
mov rbx, qword [0x1401a0858]
lea r8, [rbp - 0x49]
mov edx, 3
mov rcx, rdi
call fcn.1400ba388
or dword [rbp - 0x41], 4
mov ecx, 0x12
and dword [rbp - 0x19], 0
mov dword [rbp - 0x49], 0x4c
mov dword [rbp - 0x45], 0x173
mov qword [rbp - 0x21], rbx
mov dword [rbp - 1], 3
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, 0xf
mov dword [rbp - 0x3d], eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov dword [rbp - 0x39], eax
mov ecx, reloc.SHELL32.dll_SHRestricted
mov eax, dword [rbp - 0x11]
lea rdx, [rbp + 0x37]
test eax, eax
cmove eax, ecx
mov rcx, rbx
mov dword [rbp - 0x11], eax
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x43]
lea r9, [rbp - 0x49]
mov rcx, qword [rdi + 0x10]
or r8, 0xffffffffffffffff
mov edx, 0x40a
mov dword [rbp - 0x15], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 5
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140105c50
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400bc0d4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r8d, 2
lea rdx, [0x14013e678]
lea rcx, str.GeneralToolbar
jmp fcn.1400add30

Function at 0x1400bc428
Capabilities:
Set registry value

Disassembly:
mov r8d, ecx
lea rdx, [0x14013e678]
lea rcx, str.GeneralToolbar
jmp fcn.1400ae940

Function at 0x1400c12b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x1401ce1f8], 0
je 0x1400c12cb
or eax, 0xffffffff
jmp 0x1400c13d0
mov rax, qword [0x1401be0a8]
test rax, rax
jg 0x1400c12eb
dec rax
mov qword [0x1401be0a8], rax
and qword [0x1401ce108], 0
jmp 0x1400c12c3
mov rbx, qword [0x1401ce108]
test rbx, rbx
jg 0x1400c133f
mov rcx, qword [0x1401ce0f8]
mov ebx, 0x2000
mov edx, ebx
call fcn.1400c154c
movsxd rcx, eax
mov qword [0x1401ce108], rcx
test eax, eax
je 0x1400c12e1
cmp rcx, 0xffffffffffffffff
je 0x1400c1372
mov rax, qword [0x1401ce0f8]
add qword [0x1401ce148], rbx
mov qword [0x1401ce100], rax
call fcn.1400c0ca0
mov rbx, qword [0x1401ce108]
mov rax, qword [0x1401be0e0]
test byte [rax + 0x40], 1
je 0x1400c13b5
cmp byte [0x1401cf3f1], 0
je 0x1400c138a
test rbx, rbx
je 0x1400c13b5
mov rdx, qword [0x1401ce100]
lea rcx, [0x1401cf3f8]
mov r8, rbx
call fcn.1400c458c
jmp 0x1400c13ae
lea rdx, [0x14018f49a]
lea rcx, [0x1401af488]
call fcn.140070200
jmp 0x1400c12e1
mov rdi, qword [0x1401ce100]
test rbx, rbx
je 0x1400c13b5
call fcn.1400c42e4
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.1400c444c
inc rdi
sub rbx, 1
jne 0x1400c1396
mov rbx, qword [0x1401ce108]
mov rax, qword [0x1401ce100]
dec rbx
mov qword [0x1401ce108], rbx
movzx eax, byte [rax]
inc qword [0x1401ce100]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c4350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov rcx, rdx
call fcn.1400c4304
movsd xmm0, qword [rbx]
mov eax, dword [rbx + 8]
xor ebx, ebx
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
mov ecx, dword [0x1401cf258]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rsp + rbx + 0x20], al
movzx ecx, byte [rsp + rbx + 0x20]
call fcn.1400c444c
inc rbx
cmp rbx, 0xc
jl 0x1400c4387
mov rax, qword [0x1401be0e0]
movzx ecx, byte [0x1401ce177]
test byte [rax + 0x40], 2
movzx eax, byte [0x1401ce16f]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x1400c43e2
or eax, 0xffffffff
jmp 0x1400c4432
mov rbx, qword [0x1401ce108]
mov rax, qword [0x1401be0a8]
mov rdi, qword [0x1401ce100]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x1400c4430
mov ecx, dword [0x1401cf258]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.1400c444c
inc rdi
sub ebx, 1
jne 0x1400c4404
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140105c50
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400c444c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov rdx, qword [0x1401cf250]
lea r9, [0x1401bdc80]
mov eax, ecx
mov r8d, ecx
xor rdx, rax
movzx eax, dl
mov edx, dword [0x1401cf250]
shr edx, 8
xor edx, dword [r9 + rax*4]
movzx eax, dl
add eax, dword [0x1401cf254]
imul eax, eax, 0x8088405
mov dword [0x1401cf250], edx
inc eax
mov dword [0x1401cf254], eax
shr rax, 0x18
xor rax, qword [0x1401cf258]
movzx ecx, al
mov eax, dword [0x1401cf258]
shr eax, 8
xor eax, dword [r9 + rcx*4]
mov dword [0x1401cf258], eax
mov eax, r8d
ret

Function at 0x1400c4740
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0xa0]
mov r12, rdx
lea rdx, [rsp + 0x20]
mov rsi, r9
mov r15, r8
mov rbx, rcx
call fcn.1400c4c44
xor edi, edi
test rsi, rsi
je 0x1400c47b8
cmp byte [r14], dil
je 0x1400c47b8
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x1400c47ec
lea rax, [rbx + 0x60]
mov ecx, 0x40
xor byte [rax], 0x6a
inc rax
sub rcx, 1
jne 0x1400c47c1
mov rcx, rbx
call fcn.14009baf8
mov r8d, 0x40
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.14009bb20
test rsi, rsi
je 0x1400c4823
cmp byte [r14], dil
jne 0x1400c4823
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x50], xmm1
mov byte [r14], 1
mov r8d, 0x14
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14009bb20
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400c4c44
test r15, r15
je 0x1400c485c
mov rcx, rdi
mov al, byte [rsp + rcx + 0x20]
inc edi
mov byte [rcx + r12], al
mov ecx, edi
cmp rcx, r15
jb 0x1400c484b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140105c50
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret