Function at 0x47bd40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0136
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x4f3168]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [0x4f2efc]
mov ecx, 0x4f2efc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.004165f0
add esp, 4
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00401cd0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x47bdc6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x47bdf4
lea edx, [ecx - 1]
test edx, edx
js 0x47bfcc
cmp edx, ecx
jg 0x47bfcc
cmp word [eax + edx*2], 0x5c
je 0x47bdf4
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.004020b0
push 0xc
push str.urlguide.dat
lea ecx, [ebp - 0x10]
call fcn.00402200
mov edi, dword [ebp - 0x10]
push edi
call dword [0x4b42d0]
test eax, eax
jne 0x47be8a
lea eax, [ebp - 0x14]
push eax
call fcn.00416760
add esp, 4
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00401cd0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47be4a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x47be78
lea edx, [ecx - 1]
test edx, edx
js 0x47bfcc
cmp edx, ecx
jg 0x47bfcc
cmp word [eax + edx*2], 0x5c
je 0x47be78
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.004020b0
push 0xc
push str.urlguide.dat
lea ecx, [ebp - 0x10]
call fcn.00402200
mov edi, dword [ebp - 0x10]
push 0
lea ecx, [ebp - 0xa4]
call fcn.0044d0f0
lea eax, [esi + 0x34]
push eax
push edi
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 3
call fcn.0044eb60
test eax, eax
je 0x47c1cc
mov eax, dword [0x4f2efc]
mov ecx, 0x4f2efc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [0x4f2efc]
mov ecx, 0x4f2efc
mov byte [ebp - 4], 4
call dword [eax + 0xc]
mov dword [ebp - 0x20], eax
add eax, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [0x4f2efc]
mov ecx, 0x4f2efc
mov byte [ebp - 4], 5
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov eax, dword [0x4f2efc]
mov ecx, 0x4f2efc
mov byte [ebp - 4], 6
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x6c], ebx
mov eax, dword [0x4f2efc]
mov ecx, 0x4f2efc
mov byte [ebp - 4], 7
call dword [eax + 0xc]
mov dword [ebp - 0x28], eax
add eax, 0x10
mov dword [ebp - 0x58], eax
push 0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 8
call fcn.0044d0f0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.0044d1e0
lea ecx, [ebp - 0x68]
call fcn.0044d1e0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x50]
push eax
push str.Deny
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xa
call fcn.0044d7f0
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x34], 0
jne 0x47bfe9
mov edi, eax
lea ebx, [ebx]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x50]
call fcn.0044d7c0
test eax, eax
je 0x47bfe3
mov esi, dword [ebp - 0x14]
push esi
lea ecx, [ebp - 0x40]
call fcn.0046fe70
test eax, eax
jne 0x47bfd6
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.0046d690
jmp 0x47bfdd
push 0x80070057
call fcn.00402400
mov dword [eax + 4], 0
cmp byte [edi + 0x34], 0
je 0x47bfa0
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x24]
push 0
push str.DefaultVersion
push str.Properties
lea ecx, [ebp - 0xa4]
call fcn.0044d920
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x68]
push eax
push str.Default
lea ecx, [ebp - 0xa4]
call fcn.0044d7f0
test eax, eax
je 0x47c028
cmp dword [ebp - 0x1c], 0x803
ja 0x47c0cd
lea eax, [ebp - 0x1c]
push eax
call fcn.00416760
add esp, 4
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.00401cd0
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xa
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47c062
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x47c090
lea edx, [ecx - 1]
test edx, edx
js 0x47bfcc
cmp edx, ecx
jg 0x47bfcc
cmp word [eax + edx*2], 0x5c
je 0x47c090
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.004020b0
push 0xc
push str.urlguide.dat
lea ecx, [ebp - 0x10]
call fcn.00402200
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
add eax, 0x34
push eax
push edi
lea ecx, [ebp - 0xdc]
call fcn.0044eb60
test eax, eax
je 0x47c0cd
lea eax, [ebp - 0x68]
push eax
push str.Default
lea ecx, [ebp - 0xdc]
call fcn.0044d7f0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, eax
call fcn.0047b9d0
lea ecx, [ebp - 0x40]
call fcn.0046d930
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x47c0f8
push eax
call fcn.0048c9a8
add esp, 4
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 8
call fcn.0044d300
lea ecx, [ebp - 0x50]
call fcn.0044d1e0
lea eax, [ebp - 0x50]
push eax
push str.Custom
lea ecx, [ebp - 0xa4]
call fcn.0044d7f0
push 0
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, eax
call fcn.0047b9d0
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47c152
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
or ebx, 0xffffffff
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47c172
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47c18f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47c1ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47c1cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.0044d300
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x47c1f9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret