Function at 0x48b110
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d1a02
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
mov dword [esp + 0xe4], ebx
call fcn.004291c0
add esp, 4
lea edi, [esp + 0x10]
mov byte [esp + 0xe0], 1
call fcn.00406aa0
mov byte [esp + 0xe0], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b1a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
cmp eax, ebx
jle 0x48b1d9
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x48b3f3
cmp ecx, eax
jg 0x48b3f3
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x48b1d9
push 0x5c
lea edi, [esp + 0x14]
call fcn.00406b00
push 0xc
push 0x4f0b18
lea ecx, [esp + 0x18]
push ecx
call fcn.004092d0
mov edx, dword [esp + 0x10]
push edx
call dword [0x4d5364]
test eax, eax
jne 0x48b285
lea ebx, [esp + 0x14]
call fcn.00428ed0
lea edi, [esp + 0x10]
mov byte [esp + 0xe0], 2
call fcn.00406aa0
mov byte [esp + 0xe0], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b23f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x48b272
lea eax, [ecx - 1]
test eax, eax
jl 0x48b3f3
cmp eax, ecx
jg 0x48b3f3
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x48b272
push 0x5c
lea edi, [esp + 0x14]
call fcn.00406b00
push 0xc
push 0x4f0b18
lea ecx, [esp + 0x18]
push ecx
call fcn.004092d0
xor ebx, ebx
lea edx, [esp + 0x64]
push edx
xor edi, edi
call fcn.0042db10
mov esi, dword [ebp + 8]
mov byte [esp + 0xe0], 3
mov ecx, dword [esp + 0x10]
add esi, 0x34
push esi
lea edx, [esp + 0x68]
call fcn.0042df50
cmp eax, ebx
je 0x48b63c
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xe0], 4
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0xe0], 5
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0xe0], 6
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0xe0], 7
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esp + 0x34], eax
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xe4], 8
call fcn.0042db10
mov eax, 0xa
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x54]
push ecx
push str.Deny
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0xec], al
call fcn.0042e2d0
cmp byte [esi], bl
jne 0x48b40a
mov esi, dword [esp + 0x60]
cmp esi, ebx
je 0x48b40a
cmp esi, dword [esp + 0x5c]
je 0x48b40a
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea edi, [esp + 0x14]
call fcn.00406aa0
mov edi, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x40]
call fcn.0047f060
cmp eax, ebx
jne 0x48b3fd
mov eax, edi
lea ebx, [esp + 0x3c]
call fcn.0047ee80
xor ebx, ebx
jmp 0x48b400
push 0x80070057
call fcn.00402940
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
add eax, 0x34
cmp byte [eax], bl
je 0x48b3b8
push str.DefaultVersion
push str.Properties
lea eax, [esp + 0x6c]
push eax
call fcn.0042e4e0
lea ecx, [esp + 0x18]
push ecx
push str.Default
lea edx, [esp + 0x6c]
push edx
mov esi, eax
call fcn.0042e2d0
cmp eax, ebx
je 0x48b444
cmp esi, 0x4b6
ja 0x48b500
lea ebx, [esp + 0x30]
call fcn.00428ed0
lea edi, [esp + 0x10]
mov byte [esp + 0xe0], 0xb
call fcn.00406aa0
mov byte [esp + 0xe0], 0xa
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b486
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x48b4b9
lea eax, [ecx - 1]
test eax, eax
jl 0x48b3f3
cmp eax, ecx
jg 0x48b3f3
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x48b4b9
push 0x5c
lea edi, [esp + 0x14]
call fcn.00406b00
push 0xc
push 0x4f0b18
lea ecx, [esp + 0x18]
push ecx
call fcn.004092d0
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x34]
push eax
lea edx, [esp + 0xa0]
call fcn.0042df50
test eax, eax
je 0x48b4fc
lea edx, [esp + 0x18]
push edx
push str.Default
lea eax, [esp + 0xa4]
push eax
call fcn.0042e2d0
xor ebx, ebx
jmp 0x48b503
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x1c]
push edx
push esi
push esi
call fcn.0048b6a0
lea edi, [esp + 0x3c]
call fcn.0047f230
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x48b52e
push eax
call fcn.004aa09f
add esp, 4
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xe4], 8
call fcn.0042dbe0
lea ecx, [esp + 0x18]
push ecx
push str.Custom
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call fcn.0042e2d0
push ebx
lea eax, [esp + 0x1c]
push eax
push esi
push esi
call fcn.0048b6a0
mov byte [esp + 0xe0], 7
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b59c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe0], 6
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b5c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe0], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b5ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe0], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b614
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe0], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b63c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x64]
push ecx
mov byte [esp + 0xe4], bl
call fcn.0042dbe0
mov dword [esp + 0xe0], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48b678
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4