Function at 0x46e0c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c9f3
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x616718]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xc0], ebx
xor eax, eax
mov dword [ebp - 0xd0], ebx
push eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xcc], eax
call dword [0x53d46c]
lea esi, [ebx + 0x18]
mov dword [ebx], 0x554fb0
mov dword [ebx + 8], 0
xor eax, eax
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], 7
mov word [ebx + 0x34], ax
lea edi, [ebx + 0x4c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebx + 0x64], eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 3
call fcn.00464160
mov ecx, eax
add esp, 4
mov dword [ebp - 0xbc], ecx
cmp edi, ecx
je 0x46e21b
mov edx, dword [edi + 0x14]
cmp edx, 8
jb 0x46e1d3
mov eax, dword [edi]
lea ecx, [edx*2 + 2]
cmp ecx, 0x1000
jb 0x46e1c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e247
mov eax, edx
push ecx
push eax
call fcn.0051f6b7
mov ecx, dword [ebp - 0xbc]
add esp, 8
mov dword [edi + 0x10], 0
xor eax, eax
mov word [edi], ax
mov dword [edi + 0x14], 7
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x46e257
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e24d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46e24d
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
push str.utilityinstall.ini
lea eax, [ebp - 0xb8]
push edi
push eax
call fcn.00409e80
push 0x18
mov byte [ebp - 4], 4
call fcn.0051f6e8
mov edx, eax
add esp, 0x10
mov dword [ebp - 0xc0], edx
test edx, edx
je 0x46e2e9
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
xor ecx, ecx
mov dword [ebp - 0xc4], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], cx
mov ecx, eax
mov byte [ebp - 4], 6
lea eax, [ecx + 2]
mov dword [ebp - 0xbc], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e2c0
sub ecx, dword [ebp - 0xbc]
sar ecx, 1
push ecx
push dword [ebp - 0xc4]
mov ecx, edx
call fcn.00408800
mov eax, dword [ebp - 0xc0]
jmp 0x46e2eb
xor eax, eax
push str.office6cfgs_setup.cfg
mov dword [ebx + 8], eax
lea eax, [ebp - 0x88]
push edi
push eax
mov byte [ebp - 4], 4
call fcn.00409e80
push 0x18
mov byte [ebp - 4], 7
call fcn.0051f6e8
mov edx, eax
add esp, 0x10
mov dword [ebp - 0xc4], edx
test edx, edx
je 0x46e380
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
xor ecx, ecx
mov dword [ebp - 0xbc], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], cx
mov ecx, eax
mov byte [ebp - 4], 9
lea eax, [ecx + 2]
mov dword [ebp - 0xc0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e357
sub ecx, dword [ebp - 0xc0]
sar ecx, 1
push ecx
push dword [ebp - 0xbc]
mov ecx, edx
call fcn.00408800
mov eax, dword [ebp - 0xc4]
jmp 0x46e382
xor eax, eax
push 0x18
mov byte [ebp - 4], 7
mov dword [ebx + 0xc], eax
call fcn.0051f6e8
add esp, 4
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x46e41e
push 0x555240
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00409e80
add esp, 0xc
mov edx, eax
cmp dword [edx + 0x14], 8
mov eax, 1
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xcc], eax
jb 0x46e3ce
mov edx, dword [edx]
mov edi, dword [ebp - 0xc0]
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov ecx, edx
mov dword [ebp - 4], 0xc
lea eax, [ecx + 2]
mov dword [ebp - 0xbc], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e400
sub ecx, dword [ebp - 0xbc]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00408800
jmp 0x46e420
xor edi, edi
mov eax, dword [ebp - 0xc8]
mov dword [ebx + 0x68], edi
mov dword [ebp - 4], 7
test al, 1
je 0x46e47f
mov edx, dword [ebp - 0x2c]
and eax, 0xfffffffe
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xcc], eax
cmp edx, 8
jb 0x46e47f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e475
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46e475
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x40]
push str.lowerversion
push str.update
push eax
call fcn.004705a0
mov edi, eax
cmp esi, edi
je 0x46e520
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x46e4d8
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x46e4ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e54c
mov eax, edx
push ecx
push eax
call fcn.0051f6b7
add esp, 8
mov dword [esi + 0x10], 0
xor eax, eax
mov word [esi], ax
mov dword [esi + 0x14], 7
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x46e55c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e552
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46e552
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
cmp dword [ebx + 0x28], 0
je 0x46e56c
mov eax, 1
jmp 0x46e658
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x40]
push str.higherversion
push str.update
push eax
call fcn.004705a0
mov edi, eax
cmp esi, edi
je 0x46e60d
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x46e5c5
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x46e5bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e639
mov eax, edx
push ecx
push eax
call fcn.0051f6b7
add esp, 8
mov dword [esi + 0x10], 0
xor eax, eax
mov word [esi], ax
mov dword [esi + 0x14], 7
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x46e649
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e63f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46e63f
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
cmp dword [ebx + 0x28], 0
je 0x46ea12
mov eax, 2
mov byte [ebp - 4], 0xe
mov dword [ebx + 0x30], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00464160
mov edi, dword [ebp - 0x48]
lea edx, [ebp - 0x58]
mov dword [ebp - 0xc0], eax
add esp, 4
mov eax, dword [ebp - 0xc8]
or eax, 2
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0xc8], eax
cmovae edx, dword [ebp - 0x58]
mov dword [ebp - 0xcc], eax
test edi, edi
je 0x46e6c3
or ecx, 0xffffffff
lea eax, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea ecx, [edx + ecx*2]
je 0x46e6bd
lea ecx, [ecx]
cmp ecx, edx
je 0x46e6c3
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x46e6b0
sub ecx, edx
sar ecx, 1
jmp 0x46e6c6
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x46e734
xor eax, eax
mov dword [ebp - 0x60], 0
cmp edi, ecx
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x5c], 7
cmovb ecx, edi
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x70]
push eax
call fcn.00408800
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0x58]
or eax, 4
mov dword [ebp - 0xcc], eax
call fcn.00407e90
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], eax
push 0x5416cc
push dword [ebp - 0xc0]
lea eax, [ebp - 0xa0]
push eax
call fcn.00409e00
add esp, 0xc
cmp dword [esi + 0x14], 8
mov ecx, esi
mov byte [ebp - 4], 0xf
jb 0x46e75c
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.00419730
lea edx, [ebx + 0x34]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edi, dword [eax + 0x14]
mov dword [ebp - 0xc0], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xbc], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc4], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xcc], ecx
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x70]
cmp edx, eax
je 0x46e822
mov ecx, dword [edx + 0x14]
cmp ecx, 8
jb 0x46e7e9
mov eax, dword [edx]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x46e7dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e8e3
mov eax, edx
push ecx
push eax
call fcn.0051f6b7
add esp, 8
lea edx, [ebx + 0x34]
mov eax, dword [ebp - 0xc0]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov dword [edx], esi
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xbc]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xc4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xcc]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], edi
jmp 0x46e856
cmp edi, 8
jb 0x46e856
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x46e84c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e8e3
push ecx
push esi
call fcn.0051f6b7
add esp, 8
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x46e896
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e88c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e8e3
push edx
push ecx
call fcn.0051f6b7
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x46e8f3
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e8e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46e8e9
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
push str.utilityinstall.ini
lea edi, [ebx + 0x34]
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00409e80
push 0x18
mov byte [ebp - 4], 0x10
call fcn.0051f6e8
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 0x11
test ecx, ecx
je 0x46e936
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0046ebe0
jmp 0x46e938
xor eax, eax
push str.office6cfgs_setup.cfg
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x28]
push edi
push eax
mov byte [ebp - 4], 0x10
call fcn.00409e80
push 0x18
mov byte [ebp - 4], 0x12
call fcn.0051f6e8
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 0x13
test ecx, ecx
je 0x46e97f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0046ebe0
jmp 0x46e981
xor eax, eax
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x14], eax
mov byte [ebp - 4], 0x10
cmp edx, 8
jb 0x46e9be
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e9b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ea02
push edx
push ecx
call fcn.0051f6b7
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x46ea12
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46ea08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46ea08
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
cmp dword [ebx + 0x30], 0
je 0x46eb2e
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x28]
push str.Inactive
push str.update
push eax
call fcn.004705a0
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
cmovae esi, edi
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x18], 4
jne 0x46ea69
mov ecx, 0x544a28
mov edx, 4
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x46ea69
add ecx, 2
sub edx, 1
jne 0x46ea55
mov dword [ebx + 0x30], edx
call fcn.00464450
test al, al
je 0x46ea83
call fcn.0045c170
cmp eax, 1
je 0x46ea83
mov dword [ebx + 0x30], 0
mov dword [ebp - 0xc4], 0
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0x15
push eax
push 4
call fcn.004eab90
test eax, eax
js 0x46eae1
mov esi, dword [ebp - 0xc4]
lea eax, [ebp - 0xbc]
push eax
mov dword [ebp - 0xbc], 0x80004005
push str.qwps
mov edi, dword [esi]
push esi
call dword [edi + 0xc]
push eax
push esi
call dword [edi + 0x44]
mov edi, dword [ebp - 0x28]
test eax, eax
je 0x46eae1
cmp dword [ebp - 0xbc], 0
jl 0x46eae1
mov dword [ebx + 0x30], 0
mov eax, dword [ebp - 0xc4]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x46eaf5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x46eb2e
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x46eb24
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46eb24
call dword [0x53e610]
push ecx
push edi
call fcn.0051f6b7
add esp, 8
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x46eb67
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46eb5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ebb0
push edx
push ecx
call fcn.0051f6b7
add esp, 8
mov edx, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp edx, 8
jb 0x46ebc0
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46ebb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46ebb6
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051f6a1
mov esp, ebp
pop ebp
ret