Function at 0x44bc70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538903
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5917ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x44c15f
mov edi, dword [ebp + 8]
mov ecx, edx
add edi, 4
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44bcb3
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.0040dbe0
push 0x54c948
push 0x554858
mov ecx, edi
call fcn.0041a0b0
mov ecx, dword [edi]
mov esi, dword [ecx - 0xc]
cmp esi, 1
jg 0x44bcf7
lea eax, [ecx - 0x10]
push eax
call fcn.0040e3b0
add esp, 4
add eax, 0x10
jmp 0x44bd2a
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x44bd07
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x44bd13
call fcn.0040edf0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push 1
lea eax, [eax + esi*2]
add eax, 0xfffffffe
push eax
call fcn.00414b40
mov eax, dword [ebp + 0xc]
mov edx, 0x54c948
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x44bd5c
test si, si
je 0x44bd53
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x44bd5c
add ecx, 4
add edx, 4
test si, si
jne 0x44bd31
mov dword [ebp + 0xc], 0
jmp 0x44bd64
sbb ecx, ecx
or ecx, 1
mov dword [ebp + 0xc], ecx
or esi, 0xffffffff
lea edx, [eax - 0x10]
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44bd7e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0xc], 0
mov ebx, 0x40
jne 0x44be17
mov edx, dword [edi]
xor esi, esi
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
test eax, eax
cmovns esi, eax
cmp esi, ecx
jl 0x44bdb4
lea eax, [edx - 0x10]
push eax
call fcn.0040e3b0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp + 0xc], esi
jmp 0x44bddf
mov ecx, dword [edx - 0x10]
test ecx, ecx
je 0x44bdc4
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x44bdd0
call fcn.0040edf0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push esi
push dword [edi]
lea ecx, [ebp + 0xc]
call fcn.00414b40
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004150f0
lea edx, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
or esi, 0xffffffff
mov ebx, 0xc0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44be17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call fcn.0045cf90
add esp, 4
test eax, eax
jne 0x44c11c
lea ecx, [ebp + 0xf]
call fcn.00449e50
push eax
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00449bc0
add esp, 0xc
push dword [eax]
or ebx, 1
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44bf48
lea ecx, [ebp + 0xf]
call fcn.0044a550
push eax
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.00449bc0
add esp, 0xc
push dword [eax]
or ebx, 2
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44bf48
lea ecx, [ebp + 0xf]
call fcn.0044a780
push eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00449bc0
add esp, 0xc
push dword [eax]
or ebx, 4
mov dword [ebp - 4], 3
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44bf48
lea ecx, [ebp + 0xf]
call fcn.00449d70
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.00449bc0
add esp, 0xc
push dword [eax]
or ebx, 8
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44bf48
lea ecx, [ebp + 0xf]
call fcn.00449f30
push eax
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00449bc0
add esp, 0xc
push dword [eax]
or ebx, 0x10
mov dword [ebp - 4], 5
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44bf48
lea ecx, [ebp + 0xf]
call fcn.00449c90
push eax
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00449bc0
add esp, 0xc
or ebx, 0x20
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp + 0xf], 0
test eax, eax
je 0x44bf4c
mov byte [ebp + 0xf], 1
test bl, 0x20
je 0x44bf71
mov edx, dword [ebp - 0x14]
and ebx, 0xffffffdf
mov dword [ebp - 0x10], ebx
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44bf71
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 4
test bl, 0x10
je 0x44bf9d
mov edx, dword [ebp - 0x18]
and ebx, 0xffffffef
mov dword [ebp - 0x10], ebx
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44bf9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 3
test bl, 8
je 0x44bfc9
mov edx, dword [ebp - 0x1c]
and ebx, 0xfffffff7
mov dword [ebp - 0x10], ebx
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44bfc9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 2
test bl, 4
je 0x44bff5
mov edx, dword [ebp - 0x20]
and ebx, 0xfffffffb
mov dword [ebp - 0x10], ebx
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44bff5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 1
test bl, 2
je 0x44c021
mov edx, dword [ebp - 0x24]
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44c021
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
and ebx, 0xfffffffe
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 0x10], ebx
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44c048
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp + 0xf], 0
jne 0x44c11c
push 0x54c948
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.00449bc0
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 6
mov ecx, dword [eax]
mov byte [ebp - 4], 7
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x44c086
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x44c09c
call fcn.0040edf0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x44c173
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp + 0xc], eax
or ebx, 0x100
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov ecx, dword [ecx]
mov eax, dword [eax + 0x250]
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp + 0xc]
push ecx
push eax
call fcn.0044ac70
add esp, 0x14
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
call fcn.004150f0
mov edx, dword [ebp + 0xc]
mov eax, esi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44c0fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, esi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44c11c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x55485c
lea eax, [ebp + 8]
push edi
push eax
call fcn.00449bc0
add esp, 0xc
push eax
mov ecx, 0x59a68c
mov dword [ebp - 4], 8
call fcn.0044d840
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x44c15f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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
push 0x80004005
call fcn.0040c3e0
int3