Function at 0x44c530
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x58fc02
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x44c856
cmp ebx, 1
jne 0x44c605
lea eax, [esp + 0x2c]
push eax
call fcn.004030f0
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x2c]
push ecx
push ebp
call fcn.0044b8e0
add esp, 8
test eax, eax
je 0x44c5f3
mov esi, dword [esi + 0x2c]
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x44c5b6
push 0x80004005
call fcn.00401e70
mov edx, dword [esp + 0x2c]
push esi
push edx
call fcn.004a4b4f
add esp, 8
test eax, eax
jne 0x44c5f3
mov dword [esp + 0x24], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.00403090
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x2c]
push ecx
jmp 0x44c851
mov edx, dword [esi + 0x14]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x44c69a
lea eax, [esp + 0x2c]
push eax
call fcn.004030f0
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x2c]
push ecx
push ebp
call fcn.0044c160
mov esi, dword [esi + 0x14]
xor eax, eax
add esp, 8
test esi, esi
setne al
test eax, eax
jne 0x44c64b
push 0x80004005
call fcn.00401e70
mov edx, dword [esp + 0x2c]
push esi
push edx
call fcn.004a4b4f
add esp, 8
test eax, eax
je 0x44c66f
mov dword [esp + 0x24], 0xffffffff
lea eax, [esp + 0x2c]
push eax
jmp 0x44c851
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x2c]
push ecx
call fcn.00403090
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [esi + 0x1c], 0
jne 0x44c6de
mov edx, dword [esi + 0x18]
cmp dword [edx - 0xc], 0
jne 0x44c6de
mov eax, dword [esi + 0x2c]
cmp dword [eax - 0xc], 0
lea edi, [esi + 0x2c]
je 0x44c856
push ebx
mov ecx, ebp
call fcn.0044c320
add esp, 4
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea ecx, [esp + 0x14]
push ecx
call fcn.004030f0
mov dword [esp + 0x24], 2
lea edx, [esp + 0x2c]
push edx
call fcn.004030f0
mov bl, 3
mov byte [esp + 0x24], bl
lea eax, [esp + 0x18]
push eax
call fcn.004030f0
mov byte [esp + 0x24], 4
mov ebp, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push ebp
lea edx, [esp + 0x34]
lea ecx, [esp + 0x20]
call fcn.004579d0
add esp, 8
test eax, eax
jne 0x44c75b
mov byte [esp + 0x24], bl
lea edx, [esp + 0x18]
push edx
call fcn.00403090
mov byte [esp + 0x24], 2
lea eax, [esp + 0x2c]
push eax
call fcn.00403090
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x14]
push ecx
jmp 0x44c851
cmp dword [esi + 0x1c], 0
je 0x44c7c8
mov edx, dword [esp + 0x2c]
push edx
call fcn.004a3636
add esp, 4
cmp eax, dword [esi + 0x1c]
jne 0x44c827
mov eax, dword [esi + 0x18]
cmp dword [eax - 0xc], 0
jne 0x44c7c8
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x18]
push ecx
call fcn.00403090
mov byte [esp + 0x24], 2
lea edx, [esp + 0x2c]
push edx
call fcn.00403090
mov dword [esp + 0x24], 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.00403090
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ecx, dword [esi + 0x18]
cmp dword [ecx - 0xc], 0
je 0x44c827
lea edx, [esp + 0x14]
push edx
call fcn.00408c20
test eax, eax
jne 0x44c827
mov byte [esp + 0x24], bl
lea eax, [esp + 0x18]
push eax
call fcn.00403090
mov byte [esp + 0x24], 2
lea ecx, [esp + 0x2c]
push ecx
call fcn.00403090
mov dword [esp + 0x24], 0xffffffff
lea edx, [esp + 0x14]
push edx
call fcn.00403090
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov byte [esp + 0x24], bl
lea eax, [esp + 0x18]
push eax
call fcn.00403090
mov byte [esp + 0x24], 2
lea ecx, [esp + 0x2c]
push ecx
call fcn.00403090
mov dword [esp + 0x24], 0xffffffff
lea edx, [esp + 0x14]
push edx
call fcn.00403090
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret