Function at 0x140001dec
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x8668]
mov eax, 0x8740
call fcn.140068770
sub rsp, rax
mov rax, qword [0x1400b14a0]
xor rax, rsp
mov qword [rbp + 0x8630], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x1f0]
mov r14, r8
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rdx
call fcn.140002618
lea rcx, [rbp + 0x1f0]
mov rdx, r14
call fcn.140017d90
lea rcx, [rbp + 0x8220]
mov edx, 0x104
call fcn.140006c80
lea rdx, str.onaInstall.log
lea rcx, [0x14008782c]
call fcn.140007130
mov ecx, 0x78
mov rdi, rax
call fcn.14005baec
xor ebx, ebx
test rax, rax
je 0x140001e9e
mov rdx, rdi
mov rcx, rax
call fcn.140018770
mov r15, rax
jmp 0x140001ea1
mov r15, rbx
lea r8, str.___START___
lea rdx, str.INFO
mov rcx, r15
call fcn.140018920
mov ecx, 0x800
call fcn.14005ba80
lea rcx, [rbp + 0x1f0]
mov r8d, 0x400
mov rdx, rax
mov rdi, rax
call fcn.140018120
lea rdx, str.ARGS:
lea rcx, [rsp + 0x50]
call fcn.14000264c
mov rdx, rdi
mov rcx, rax
call fcn.140002680
mov rcx, rax
call fcn.1400018c0
lea rdx, str.INFO
mov rcx, r15
mov r8, rax
call fcn.140018920
lea rcx, [rsp + 0x50]
call fcn.140001624
mov rcx, rdi
call fcn.14005ba88
lea rdx, str.onaFull
lea rcx, [0x14008784c]
call fcn.140007130
lea rcx, [rbp - 0x30]
mov r8, r15
mov rdx, rax
call fcn.140001a18
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov edi, 0x68
movzx r13d, ax
mov eax, 0x419
cmp r13w, ax
jne 0x140001f64
mov edi, 0x67
jmp 0x140001f75
mov eax, 0x422
mov ecx, 0x69
cmp r13w, ax
cmove edi, ecx
lea rdx, [0x140088f60]
lea rcx, [0x140088f68]
mov rsi, rbx
call fcn.140007130
movzx edx, di
xor ecx, ecx
mov r8, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r12, rax
test rax, rax
je 0x140001fd9
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x140001fd9
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
movzx r8d, r13w
mov rcx, rdi
mov edx, eax
call fcn.140017a80
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, [rbp - 0x30]
call fcn.140001af0
test eax, eax
je 0x1400020b6
lea rdx, str.NSTALLER_RUNNING_ALREADY
lea rcx, [0x140087d8c]
call fcn.140007130
or rcx, 0xffffffffffffffff
mov edx, ebx
mov r12, rax
xor eax, eax
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rax, rcx
test ecx, ecx
jle 0x140002037
mov rcx, rbx
movsxd rdi, eax
test eax, eax
jle 0x140002037
movzx eax, word [r12 + rcx*2]
imul edx, edx, 0x1f
inc rcx
add edx, eax
cmp rcx, rdi
jl 0x140002025
mov rdi, qword [rsi + 8]
mov rax, qword [rdi + 8]
jmp 0x140002052
cmp dword [rax + 0x18], edx
jge 0x14000204c
mov rax, qword [rax + 0x10]
jmp 0x140002052
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x29], bl
je 0x140002041
cmp rdi, qword [rsi + 8]
je 0x140002062
cmp edx, dword [rdi + 0x18]
jge 0x140002090
mov dword [rsp + 0x40], edx
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov qword [rsp + 0x48], rbx
call fcn.14001e440
lea rdx, [rsp + 0x30]
mov r8, rdi
mov rcx, rsi
mov r9, rax
call fcn.14001de70
mov rdi, qword [rsp + 0x30]
mov rdx, qword [rdi + 0x20]
mov r9d, 0x10
test rdx, rdx
cmove rdx, r12
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, 0xa
jmp 0x1400022bd
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, 0x10
call fcn.140018c10
mov ecx, 0x48
mov rdi, rax
call fcn.14005baec
mov r13, rax
test rax, rax
je 0x14000211f
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], rsi
mov qword [rax + 0x28], rbx
mov qword [rax + 0x30], rbx
mov qword [rax + 0x38], rbx
mov rax, qword [rsp + 0x30]
xor ecx, ecx
mov qword [r13 + 8], rax
mov rax, qword [rsp + 0x38]
mov qword [r13], rax
call fcn.14005d1ec
mov rcx, rax
call fcn.14005d1d4
mov qword [0x1400b7490], r13
jmp 0x140002122
mov r13, rbx
mov ecx, 0xa858
call fcn.14005baec
mov rsi, rax
test rax, rax
je 0x140002199
lea rdx, [0x14008a1a8]
lea rcx, [0x14008a0f8]
call fcn.140007130
mov r9, r15
mov r8, r14
mov rdx, rax
mov rcx, rsi
call fcn.140022250
lea rdx, vtable.ZonaInstallContext.0
lea rcx, [rsi + 0x9028]
mov qword [rsi], rdx
xor r8d, r8d
xor edx, edx
call fcn.140001678
mov rcx, r15
mov qword [rsi + 0x9050], rbx
mov word [rsi + 0x9058], bx
mov word [rsi + 0xa058], bx
mov word [rsi + 0x9858], bx
call fcn.1400079e0
jmp 0x14000219c
mov rsi, rbx
mov rcx, rsi
call fcn.140022e40
lea rdx, str.INFO
mov rcx, r15
mov r8, rax
call fcn.140018920
lea rdx, [0x140087d90]
lea rcx, [rsi + 0xd20]
call fcn.140017fb0
lea rdx, str._version
lea rcx, [rsi + 0xd20]
mov r14b, al
call fcn.140017fb0
mov rcx, rsi
test al, al
je 0x1400021f6
call fcn.140022e70
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1400022bd
mov rax, qword [rsi]
call qword [rax + 0x50]
test al, al
jne 0x140002268
lea rdx, [0x140087db8]
lea rcx, [rbp + 0x1f0]
call fcn.140017fb0
test al, al
jne 0x140002268
lea rcx, [rbp - 0x30]
call fcn.140001a5c
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14000264c
lea rdx, [0x140087db4]
lea rcx, [rsp + 0x50]
call fcn.140002680
lea rdx, str._secondInstance
mov rcx, rax
call fcn.140002680
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.140005810
lea rcx, [rsp + 0x50]
call fcn.140001624
jmp 0x1400022bd
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov rdx, qword [rsi]
mov rcx, rsi
mov rdi, rax
mov qword [rsp + 0x40], rax
call qword [rdx + 0x50]
test al, al
je 0x1400022d9
test rdi, rdi
je 0x140002299
mov edx, 0x1388
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9b, 1
xor r8d, r8d
mov rcx, rsi
mov dl, r9b
mov dword [rsi + 0x8e48], 2
call fcn.1400249c0
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x70]
lea rcx, [rbp - 0x30]
call fcn.140001a54
lea rcx, [rbp + 0x1f0]
call fcn.140002630
mov eax, ebx
jmp 0x1400025e8
mov ecx, 0x88
call fcn.14005baec
mov r12, rax
test rax, rax
je 0x1400023c1
lea rax, vtable.AbstractInstallScenario.0
mov qword [r12 + 8], rsi
mov qword [r12 + 0x10], rbx
mov word [r12 + 0x19], bx
mov byte [r12 + 0x18], bl
mov qword [r12 + 0x20], rbx
mov qword [r12], rax
test r14b, r14b
je 0x140002326
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
test al, al
jne 0x14000232e
mov rcx, rsi
call fcn.140024f70
lea rax, vtable.ZonaInstallScenario.0
mov ecx, 0x50
mov qword [r12], rax
lea rax, vtable.ZonaPackDownloadListsner.0
mov qword [r12 + 0x28], rax
mov qword [r12 + 0x40], rbx
call fcn.14005baec
test rax, rax
je 0x1400023a3
mov qword [r12 + 0x38], rax
mov qword [rax], rax
mov rax, qword [r12 + 0x38]
mov qword [rax + 8], rax
mov rax, qword [r12 + 0x38]
lea rcx, [r12 + 0x50]
mov qword [rax + 0x10], rax
mov rax, qword [r12 + 0x38]
mov byte [rax + 0x48], 1
mov rax, qword [r12 + 0x38]
mov byte [rax + 0x49], 1
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [r12 + 0x78], 1
mov qword [r12 + 0x80], rsi
jmp 0x1400023c4
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.1400018d0
lea rdx, [0x1400aec60]
lea rcx, [rsp + 0x50]
call fcn.14005faac
int3
mov r12, rbx
test r14b, r14b
je 0x14000241c
lea rax, vtable.SilentScenarioListener.0
lea r8, str.Init_pinstall_options_from_command_args...
lea rdx, str.INFO
mov rcx, r15
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], r15
call fcn.140018920
mov rax, qword [r12]
lea rdx, [rsp + 0x50]
mov rcx, r12
mov byte [rsp + 0x70], bl
call qword [rax + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400273c0
jmp 0x140002589
lea rax, vtable.SimpleWizardHeader.0
lea rcx, [rbp - 0x58]
xor r8d, r8d
xor edx, edx
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x80], rax
call fcn.140001678
mov rdx, qword [r13 + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400019a4
mov ecx, reloc.OLEAUT32.dll_SetErrorInfo
call fcn.14005baec
test rax, rax
je 0x14000247b
lea rcx, [rsp + 0x50]
lea r9, [rbp - 0x80]
mov r8, r12
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rdx, rsi
call fcn.1400010b8
mov rdi, rax
jmp 0x14000247e
mov rdi, rbx
mov ecx, 0x28
mov qword [rsp + 0x30], rdi
call fcn.14005baec
mov r14, rax
test rax, rax
je 0x1400024b4
lea rax, vtable.PartnerPageCreator.0
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], rsi
mov qword [r14], rax
lea rax, vtable.PartnerPageCreator.1.0
mov qword [r14 + 8], rax
jmp 0x1400024b7
mov r14, rbx
mov rcx, r13
mov qword [rsp + 0x38], r14
call fcn.140001964
mov rdi, rax
test r14, r14
je 0x140002532
mov rax, qword [rax + 8]
lea rcx, [rsp + 0x38]
cmp rcx, rax
jae 0x140002513
lea rcx, [rsp + 0x38]
cmp qword [rdi], rcx
ja 0x140002513
lea r14, [rsp + 0x38]
sub r14, qword [rdi]
sar r14, 3
cmp rax, qword [rdi + 0x10]
jne 0x1400024fe
mov rcx, rdi
call fcn.140054570
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x14000252d
mov rax, qword [rdi]
mov rcx, qword [rax + r14*8]
mov qword [rdx], rcx
jmp 0x14000252d
cmp rax, qword [rdi + 0x10]
jne 0x140002521
mov rcx, rdi
call fcn.140054570
mov rax, qword [rdi + 8]
test rax, rax
je 0x14000252d
mov qword [rax], r14
add qword [rdi + 8], 8
mov rcx, qword [rsp + 0x30]
mov r8, r13
mov rdx, r12
call fcn.140001c04
mov rcx, rsi
mov rdi, rax
call fcn.1400026e0
mov rcx, qword [rdi + 8]
mov qword [rax + 0x90], rcx
lea rcx, [rax + 0x10]
lea rdx, [rax + 8]
mov qword [rcx + 0x28], rdx
call fcn.14003fa10
mov rdx, qword [r12]
mov rcx, r12
call qword [rdx + VariantCopy]
mov rcx, rdi
call fcn.1400176a0
lea rcx, [rbp - 0x80]
call fcn.140002638
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x14000259c
mov edx, 0x1388
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rsi + 0x18]
jmp 0x1400025bf
mov rcx, qword [rdi]
lea rdx, [rbp + 0x8430]
mov r9, r15
mov rax, qword [rcx]
mov r8d, 0x100
call qword [rax + VariantCopy]
add rdi, 8
cmp rdi, qword [rsi + 0x20]
jne 0x1400025a2
call qword [sym.imp.ole32.dll_CoUninitialize]
mov edi, dword [rsi + 0xc00]
lea rcx, [rbp - 0x30]
call fcn.140001a54
lea rcx, [rbp + 0x1f0]
call fcn.140002630
mov eax, edi
mov rcx, qword [rbp + 0x8630]
xor rcx, rsp
call fcn.14005ba60
lea r11, [rsp + 0x8740]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret