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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dca10
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x7b2214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x3c]
mov esi, dword [ebx + 0x3c]
push dword [esi + 4]
call fcn.00441320
mov eax, dword [ebx + 0x3c]
lea ecx, [ebp - 0x40]
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x3c]
mov dword [eax], esi
mov eax, dword [ebx + 0x3c]
mov byte [ebp - 4], 1
mov dword [eax + 8], esi
lea eax, [ebp + 8]
mov dword [ebx + 0x40], 0
push eax
mov dword [ebx + 8], 0
call fcn.0042fd80
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [ebp - 0x2c]
cmp eax, 0xffffffff
jne 0x4406a8
cmp edx, 0x10
jb 0x44069c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x440692
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440892
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov dword [ebx + 8], 2
jmp 0x4407fe
cmp edx, 0x10
jb 0x4406d9
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4406cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440897
push edx
push ecx
call fcn.0062a23d
add esp, 8
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
lea esi, [ebp - 0x44]
push eax
call fcn.0042fd80
mov edx, esi
xor ecx, ecx
call fcn.00447b00
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x44070a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 8], eax
jmp 0x4407fe
mov eax, dword [ebp - 0x44]
cmp eax, 4
jae 0x440727
push esi
call fcn.00684e92
add esp, 4
mov dword [ebx + 8], 0xd
jmp 0x4407fe
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0042faa0
push esi
call fcn.00684e92
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov edi, 4
lea edx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov ebx, dword [eax]
mov eax, dword [ebp - 0x18]
cmp eax, edi
cmovb edi, eax
cmp dword [ebp - 0x14], 0x10
cmovae edx, dword [ebp - 0x28]
sub eax, edi
mov dword [ebp - 0x18], eax
inc eax
push eax
lea eax, [edx + edi]
push eax
push edx
call fcn.006683c0
mov esi, dword [ebp - 0x4c]
add esp, 0x10
mov dword [esi + 4], ebx
cmp ebx, 3
ja 0x4407f7
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.0042fd80
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0043f900
push eax
lea ecx, [ebp - 0x28]
call fcn.0042fc60
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4407d1
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4407c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44089c
push edx
push ecx
call fcn.0062a23d
add esp, 8
cmp dword [ebp - 0x18], 0
je 0x4407f7
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.0042fd80
mov ecx, esi
call fcn.0043fa80
test eax, eax
je 0x4407f7
mov esi, 1
jmp 0x440800
mov dword [esi + 8], 0xd
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x440830
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x440826
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4408a1
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x440872
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x440868
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4408a6
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret 0x18
call fcn.0068843e
call fcn.0068843e
call fcn.0068843e
call fcn.0068843e
call fcn.0068843e
int3