Function at 0x459e3b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a3561
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x4dc0a8]
xor eax, esp
mov dword [esp + 0x3b8], eax
push ebx
push esi
push edi
mov eax, dword [0x4dc0a8]
xor eax, esp
push eax
lea eax, [esp + 0x3d0]
mov dword fs:[0], eax
cmp dword [0x4e0d58], 0
jne 0x45a2cf
and dword [0x4e0d64], 0
xor esi, esi
inc esi
xor ebx, ebx
lea ecx, [esp + 0x28]
mov dword [0x4e0d58], esi
call fcn.00467016
and dword [esp + 0x3d8], ebx
lea ecx, [esp + 0x24]
push str.dbshortcut.dat
push ecx
mov ecx, eax
call fcn.0040548e
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 0x45a1e5
mov eax, dword [0x4e0530]
mov ecx, 0x4e0530
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 0x45a1d3
lea eax, [esp + 0x18]
push eax
call fcn.0045a319
test eax, eax
mov ebx, dword [esp + 0x18]
je 0x45a1d3
cmp dword [ebx - 0xc], 3
jle 0x45a1d3
lea eax, [esp + 0x34c]
push eax
call fcn.0046fe0d
push esi
push 0
push ebx
lea ecx, [esp + 0x358]
mov byte [esp + 0x3e4], 4
call fcn.004711a7
cmp byte [esp + 0x390], 0
jne 0x45a1bf
lea eax, [esp + 0x34c]
call fcn.0046f8b9
test eax, eax
je 0x45a1bf
push str.dbshortcut
call fcn.0046f8dd
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x45a1bf
or dword [esp + 0x1c], 0xffffffff
or dword [esp + 0x20], 0xffffffff
push str.enable
lea esi, [esp + 0x20]
call fcn.0046fa76
push str.effectiveid
lea esi, [esp + 0x24]
mov eax, edi
call fcn.0046fa76
push 0x4ba168
mov eax, edi
call fcn.0046fa4d
mov edi, dword [esp + 0x1c]
cmp edi, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x45a1bf
mov esi, dword [esp + 0x20]
cmp esi, 0xffffffff
je 0x45a1bf
test eax, eax
je 0x45a1bf
push eax
call sub.MSVCR80.dll_strlen
test eax, eax
pop ecx
je 0x45a1bf
mov dword [0x4e0d5c], edi
call fcn.0045a440
push dword [esp + 0x2c]
mov dword [0x4e0d60], eax
push 0x4e0d6c
call fcn.0040472a
mov eax, dword [esp + 0x14]
push str.item
mov dword [0x4e0d68], esi
call fcn.0046f8dd
test eax, eax
mov dword [esp + 0x14], eax
je 0x45a1bf
mov edi, 0xfde9
mov eax, dword [esp + 0x14]
or dword [esp + 0x1c], 0xffffffff
push 0x4aec7c
lea esi, [esp + 0x20]
call fcn.0046fa76
mov eax, dword [esp + 0x14]
push 0x4ba178
call fcn.0046fa4d
mov esi, eax
mov eax, dword [esp + 0x14]
push 0x4ba17c
call fcn.0046fa4d
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
push 0x4aeb44
call fcn.0046fa4d
cmp dword [esp + 0x1c], 0xffffffff
je 0x45a1a5
test esi, esi
je 0x45a1a5
cmp dword [esp + 0x20], 0
je 0x45a1a5
test eax, eax
je 0x45a1a5
push edi
push eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x4c]
push eax
mov dword [esp + 0x4c], ecx
call fcn.00405167
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.00405167
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.00405167
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.00459cc1
lea eax, [esp + 0x148]
cmp dword [esp + 0x144], eax
je 0x45a14a
push dword [esp + 0x144]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea eax, [esp + 0x24c]
cmp dword [esp + 0x248], eax
je 0x45a168
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 0x45a185
push dword [esp + 0x40]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea eax, [esp + 0x30]
push eax
mov eax, 0x4e0d70
call fcn.0045a557
lea esi, [esp + 0x30]
mov byte [esp + 0x3d8], 4
call fcn.0045a2f8
mov eax, dword [esp + 0x14]
push str.item
call fcn.0046f936
test eax, eax
mov dword [esp + 0x14], eax
jne 0x45a036
lea ecx, [esp + 0x34c]
mov byte [esp + 0x3d8], 3
call fcn.00425f51
add ebx, 0xfffffff0
mov eax, ebx
mov byte [esp + 0x3d8], 2
call fcn.004012f9
mov ebx, 0x4e0d70
mov eax, ebx
call fcn.0045a4e6
test eax, eax
jbe 0x45a2c3
cmp dword [0x4e0d5c], 0
je 0x45a2c3
mov eax, dword [0x4e0530]
mov ecx, 0x4e0530
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x3d8], 0xc
push dword [0x4e0d60]
lea eax, [esp + 0x1c]
push str.s_de
call fcn.00402918
pop ecx
pop ecx
push dword [esp + 0x18]
mov esi, 0x4e0d6c
call fcn.004535d9
cmp eax, 0xffffffff
je 0x45a2b7
mov eax, ebx
call fcn.0045a4e6
mov edi, eax
xor esi, esi
test edi, edi
jle 0x45a2b7
push esi
mov eax, ebx
call fcn.0045a4f9
mov eax, dword [eax]
cmp eax, dword [0x4e0d68]
je 0x45a273
inc esi
cmp esi, edi
jl 0x45a25a
jmp 0x45a2b7
push esi
mov eax, ebx
call fcn.0045a4f9
add eax, 4
mov eax, dword [eax]
xor edi, edi
cmp dword [eax - 0xc], edi
je 0x45a2b0
push esi
mov eax, ebx
call fcn.0045a4f9
add eax, 0xc
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
je 0x45a2b0
push esi
mov eax, ebx
call fcn.0045a4f9
add eax, 8
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
je 0x45a2b0
xor eax, eax
inc eax
jmp 0x45a2b2
xor eax, eax
mov dword [0x4e0d64], 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 [0x4e0d58]
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.00486d86
mov esp, ebp
pop ebp
ret