Function at 0x42b682
Capabilities:
Accept command line arguments
Identify system language via api
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.00453aa0
mov ecx, eax
call fcn.004539fd
mov eax, dword [0x518b98]
xor ebx, ebx
mov dword [ebp - 8], ebx
cmp byte [eax + 0x22d], bl
je 0x42b6c9
call fcn.00429ca2
mov ecx, dword [0x518b98]
mov esi, eax
mov dword [ebp - 8], esi
cmp byte [ecx + 0x22f], bl
mov ecx, esi
sete dl
call fcn.00462116
push str.______________Starting_SumatraPDF_installation_n
call fcn.004620b3
pop ecx
push 0x4c
call fcn.004b7b0e
pop ecx
xor ecx, ecx
mov dword [eax + 0x38], ecx
lea ecx, [eax + 0x40]
mov dword [eax + 0x44], ebx
mov dword [eax + 0x48], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x3c], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov word [ecx + 8], bx
mov dword [0x51aa94], eax
call fcn.0042bd47
mov ecx, dword [0x518b98]
cmp dword [ecx + 0x224], ebx
jne 0x42b750
mov cl, byte [ecx + 0x22e]
xor dl, dl
call fcn.0042a9fa
mov ecx, dword [0x518b98]
mov dword [ecx + 0x224], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
or edx, 0xffffffff
mov ecx, eax
call fcn.00462810
mov ecx, dword [0x518b98]
mov edi, eax
mov esi, dword [ecx + 0x224]
call fcn.00464abe
push esi
push edi
push eax
push str.Running_s__cmdLine:__s__installing_into_dir__s_n
call fcn.004620b3
mov eax, dword [0x518b98]
add esp, 0x10
cmp byte [eax + 0x151], bl
jne 0x42b7ab
call fcn.0042b57d
test al, al
je 0x42b7ab
push str.quitting_because__gCli__silent__MaybeMismatchedOSDialog___n
call fcn.004620e9
pop ecx
xor eax, eax
jmp 0x42b9a2
mov esi, ebx
call fcn.0042b47a
test al, al
jne 0x42b7be
xor eax, eax
inc eax
jmp 0x42b9a2
mov ecx, str.Thank_you_for_choosing_SumatraPDF_
call fcn.004539bd
mov ecx, dword [0x518b98]
mov dword [0x518b88], eax
mov al, byte [ecx + 0x22f]
mov byte [ebp - 1], al
test al, al
jne 0x42b808
mov edx, dword [0x51aa94]
cmp byte [ecx + 0x22a], bl
jne 0x42b7f7
mov al, byte [edx + 0x48]
mov byte [ecx + 0x22a], al
cmp byte [ecx + 0x22b], bl
jne 0x42b808
mov al, byte [edx + 0x49]
mov byte [ecx + 0x22b], al
movzx eax, byte [ecx + 0x22b]
push eax
movzx eax, byte [ecx + 0x22a]
push eax
movzx eax, byte [ebp - 1]
push eax
movzx eax, byte [ecx + 0x151]
push eax
push str.RunInstaller:_gClii__silent:__d__gCli__runInstallNow___d__gCli__withFilter___d__gCli__withPreview___d_n
call fcn.004620b3
add esp, 0x14
call fcn.004371dd
xor dl, dl
mov ecx, str.After_UninstallSearchFilter_n
call fcn.00461f14
call fcn.00436f3c
xor dl, dl
mov ecx, str.After_UninstallPreviewDll_n
call fcn.00461f14
mov eax, dword [0x518b98]
cmp byte [eax + 0x151], bl
je 0x42b8b7
cmp byte [eax + 0x22e], bl
je 0x42b88a
call fcn.00464f97
test al, al
jne 0x42b88a
xor dl, dl
mov ecx, str.allUsers_but_not_elevated:_re_starting_as_elevated_n
call fcn.00461f14
call fcn.0042a146
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.gCli__silent__before_runinng_InstallerThread___n
mov byte [0x51941d], 1
call fcn.004620e9
pop ecx
push ebx
call fcn.0042a000
mov ecx, dword [0x51aa94]
xor eax, eax
cmp byte [ecx + 0x39], al
setne al
mov dword [ebp - 0xc], eax
mov esi, eax
jmp 0x42b915
xor dl, dl
mov ecx, str.Before_CreateInstallerWindow___n
call fcn.00461f14
call fcn.0042b2b4
test al, al
jne 0x42b8d6
mov ecx, str.CreateInstallerWindow___failed_n
jmp 0x42b964
xor dl, dl
mov ecx, str.Before_SetForegroundWindow___n
call fcn.00461f14
mov eax, dword [0x51aa94]
push dword [eax]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor dl, dl
mov ecx, str.Before_RunApp___n
call fcn.00461f14
call fcn.0042b36c
mov esi, eax
push esi
push str.RunApp___returned__d_n
call fcn.004620e9
pop ecx
pop ecx
mov ecx, dword [0x51aa94]
cmp byte [ecx + 0x48], bl
je 0x42b93d
xor dl, dl
mov ecx, str.re_registering_search_filter_n
call fcn.00461f14
mov ecx, dword [0x518b98]
mov cl, byte [ecx + 0x22e]
call fcn.0042c02a
mov ecx, dword [0x51aa94]
cmp byte [ecx + 0x49], bl
je 0x42b95f
xor dl, dl
mov ecx, str.re_registering_previewer_n
call fcn.00461f14
mov ecx, dword [0x518b98]
mov cl, byte [ecx + 0x22e]
call fcn.0042c0ce
mov ecx, str.Installer_finished_n
mov dl, bl
call fcn.00461f14
mov eax, dword [ebp - 8]
test eax, eax
je 0x42b976
mov ecx, eax
jmp 0x42b99b
mov eax, dword [0x518b98]
cmp byte [eax + 0x151], bl
jne 0x42b9a0
test esi, esi
je 0x42b9a0
call fcn.00429ca2
mov edi, eax
mov ecx, edi
call fcn.0046214a
test al, al
je 0x42b9a0
mov ecx, edi
call fcn.00415e7e
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret