Function at 0x45d00d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f9977
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x5550ec]
xor eax, esp
mov dword [esp + 0x3b8], eax
push ebx
push esi
push edi
mov eax, dword [0x5550ec]
xor eax, esp
push eax
lea eax, [esp + 0x3d0]
mov dword fs:[0], eax
cmp dword [0x55abc4], 0
jne 0x45d4a1
and dword [0x55abd0], 0
xor esi, esi
inc esi
xor ebx, ebx
lea ecx, [esp + 0x28]
mov dword [0x55abc4], esi
call fcn.004907c2
and dword [esp + 0x3d8], ebx
lea ecx, [esp + 0x24]
push str.dbshortcut.dat
push ecx
mov ecx, eax
call fcn.004065f0
pop ecx
pop ecx
mov byte [esp + 0x3d8], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004012f9
push dword [esp + 0x24]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45d3b7
mov eax, dword [0x55a320]
mov ecx, 0x55a320
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x3d8], 3
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x45d3a5
lea eax, [esp + 0x18]
push eax
call fcn.0045d4eb
test eax, eax
mov ebx, dword [esp + 0x18]
je 0x45d3a5
cmp dword [ebx - 0xc], 3
jle 0x45d3a5
lea eax, [esp + 0x34c]
push eax
call fcn.004be98f
push esi
push 0
push ebx
lea ecx, [esp + 0x358]
mov byte [esp + 0x3e4], 4
call fcn.004bfe78
cmp byte [esp + 0x390], 0
jne 0x45d391
lea eax, [esp + 0x34c]
call fcn.004be418
test eax, eax
je 0x45d391
push str.dbshortcut
call fcn.004be43c
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x45d391
or dword [esp + 0x1c], 0xffffffff
or dword [esp + 0x20], 0xffffffff
push str.enable
lea esi, [esp + 0x20]
call fcn.004be5d5
push str.effectiveid
lea esi, [esp + 0x24]
mov eax, edi
call fcn.004be5d5
push 0x517ab4
mov eax, edi
call fcn.004be5ac
mov edi, dword [esp + 0x1c]
cmp edi, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x45d391
mov esi, dword [esp + 0x20]
cmp esi, 0xffffffff
je 0x45d391
test eax, eax
je 0x45d391
push eax
call sub.MSVCR80.dll_strlen
test eax, eax
pop ecx
je 0x45d391
mov dword [0x55abc8], edi
call fcn.0045d612
push dword [esp + 0x2c]
mov dword [0x55abcc], eax
push 0x55abd8
call fcn.004058e5
mov eax, dword [esp + 0x14]
push str.item
mov dword [0x55abd4], esi
call fcn.004be43c
test eax, eax
mov dword [esp + 0x14], eax
je 0x45d391
mov edi, 0xfde9
mov eax, dword [esp + 0x14]
or dword [esp + 0x1c], 0xffffffff
push 0x50c07c
lea esi, [esp + 0x20]
call fcn.004be5d5
mov eax, dword [esp + 0x14]
push 0x517abc
call fcn.004be5ac
mov esi, eax
mov eax, dword [esp + 0x14]
push 0x517ac0
call fcn.004be5ac
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
push str.name
call fcn.004be5ac
cmp dword [esp + 0x1c], 0xffffffff
je 0x45d377
test esi, esi
je 0x45d377
cmp dword [esp + 0x20], 0
je 0x45d377
test eax, eax
je 0x45d377
push edi
push eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x4c]
push eax
mov dword [esp + 0x4c], ecx
call fcn.004062ed
push edi
mov byte [esp + 0x3dc], 5
push dword [esp + 0x24]
lea eax, [esp + 0x254]
mov dword [esp + 0x250], eax
lea eax, [esp + 0x250]
push eax
call fcn.004062ed
lea eax, [esp + 0x148]
push edi
mov byte [esp + 0x3dc], 6
mov dword [esp + 0x148], eax
push esi
lea eax, [esp + 0x14c]
push eax
call fcn.004062ed
mov byte [esp + 0x3d8], 7
push dword [esp + 0x40]
lea eax, [esp + 0x34]
push dword [esp + 0x24c]
push dword [esp + 0x14c]
push dword [esp + 0x28]
push eax
call fcn.0045ce93
lea eax, [esp + 0x148]
cmp dword [esp + 0x144], eax
je 0x45d31c
push dword [esp + 0x144]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea eax, [esp + 0x24c]
cmp dword [esp + 0x248], eax
je 0x45d33a
push dword [esp + 0x248]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea eax, [esp + 0x44]
mov byte [esp + 0x3d8], 0xb
cmp dword [esp + 0x40], eax
je 0x45d357
push dword [esp + 0x40]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea eax, [esp + 0x30]
push eax
mov eax, 0x55abdc
call fcn.0045d716
lea esi, [esp + 0x30]
mov byte [esp + 0x3d8], 4
call fcn.0045d4ca
mov eax, dword [esp + 0x14]
push str.item
call fcn.004be495
test eax, eax
mov dword [esp + 0x14], eax
jne 0x45d208
lea ecx, [esp + 0x34c]
mov byte [esp + 0x3d8], 3
call fcn.0042710c
add ebx, 0xfffffff0
mov eax, ebx
mov byte [esp + 0x3d8], 2
call fcn.004012f9
mov ebx, 0x55abdc
mov eax, ebx
call fcn.00495884
test eax, eax
jbe 0x45d495
cmp dword [0x55abc8], 0
je 0x45d495
mov eax, dword [0x55a320]
mov ecx, 0x55a320
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x3d8], 0xc
push dword [0x55abcc]
lea eax, [esp + 0x1c]
push str.s_de
call fcn.00403b72
pop ecx
pop ecx
push dword [esp + 0x18]
mov esi, 0x55abd8
call fcn.0045674b
cmp eax, 0xffffffff
je 0x45d489
mov eax, ebx
call fcn.00495884
mov edi, eax
xor esi, esi
test edi, edi
jle 0x45d489
push esi
mov eax, ebx
call fcn.0045d6b8
mov eax, dword [eax]
cmp eax, dword [0x55abd4]
je 0x45d445
inc esi
cmp esi, edi
jl 0x45d42c
jmp 0x45d489
push esi
mov eax, ebx
call fcn.0045d6b8
add eax, 4
mov eax, dword [eax]
xor edi, edi
cmp dword [eax - 0xc], edi
je 0x45d482
push esi
mov eax, ebx
call fcn.0045d6b8
add eax, 0xc
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
je 0x45d482
push esi
mov eax, ebx
call fcn.0045d6b8
add eax, 8
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
je 0x45d482
xor eax, eax
inc eax
jmp 0x45d484
xor eax, eax
mov dword [0x55abd0], eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [0x55abc4]
mov ecx, dword [esp + 0x3d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3b8]
xor ecx, esp
call fcn.004d6e66
mov esp, ebp
pop ebp
ret