Function at 0x1004f151
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push ebp
sub esp, 0x5c
mov eax, 0x100c1afc
call fcn.100a35ac
sub esp, 0xd4
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp + 0x30], esi
mov dword [ebp - 0x10], esp
push dword [ebp + 0x6c]
lea ecx, [ebp + 0x6c]
mov dword [ebp - 4], esi
call fcn.100027e0
mov eax, dword [eax]
mov byte [ebp - 4], 1
cmp eax, esi
je 0x1004f18c
mov eax, dword [eax]
jmp 0x1004f18e
xor eax, eax
push eax
lea ecx, [ebp + 0x1c]
call fcn.10005f07
mov ecx, dword [ebp + 0x6c]
mov byte [ebp - 4], 3
cmp ecx, esi
je 0x1004f1aa
call fcn.10003111
mov dword [ebp + 0x6c], esi
push dword [ebp + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10006227
lea eax, [ebp - 0xa8]
push str.http:__www.mozilla.org_keymaster_gatekeeper_there.is.only.xul
push eax
mov byte [ebp - 4], 4
call fcn.10050ed4
pop ecx
pop ecx
cmp eax, esi
je 0x1004f2bf
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.100404f4
pop ecx
pop ecx
push ecx
mov ecx, esp
mov dword [ebp + 0x3c], esp
push str.ff.xsl
push eax
push ecx
mov byte [ebp - 4], 5
call fcn.100053c1
lea eax, [ebp - 0xc4]
add esp, 0xc
push eax
call fcn.1007fe93
pop ecx
pop ecx
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 6
jb 0x1004f219
mov eax, dword [eax + 4]
jmp 0x1004f21c
add eax, 4
push eax
lea ecx, [ebp + 0x6c]
call fcn.10005f07
push esi
push 1
lea ecx, [ebp - 0xc4]
call fcn.100035a9
mov ecx, dword [ebp + 0x38]
add ecx, 0xfffffff0
mov byte [ebp - 4], 9
call fcn.10001d29
push str._xsl:variable_name_client_mode__0__xsl:variable_
push str._xsl:variable_name_client_mode__1__xsl:variable_
lea ecx, [ebp + 0x6c]
call fcn.100047f1
push ecx
lea eax, [ebp + 0x6c]
mov dword [ebp + 0x3c], esp
mov ecx, esp
push eax
call fcn.10003561
cmp dword [ebp - 0x90], 8
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 0xa
jae 0x1004f27c
lea eax, [ebp - 0xa4]
push ecx
mov ecx, esp
mov dword [ebp + 0x2c], esp
push eax
call fcn.10005f07
lea eax, [ebp + 0x44]
push eax
mov byte [ebp - 4], 9
call fcn.1004b5b2
add esp, 0xc
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xb
call fcn.10004a20
mov ecx, dword [ebp + 0x44]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x6c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10001d29
mov esi, dword [ebp + 0x68]
lea eax, [ebp + 0xc]
add esi, 0x78
push eax
mov ecx, esi
call fcn.10064264
push dword [ebp + 0xc]
mov byte [ebp - 4], 0xc
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1004f310
xor esi, esi
inc esi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10001d29
push 0
push 1
lea ecx, [ebp - 0xa8]
call fcn.100035a9
mov ecx, dword [ebp + 0x1c]
add ecx, 0xfffffff0
call fcn.10001d29
mov eax, esi
jmp 0x1004fde6
push ecx
mov ecx, esp
mov dword [ebp + 0x6c], esp
mov ebx, str.TOOLBAR
push ebx
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp + 0x3c], esp
mov edi, 0x100cb0a0
push edi
mov byte [ebp - 4], 0xd
call fcn.10005f07
push 1
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp + 0x2c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xe
call fcn.10003561
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call fcn.10089796
push ecx
mov ecx, esp
mov dword [ebp + 0x6c], esp
push ebx
mov byte [ebp - 4], 0xf
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp + 0x3c], esp
push edi
mov byte [ebp - 4], 0x10
call fcn.10005f07
xor edi, edi
push edi
push ecx
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x2c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x11
call fcn.10003561
push esi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
call fcn.10089796
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x12
mov byte [ebp + 0x6f], 0
call fcn.10088122
cmp eax, edi
jne 0x1004f41c
lea ecx, [ebp - 0x80]
call fcn.100880ba
cmp eax, edi
je 0x1004f3d1
lea ecx, [ebp - 0x80]
call fcn.100880ba
mov ecx, dword [eax + 0x40]
sub ecx, dword [eax + 0x3c]
test ecx, 0xfffffffc
jne 0x1004f41c
lea ecx, [ebp - 0x80]
call fcn.100880c4
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
test ecx, 0xfffffffc
jne 0x1004f41c
lea ecx, [ebp - 0x80]
call fcn.100880cd
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
test ecx, 0xfffffffc
jne 0x1004f41c
push edi
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x80]
call fcn.1008898a
mov eax, dword [eax]
mov dword [ebp + 0x30], 1
cmp dword [eax - 0xc], edi
jne 0x1004f41c
mov bl, 1
jmp 0x1004f41e
xor bl, bl
test byte [ebp + 0x30], 1
je 0x1004f433
mov ecx, dword [ebp + 0x38]
and dword [ebp + 0x30], 0xfffffffe
add ecx, 0xfffffff0
call fcn.10001d29
test bl, bl
je 0x1004f456
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
call fcn.100888f7
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call fcn.100888f7
xor esi, esi
jmp 0x1004f2e4
mov esi, dword [ebp + 0x68]
and dword [ebp + 0x28], 0
lea ecx, [ebp + 0x24]
push ecx
add esi, 0x130
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.10088122
cmp dword [ebp + 0x40], eax
lea ecx, [ebp - 0x80]
jge 0x1004f765
push dword [ebp + 0x40]
call fcn.1008812c
and dword [ebp + 0x58], 0
mov dword [ebp + 0x44], eax
lea ecx, [ebp - 0x48]
call fcn.10088122
cmp dword [ebp + 0x58], eax
jge 0x1004f75d
push dword [ebp + 0x58]
lea ecx, [ebp - 0x48]
call fcn.1008812c
mov ecx, dword [ebp + 0x44]
lea edx, [ebp + 0x10]
mov esi, eax
mov eax, dword [ecx]
push edx
call dword [eax]
mov ebx, eax
mov eax, dword [esi]
lea ecx, [ebp + 0x38]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x13
call dword [eax]
push ebx
push eax
call fcn.100030b9
pop ecx
pop ecx
mov ecx, dword [ebp + 0x38]
add ecx, 0xfffffff0
mov bl, al
call fcn.10001d29
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x12
call fcn.10001d29
test bl, bl
je 0x1004f755
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
lea ecx, [ebp + 0x48]
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], 0x14
call dword [eax + 0xc]
mov eax, dword [ebx]
lea ecx, [ebp + 0x4c]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x15
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0x16
call dword [eax + 4]
test eax, eax
jl 0x1004f5b4
push 0x101185a8
lea ecx, [ebp + 0x34]
call fcn.1005a319
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0x17
call dword [eax + 4]
push eax
lea eax, [ebp + 0x34]
push 0x100d1524
push eax
call fcn.1000d4c3
mov ebx, dword [ebp + 0x34]
add esp, 0xc
push ebx
push edi
lea ecx, [ebp + 0x48]
call fcn.100047f1
push ebx
push edi
lea ecx, [ebp + 0x54]
call fcn.100047f1
push ebx
push edi
lea ecx, [ebp + 0x4c]
call fcn.100047f1
lea ecx, [ebx - 0x10]
mov byte [ebp - 4], 0x16
call fcn.10001d29
mov eax, dword [esi]
lea ecx, [ebp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 8]
push dword [ebp + 0x48]
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.10002834
mov ecx, dword [ebp + 0x14]
test eax, eax
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x16
call fcn.10001d29
mov eax, dword [esi]
lea ecx, [ebp + 4]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp + 0x54]
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.10002834
mov ecx, dword [ebp + 4]
test eax, eax
setne al
add ecx, 0xfffffff0
or bl, al
mov byte [ebp - 4], 0x16
call fcn.10001d29
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
mov ecx, esi
call dword [eax + 0x10]
push dword [ebp + 0x4c]
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.10002834
mov ecx, dword [ebp + 8]
test eax, eax
setne al
add ecx, 0xfffffff0
or bl, al
mov byte [ebp - 4], 0x16
call fcn.10001d29
test bl, bl
je 0x1004f730
push 0x2c
call fcn.100a2ba4
pop ecx
mov dword [ebp + 0x6c], eax
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x1004f67b
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 + 0x3c], esp
push ecx
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp + 0x6c]
call fcn.10042f02
mov ebx, eax
jmp 0x1004f67d
xor ebx, ebx
push ecx
lea eax, [ebp + 0x48]
mov dword [ebp + 0x6c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x16
call fcn.10003561
mov ecx, ebx
call fcn.10044766
mov eax, dword [ebp + 0x54]
cmp dword [eax - 0xc], 0
je 0x1004f6b6
push ecx
lea eax, [ebp + 0x54]
mov dword [ebp + 0x6c], esp
mov ecx, esp
push eax
call fcn.10003561
mov ecx, ebx
call fcn.100447bf
mov eax, dword [ebp + 0x4c]
cmp dword [eax - 0xc], 0
je 0x1004f6d5
push ecx
lea eax, [ebp + 0x4c]
mov dword [ebp + 0x6c], esp
mov ecx, esp
push eax
call fcn.10003561
mov ecx, ebx
call fcn.10044837
mov ecx, ebx
call fcn.100886ce
test al, al
je 0x1004f71f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
test al, al
je 0x1004f706
push 0
push 0x10110be0
push 0x10110b90
push 0
push esi
call fcn.100a2fa0
add esp, 0x14
and dword [eax + 0x28], 0
push dword [ebp + 0x58]
lea ecx, [ebp - 0x48]
call fcn.100885e2
push dword [ebp + 0x58]
lea ecx, [ebp - 0x48]
push ebx
call fcn.100889ec
jmp 0x1004f72c
test ebx, ebx
je 0x1004f72c
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x30]
mov byte [ebp + 0x6f], 1
mov ecx, dword [ebp + 0x4c]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x48]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x12
call fcn.10001d29
inc dword [ebp + 0x58]
jmp 0x1004f4bc
inc dword [ebp + 0x40]
jmp 0x1004f499
mov byte [ebp + 0x53], 0
call fcn.100880ba
mov ebx, eax
test ebx, ebx
je 0x1004f79d
xor esi, esi
lea ecx, [ebx + 0x30]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp esi, eax
jae 0x1004f79d
push esi
call fcn.10001bf2
push dword [eax]
mov ecx, dword [ebp + 0x68]
call fcn.1004b8db
mov byte [ebp + 0x53], 1
inc esi
jmp 0x1004f776
lea ecx, [ebp - 0x80]
call fcn.100880c4
and dword [ebp + 0x44], 0
mov esi, eax
mov dword [ebp + 0x3c], esi
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp dword [ebp + 0x44], eax
jae 0x1004fbad
push dword [ebp + 0x44]
mov ecx, esi
call fcn.10001bf2
mov eax, dword [eax]
add eax, 0x14
push eax
lea ecx, [ebp + 0x34]
call fcn.10003561
push str._TOOLBAR_
push str._ADDCOMPONENT_
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 0x1c
call fcn.100047f1
push str.__TOOLBAR_
push str.__ADDCOMPONENT_
lea ecx, [ebp + 0x34]
call fcn.100047f1
push ecx
mov ecx, esp
mov dword [ebp + 0x2c], esp
push str.TOOLBAR
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp + 0x48], esp
push 0x100cb0a0
mov byte [ebp - 4], 0x1d
call fcn.10005f07
push 0
push ecx
lea eax, [ebp + 0x34]
mov dword [ebp + 0x58], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x1e
call fcn.10003561
mov eax, dword [ebp + 0x68]
add eax, 0x78
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x1c
call fcn.10089796
and dword [ebp + 0x48], 0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xe0]
call fcn.10088122
lea ecx, [ebp - 0xe0]
cmp dword [ebp + 0x48], eax
jae 0x1004fb8d
push dword [ebp + 0x48]
call fcn.1008812c
xor esi, esi
push esi
push 0x10110be0
push 0x10110b90
push esi
push eax
call fcn.100a2fa0
mov edi, eax
add esp, 0x14
cmp edi, esi
je 0x1004fb82
mov ecx, edi
call fcn.100886ce
test al, al
je 0x1004fb82
mov byte [ebp + 0x6f], 0
mov dword [ebp + 0x58], esi
lea ecx, [ebp - 0x48]
call fcn.10088122
cmp dword [ebp + 0x58], eax
jge 0x1004fb59
push dword [ebp + 0x58]
lea ecx, [ebp - 0x48]
call fcn.1008812c
lea ecx, [ebp + 4]
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 + 8]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x20
call dword [eax]
push ebx
push eax
call fcn.100030b9
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov bl, al
call fcn.10001d29
mov ecx, dword [ebp + 4]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x1f
call fcn.10001d29
test bl, bl
je 0x1004fb51
mov eax, dword [edi]
lea ecx, [ebp + 0x40]
push ecx
mov ecx, edi
mov byte [ebp + 0x6f], 1
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp + 0x4c]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x21
call dword [eax + 0xc]
mov eax, dword [edi]
lea ecx, [ebp + 0x54]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x22
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0x23
call dword [eax + 4]
test eax, eax
jl 0x1004f9b4
push 0x101185a8
lea ecx, [ebp + 0x38]
call fcn.1005a319
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0x24
call dword [eax + 4]
push eax
lea eax, [ebp + 0x38]
push 0x100d1524
push eax
call fcn.1000d4c3
mov ebx, dword [ebp + 0x38]
add esp, 0xc
push ebx
push str._IID_
lea ecx, [ebp + 0x40]
call fcn.100047f1
push ebx
push str._IID_
lea ecx, [ebp + 0x4c]
call fcn.100047f1
push ebx
push str._IID_
lea ecx, [ebp + 0x54]
call fcn.100047f1
lea ecx, [ebx - 0x10]
mov byte [ebp - 4], 0x23
call fcn.10001d29
mov eax, dword [esi]
lea ecx, [ebp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 8]
push dword [ebp + 0x40]
mov ecx, eax
mov byte [ebp - 4], 0x25
call fcn.10002834
mov ecx, dword [ebp + 0x14]
test eax, eax
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x23
call fcn.10001d29
mov eax, dword [esi]
lea ecx, [ebp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp + 0x4c]
mov ecx, eax
mov byte [ebp - 4], 0x26
call fcn.10002834
mov ecx, dword [ebp + 0x10]
test eax, eax
setne al
add ecx, 0xfffffff0
or bl, al
mov byte [ebp - 4], 0x23
call fcn.10001d29
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], 0x27
call fcn.10002834
mov ecx, dword [ebp]
test eax, eax
setne al
add ecx, 0xfffffff0
or bl, al
mov byte [ebp - 4], 0x23
call fcn.10001d29
test bl, bl
je 0x1004fb2c
push 0x2c
call fcn.100a2ba4
pop ecx
mov dword [ebp + 0x2c], eax
mov byte [ebp - 4], 0x28
test eax, eax
je 0x1004fa7b
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 + 0x2c]
call fcn.10042f02
mov ebx, eax
jmp 0x1004fa7d
xor ebx, ebx
push ecx
lea eax, [ebp + 0x40]
mov dword [ebp + 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x23
call fcn.10003561
mov ecx, ebx
call fcn.10044766
mov eax, dword [ebp + 0x4c]
cmp dword [eax - 0xc], 0
je 0x1004fab6
push ecx
lea eax, [ebp + 0x4c]
mov dword [ebp + 0x28], esp
mov ecx, esp
push eax
call fcn.10003561
mov ecx, ebx
call fcn.100447bf
mov eax, dword [ebp + 0x54]
cmp dword [eax - 0xc], 0
je 0x1004fad5
push ecx
lea eax, [ebp + 0x54]
mov dword [ebp + 0x28], esp
mov ecx, esp
push eax
call fcn.10003561
mov ecx, ebx
call fcn.10044837
mov ecx, ebx
call fcn.100886ce
test al, al
je 0x1004fb1f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
test al, al
je 0x1004fb06
push 0
push 0x10110be0
push 0x10110b90
push 0
push esi
call fcn.100a2fa0
add esp, 0x14
and dword [eax + 0x28], 0
push dword [ebp + 0x58]
lea ecx, [ebp - 0x48]
call fcn.100885e2
push dword [ebp + 0x58]
lea ecx, [ebp - 0x48]
push ebx
call fcn.100889ec
jmp 0x1004fb2c
test ebx, ebx
je 0x1004fb2c
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x30]
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x4c]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x40]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x1f
call fcn.10001d29
inc dword [ebp + 0x58]
jmp 0x1004f8b0
cmp byte [ebp + 0x6f], 0
jne 0x1004fb7e
push 0
lea ecx, [ebp - 0xe0]
call fcn.1008812c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x48]
call fcn.100889ec
mov byte [ebp + 0x6f], 1
inc dword [ebp + 0x48]
mov esi, dword [ebp + 0x3c]
jmp 0x1004f857
mov byte [ebp - 4], 0x1c
call fcn.100888f7
mov ecx, dword [ebp + 0x34]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x12
call fcn.10001d29
inc dword [ebp + 0x44]
jmp 0x1004f7ae
lea ecx, [ebp - 0x80]
call fcn.100880cd
mov ebx, eax
xor edi, edi
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
sar eax, 2
cmp edi, eax
jae 0x1004fc00
push edi
mov ecx, ebx
call fcn.10001bf2
mov esi, dword [eax]
push 0xfffffffffffffffe
push ecx
lea eax, [esi + 0x30]
mov dword [ebp + 0x28], esp
mov ecx, esp
push eax
call fcn.10003561
lea ecx, [ebp - 0x48]
call fcn.100881fa
cmp eax, 0xffffffff
je 0x1004fbfd
push eax
lea ecx, [ebp - 0x48]
call fcn.100885e2
mov byte [ebp + 0x6f], 1
jmp 0x1004fbd0
inc edi
jmp 0x1004fbb9
lea eax, [ebp + 0x5f]
push eax
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp + 0x5f], 0
call fcn.1008898a
mov eax, dword [ebp + 0x18]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 0x29
mov esi, 0x100cb0a0
je 0x1004fc80
push ecx
mov ecx, esp
mov dword [ebp + 0x28], esp
push esi
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp + 0x2c], esp
push esi
mov byte [ebp - 4], 0x2a
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp], esp
push str.Revision
mov byte [ebp - 4], 0x2b
call fcn.10005f07
lea eax, [ebp + 0x3c]
push eax
mov byte [ebp - 4], 0x29
call fcn.1003fd77
add esp, 0x10
push dword [eax]
or dword [ebp + 0x30], 2
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x2c
call fcn.10002834
test eax, eax
je 0x1004fc80
mov bl, 1
jmp 0x1004fc82
xor bl, bl
test byte [ebp + 0x30], 2
mov dword [ebp - 4], 0x29
je 0x1004fc9a
mov ecx, dword [ebp + 0x3c]
add ecx, 0xfffffff0
call fcn.10001d29
test bl, bl
je 0x1004fcdd
push ecx
mov ecx, esp
mov dword [ebp + 0x28], esp
push esi
call fcn.10005f07
push ecx
lea eax, [ebp + 0x18]
mov dword [ebp + 0x3c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x2d
call fcn.10003561
push ecx
mov ecx, esp
mov dword [ebp + 0x2c], esp
push str.Revision
mov byte [ebp - 4], 0x2e
call fcn.10005f07
mov byte [ebp - 4], 0x29
call fcn.1003ff80
add esp, 0xc
cmp byte [ebp + 0x6f], 0
je 0x1004fd00
push 1
lea ecx, [ebp - 0x48]
call fcn.10088bcb
cmp byte [ebp + 0x5f], 0
mov esi, dword [ebp + 0x68]
jne 0x1004fd3a
lea ecx, [esi + 0x78]
call fcn.1006448c
jmp 0x1004fd34
cmp byte [ebp + 0x53], 0
je 0x1004fd20
mov esi, dword [ebp + 0x68]
lea ecx, [esi + 0x130]
mov eax, dword [ecx]
push 0
push str.ReloadAll
call dword [eax + 0xb8]
jmp 0x1004fd34
cmp byte [ebp + 0x5f], 0
je 0x1004fd51
mov esi, dword [ebp + 0x68]
lea ecx, [esi + 0x130]
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp byte [ebp + 0x5f], 0
je 0x1004fd51
cmp dword [0x10115f18], 0xa
jge 0x1004fd51
mov eax, dword [esi]
inc dword [0x10115f18]
push 0
push esi
call dword [eax + 0x64]
mov esi, dword [ebp + 0x68]
and dword [ebp + 0x28], 0
lea ecx, [ebp + 0x24]
push ecx
add esi, 0x130
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 + 0x18]
add ecx, 0xfffffff0
call fcn.10001d29
jmp 0x1004f437
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x60
leave
ret 8