Function at 0x14000e760
Capabilities:
Create process on windows
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor r14d, r14d
mov rbx, r9
mov rsi, r8
mov rdi, rcx
sub edx, 0x4e
je 0x14000ea95
sub edx, 0xc2
je 0x14000e90a
dec edx
je 0x14000e8be
dec edx
je 0x14000e890
cmp edx, 0x26
jne 0x14000ec63
lea edx, [r14 - 0xc]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, 0x130
je 0x14000ec63
lea edx, [r14 - 0xc]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, 0x3ff
cmp eax, ecx
je 0x14000ec63
lea edx, [r14 - 0xc]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, 0x400
je 0x14000ec63
lea edx, [r14 - 0xc]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, 0x3fd
je 0x14000ec63
lea edx, [r14 - 0xc]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, 0x405
je 0x14000ec63
lea edx, [r14 - 0xc]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, 0x40c
je 0x14000ec63
lea edx, [r14 - 0xc]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, 0x40d
je 0x14000ec63
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rcx, rsi
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
cdqe
jmp 0x14000ec66
cmp r8, 0xf060
jne 0x14000ec63
mov rcx, qword [rcx + 8]
xor r9d, r9d
mov edx, 0x111
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_PostMessageW]
mov r14d, 1
jmp 0x14000ec63
movzx ecx, r8w
sub ecx, 0x40a
je 0x14000e8f2
dec ecx
jne 0x14000ec63
mov rcx, rdi
call fcn.14000f450
mov rcx, qword [rdi + 8]
mov rdx, rsi
call qword [sym.imp.USER32.dll_EndDialog]
mov r14d, 1
jmp 0x14000ec63
mov rcx, qword [rdi + 8]
mov rdx, r8
call qword [sym.imp.USER32.dll_EndDialog]
mov r14d, 1
jmp 0x14000ec63
mov rcx, qword [rcx + 8]
mov edx, 0x3f9
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x43b
mov r15, rax
call qword [sym.imp.USER32.dll_SendMessageW]
xor r8d, r8d
mov edx, 0x445
bts rax, 0x1a
mov rcx, r15
mov r9, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov esi, 1
xor r9d, r9d
mov edx, 0x45b
mov rcx, r15
mov r8d, esi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rdi + 0x18]
mov rbx, qword [rdi + 8]
mov qword [rsp + 0x30], rax
movzx eax, word [rdi + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x40], r14
mov word [rsp + 0x38], ax
call fcn.140012b40
lea r8, [rsp + 0x30]
lea rdx, [fcn.140012b40]
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnumChildWindows]
movzx eax, word [rsp + 0x38]
mov ecx, eax
cmp eax, 0xc04
je 0x14000e9bf
cmp eax, 0x1004
je 0x14000ea8b
cmp eax, 0x1404
jne 0x14000e9c9
mov eax, 0x404
mov word [rsp + 0x38], ax
mov rcx, qword [rsp + 0x30]
movzx r9d, ax
mov edx, 0xa
mov r8d, 0x321
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x14000ea09
mov rcx, qword [rsp + 0x30]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000ea09
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
jne 0x14000ea54
mov rcx, qword [rsp + 0x30]
mov r9d, 0x409
mov edx, 0xa
mov r8d, 0x321
mov word [rsp + 0x38], r9w
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x14000ea51
mov rcx, qword [rsp + 0x30]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000ea51
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
jne 0x14000ea54
mov rax, r14
lea r8, [rsp + 0x60]
mov r9, rax
mov edx, 0x461
mov rcx, r15
mov qword [rsp + 0x60], r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 8]
mov edx, esi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x14000ec63
mov eax, 0x804
jmp 0x14000e9c4
mov eax, dword [r9 + 0x10]
mov qword [rsp + 0x2d8], r12
mov qword [rsp + 0x290], r13
cmp eax, 0x70b
je 0x14000eb58
cmp eax, 0xfffffffe
jne 0x14000ec53
cmp qword [r9 + 8], 0x405
jne 0x14000ec53
mov r9d, dword [r9 + 0x1c]
or rcx, 0xffffffffffffffff
test r9d, r9d
jne 0x14000eb1d
lea r8, str.IDC_DATA_COLLECTION_N_SETTINGS
mov rdx, rcx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbx + rdx*2 + 0x8a]
cmp ax, word [r8 + rdx*2 + 2]
jne 0x14000eb1d
add rdx, 2
cmp rdx, 0x1f
je 0x14000ec85
movzx eax, word [rbx + rdx*2 + 0x88]
cmp ax, word [r8 + rdx*2]
je 0x14000eaf0
cmp r9d, 1
jne 0x14000ec53
lea r8, [rbx + 0x88]
test r8, r8
je 0x14000ec53
nop word [rax + rax]
inc rcx
cmp word [r8 + rcx*2], r14w
jne 0x14000eb40
test rcx, rcx
je 0x14000ec53
jmp 0x14000ec34
mov eax, dword [r9 + 0x18]
cmp eax, 0x202
jb 0x14000ec53
cmp eax, 0x203
jbe 0x14000eb7c
add eax, 0xfffffdfb
cmp eax, 1
ja 0x14000ec53
cmp qword [r9 + 8], 0x3f9
jne 0x14000ec53
lea rcx, [rsp + 0x72]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x70], r14w
call fcn.140027190
mov rax, qword [rbx + 0x2c]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x70]
mov edx, 0x3f9
mov qword [rsp + 0x68], rax
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rcx, rax
mov edx, 0x44b
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rsp + 0x68]
or rcx, 0xffffffffffffffff
test r9, r9
je 0x14000ec16
lea r8, str.IDC_DATA_COLLECTION_N_SETTINGS
mov rdx, rcx
movzx eax, word [r9 + rdx*2 + 2]
cmp ax, word [r8 + rdx*2 + 2]
jne 0x14000ec16
add rdx, 2
cmp rdx, 0x1f
je 0x14000ec85
movzx eax, word [r9 + rdx*2]
cmp ax, word [r8 + rdx*2]
je 0x14000ebf2
lea rax, [rsp + 0x70]
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x14000ec20
test rcx, rcx
je 0x14000ec53
lea r8, [rsp + 0x70]
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r14
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov r12, qword [rsp + 0x2d8]
mov r13, qword [rsp + 0x290]
movsxd rax, r14d
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140023790
add rsp, 0x298
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
movzx ebx, byte [rdi + 0x28]
movzx r15d, word [rdi + 0x50]
mov r12, qword [rdi + 8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov r13, qword [rdi + 0x18]
lea rax, vtable.DialogBase.0
xor ecx, ecx
mov qword [rsp + 0x48], r14
mov word [rsp + 0x50], 0x100
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x3ff
movzx edx, ax
mov esi, 1
and dx, cx
cmp si, dx
je 0x14000ecee
mov eax, 0xd
mov byte [rsp + 0x50], r14b
cmp ax, dx
jne 0x14000ecf3
mov byte [rsp + 0x50], sil
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rax, vtable.CDataCollection.0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov word [rsp + 0x58], r15w
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r12
mov byte [rsp + 0x5a], bl
call qword [method.CDataCollectionAgreementDlg.virtual_8]
test al, al
jne 0x14000ed3a
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov edx, 0x1f6
call qword [rax + 0x10]
movzx eax, byte [rsp + 0x5a]
mov byte [rdi + 0x28], al
jmp 0x14000ec53