Function at 0x459fd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48cb62
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0xe4], ebx
call fcn.00405d00
add esp, 4
lea edi, [esp + 0x10]
mov byte [esp + 0xe0], 1
call fcn.0040b8a0
mov byte [esp + 0xe0], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a066
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 0x45a099
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x45a2b3
cmp ecx, eax
jg 0x45a2b3
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x45a099
push 0x5c
lea edi, [esp + 0x14]
call fcn.00416550
push 9
push str.split.dat
lea ecx, [esp + 0x18]
push ecx
call fcn.004164c0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45a145
lea ebx, [esp + 0x18]
call fcn.00405a10
lea edi, [esp + 0x10]
mov byte [esp + 0xe0], 2
call fcn.0040b8a0
mov byte [esp + 0xe0], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a0ff
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 0x45a132
lea eax, [ecx - 1]
test eax, eax
jl 0x45a2b3
cmp eax, ecx
jg 0x45a2b3
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x45a132
push 0x5c
lea edi, [esp + 0x14]
call fcn.00416550
push 9
push str.split.dat
lea ecx, [esp + 0x18]
push ecx
call fcn.004164c0
xor ebx, ebx
lea edx, [esp + 0x64]
push edx
xor edi, edi
call fcn.004429e0
mov esi, dword [ebp + 8]
mov byte [esp + 0xe0], 3
mov ecx, dword [esp + 0x10]
add esi, 0x2c
push esi
lea edx, [esp + 0x68]
call fcn.00442e20
cmp eax, ebx
je 0x45a5c6
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xe0], 4
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0xe0], 5
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0xe0], 6
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0xe0], 7
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xe4], 8
call fcn.004429e0
mov eax, 0xa
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x2c]
push ecx
push str.Deny
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0xec], al
call fcn.004431a0
cmp byte [esi], bl
jne 0x45a2ca
mov esi, dword [esp + 0x38]
cmp esi, ebx
je 0x45a2ca
cmp esi, dword [esp + 0x34]
je 0x45a2ca
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea edi, [esp + 0x14]
call fcn.0040b8a0
mov edi, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x50]
call fcn.0045aa30
cmp eax, ebx
jne 0x45a2bd
mov eax, edi
lea ebx, [esp + 0x4c]
call fcn.0045a850
xor ebx, ebx
jmp 0x45a2c0
push 0x80070057
call fcn.00416be0
mov byte [eax + 4], bl
mov eax, dword [ebp + 8]
add eax, 0x2c
cmp byte [eax], bl
je 0x45a278
push str.DefaultVersion
push str.Properties
lea eax, [esp + 0x6c]
push eax
call fcn.004433b0
lea ecx, [esp + 0x3c]
push ecx
push str.Default
lea edx, [esp + 0x6c]
push edx
mov esi, eax
call fcn.004431a0
cmp eax, ebx
je 0x45a304
cmp esi, 0x3c8
ja 0x45a3be
lea ebx, [esp + 0x18]
call fcn.00405a10
lea edi, [esp + 0x10]
mov byte [esp + 0xe0], 0xb
call fcn.0040b8a0
mov byte [esp + 0xe0], 0xa
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a346
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 0x45a379
lea eax, [ecx - 1]
test eax, eax
jl 0x45a2b3
cmp eax, ecx
jg 0x45a2b3
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x45a379
push 0x5c
lea edi, [esp + 0x14]
call fcn.00416550
push 9
push str.split.dat
lea ecx, [esp + 0x18]
push ecx
call fcn.004164c0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
add eax, 0x2c
push eax
lea edx, [esp + 0xa0]
call fcn.00442e20
test eax, eax
je 0x45a3bc
lea edx, [esp + 0x3c]
push edx
push str.Default
lea eax, [esp + 0xa4]
push eax
call fcn.004431a0
xor ebx, ebx
mov esi, dword [ebp + 8]
add esi, 0x2c
cmp byte [esi], bl
mov dword [esp + 0x18], esi
jne 0x45a442
mov esi, dword [esp + 0x48]
cmp esi, ebx
je 0x45a43e
cmp esi, dword [esp + 0x44]
je 0x45a43e
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea edi, [esp + 0x14]
call fcn.0040b8a0
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x50]
call fcn.0045aa30
test eax, eax
jne 0x45a436
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ebx, edi
call fcn.00459dc0
add esp, 0x10
test eax, eax
je 0x45a434
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0045a630
xor ebx, ebx
mov edx, dword [esp + 0x18]
cmp byte [edx], bl
je 0x45a3d0
mov esi, dword [esp + 0x18]
lea edi, [esp + 0x4c]
call fcn.00457800
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x45a45c
push eax
call fcn.00469084
add esp, 4
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xe4], 8
call fcn.00442ab0
lea ecx, [esp + 0x2c]
push ecx
push str.Custom
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
call fcn.004431a0
cmp byte [esi], bl
jne 0x45a4fe
mov esi, dword [esp + 0x38]
lea ecx, [ecx]
cmp esi, ebx
je 0x45a4fe
cmp esi, dword [esp + 0x34]
je 0x45a4fe
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea edi, [esp + 0x14]
call fcn.0040b8a0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x2c]
push eax
mov ebx, edi
call fcn.00459dc0
add esp, 0x10
test eax, eax
je 0x45a4f2
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
call fcn.0045a630
mov eax, dword [ebp + 8]
add eax, 0x2c
xor ebx, ebx
cmp byte [eax], bl
je 0x45a4a0
mov byte [esp + 0xe0], 7
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 0x45a526
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 + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a54e
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 + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a576
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 + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a59e
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 0x45a5c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x64]
push edx
mov byte [eax + 0x10], 1
mov byte [esp + 0xe4], bl
call fcn.00442ab0
mov dword [esp + 0xe0], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a60c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
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