Function at 0x435c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x368
mov eax, dword [0x5a05c4]
lea ecx, [esp + 0x348]
xor eax, ebp
mov dword [esp + 0x360], eax
push str.SeBackupPrivilege
call fcn.0047b318
lea ecx, [esp + 0x330]
push str.SeRestorePrivilege
call fcn.0047b318
lea esi, [esp + 0x120]
mov ecx, esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004573d0
mov ecx, esi
call fcn.004573a0
test al, al
je 0x4365ae
mov ecx, 8
lea eax, [esp + 0x120]
lea edx, [esp + 0x78]
lea esi, [esp + 0x54]
lea edi, [eax + ecx]
mov eax, 4
add ecx, edx
add eax, edx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
push 0x32
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043e610
add esp, 8
test eax, eax
lea ebx, [esp + 0x78]
jle 0x435d6d
mov ecx, ebx
push 0xffffffffffffffff
push 0x77
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043e680
push 0x30
push str.Checking_for_pre_loaded_hive_for_local_account__
push dword [esp + 0x10]
call fcn.004058b5
add esp, 0xc
push edi
push eax
call fcn.0043f290
add esp, 8
push 1
push 0x557274
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, ebx
call fcn.0043ea30
mov ecx, esi
call fcn.00451840
mov ecx, esi
push 0xf003f
push edi
push SysReAllocStringLen
call fcn.004567f0
test eax, eax
je 0x435df3
cmp eax, 2
jne 0x435e6e
push 0x32
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043e610
add esp, 8
test eax, eax
jle 0x435ecd
mov ecx, ebx
push 0xffffffffffffffff
push 0x61
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043e680
push 0x1d
push str.Hive_is_not_loaded_for_user__
push dword [esp + 0x10]
call fcn.004058b5
add esp, 0xc
push edi
push eax
call fcn.0043f290
add esp, 8
push 1
push 0x557274
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, ebx
call fcn.0043ea30
jmp 0x435ecd
push 0x32
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043e610
add esp, 8
test eax, eax
jle 0x435e4a
mov ecx, ebx
push 0xffffffffffffffff
push 0x7b
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043e680
push 0x1b
push str.Found_loaded_hive_for_sid__
push dword [esp + 0x10]
call fcn.004058b5
add esp, 0xc
push edi
push eax
call fcn.0043f290
add esp, 8
push 1
push 0x557274
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, ebx
call fcn.0043ea30
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push edi
push eax
call dword [eax + 4]
add esp, 0xc
mov ecx, esi
mov ebx, eax
call fcn.004568a0
test bl, bl
jne 0x436591
jmp 0x4365ae
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x435ecd
call fcn.0043ef80
mov ecx, ebx
push eax
push 2
push 0x65
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043f140
push 0x1e
push str.Failed_opening_hive_for_user__
push dword [esp + 0xc]
call fcn.004058b5
add esp, 0xc
push edi
push eax
call fcn.0043f290
add esp, 8
push 1
push 0x557274
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, ebx
call fcn.0043f200
push 0x80
call fcn.00527256
add esp, 4
mov ebx, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], 0x80000040
mov dword [esp + 0x4c], 0x38
push 0x70
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
push eax
call fcn.0052acc0
add esp, 0xc
lea esi, [esp + 0x48]
mov word [ebx + 0x70], 0
mov ecx, esi
push 0x5c
xor ebx, ebx
inc ebx
push ebx
call fcn.004279a4
mov ecx, eax
push edi
call fcn.00427dd4
cmp byte [esp + 0x53], 0
mov eax, esi
jns 0x435f2c
mov eax, dword [esp + 0x48]
lea esi, [esp + 0x54]
mov ecx, esi
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004567f0
test eax, eax
je 0x435fc9
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, 4
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x43656c
call fcn.0043ef80
lea ecx, [esp + 0x78]
push eax
push 2
push 0x88
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043f140
push 0x1c
push str.Failed_opening_profile_key__
push dword [esp + 0xc]
call fcn.004058b5
add esp, 0xc
cmp byte [esp + 0x53], 0
lea ecx, [esp + 0x48]
jns 0x435fa1
mov ecx, dword [esp + 0x48]
push ecx
push eax
call fcn.0043f290
add esp, 8
push 1
push 0x557274
push eax
call fcn.004058b5
add esp, 0xc
lea ecx, [esp + 0x78]
call fcn.0043f200
jmp 0x43656c
xor eax, eax
mov ecx, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
push eax
push str.ProfileImagePath
call fcn.00456f00
test eax, eax
lea ebx, [esp + 0x78]
je 0x436061
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x436061
call fcn.0043ef80
mov ecx, ebx
push eax
push 2
push 0x90
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043f140
push 0x2a
push str.Failed_reading_ProfileImagePath_value_of__
push dword [esp + 0xc]
call fcn.004058b5
add esp, 0xc
cmp byte [esp + 0x53], 0
lea ecx, [esp + 0x48]
jns 0x436040
mov ecx, dword [esp + 0x48]
push ecx
push eax
call fcn.0043f290
add esp, 8
push 1
push 0x557274
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, ebx
call fcn.0043f200
mov ecx, esi
call fcn.00456870
movzx eax, byte [esp + 0x43]
test al, al
mov edx, eax
jns 0x436077
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4361bc
test al, al
lea eax, [esp + 0x38]
jns 0x43608b
mov eax, dword [esp + 0x38]
mov ecx, ebx
push edx
push eax
call fcn.0043a400
mov ecx, ebx
push 0xa
push str.ntuser.dat
mov edi, ebx
lea ebx, [esp + 0x34]
push ebx
call fcn.0043b210
mov ecx, edi
call fcn.0043a4c0
push 0x32
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043e610
add esp, 8
test eax, eax
jle 0x43611b
mov ecx, edi
push 0xffffffffffffffff
push 0x99
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043e680
push 0x19
push str.Falling_back_to_opening__
push dword [esp + 0x10]
call fcn.004058b5
add esp, 0xc
cmp byte [esp + 0x37], 0
jns 0x4360f4
mov ebx, dword [esp + 0x2c]
push ebx
push eax
call fcn.0043f290
add esp, 8
push 1
push 0x557274
push eax
call fcn.004058b5
add esp, 0xc
lea ecx, [esp + 0x78]
call fcn.0043ea30
lea ebx, [esp + 0x2c]
push ebx
call fcn.00453220
add esp, 4
test al, al
je 0x4361c6
xor eax, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
call fcn.00451840
push 0xa
lea ebx, [esp + 0x70]
push ebx
call fcn.00444260
add esp, 8
movzx eax, byte [esp + 0x77]
mov ecx, ebx
test al, al
jns 0x436165
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
push 1
push eax
push ecx
lea ebx, [esp + 0x6c]
push ebx
call fcn.0047b408
add esp, 0x10
movzx eax, byte [esp + 0x6b]
mov ecx, ebx
test al, al
jns 0x436189
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
push eax
push ecx
lea ebx, [esp + 0x80]
push ebx
call fcn.00449170
add esp, 0xc
xor ecx, ecx
cmp byte [esp + 0x1b], cl
js 0x43624b
mov edi, dword [esp + 0xc]
mov word [esp + 0x10], 0
mov byte [esp + 0x1b], 0
jmp 0x43627d
mov ebx, 4
jmp 0x43655c
push 0x32
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043e610
add esp, 8
mov ebx, 4
test eax, eax
jle 0x4362fb
call fcn.0043ef80
lea ecx, [esp + 0x78]
push eax
push 0xffffffffffffffff
push 0x9b
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043f140
push 0x25
push str.Hive_file_not_found_or_inaccessible__
push dword [esp + 0xc]
call fcn.004058b5
add esp, 0xc
cmp byte [esp + 0x37], 0
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x2c]
jns 0x436223
mov ecx, dword [esp + 0x2c]
push ecx
push eax
call fcn.0043f290
add esp, 8
push 1
push 0x557274
push eax
call fcn.004058b5
add esp, 0xc
lea ecx, [esp + 0x78]
call fcn.0043f200
jmp 0x43654f
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov word [eax], 0
mov dword [esp + 0x14], 0
cmp byte [esp + 0x1b], 0
jns 0x43627d
push dword [esp + 0x10]
call fcn.005272d6
xor ecx, ecx
add esp, 4
mov dword [esp + 0x18], 0
movsd xmm0, qword [esp + 0x78]
mov eax, dword [esp + 0x80]
cmp byte [esp + 0x6b], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x18], eax
movsd qword [esp + 0x10], xmm0
jns 0x4362b8
push dword [esp + 0x60]
call fcn.005272d6
xor ecx, ecx
add esp, 4
cmp byte [esp + 0x37], cl
lea eax, [esp + 0x2c]
jns 0x4362c6
mov eax, dword [esp + 0x2c]
cmp byte [esp + 0x1b], cl
lea ecx, [esp + 0x10]
jns 0x4362d4
mov ecx, dword [esp + 0x10]
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov cl, byte [esp + 0x1b]
test eax, eax
je 0x436304
test cl, cl
js 0x436364
mov word [esp + 0x10], 0
mov byte [esp + 0x1b], 0
jmp 0x436375
mov edi, dword [esp + 0xc]
jmp 0x43654f
test cl, cl
lea eax, [esp + 0x10]
jns 0x436310
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push 0xf003f
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004567f0
test eax, eax
je 0x4363e3
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x4363e3
call fcn.0043ef80
mov ecx, ebx
push eax
push 2
push 0x4b
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043f140
push 0x21
push str.Failed_opening_loaded_hive_file__
jmp 0x4363a7
mov ecx, dword [esp + 0x10]
mov word [ecx], 0
mov dword [esp + 0x14], 0
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x4363e3
call fcn.0043ef80
mov ecx, ebx
push eax
push 2
push 0x42
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043f140
push 0x1f
push str.Failed_loading_user_hive_file__
push dword [esp + 0xc]
call fcn.004058b5
add esp, 0xc
cmp byte [esp + 0x37], 0
lea ecx, [esp + 0x2c]
jns 0x4363c2
mov ecx, dword [esp + 0x2c]
push ecx
push eax
call fcn.0043f290
add esp, 8
push 1
push 0x557274
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, ebx
call fcn.0043f200
cmp byte [esp + 0x77], 0
jns 0x4363f6
push dword [esp + 0x6c]
call fcn.005272d6
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x436483
push 0x32
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043e610
add esp, 8
test eax, eax
jle 0x43645f
lea ebx, [esp + 0x78]
mov ecx, ebx
push 0xffffffffffffffff
push 0xa1
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043e680
push 0x20
push str.Loaded_and_opened_hive_for_sid__
push dword [esp + 0x10]
call fcn.004058b5
add esp, 0xc
push edi
push eax
call fcn.0043f290
add esp, 8
push 1
push 0x557274
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, ebx
call fcn.0043ea30
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
test eax, eax
cmovne eax, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
push eax
push edi
push ecx
call dword [ecx + 4]
add esp, 0xc
mov ebx, 2
test al, al
je 0x436485
xor ebx, ebx
lea ecx, [esp + 0x1c]
call fcn.00456870
movzx eax, byte [esp + 0x1b]
test al, al
mov ecx, eax
jns 0x43649d
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x436533
test al, al
lea eax, [esp + 0x10]
jns 0x4364b1
mov eax, dword [esp + 0x10]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
test eax, eax
je 0x436533
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x436533
call fcn.0043ef80
lea ecx, [esp + 0x78]
push eax
push 2
push 0x57
push str..._.._chrome_installer_setup_user_hive_visitor.cc
call fcn.0043f140
push 0x1f
push str.Failed_unloading_user_hive_at__
push dword [esp + 0xc]
call fcn.004058b5
add esp, 0xc
cmp byte [esp + 0x1b], 0
lea ecx, [esp + 0x10]
jns 0x436510
mov ecx, dword [esp + 0x10]
push ecx
push eax
call fcn.0043f290
add esp, 8
push 1
push 0x557274
push eax
call fcn.004058b5
add esp, 0xc
lea ecx, [esp + 0x78]
call fcn.0043f200
lea ecx, [esp + 0x1c]
call fcn.004568a0
cmp byte [esp + 0x1b], 0
jns 0x43654f
push dword [esp + 0x10]
call fcn.005272d6
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.0043a4c0
mov al, byte [esp + 0x43]
test al, al
jns 0x43656c
push dword [esp + 0x38]
call fcn.005272d6
add esp, 4
cmp byte [esp + 0x53], 0
jns 0x43657f
push dword [esp + 0x48]
call fcn.005272d6
add esp, 4
mov ecx, esi
call fcn.004568a0
mov eax, 4
or ebx, eax
cmp ebx, eax
jne 0x4365ae
lea ebx, [esp + 0x120]
mov ecx, ebx
call fcn.00457550
mov ecx, ebx
call fcn.004573a0
test al, al
jne 0x435d12
lea ecx, [esp + 0x120]
call fcn.004574d0
lea ecx, [esp + 0x330]
call fcn.0047b3d4
lea ecx, [esp + 0x348]
call fcn.0047b3d4
mov ecx, dword [esp + 0x360]
xor ecx, ebp
call fcn.00527311
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret