Function at 0x551370
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a810
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5d52e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, edx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x1c], 0
call fcn.005300e0
add esp, 4
cmp eax, 0x10e2
je 0x5513f2
push edi
mov ecx, esi
call fcn.004015b0
or eax, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, 0x128e
mov word [esi + 0x18], ax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 4], 0
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x551425
push 0x5c77e8
lea ecx, [ebp - 0x20]
push ecx
mov dword [0x5dda00], 0x9ca05
mov dword [ebp - 0x20], 0xbc7
call fcn.005039bf
push ebx
push 3
push 0
call fcn.0054edf0
test al, al
jne 0x551448
push 0x5c77e8
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], 0xbcc
call fcn.005039bf
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.SUCMLIB.dll_Ordinal_80]
xor eax, eax
cmp ebx, 0x9fbf1
jne 0x551468
mov eax, 1
mov ecx, dword [0x5dd554]
test ecx, ecx
je 0x551482
mov edx, dword [ebp - 0x18]
mov eax, dword [eax*4 + 0x5dd9a0]
push 2
push edx
push eax
call ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push 0x10ed
push eax
mov eax, dword [edx + 0x54]
call eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x5dd488]
test al, al
jne 0x5514c9
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.SUCMLIB.dll_Ordinal_82]
push 0x5c77e8
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0xbda
call fcn.005039bf
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.SUCMLIB.dll_Ordinal_82]
lea edx, [ebp - 0x14]
push edx
mov byte [ebp + 0xf], 0xff
mov dword [ebp - 0x14], 0
call dword [sym.imp.SUCMLIB.dll_Ordinal_73]
mov eax, dword [edi]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
call eax
mov edx, dword [ebp - 0x14]
lea ecx, [ebp + 0xf]
push ecx
push 1
push edx
call dword [0x5dd4a4]
test al, al
jne 0x551528
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.SUCMLIB.dll_Ordinal_76]
push 0x5c77e8
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x2c], 0xbe9
call fcn.005039bf
push edi
mov ecx, esi
call fcn.004015b0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [eax + 0xc]
imul ecx, dword [edi + 8]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [eax + 0xc]
imul ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [eax + 4]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
fld qword [eax + 0x10]
call fcn.00505d50
lea edx, [ebp - 0x14]
mov ecx, 0x128e
push edx
mov dword [esi + 0x14], eax
mov word [esi + 0x18], cx
call dword [sym.imp.SUCMLIB.dll_Ordinal_76]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
push eax
call fcn.0054fdc0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8