Function at 0x42e6e0
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x260
mov eax, dword [ebp + 8]
mov ecx, dword [0x4e8024]
xor ecx, ebp
mov dword [esp + 0x258], ecx
xor ecx, ecx
dec ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
cmp byte [eax + 0xb], 0
js 0x42e729
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x28], xmm0
jmp 0x42e737
lea ecx, [esp + 0x28]
push dword [eax + 4]
push dword [eax]
call fcn.00452820
push 0x30
call fcn.0046ecad
add esp, 4
lea esi, [esp + 0x50]
mov dword [esi], eax
mov dword [esi + 8], 0x80000018
mov dword [esi + 4], 0x12
mov ecx, dword [0x4d9ea6]
mov dword [eax + 0x20], ecx
movups xmm0, xmmword [0x4d9e96]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [str.SOFTWAREPolicies_]
movups xmmword [eax], xmm0
mov word [eax + 0x24], 0
xor edi, edi
push esi
push edi
push dword [ebp + 0xc]
call fcn.0042d0f0
add esp, 0xc
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edi
cmp byte [esi + 0xb], 0
jns 0x42e79e
mov esi, dword [esp + 0x50]
lea ebx, [esp + 0x40]
push ebx
push str.UserDataDir
push esi
push edi
push 1
call fcn.0043c000
add esp, 0x14
test al, al
je 0x42e7c4
lea eax, [esp + 0x40]
lea ecx, [esp + 0x34]
push eax
push ecx
jmp 0x42e7f2
cmp byte [esp + 0x5b], 0
jns 0x42e7d1
mov eax, dword [esp + 0x50]
jmp 0x42e7d5
lea eax, [esp + 0x50]
push ebx
push str.UserDataDir
push eax
push 0
push 2
call fcn.0043c000
add esp, 0x14
test al, al
je 0x42e821
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.0043c3d0
add esp, 8
cmp byte [esp + 0x33], 0
jns 0x42e80d
push dword [esp + 0x28]
call fcn.0046ecdd
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
movsd xmm0, qword [esp + 0x34]
movsd qword [esp + 0x28], xmm0
cmp byte [esp + 0x4b], 0
jns 0x42e834
push dword [esp + 0x40]
call fcn.0046ecdd
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x42e847
push dword [esp + 0x50]
call fcn.0046ecdd
add esp, 4
mov dl, byte [esp + 0x33]
test dl, dl
mov ecx, dword [esp + 0x2c]
movzx eax, dl
mov esi, eax
cmovs esi, ecx
test esi, esi
jne 0x42ea9a
lea ebx, [esp + 0x24]
mov dword [ebx], 0xffffffff
push ebx
call fcn.00432f90
add esp, 4
xor esi, esi
lea edi, [esp + 0x50]
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [edi + 8], esi
mov ecx, dword [ebx]
push edi
push 0x12
push str.CB_INI_SCL_ENABLED
call fcn.00432fd0
mov dword [esp + 0x20], esi
movzx eax, byte [edi + 0xb]
test al, al
jns 0x42e8a5
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
lea ebx, [esp + 0x20]
push ebx
push eax
push edi
call fcn.00460fb0
add esp, 0xc
cmp dword [ebx], esi
je 0x42ea65
xor eax, eax
lea edi, [esp + 0x40]
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x24]
push edi
push 0x13
push str.CB_INI_SCL_SWITCHES
call fcn.00432fd0
movzx eax, byte [edi + 0xb]
mov ecx, eax
test al, al
jns 0x42e8e9
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x42ea55
lea esi, [esp + 0x34]
push edi
push str.chrome.exe
push esi
call fcn.00423ec0
add esp, 0xc
movzx eax, byte [esi + 0xb]
test al, al
jns 0x42e914
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
push edi
push 1
push 0x4d6933
push 2
push 0x4da1c5
push eax
push esi
call fcn.00432c30
add esp, 0x1c
cmp byte [esp + 0x3f], 0
jns 0x42e940
push dword [esp + 0x34]
call fcn.0046ecdd
add esp, 4
push str.user_data_dir
call fcn.00488da9
add esp, 4
cmp eax, 0x7ffffff0
jae 0x42efda
mov ebx, eax
cmp eax, 5
jae 0x42e986
lea esi, [esp + 0x14]
mov byte [esi + 0xb], bl
cmp ebx, 3
jne 0x42efa8
movzx eax, word [0x4d9e44]
mov word [esp + 0x18], ax
mov eax, dword [str.user_data_dir]
mov dword [esp + 0x14], eax
jmp 0x42e9bf
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0046ecad
add esp, 4
mov dword [esp + 0x14], eax
or esi, 0x80000000
mov dword [esp + 0x1c], esi
mov esi, eax
mov dword [esp + 0x18], ebx
mov eax, ebx
add eax, ebx
push eax
push str.user_data_dir
push esi
call fcn.004722b0
add esp, 0xc
mov word [esi + ebx*2], 0
movzx eax, byte [esp + 0x4b]
test al, al
jns 0x42e9d6
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
lea esi, [esp + 8]
push eax
push edi
push esi
call fcn.00457180
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x34]
push eax
push esi
push ecx
call fcn.0042d390
add esp, 0xc
cmp byte [esp + 0x33], 0
jns 0x42ea0b
push dword [esp + 0x28]
call fcn.0046ecdd
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
movsd xmm0, qword [esp + 0x34]
movsd qword [esp + 0x28], xmm0
mov byte [esp + 0x3f], 0
mov word [esp + 0x34], 0
cmp byte [esp + 0x13], 0
jns 0x42ea3e
push dword [esp + 8]
call fcn.0046ecdd
add esp, 4
cmp byte [esp + 0x1f], 0
jns 0x42ea51
push dword [esp + 0x14]
call fcn.0046ecdd
add esp, 4
mov al, byte [esp + 0x4b]
test al, al
jns 0x42ea65
push dword [esp + 0x40]
call fcn.0046ecdd
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x42ea78
push dword [esp + 0x50]
call fcn.0046ecdd
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], 0
test ecx, ecx
je 0x42ea8f
push 1
call fcn.00412b40
mov dl, byte [esp + 0x33]
mov ecx, dword [esp + 0x2c]
movzx eax, dl
test dl, dl
mov edi, eax
cmovs edi, ecx
test edi, edi
je 0x42eb1d
shr dl, 7
mov ebx, dword [esp + 0x28]
test dl, 1
lea esi, [esp + 0x28]
cmovne esi, ebx
movzx edi, word [esi + edi*2 - 2]
cmp di, 0x5c
je 0x42eac7
cmp di, 0x2f
jne 0x42eb08
test dl, 1
je 0x42eadb
lea eax, [ecx - 1]
mov dword [esp + 0x2c], eax
lea eax, [ebx + ecx*2]
add eax, 0xfffffffe
jmp 0x42eae8
lea ecx, [eax - 1]
mov byte [esp + 0x33], cl
lea eax, [esp + eax*2]
add eax, 0x26
mov word [eax], 0
movzx eax, byte [esp + 0x33]
mov edx, eax
shr dl, 7
test al, al
mov ecx, dword [esp + 0x2c]
mov edi, eax
cmovs edi, ecx
test edi, edi
jne 0x42eaa8
jmp 0x42eb1d
lea eax, [esp + 0x28]
push eax
call fcn.0042db70
add esp, 4
test al, al
jne 0x42ee51
mov ecx, dword [ebp + 0x14]
lea esi, [esp + 0x28]
cmp esi, ecx
je 0x42eb5b
cmp byte [ecx + 0xb], 0
movzx eax, byte [esp + 0x33]
js 0x42ef8e
test al, al
jns 0x42eb4a
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.00423c90
jmp 0x42eb5b
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], eax
movsd xmm0, qword [esp + 0x28]
movsd qword [ecx], xmm0
call fcn.00425e00
call fcn.00425da0
mov byte [esp + 3], al
push 0x20
call fcn.0046ecad
add esp, 4
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], 0x80000010
mov dword [esp + 0x54], 0xb
movsd xmm0, qword [0x4da1fa]
movsd qword [eax + 0xe], xmm0
movups xmm0, xmmword [str.cb_safemode]
movups xmmword [eax], xmm0
mov word [eax + 0x16], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push eax
call fcn.00488da9
add esp, 4
cmp eax, 0x7ffffff0
jae 0x42efd1
mov ebx, eax
cmp eax, 5
jae 0x42ebe8
lea edi, [esp + 0x40]
mov byte [edi + 0xb], bl
cmp ebx, 3
jne 0x42ef6c
movzx eax, word [esi + 4]
mov word [esp + 0x44], ax
mov eax, dword [esi]
mov dword [esp + 0x40], eax
jmp 0x42ec25
mov dword [esp + 4], esi
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0046ecad
add esp, 4
mov edi, eax
mov dword [esp + 0x40], eax
or esi, 0x80000000
mov dword [esp + 0x48], esi
mov esi, dword [esp + 4]
mov dword [esp + 0x44], ebx
mov eax, ebx
add eax, ebx
push eax
push esi
push edi
call fcn.004722b0
add esp, 0xc
mov word [edi + ebx*2], 0
lea esi, [esp + 0x50]
lea edi, [esp + 0x40]
push esi
push edi
call fcn.0042da60
add esp, 8
mov byte [esp + 4], al
cmp byte [edi + 0xb], 0
jns 0x42ec53
push dword [esp + 0x40]
call fcn.0046ecdd
add esp, 4
cmp byte [esp + 0x5b], 0
mov ebx, dword [ebp + 0xc]
jns 0x42ec69
push dword [esp + 0x50]
call fcn.0046ecdd
add esp, 4
cmp byte [esp + 3], 0
je 0x42ecfa
lea esi, [esp + 0x50]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
call fcn.004538e0
push esi
push 3
call fcn.00428ce0
add esp, 8
mov eax, str.User_Data_SafeMode_
mov edx, str.User_Data
cmp byte [esp + 4], 0
cmovne edx, eax
mov eax, 0x13
mov ebx, 9
cmovne ebx, eax
mov ecx, esi
push ebx
push edx
push edi
call fcn.00454130
mov ecx, esi
push edi
call fcn.00453a50
mov ecx, edi
call fcn.00453a30
cmp byte [esp + 0x33], 0
movzx eax, byte [esi + 0xb]
js 0x42efb5
test al, al
jns 0x42ee34
lea ecx, [esp + 0x28]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.00423c90
jmp 0x42ee48
xor eax, eax
dec eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
push str.LOCALAPPDATA
push esi
call fcn.0042d650
add esp, 8
movzx eax, byte [esp + 0x5b]
test al, al
jns 0x42ed24
mov eax, dword [esp + 0x54]
test eax, eax
je 0x42edd5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x30], esi
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 0x28], xmm0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
movzx eax, byte [esp + 0x33]
test al, al
cmovs eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
lea esi, [esp + 0x28]
cmovns ecx, esi
cmp word [ecx + eax*2 - 2], 0x5c
je 0x42ed82
lea ecx, [esp + 0x28]
push 0x5c
call fcn.00452ad0
push esi
push 1
push ebx
call fcn.0042d0f0
add esp, 0xc
mov ecx, esi
push 0x5c
call fcn.00452ad0
mov eax, str.User_Data_SafeMode_
mov edx, str.User_Data
cmp byte [esp + 4], 0
cmovne edx, eax
mov ecx, esi
push edx
call fcn.00423e90
mov bl, 1
cmp byte [esp + 0x5b], 0
jns 0x42edc6
push dword [esp + 0x50]
call fcn.0046ecdd
add esp, 4
test bl, bl
jne 0x42ee51
xor ebx, ebx
jmp 0x42ef41
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x42edb3
mov edi, eax
inc edi
mov ecx, esi
push 0
push edi
call fcn.00452ef0
cmp byte [esp + 0x5b], 0
jns 0x42edfb
mov esi, dword [esp + 0x50]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
mov ebx, dword [ebp + 0xc]
je 0x42ef79
movzx ecx, byte [esp + 0x5b]
test cl, cl
jns 0x42ee1b
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jae 0x42ef79
lea ecx, [esp + 0x50]
push 0
push eax
call fcn.00452ef0
jmp 0x42ed2c
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], eax
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 0x28], xmm0
lea ecx, [esp + 0x50]
call fcn.00453a30
lea edi, [esp + 0x50]
push 0x208
push 0xff
push edi
call fcn.00472db0
add esp, 0xc
cmp byte [esp + 0x33], 0
jns 0x42ee75
mov eax, dword [esp + 0x28]
jmp 0x42ee79
lea eax, [esp + 0x28]
push 0x104
push eax
push edi
call fcn.004855d2
add esp, 0xc
test eax, eax
je 0x42eecc
push edi
call fcn.00488da9
add esp, 4
cmp eax, 0x7ffffff0
jae 0x42efd1
mov ebx, eax
cmp eax, 5
jae 0x42eedc
mov byte [esp + 0x4b], bl
cmp ebx, 3
jne 0x42ef80
movzx eax, word [esp + 0x54]
mov word [esp + 0x44], ax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
lea esi, [esp + 0x40]
jmp 0x42ef15
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
jmp 0x42ef1b
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.0046ecad
add esp, 4
mov esi, eax
mov dword [esp + 0x40], eax
or edi, 0x80000000
mov dword [esp + 0x48], edi
lea edi, [esp + 0x50]
mov dword [esp + 0x44], ebx
mov eax, ebx
add eax, ebx
push eax
push edi
push esi
call fcn.004722b0
add esp, 0xc
mov word [esi + ebx*2], 0
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0xb], 0
jns 0x42ef2e
push dword [esi]
call fcn.0046ecdd
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x40]
movsd qword [esi], xmm0
mov bl, 1
cmp byte [esp + 0x33], 0
jns 0x42ef54
push dword [esp + 0x28]
call fcn.0046ecdd
add esp, 4
mov ecx, dword [esp + 0x258]
xor ecx, ebp
call fcn.0046f8c3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
jne 0x42ec16
jmp 0x42ec25
xor ebx, ebx
jmp 0x42edb3
test ebx, ebx
lea esi, [esp + 0x40]
jne 0x42ef06
jmp 0x42ef15
test al, al
cmovs eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
cmovns edx, esi
push eax
push edx
call fcn.00423b80
jmp 0x42eb5b
test ebx, ebx
jne 0x42e9ac
jmp 0x42e9bf
test al, al
cmovs eax, dword [esp + 0x54]
cmovs esi, dword [esp + 0x50]
lea ecx, [esp + 0x28]
push eax
push esi
call fcn.00423b80
jmp 0x42ee48
lea ecx, [esp + 0x40]
call fcn.004b4130
lea ecx, [esp + 0x14]
call fcn.004b4130
int3