Function at 0x44f0c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6ed1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4c9860]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x34], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea esi, [eax + 0xd8]
mov dword [ebp - 0x30], 0
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x38], edi
je 0x44f14c
cmp dword [esi + 0x14], 8
jb 0x44f116
mov eax, dword [esi]
jmp 0x44f118
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x44f14c
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov ecx, edi
mov word [edi], ax
call fcn.0040bd60
jmp 0x44f2e6
call fcn.00451080
test eax, eax
lea eax, [ebp - 0x2c]
push eax
je 0x44f1a2
mov ecx, dword [ebp - 0x34]
call fcn.0044e840
mov ebx, eax
mov dword [ebp - 4], 1
cmp esi, ebx
je 0x44f2a2
cmp dword [esi + 0x14], 8
jb 0x44f182
push dword [esi]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push ebx
mov ecx, esi
mov word [esi], ax
call fcn.0040c240
jmp 0x44f2a2
call fcn.0044ee90
mov dword [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00402a20
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x44f1cb
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x44f2c7
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x44f1f6
mov ecx, dword [ebx]
jmp 0x44f1f8
mov ecx, ebx
mov edx, 0x5c
cmp dx, word [ecx]
mov edx, 0x2f
je 0x44f227
cmp eax, 8
jb 0x44f210
mov eax, dword [ebx]
jmp 0x44f212
mov eax, ebx
cmp dx, word [eax]
je 0x44f227
push 0x4b3f78
mov ecx, esi
call fcn.00402ab0
mov ecx, eax
jmp 0x44f229
mov ecx, esi
push 0xffffffffffffffff
push 0
push ebx
call fcn.004034a0
cmp esi, eax
je 0x44f243
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0040bd60
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + 0xe8]
dec ebx
cmp dword [esi + 0x10], ebx
ja 0x44f25c
push str.invalid_string_position
call fcn.0047920d
cmp dword [esi + 0x14], 8
jb 0x44f266
mov eax, dword [esi]
jmp 0x44f268
mov eax, esi
mov ecx, 0x5c
cmp cx, word [eax + ebx*2]
je 0x44f285
push ebx
mov ecx, esi
call fcn.0042d4a0
mov ecx, 0x2f
cmp cx, word [eax]
jne 0x44f2c7
push ebx
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0041ce70
mov dword [ebp - 4], 4
push eax
mov ecx, esi
call fcn.00402a20
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x44f2b7
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
push 0xffffffffffffffff
push 0
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov ecx, edi
mov word [edi], ax
call fcn.0040bd60
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047cf45
mov esp, ebp
pop ebp
ret 0xc