Function at 0x59dbe6
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6afb03
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x816078]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
and dword [ebp - 4], 0
mov eax, dword [esi]
mov dword [ebp - 0xb8], esi
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x98], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [ebp - 0xa8], eax
lea edx, [ebp - 0x20]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov dword [ebp - 0x9c], eax
lea edx, [ebp - 0x8c]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov byte [ebp - 4], 1
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov byte [ebp - 0xa0], al
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov byte [ebp - 0xa4], al
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov dword [ebp - 0xac], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov byte [ebp - 0x90], al
lea edx, [ebp - 0x74]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov byte [ebp - 4], 2
lea edx, [ebp - 0x58]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov byte [ebp - 4], 3
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov byte [ebp - 0xbc], al
lea edx, [ebp - 0x3c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
push edx
call dword [eax + 0x3c]
mov byte [ebp - 4], 4
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov byte [ebp - 0xc0], al
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [esi]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb4], eax
mov ecx, dword [ecx + 0x28]
mov edx, dword [ecx]
call dword [edx + 0x48]
mov ecx, dword [esi]
mov byte [ebp - 0xc4], al
mov eax, dword [ebp - 0x98]
cdq
push edx
push eax
push str.AppId
call fcn.0059d47f
movzx eax, word [ebx + 2]
mov ecx, dword [esi]
cdq
push edx
push eax
push str.AppVersionMajor
call fcn.0059d514
movzx eax, word [ebx]
mov ecx, dword [esi]
cdq
push edx
push eax
push str.AppVersionMinor
call fcn.0059d514
movzx eax, word [ebx + 6]
mov ecx, dword [esi]
cdq
push edx
push eax
push str.AppVersionBuild
call fcn.0059d514
movzx eax, word [ebx + 4]
mov ecx, dword [esi]
cdq
push edx
push eax
push str.AppVersionUpdate
call fcn.0059d514
mov ecx, dword [esi]
push 1
push dword [ebp - 0x9c]
push str.ApplicationArchitecture
call fcn.0059d388
mov ecx, dword [esi]
push 0
push str.IsDebug
call fcn.0059d5a9
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x8c]
push 1
push eax
push str.ProcessFileName
call fcn.0059d388
push dword [ebp - 0xa0]
mov ecx, dword [esi]
push str.IsImmersive
call fcn.0059d5a9
push dword [ebp - 0xa4]
mov ecx, dword [esi]
push str.IsClickToRun
call fcn.0059d5a9
mov ebx, dword [ebp - 0xa8]
movzx eax, word [ebx + 2]
mov ecx, dword [esi]
cdq
push edx
push eax
push str.OfficeVersionMajor
call fcn.0059d514
movzx eax, word [ebx]
mov ecx, dword [esi]
cdq
push edx
push eax
push str.OfficeVersionMinor
call fcn.0059d514
movzx eax, word [ebx + 6]
mov ecx, dword [esi]
cdq
push edx
push eax
push str.OfficeVersionBuild
call fcn.0059d514
movzx eax, word [ebx + 4]
mov ecx, dword [esi]
cdq
push edx
push eax
push str.OfficeVersionUpdate
call fcn.0059d514
mov ecx, dword [esi]
push 0
push dword [ebp - 0xac]
push str.AppState
call fcn.0059d514
push dword [ebp - 0x90]
mov ecx, dword [esi]
push str.IsOEMInstalled
call fcn.0059d5a9
cmp byte [ebp - 0x5c], 0
je 0x59de9b
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x74]
push 1
push eax
push str.DistributionChannel
call fcn.0059d388
mov byte [ebp - 4], 5
lea edx, [ebp - 0x94]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [ebp - 0x90], 0
je 0x59decd
mov ecx, dword [esi]
push 0
push dword [ebp - 0x94]
push str.SqmAppId
call fcn.0059d514
mov ebx, dword [ebp - 0xb0]
jmp 0x59deff
mov dword [ebp - 4], 4
cmp byte [ebp - 0x20], 0
je 0x59df58
movzx eax, word [ebp - 0x1c]
mov ecx, dword [esi]
cdq
push edx
push eax
push str.PackageVersionMajor
call fcn.0059d514
movzx eax, word [ebp - 0x1e]
mov ecx, dword [esi]
cdq
push edx
push eax
push str.PackageVersionMinor
call fcn.0059d514
movzx eax, word [ebp - 0x18]
mov ecx, dword [esi]
cdq
push edx
push eax
push str.PackageVersionBuild
call fcn.0059d514
movzx eax, word [ebp - 0x1a]
mov ecx, dword [esi]
cdq
push edx
push eax
push str.PackageVersionUpdate
call fcn.0059d514
push dword [ebp - 0xbc]
mov ecx, dword [esi]
push str.IsInstalledOnExtStorage
call fcn.0059d5a9
push dword [ebp - 0xc0]
mov ecx, dword [esi]
push str.IsRunAsAdmin
call fcn.0059d5a9
mov ecx, dword [esi]
push 0
push ebx
push str.InstallType
call fcn.0059d514
push dword [ebp - 0xc4]
mov ecx, dword [esi]
push str.IsCentennial
call fcn.0059d5a9
cmp byte [ebp - 0x24], 0
je 0x59dfbd
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x3c]
push 1
push eax
push str.AndroidId
call fcn.0059d388
cmp byte [ebp - 0x40], 0
je 0x59dfdd
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x58]
push 1
push eax
push str.AppPackageName
call fcn.0059d388
lea ecx, [ebp - 0x3c]
call fcn.0040d475
lea ecx, [ebp - 0x58]
call fcn.0040d475
lea ecx, [ebp - 0x74]
call fcn.0040d475
lea ecx, [ebp - 0x8c]
call fcn.0040d475
mov al, 1
jmp 0x59e024
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0064c681
mov esp, ebp
pop ebp
ret