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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491c2b
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
push ebx
push esi
push edi
mov eax, dword [0x4c143c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, eax
je 0x44c619
xor ecx, ecx
cmp cx, word [eax]
je 0x44c619
push eax
call edi
cmp eax, 0xffffffff
jne 0x44c63b
mov eax, dword [esi + 0x48]
test eax, eax
je 0x44c88e
xor ecx, ecx
cmp cx, word [eax]
je 0x44c88e
push eax
call edi
cmp eax, 0xffffffff
je 0x44c88e
cmp dword [esi + 0x48], 0
je 0x44c8a2
cmp dword [esi + 0x4c], 0
je 0x44c8a2
push 1
lea ecx, [ebp - 0x104]
call fcn.0044a1e0
mov edi, dword [esi + 0x4c]
mov dword [ebp - 4], 0
call fcn.00448270
mov ecx, eax
test ecx, ecx
je 0x44c8b9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
test edi, edi
je 0x44c6b4
test edi, 0xffff0000
jne 0x44c69e
movzx eax, di
lea ecx, [ebp - 0x10]
push eax
call fcn.00448510
jmp 0x44c6c0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c6a3
sub ecx, edx
sar ecx, 1
jmp 0x44c6b6
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.00448750
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x104]
call fcn.004888f0
mov edx, dword [ebp - 0x10]
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44c6f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
lea ecx, [ebp - 0x8c]
call fcn.0044a1e0
mov edi, dword [esi + 0x48]
mov byte [ebp - 4], 3
call fcn.00448270
mov ecx, eax
test ecx, ecx
je 0x44c8c3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
test edi, edi
je 0x44c756
test edi, 0xffff0000
jne 0x44c740
movzx eax, di
lea ecx, [ebp - 0x10]
push eax
call fcn.00448510
jmp 0x44c762
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c745
sub ecx, edx
sar ecx, 1
jmp 0x44c758
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.00448750
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x8c]
call fcn.004888f0
mov edx, dword [ebp - 0x10]
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x44c791
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push 1
push dword [0x4c1374]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0044b4e0
test al, al
je 0x44c7c1
xor eax, eax
cmp dword [ebp - 0x14], eax
setne al
mov dword [esi + 0x50], eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push 0x40000
push dword [0x4c1368]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0044b4e0
test al, al
je 0x44c7f3
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x14]
call dword [eax + 0x34]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push 3
push dword [0x4c1360]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0044b4e0
test al, al
je 0x44c822
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x14]
call dword [eax + 0x2c]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push 3
push dword [0x4c136c]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0044b4e0
test al, al
je 0x44c84d
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x40], eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push 0x10
push dword [0x4c1370]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0044b4e0
test al, al
je 0x44c878
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x44], eax
lea ecx, [ebp - 0x8c]
call fcn.0044a5a0
lea ecx, [ebp - 0x104]
call fcn.0044a5a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x57
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.0040b4a6
push 0x80004005
call fcn.0040b4a6
int3