Function at 0x10052476
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x60
mov eax, 0x100bcd0f
call fcn.100a0664
sub esp, 0xb8
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp + 0x34], esi
mov dword [ebp - 0x10], esp
push dword [ebp + 0x70]
lea ecx, [ebp + 0x70]
mov dword [ebp - 4], esi
call fcn.1000274d
mov eax, dword [eax]
mov byte [ebp - 4], 1
cmp eax, esi
je 0x100524b1
mov eax, dword [eax]
jmp 0x100524b3
xor eax, eax
push eax
lea ecx, [ebp + 0x2c]
call fcn.100057f4
mov ecx, dword [ebp + 0x70]
mov byte [ebp - 4], 3
cmp ecx, esi
je 0x100524cf
call fcn.10003043
mov dword [ebp + 0x70], esi
push ecx
mov ecx, esp
mov dword [ebp + 0x48], esp
push str.xmlns_________http:__www.mozilla.org_keymaster_gatekeeper_there.is.only.xul___
call fcn.100057f4
push ecx
lea eax, [ebp + 0x2c]
mov dword [ebp + 0x38], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 4
call fcn.100033f5
lea eax, [ebp + 4]
push eax
mov byte [ebp - 4], 3
call fcn.10054535
add esp, 0xc
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 5
mov edi, 0x100c503c
cmp dword [eax - 0xc], esi
je 0x100525f7
push edi
push eax
lea ecx, [ebp + 0x2c]
call fcn.10004473
lea eax, [ebp + 0x3c]
push esi
push eax
call fcn.100449b3
pop ecx
pop ecx
push ecx
mov ecx, esp
mov dword [ebp + 0x48], esp
push str.ff.xsl
push eax
push ecx
mov byte [ebp - 4], 6
call fcn.1000c4dd
lea eax, [ebp - 0xa8]
add esp, 0xc
push eax
call fcn.10081b0e
pop ecx
pop ecx
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 7
jb 0x10052563
mov eax, dword [eax + 4]
jmp 0x10052566
add eax, 4
push eax
lea ecx, [ebp + 0x70]
call fcn.100057f4
push esi
push 1
lea ecx, [ebp - 0xa8]
call fcn.1000bc62
mov ecx, dword [ebp + 0x3c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xa
call fcn.10001ccd
push str._xsl:variable_name_client_mode__0__xsl:variable_
push str._xsl:variable_name_client_mode__1__xsl:variable_
lea ecx, [ebp + 0x70]
call fcn.10004473
push ecx
lea eax, [ebp + 0x70]
mov dword [ebp + 0x48], esp
mov ecx, esp
push eax
call fcn.100033f5
push ecx
lea eax, [ebp + 0x2c]
mov dword [ebp + 0x38], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xb
call fcn.100033f5
lea eax, [ebp + 0x44]
push eax
mov byte [ebp - 4], 0xa
call fcn.1004f9b8
add esp, 0xc
push eax
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0xc
call fcn.100046db
mov ecx, dword [ebp + 0x44]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x70]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.10001ccd
mov esi, dword [ebp + 0x6c]
lea eax, [ebp + 0x10]
add esi, 0x68
push eax
mov ecx, esi
call fcn.10068282
push dword [ebp + 0x10]
mov byte [ebp - 4], 0xd
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10052644
xor esi, esi
inc esi
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 4]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x2c]
add ecx, 0xfffffff0
call fcn.10001ccd
mov eax, esi
jmp 0x10053115
push ecx
mov ecx, esp
mov dword [ebp + 0x70], esp
mov ebx, str.TOOLBAR
push ebx
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x48], esp
push edi
mov byte [ebp - 4], 0xe
call fcn.100057f4
push 1
push ecx
lea eax, [ebp + 0x10]
mov dword [ebp + 0x38], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xf
call fcn.100033f5
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xd
call fcn.1008a9c9
push ecx
mov ecx, esp
mov dword [ebp + 0x70], esp
push ebx
mov byte [ebp - 4], 0x10
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x48], esp
push edi
mov byte [ebp - 4], 0x11
call fcn.100057f4
xor edi, edi
push edi
push ecx
lea eax, [ebp + 0x2c]
mov dword [ebp + 0x38], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x12
call fcn.100033f5
push esi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x10
call fcn.1008a9c9
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x13
mov byte [ebp + 0x73], 0
call fcn.100893c5
cmp eax, edi
jne 0x1005274b
lea ecx, [ebp - 0x80]
call fcn.1008938b
cmp eax, edi
je 0x10052700
lea ecx, [ebp - 0x80]
call fcn.1008938b
mov ecx, dword [eax + 0x44]
sub ecx, dword [eax + 0x40]
test ecx, 0xfffffffc
jne 0x1005274b
lea ecx, [ebp - 0x80]
call fcn.10089395
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
test ecx, 0xfffffffc
jne 0x1005274b
lea ecx, [ebp - 0x80]
call fcn.1008939e
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
test ecx, 0xfffffffc
jne 0x1005274b
push edi
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x80]
call fcn.10089bad
mov eax, dword [eax]
mov dword [ebp + 0x34], 1
cmp dword [eax - 0xc], edi
jne 0x1005274b
mov bl, 1
jmp 0x1005274d
xor bl, bl
test byte [ebp + 0x34], 1
je 0x10052762
mov ecx, dword [ebp + 0x3c]
and dword [ebp + 0x34], 0xfffffffe
add ecx, 0xfffffff0
call fcn.10001ccd
test bl, bl
je 0x10052785
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x10
call fcn.10089b1a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xd
call fcn.10089b1a
xor esi, esi
jmp 0x1005261c
mov esi, dword [ebp + 0x6c]
and dword [ebp + 0x28], 0
lea ecx, [ebp + 0x24]
push ecx
add esi, 0x120
mov eax, dword [esi]
push str.BroadcastInvokeForCommands
mov ecx, esi
mov dword [ebp + 0x24], str.BeforeAdminUpdate
call dword [eax + 0xb8]
mov eax, dword [esi]
lea ecx, [ebp + 0x24]
push ecx
push str.BroadcastInvokeForItems
mov ecx, esi
call dword [eax + 0xb8]
and dword [ebp + 0x40], 0
mov edi, str._IID_
lea ecx, [ebp - 0x80]
call fcn.100893c5
cmp dword [ebp + 0x40], eax
lea ecx, [ebp - 0x80]
jge 0x10052a94
push dword [ebp + 0x40]
call fcn.100893cf
and dword [ebp + 0x5c], 0
mov dword [ebp + 0x44], eax
lea ecx, [ebp - 0x48]
call fcn.100893c5
cmp dword [ebp + 0x5c], eax
jge 0x10052a8c
push dword [ebp + 0x5c]
lea ecx, [ebp - 0x48]
call fcn.100893cf
mov ecx, dword [ebp + 0x44]
lea edx, [ebp + 0x18]
mov esi, eax
mov eax, dword [ecx]
push edx
call dword [eax]
mov ebx, eax
mov eax, dword [esi]
lea ecx, [ebp + 0x3c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x14
call dword [eax]
push ebx
push eax
call fcn.10002feb
pop ecx
pop ecx
mov ecx, dword [ebp + 0x3c]
add ecx, 0xfffffff0
mov bl, al
call fcn.10001ccd
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x13
call fcn.10001ccd
test bl, bl
je 0x10052a84
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
lea ecx, [ebp + 0x4c]
push ecx
mov ecx, ebx
call dword [eax + 8]
mov eax, dword [ebx]
lea ecx, [ebp + 0x54]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x15
call dword [eax + 0xc]
mov eax, dword [ebx]
lea ecx, [ebp + 0x58]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x16
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0x17
call dword [eax + 4]
test eax, eax
jl 0x100528e3
push 0x1010dc04
lea ecx, [ebp + 0x30]
call fcn.1005d077
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0x18
call dword [eax + 4]
push eax
lea eax, [ebp + 0x30]
push 0x100cb4f8
push eax
call fcn.1000c6e6
mov ebx, dword [ebp + 0x30]
add esp, 0xc
push ebx
push edi
lea ecx, [ebp + 0x4c]
call fcn.10004473
push ebx
push edi
lea ecx, [ebp + 0x54]
call fcn.10004473
push ebx
push edi
lea ecx, [ebp + 0x58]
call fcn.10004473
lea ecx, [ebx - 0x10]
mov byte [ebp - 4], 0x17
call fcn.10001ccd
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
mov ecx, esi
call dword [eax + 8]
push dword [ebp + 0x4c]
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.1000272b
mov ecx, dword [ebp + 8]
test eax, eax
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x17
call fcn.10001ccd
mov eax, dword [esi]
lea ecx, [ebp + 0xc]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp + 0x54]
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.1000272b
mov ecx, dword [ebp + 0xc]
test eax, eax
setne al
add ecx, 0xfffffff0
or bl, al
mov byte [ebp - 4], 0x17
call fcn.10001ccd
mov eax, dword [esi]
lea ecx, [ebp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x10]
push dword [ebp + 0x58]
mov ecx, eax
mov byte [ebp - 4], 0x1b
call fcn.1000272b
mov ecx, dword [ebp + 0x14]
test eax, eax
setne al
add ecx, 0xfffffff0
or bl, al
mov byte [ebp - 4], 0x17
call fcn.10001ccd
test bl, bl
je 0x10052a5f
push 0x2c
call fcn.100a00a4
pop ecx
mov dword [ebp + 0x70], eax
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x100529aa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
mov eax, dword [esi]
push ecx
mov ecx, esp
mov dword [ebp + 0x48], esp
push ecx
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp + 0x70]
call fcn.10046f71
mov ebx, eax
jmp 0x100529ac
xor ebx, ebx
push ecx
lea eax, [ebp + 0x4c]
mov dword [ebp + 0x70], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x17
call fcn.100033f5
mov ecx, ebx
call fcn.100487d4
mov eax, dword [ebp + 0x54]
cmp dword [eax - 0xc], 0
je 0x100529e5
push ecx
lea eax, [ebp + 0x54]
mov dword [ebp + 0x70], esp
mov ecx, esp
push eax
call fcn.100033f5
mov ecx, ebx
call fcn.1004882d
mov eax, dword [ebp + 0x58]
cmp dword [eax - 0xc], 0
je 0x10052a04
push ecx
lea eax, [ebp + 0x58]
mov dword [ebp + 0x70], esp
mov ecx, esp
push eax
call fcn.100033f5
mov ecx, ebx
call fcn.100488a5
mov ecx, ebx
call fcn.100898f1
test al, al
je 0x10052a4e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
test al, al
je 0x10052a35
push 0
push 0x10106978
push 0x10106928
push 0
push esi
call fcn.100a0cb6
add esp, 0x14
and dword [eax + 0x28], 0
push dword [ebp + 0x5c]
lea ecx, [ebp - 0x48]
call fcn.10089805
push dword [ebp + 0x5c]
lea ecx, [ebp - 0x48]
push ebx
call fcn.10089c0f
jmp 0x10052a5b
test ebx, ebx
je 0x10052a5b
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x30]
mov byte [ebp + 0x73], 1
mov ecx, dword [ebp + 0x58]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x4c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x13
call fcn.10001ccd
inc dword [ebp + 0x5c]
jmp 0x100527eb
inc dword [ebp + 0x40]
jmp 0x100527c8
mov byte [ebp + 0x53], 0
call fcn.1008938b
mov ebx, eax
test ebx, ebx
je 0x10052acc
xor esi, esi
lea ecx, [ebx + 0x34]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp esi, eax
jae 0x10052acc
push esi
call fcn.1000b27e
push dword [eax]
mov ecx, dword [ebp + 0x6c]
call fcn.1004fce1
mov byte [ebp + 0x53], 1
inc esi
jmp 0x10052aa5
lea ecx, [ebp - 0x80]
call fcn.10089395
and dword [ebp + 0x44], 0
mov esi, eax
mov dword [ebp + 0x48], esi
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp dword [ebp + 0x44], eax
jae 0x10052edc
push dword [ebp + 0x44]
mov ecx, esi
call fcn.1000b27e
mov eax, dword [eax]
add eax, 0x14
push eax
lea ecx, [ebp + 0x30]
call fcn.100033f5
push str._TOOLBAR_
push str._ADDCOMPONENT_
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0x1d
call fcn.10004473
push str.__TOOLBAR_
push str.__ADDCOMPONENT_
lea ecx, [ebp + 0x30]
call fcn.10004473
push ecx
mov ecx, esp
mov dword [ebp + 0x38], esp
push str.TOOLBAR
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x4c], esp
push 0x100c503c
mov byte [ebp - 4], 0x1e
call fcn.100057f4
push 0
push ecx
lea eax, [ebp + 0x30]
mov dword [ebp + 0x5c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x1f
call fcn.100033f5
mov eax, dword [ebp + 0x6c]
add eax, 0x68
push eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x1d
call fcn.1008a9c9
and dword [ebp + 0x4c], 0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xc4]
call fcn.100893c5
lea ecx, [ebp - 0xc4]
cmp dword [ebp + 0x4c], eax
jae 0x10052ebc
push dword [ebp + 0x4c]
call fcn.100893cf
xor esi, esi
push esi
push 0x10106978
push 0x10106928
push esi
push eax
call fcn.100a0cb6
mov edi, eax
add esp, 0x14
cmp edi, esi
je 0x10052eb1
mov ecx, edi
call fcn.100898f1
test al, al
je 0x10052eb1
mov byte [ebp + 0x73], 0
mov dword [ebp + 0x5c], esi
lea ecx, [ebp - 0x48]
call fcn.100893c5
cmp dword [ebp + 0x5c], eax
jge 0x10052e88
push dword [ebp + 0x5c]
lea ecx, [ebp - 0x48]
call fcn.100893cf
lea ecx, [ebp + 0xc]
mov esi, eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax]
mov ebx, eax
mov eax, dword [esi]
lea ecx, [ebp + 0x14]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x21
call dword [eax]
push ebx
push eax
call fcn.10002feb
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
mov bl, al
call fcn.10001ccd
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x20
call fcn.10001ccd
test bl, bl
je 0x10052e80
mov eax, dword [edi]
lea ecx, [ebp + 0x40]
push ecx
mov ecx, edi
mov byte [ebp + 0x73], 1
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp + 0x58]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x22
call dword [eax + 0xc]
mov eax, dword [edi]
lea ecx, [ebp + 0x54]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x23
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0x24
call dword [eax + 4]
test eax, eax
jl 0x10052ce3
push 0x1010dc04
lea ecx, [ebp + 0x3c]
call fcn.1005d077
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0x25
call dword [eax + 4]
push eax
lea eax, [ebp + 0x3c]
push 0x100cb4f8
push eax
call fcn.1000c6e6
mov ebx, dword [ebp + 0x3c]
add esp, 0xc
push ebx
push str._IID_
lea ecx, [ebp + 0x40]
call fcn.10004473
push ebx
push str._IID_
lea ecx, [ebp + 0x58]
call fcn.10004473
push ebx
push str._IID_
lea ecx, [ebp + 0x54]
call fcn.10004473
lea ecx, [ebx - 0x10]
mov byte [ebp - 4], 0x24
call fcn.10001ccd
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
mov ecx, esi
call dword [eax + 8]
push dword [ebp + 0x40]
mov ecx, eax
mov byte [ebp - 4], 0x26
call fcn.1000272b
mov ecx, dword [ebp + 8]
test eax, eax
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x24
call fcn.10001ccd
mov eax, dword [esi]
lea ecx, [ebp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp + 0x58]
mov ecx, eax
mov byte [ebp - 4], 0x27
call fcn.1000272b
mov ecx, dword [ebp + 0x18]
test eax, eax
setne al
add ecx, 0xfffffff0
or bl, al
mov byte [ebp - 4], 0x24
call fcn.10001ccd
mov eax, dword [esi]
lea ecx, [ebp]
push ecx
mov ecx, esi
call dword [eax + 0x10]
push dword [ebp + 0x54]
mov ecx, eax
mov byte [ebp - 4], 0x28
call fcn.1000272b
mov ecx, dword [ebp]
test eax, eax
setne al
add ecx, 0xfffffff0
or bl, al
mov byte [ebp - 4], 0x24
call fcn.10001ccd
test bl, bl
je 0x10052e5b
push 0x2c
call fcn.100a00a4
pop ecx
mov dword [ebp + 0x38], eax
mov byte [ebp - 4], 0x29
test eax, eax
je 0x10052daa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
mov eax, dword [esi]
push ecx
mov ecx, esp
mov dword [ebp + 0x28], esp
push ecx
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp + 0x38]
call fcn.10046f71
mov ebx, eax
jmp 0x10052dac
xor ebx, ebx
push ecx
lea eax, [ebp + 0x40]
mov dword [ebp + 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x24
call fcn.100033f5
mov ecx, ebx
call fcn.100487d4
mov eax, dword [ebp + 0x58]
cmp dword [eax - 0xc], 0
je 0x10052de5
push ecx
lea eax, [ebp + 0x58]
mov dword [ebp + 0x28], esp
mov ecx, esp
push eax
call fcn.100033f5
mov ecx, ebx
call fcn.1004882d
mov eax, dword [ebp + 0x54]
cmp dword [eax - 0xc], 0
je 0x10052e04
push ecx
lea eax, [ebp + 0x54]
mov dword [ebp + 0x28], esp
mov ecx, esp
push eax
call fcn.100033f5
mov ecx, ebx
call fcn.100488a5
mov ecx, ebx
call fcn.100898f1
test al, al
je 0x10052e4e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
test al, al
je 0x10052e35
push 0
push 0x10106978
push 0x10106928
push 0
push esi
call fcn.100a0cb6
add esp, 0x14
and dword [eax + 0x28], 0
push dword [ebp + 0x5c]
lea ecx, [ebp - 0x48]
call fcn.10089805
push dword [ebp + 0x5c]
lea ecx, [ebp - 0x48]
push ebx
call fcn.10089c0f
jmp 0x10052e5b
test ebx, ebx
je 0x10052e5b
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x30]
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x58]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x40]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x20
call fcn.10001ccd
inc dword [ebp + 0x5c]
jmp 0x10052bdf
cmp byte [ebp + 0x73], 0
jne 0x10052ead
push 0
lea ecx, [ebp - 0xc4]
call fcn.100893cf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x48]
call fcn.10089c0f
mov byte [ebp + 0x73], 1
inc dword [ebp + 0x4c]
mov esi, dword [ebp + 0x48]
jmp 0x10052b86
mov byte [ebp - 4], 0x1d
call fcn.10089b1a
mov ecx, dword [ebp + 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x13
call fcn.10001ccd
inc dword [ebp + 0x44]
jmp 0x10052add
lea ecx, [ebp - 0x80]
call fcn.1008939e
mov ebx, eax
xor edi, edi
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
sar eax, 2
cmp edi, eax
jae 0x10052f2f
push edi
mov ecx, ebx
call fcn.1000b27e
mov esi, dword [eax]
push 0xfffffffffffffffe
push ecx
lea eax, [esi + 0x34]
mov dword [ebp + 0x28], esp
mov ecx, esp
push eax
call fcn.100033f5
lea ecx, [ebp - 0x48]
call fcn.10089475
cmp eax, 0xffffffff
je 0x10052f2c
push eax
lea ecx, [ebp - 0x48]
call fcn.10089805
mov byte [ebp + 0x73], 1
jmp 0x10052eff
inc edi
jmp 0x10052ee8
lea eax, [ebp + 0x63]
push eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp + 0x63], 0
call fcn.10089bad
mov eax, dword [ebp + 0x1c]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 0x2a
mov esi, 0x100c503c
je 0x10052faf
push ecx
mov ecx, esp
mov dword [ebp + 0x28], esp
push esi
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x38], esp
push esi
mov byte [ebp - 4], 0x2b
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp], esp
push str.Revision
mov byte [ebp - 4], 0x2c
call fcn.100057f4
lea eax, [ebp + 0x48]
push eax
mov byte [ebp - 4], 0x2a
call fcn.10044254
add esp, 0x10
push dword [eax]
or dword [ebp + 0x34], 2
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x2d
call fcn.1000272b
test eax, eax
je 0x10052faf
mov bl, 1
jmp 0x10052fb1
xor bl, bl
test byte [ebp + 0x34], 2
mov dword [ebp - 4], 0x2a
je 0x10052fc9
mov ecx, dword [ebp + 0x48]
add ecx, 0xfffffff0
call fcn.10001ccd
test bl, bl
je 0x1005300c
push ecx
mov ecx, esp
mov dword [ebp + 0x28], esp
push esi
call fcn.100057f4
push ecx
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x48], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x2e
call fcn.100033f5
push ecx
mov ecx, esp
mov dword [ebp + 0x38], esp
push str.Revision
mov byte [ebp - 4], 0x2f
call fcn.100057f4
mov byte [ebp - 4], 0x2a
call fcn.1004443f
add esp, 0xc
cmp byte [ebp + 0x73], 0
je 0x1005302f
push 1
lea ecx, [ebp - 0x48]
call fcn.10089dee
cmp byte [ebp + 0x63], 0
mov esi, dword [ebp + 0x6c]
jne 0x10053069
lea ecx, [esi + 0x68]
call fcn.100684aa
jmp 0x10053063
cmp byte [ebp + 0x53], 0
je 0x1005304f
mov esi, dword [ebp + 0x6c]
lea ecx, [esi + 0x120]
mov eax, dword [ecx]
push 0
push str.ReloadAll
call dword [eax + 0xb8]
jmp 0x10053063
cmp byte [ebp + 0x63], 0
je 0x10053080
mov esi, dword [ebp + 0x6c]
lea ecx, [esi + 0x120]
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp byte [ebp + 0x63], 0
je 0x10053080
cmp dword [0x1010c360], 0xa
jge 0x10053080
mov eax, dword [esi]
inc dword [0x1010c360]
push 0
push esi
call dword [eax + 0x64]
mov esi, dword [ebp + 0x6c]
and dword [ebp + 0x28], 0
lea ecx, [ebp + 0x24]
push ecx
add esi, 0x120
mov eax, dword [esi]
push str.BroadcastInvokeForCommands
mov ecx, esi
mov dword [ebp + 0x24], str.AfterAdminUpdate
call dword [eax + 0xb8]
mov eax, dword [esi]
lea ecx, [ebp + 0x24]
push ecx
push str.BroadcastInvokeForItems
mov ecx, esi
call dword [eax + 0xb8]
mov ecx, dword [ebp + 0x1c]
add ecx, 0xfffffff0
call fcn.10001ccd
jmp 0x10052766
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x64
leave
ret 8