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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x44c5dc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406eb8
xor eax, eax
push ebp
push 0x44cbe0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0
jne 0x44c631
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0044b568
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x1c
call fcn.00407268
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
call fcn.0044bc44
pop ecx
test al, al
je 0x44cba3
xor ecx, ecx
mov edx, 0x44cbfc
mov eax, dword [ebp - 0xc]
call fcn.0044befc
test al, al
je 0x44cb9a
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x1c]
call fcn.00434e78
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x44cc0c
call fcn.00407530
mov edx, dword [ebp - 0x18]
mov ecx, 0x44cc20
mov eax, dword [ebp - 0xc]
call fcn.0044c19c
test al, al
jne 0x44c6c5
push 0
lea eax, [ebp - 0x24]
call fcn.00434e78
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x44cc30
call fcn.00407530
mov edx, dword [ebp - 0x20]
mov ecx, 0x44cc20
mov eax, dword [ebp - 0xc]
call fcn.0044c19c
test al, al
je 0x44cb9a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
jne 0x44c6e9
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
mov edx, dword [ebp - 4]
call fcn.00407268
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
jne 0x44c6fb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x44c771
cmp byte [ebp - 0xd], 0
je 0x44cb77
push 0
mov ecx, 0x44cc44
mov edx, 0x44cc54
mov eax, dword [ebp - 0xc]
call fcn.0044c19c
test al, al
je 0x44cb77
push 0
lea edx, [ebp - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
call fcn.0041e920
mov edx, dword [ebp - 0x28]
mov ecx, 0x44cc44
mov eax, dword [ebp - 0xc]
call fcn.0044c19c
test al, al
je 0x44cb77
push 0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
call fcn.0041e920
mov edx, dword [ebp - 0x2c]
mov ecx, 0x44cc6c
mov eax, dword [ebp - 0xc]
call fcn.0044c19c
test al, al
je 0x44cb77
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
cmp dword [0x4b8680], 0
je 0x44c797
lea eax, [ebp - 8]
mov edx, dword [0x4b8680]
call fcn.00407268
jmp 0x44c7a7
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
call fcn.00449734
push 0
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 8]
mov edx, 0x44cc7c
call fcn.00407530
mov edx, dword [ebp - 0x30]
mov ecx, 0x44cc20
mov eax, dword [ebp - 0xc]
call fcn.0044c19c
test al, al
je 0x44cb77
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov byte [ebp - 0xe], 0
lea eax, [ebp - 4]
call fcn.004496e8
mov esi, eax
test esi, esi
jle 0x44c83e
mov edi, 1
push 0
lea eax, [ebp - 0x3c]
push eax
mov cl, 0x2c
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0040f708
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
xor edx, edx
call fcn.00449734
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x44cc94
call fcn.00407530
mov edx, dword [ebp - 0x34]
mov ecx, 0x44cc20
mov eax, dword [ebp - 0xc]
call fcn.0044c19c
or al, byte [ebp - 0xe]
mov byte [ebp - 0xe], al
inc edi
dec esi
jne 0x44c7f5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
cmp byte [ebp - 0xe], 0
je 0x44cb77
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 0
jne 0x44c86b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0
je 0x44cb61
push 0
mov eax, dword [ebp + 8]
add eax, 0x30
mov ecx, 0x44ccac
mov edx, 0x44ccc0
call fcn.0040dfbc
cmp byte [0x4b8679], 0
je 0x44c8c0
push 0x44ccd4
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
call fcn.0040a5ec
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.0041e920
push dword [ebp - 0x40]
push 0x44ccec
lea eax, [ebp - 8]
mov edx, 3
call fcn.004075b4
jmp 0x44c8f0
push 0x44ccfc
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
mov cl, 0x3d
mov edx, 0x4b8eae
call fcn.0044a6e8
push dword [ebp - 0x48]
push 0x44ccec
lea eax, [ebp - 8]
mov edx, 3
call fcn.004075b4
push 0
mov ecx, 0x44cd18
mov edx, 0x44cd28
mov eax, dword [ebp - 0xc]
call fcn.0044c19c
test al, al
je 0x44cb77
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push 0x44cd3c
lea ecx, [ebp - 0x50]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00449734
push dword [ebp - 0x50]
push 0x44cd50
push 0x44cd60
lea ecx, [ebp - 0x54]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dl, 1
call fcn.00449734
push dword [ebp - 0x54]
push 0x44cd50
push 0x44cd74
push dword [ebp - 8]
push 0x44cd50
push 0x44cd8c
lea eax, [ebp - 0x58]
call fcn.0044bd28
push dword [ebp - 0x58]
push 0x44cd50
push 0x44cda0
lea eax, [ebp - 0x5c]
call fcn.0044be60
push dword [ebp - 0x5c]
push 0x44cd50
lea eax, [ebp - 0x4c]
mov edx, 0xf
call fcn.004075b4
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
call fcn.0044b91c
mov ebx, eax
test bl, bl
je 0x44cb3c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], 0
je 0x44cb0f
push 0x44cdbc
lea eax, [ebp - 0x64]
mov edx, dword [0x4b8ed0]
mov ecx, 0
call fcn.004073f4
push dword [ebp - 0x64]
push 0x44ce08
push 0x44cd50
push 0x44cd50
push 0x44ce18
push 0x44cd50
push 0x44cd50
push 0x44ce54
lea eax, [ebp - 0x68]
mov edx, dword [0x4b8ed0]
mov ecx, 0
call fcn.004073f4
push dword [ebp - 0x68]
push 0x44cd50
push 0x44ce64
push 0x44cd50
push 0x44cea0
push 0x44cd50
push 0x44cd50
mov eax, dword [ebp + 8]
push dword [eax + 0x30]
push 0x44cd50
lea eax, [ebp - 0x60]
mov edx, 0x12
call fcn.004075b4
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0xc]
call fcn.0044b91c
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
test bl, bl
je 0x44caca
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
call fcn.00408a58
mov esi, eax
test esi, esi
jl 0x44caca
inc esi
xor edi, edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + edi*4]
call fcn.004076c4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44cac6
push ebp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + edi*4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax + edi*4]
mov eax, dword [ebp - 0xc]
call fcn.0044c248
pop ecx
test al, al
jne 0x44cac6
xor ebx, ebx
jmp 0x44caca
inc edi
dec esi
jne 0x44ca7f
test bl, bl
je 0x44cb3c
push 0x44ce54
lea eax, [ebp - 0x70]
mov edx, dword [0x4b8ed0]
mov ecx, 0
call fcn.004073f4
push dword [ebp - 0x70]
push 0x44ce54
push 0x44cd50
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.004075b4
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0xc]
call fcn.0044b91c
mov ebx, eax
jmp 0x44cb3c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
lea eax, [ebp - 0x74]
mov edx, 0x44cd50
call fcn.00407530
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0xc]
call fcn.0044b91c
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push 0
mov ecx, 0x44cc20
mov edx, 0x44cecc
mov eax, dword [ebp - 0xc]
call fcn.0044c19c
and bl, al
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
jmp 0x44cb77
push 0
mov ecx, 0x44cc20
mov edx, 0x44cedc
mov eax, dword [ebp - 0xc]
call fcn.0044c19c
mov ebx, eax
push 0
mov ecx, 0x44cef0
mov edx, 0x44cf00
mov eax, dword [ebp - 0xc]
call fcn.0044c19c
and bl, al
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_closesocket
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cbe7
lea eax, [ebp - 0x74]
mov edx, 0xc
call fcn.00406e54
lea eax, [ebp - 0x44]
call fcn.00406de8
lea eax, [ebp - 0x40]
mov edx, 0xc
call fcn.00406e54
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406e54
ret