Function at 0x10001150
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x28e4]
mov eax, 0x28e4
call fcn.10032880
push 0xffffffffffffffff
push 0x100373ab
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1004f100]
xor eax, ebp
mov dword [ebp + 0x28e0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x28ec]
xor edi, edi
push 0x206
lea edx, [ebp + 2]
xor ecx, ecx
push edi
mov dword [ebp - 4], edi
push edx
mov dword [ebp - 0x18], eax
mov word [ebp], cx
call fcn.100285e0
push 0xe5c
lea eax, [ebp + 0x208]
push edi
push eax
call fcn.100285e0
add esp, 0x18
call fcn.1001f360
mov eax, dword [eax + 8]
cmp eax, edi
je 0x10001206
lea ecx, [ebp]
push ecx
call eax
mov esi, eax
cmp esi, edi
je 0x1000120b
call fcn.1001af90
push esi
push str.GetDeviceInfo_failed.Rlt:_d
mov ecx, eax
call fcn.1001b4f0
add esp, 8
push 0x10049464
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], esi
call fcn.10028c35
or esi, 0xffffffff
jmp 0x100011e0
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x1003b8d4
call esi
cmp eax, edi
je 0x1000123d
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x1000123d
push 0x10051290
mov dword [0x10051290], 0x114
call eax
push str.kernel32
mov dword [ebp - 0x14], edi
call esi
cmp eax, edi
jne 0x1000124f
xor eax, eax
jmp 0x10001271
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
je 0x1000126e
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov dword [ebp + 0x107c], 7
mov dword [ebp + 0x1078], edi
mov word [ebp + 0x1068], cx
mov edx, 1
mov byte [ebp - 4], dl
mov ecx, dword [0x10051294]
cmp ecx, 0xa
jne 0x100012c3
lea ecx, [ebp + 0x1064]
cmp eax, edi
je 0x100012b5
push 0x26
push str.GoogleChromeStandaloneEnterprise64.msi
call fcn.10001a60
jmp 0x100012eb
push 0x24
push str.GoogleChromeStandaloneEnterprise.msi
call fcn.10001a60
jmp 0x100012eb
cmp ecx, 6
jne 0x100012eb
cmp dword [0x10051298], edx
jne 0x100012eb
lea ecx, [ebp + 0x1064]
cmp eax, edi
je 0x100012e1
push str.GoogleChromeStandaloneEnterprise64_win7.msi
jmp 0x100012e6
push str.GoogleChromeStandaloneEnterprise_win7.msi
call fcn.10001a20
push 0x206
lea eax, [ebp + 0x20c2]
xor edx, edx
push edi
push eax
mov word [ebp + 0x20c0], dx
call fcn.100285e0
push 0x206
lea edx, [ebp + 0x18a2]
xor ecx, ecx
push edi
push edx
mov word [ebp + 0x18a0], cx
call fcn.100285e0
push 0x206
lea ecx, [ebp + 0x1aaa]
xor eax, eax
push edi
push ecx
mov word [ebp + 0x1aa8], ax
call fcn.100285e0
push 0x206
lea eax, [ebp + 0x24d2]
xor edx, edx
push edi
push eax
mov word [ebp + 0x24d0], dx
call fcn.100285e0
push 0x206
lea edx, [ebp + 0x1cb2]
xor ecx, ecx
push edi
push edx
mov word [ebp + 0x1cb0], cx
call fcn.100285e0
push 0x206
lea ecx, [ebp + 0x1eba]
xor eax, eax
push edi
push ecx
mov word [ebp + 0x1eb8], ax
call fcn.100285e0
add esp, 0x48
call fcn.1001f360
mov eax, dword [eax + 0x14]
cmp eax, edi
je 0x100013a5
lea edx, [ebp + 0x20c0]
push edx
call eax
call fcn.1001f360
mov eax, dword [eax + 0xc]
cmp eax, edi
je 0x10001401
lea ecx, [ebp + 0x1eb8]
push ecx
lea edx, [ebp + 0x1cb0]
push edx
lea ecx, [ebp + 0x24d0]
push ecx
lea edx, [ebp + 0x1aa8]
push edx
lea ecx, [ebp + 0x18a0]
push ecx
call eax
mov esi, eax
cmp esi, edi
je 0x10001406
call fcn.1001af90
push str.GetBasicRegInfo::GetSeverInfo_Failed
mov ecx, eax
call fcn.1001b3f0
add esp, 4
push 0x10049464
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], esi
call fcn.10028c35
or esi, 0xffffffff
jmp 0x100013dc
lea eax, [ebp + 0x1eb8]
push eax
call fcn.10026c70
lea ecx, [ebp + 0x1cb0]
push ecx
mov esi, eax
call fcn.10026c70
add esp, 8
mov ebx, eax
call fcn.1001fd70
mov eax, dword [eax + 0xc]
cmp eax, edi
je 0x10001451
lea edx, [ebp + 0x20c0]
push edx
push ebx
push esi
lea ecx, [ebp + 0x24d0]
push ecx
lea edx, [ebp + 0x208]
push edx
call eax
add esp, 0x14
mov edi, eax
jmp 0x10001454
or edi, 0xffffffff
call fcn.1001af90
lea ecx, [ebp + 0x20c0]
push ecx
push ebx
push esi
lea edx, [ebp + 0x24d0]
push edx
lea ecx, [ebp + 0x208]
push ecx
push edi
push str.ServerReInitialize_InitialServerRlt:_08x__:pszDeviceGuid:_s_szServerIp:_s__uHttpPort:_d__uHttpsPort:_d_szCerPath:_s
mov ecx, eax
call fcn.1001b3f0
add esp, 0x1c
xor edx, edx
push 0x81e
push edx
lea eax, [ebp + 0x1082]
push eax
mov word [ebp + 0x1080], dx
call fcn.100285e0
mov eax, dword [ebp + 0x1068]
mov edi, 8
add esp, 0xc
cmp dword [ebp + 0x107c], edi
jae 0x100014b7
lea eax, [ebp + 0x1068]
push eax
push esi
lea ecx, [ebp + 0x24d0]
push ecx
push str.http:___s:_d_resdownload__s
lea edx, [ebp + 0x1080]
push 0x104
push edx
call fcn.10001f00
xor eax, eax
push 0x206
push eax
lea ecx, [ebp + 0x22ca]
push ecx
mov word [ebp + 0x22c8], ax
call fcn.100285e0
add esp, 0x24
call fcn.1001f530
push eax
push str._s_tempFse_browser
lea edx, [ebp + 0x22c8]
push 0x104
push edx
call fcn.10001f00
lea eax, [ebp + 0x22c8]
push eax
xor ecx, ecx
call fcn.10020100
add esp, 0x14
test eax, eax
jne 0x10001530
lea ecx, [ebp + 0x22c8]
call fcn.10020530
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp + 0x26da]
push edx
mov word [ebp + 0x26d8], cx
call fcn.100285e0
mov eax, dword [ebp + 0x1068]
add esp, 0xc
cmp dword [ebp + 0x107c], edi
jae 0x10001562
lea eax, [ebp + 0x1068]
push eax
lea eax, [ebp + 0x22c8]
push eax
push str._s_s
lea ecx, [ebp + 0x26d8]
push 0x104
push ecx
call fcn.10001f00
lea eax, [ebp + 0x26d8]
add esp, 0x14
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001590
mov ebx, dword [ebp - 0x18]
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp + 0x26d8]
push edx
mov ecx, ebx
call fcn.10001a60
lea eax, [ebp + 0x26d8]
test eax, eax
je 0x100015d4
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100015d4
lea ecx, [ebp + 0x26d8]
call fcn.1001ff60
lea esi, [ebx + 4]
cmp dword [ebx + 0x18], edi
jb 0x100015e0
mov edi, dword [esi]
jmp 0x100015e2
mov edi, esi
call fcn.1001fd70
mov eax, dword [eax + 0x17c]
test eax, eax
jne 0x100015f6
lea edi, [eax + 0x57]
jmp 0x10001605
lea edx, [ebp + 0x1080]
push edi
push edx
call eax
add esp, 8
mov edi, eax
cmp dword [ebx + 0x18], 8
jb 0x1000160d
mov esi, dword [esi]
call fcn.1001af90
push edi
push esi
lea ecx, [ebp + 0x1080]
push ecx
push str.Get_browser_Install_packet_Url:_s_Download_Path:_s_Rlt:_d
mov ecx, eax
call fcn.1001b3f0
add esp, 0x10
cmp dword [ebp + 0x107c], 8
jb 0x10001660
mov edx, dword [ebp + 0x1068]
push edx
call fcn.100269ba
add esp, 4
jmp 0x10001660
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x28e0]
xor ecx, ebp
call fcn.100269c5
add ebp, 0x28e4
mov esp, ebp
pop ebp
ret 4