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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x80
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x776b80
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
xor esi, esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x3c], edi
cmp esi, 4
ja 0x775e4a
nop word [eax + eax]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x775c1a
mov eax, dword [edi]
mov dword [ebp - 0x10], 0xffffffff
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x775ed9
mov dword [ebp - 0x48], eax
and eax, 0x410
cmp eax, 0x10
jne 0x775e6d
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x38]
push eax
push 0
push 0x10
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0077a3b0
add esp, 0x14
mov eax, dword [ebp - 0x30]
test al, 1
je 0x775c82
cmp eax, 1
jne 0x775dc0
cmp dword [ebp - 0x38], 0
jne 0x775dc0
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
mov ebx, dword [ebp - 0x2c]
je 0x775d50
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x775cb1
mov esi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
cmp ecx, esi
mov eax, dword [ebp - 0x20]
je 0x775d5d
test ecx, ecx
je 0x775cbb
cmp dword [ecx + 0x34], 0
jne 0x775cc7
xor edi, edi
test esi, esi
je 0x775d3f
cmp dword [esi + 0x34], 0
je 0x775d3f
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
add ecx, 0xc
mov dword [ebp - 0x10], 1
mov edx, ebx
call fcn.00775bb0
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
adc edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x775d04
mov eax, dword [ebx + 8]
test al, 1
je 0x775d04
mov edi, 1
cmp eax, 1
jne 0x775d3c
cmp dword [ebx], 0
jne 0x775d3c
push ebx
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x24], edx
call fcn.0077b940
mov edx, dword [ebp - 0x24]
add esp, 8
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x775ca0
mov eax, dword [ebx + 8]
test al, 1
je 0x775ca0
mov edi, 1
cmp eax, 1
jne 0x775d3c
cmp dword [ebx], 0
je 0x775ca0
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
test esi, esi
jne 0x775d63
jmp 0x775d80
mov dword [ebp - 0x20], 0
xor edx, edx
xor edi, edi
jmp 0x775d80
xor edi, edi
test esi, esi
je 0x775d80
lock dec dword [esi]
jne 0x775d80
mov ecx, esi
mov dword [ebp - 0x24], edx
call fcn.0077a2c0
push esi
call fcn.0077a290
mov edx, dword [ebp - 0x24]
add esp, 4
nop
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x775da2
lock dec dword [esi]
jne 0x775da2
mov ecx, esi
mov dword [ebp - 0x24], edx
call fcn.0077a2c0
push esi
call fcn.0077a290
mov edx, dword [ebp - 0x24]
add esp, 4
cmp edi, 4
jne 0x775e41
mov esi, dword [ebp - 0x4c]
inc esi
mov edi, dword [ebp - 0x3c]
cmp esi, 4
jbe 0x775c10
jmp 0x775e4a
mov dword [ebp - 0x44], 0x14
mov dword [ebp - 0x40], 0xa23f50
lea eax, [ebp - 0x44]
push eax
lea esi, [ebp - 0x38]
push esi
call fcn.00775fd0
add esp, 8
test al, al
mov ebx, dword [ebp - 0x2c]
jne 0x775e04
mov dword [ebp - 0x54], 0x72
mov dword [ebp - 0x50], 0xa23f50
lea eax, [ebp - 0x54]
push eax
push esi
call fcn.00775fd0
add esp, 8
test al, al
je 0x775e17
mov dword [ebp - 0x20], 0
mov edi, 4
xor edx, edx
jmp 0x775d80
test ebx, ebx
je 0x775f49
mov eax, dword [ebp - 0x30]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x38]
movsd qword [ebx], xmm0
mov dword [ebp - 0x20], 0
mov edi, 1
xor edx, edx
jmp 0x775d80
test edi, edi
mov edi, dword [ebp - 0x3c]
jne 0x775e61
jmp 0x775e76
test ebx, ebx
je 0x775f0a
mov eax, dword [ebp - 0x30]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x38]
movsd qword [ebx], xmm0
mov eax, 0xffffffff
mov edx, 0xffffffff
jmp 0x775eae
mov dword [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
mov edx, dword [ebp - 0x48]
push ebx
call fcn.007750f0
add esp, 4
mov ecx, eax
test ebx, ebx
je 0x775e9e
mov esi, ebx
mov ebx, dword [ebx + 8]
test bl, 1
jne 0x775ec3
movzx eax, cl
mov ecx, dword [ebp - 0x20]
add ecx, eax
mov edx, dword [ebp - 0x24]
adc edx, 0
mov eax, ecx
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0xffffffff
mov edx, 0xffffffff
cmp ebx, 1
jne 0x775eae
cmp dword [esi], 0
jne 0x775eae
jmp 0x775e9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, eax
call fcn.00773d70
mov ecx, eax
xor eax, eax
mov edx, 0
test cl, cl
jne 0x775eae
push 0x9a798c
push ebx
push edi
push esi
call fcn.0077d080
add esp, 0x10
jmp 0x775e61
mov dword [ebp - 0x10], 0xffffffff
sub esp, 0x14
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x10], eax
movsd xmm0, qword [ebp - 0x38]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], edi
mov dword [esp], 0x9a79aa
lea esi, [ebp - 0x8c]
mov ecx, esi
call fcn.0077c3e0
push 0x9fa754
push esi
call fcn.00901c9b
sub esp, 0x14
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x10], eax
movsd xmm0, qword [ebp - 0x38]
movsd qword [esp + 8], xmm0
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov dword [esp], 0x9a798c
lea ecx, [ebp - 0x70]
call fcn.0077c3e0
push 0x9fa754
lea eax, [ebp - 0x70]
push eax
call fcn.00901c9b
add esp, 8
nop word cs:[eax + eax]
push ebp
sub esp, 0x14
add ebp, 0xc
lea ecx, [ebp - 0x44]
call fcn.0074ae40
add esp, 0x14
pop ebp
ret