Function at 0x44d5f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d507d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x44d883
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
mov edx, dword [ebp + 8]
call fcn.00410cd0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp - 0x18]
cmp eax, 0xffffffff
setne byte [ebp - 0xd]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44d680
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
jne 0x44d692
mov dword [ebp - 0x14], 0
jmp 0x44d7ee
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.0040c240
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x58]
call fcn.0040c800
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edi
cmp edi, dword [ebp - 0x28]
je 0x44d7a5
push dword [edi]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040c5c0
mov byte [ebp - 4], 6
lea ebx, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x44d75b
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x44d74c
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x44d74c
call fcn.00406d70
mov dword [ebp - 0x1c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x44d744
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
jmp 0x44d75b
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.00406ed0
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 5
or ebx, 0xffffffff
mov edx, dword [ebp - 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44d77c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test eax, eax
je 0x44d883
push eax
push esi
call fcn.005ad680
add esp, 8
test eax, eax
je 0x44d821
add edi, 4
cmp edi, dword [ebp - 0x28]
jne 0x44d6f8
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x38]
call fcn.0040cd50
cmp dword [ebp - 0x44], 0
je 0x44d7eb
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x44d7e4
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x44], 0
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test edi, edi
je 0x44d834
mov eax, dword [ebp - 0x24]
sub eax, edi
sar eax, 2
lea ecx, [eax*4]
mov eax, edi
cmp ecx, 0x1000
jb 0x44d82a
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d88d
jmp 0x44d82a
mov dword [ebp - 0x14], 1
jmp 0x44d7ac
push ecx
push edi
call fcn.00483ac4
add esp, 8
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44d84f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x44d86e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405600
call fcn.005a90ce
int3