Function at 0x5d7e30
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x617281
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x7f206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x1f0]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push ecx
mov ecx, eax
call fcn.005f5890
mov ecx, 0x5c
push dword [eax]
call fcn.0041c820
mov ecx, eax
add esp, 4
shr ecx, 0x1f
or ebx, 0xffffffff
xor cl, 1
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x5d7eac
mov eax, ebx
lock xadd dword [ecx], eax
test eax, eax
jne 0x5d7eac
push ecx
call fcn.004a8172
add esp, 4
cmp byte [ebp - 0x10], 0
je 0x5d8050
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x1f0]
call fcn.005f5890
push ecx
mov edx, esp
mov dword [ebp - 4], 0
mov eax, dword [eax]
lea ecx, [edi + 0xac]
mov dword [edx], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00527e80
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x5d7f03
mov eax, ebx
lock xadd dword [ecx], eax
test eax, eax
jne 0x5d7f03
push ecx
call fcn.004a8172
add esp, 4
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00418480
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov byte [ebp - 4], 2
test al, 0x10
je 0x5d7f8e
cmp eax, 0xffffffff
je 0x5d7f8e
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.005d8e20
lea ecx, [edi + 0xb0]
call fcn.00403a20
cmp dword [edi + 0xb4], 0
je 0x5d7f5e
push dword [edi + 0xb0]
call fcn.004c2bdc
add esp, 4
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
test dword [edi + 0xa8], 0x100
jne 0x5d804b
mov dword [ebp - 0x14], 0x7a135c
mov byte [ebp - 4], 4
lea ecx, [edi + 0x1f0]
jmp 0x5d801f
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00523ef0
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.005d8e20
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x5d7fcb
mov eax, ebx
lock xadd dword [ecx], eax
test eax, eax
jne 0x5d7fcb
push ecx
call fcn.004a8172
add esp, 4
add edi, 0xb0
mov ecx, edi
call fcn.00403a20
cmp dword [edi + 4], 0
je 0x5d7fee
push dword [edi]
call fcn.004c2bdc
add esp, 4
mov dword [edi], 0
lea eax, [ebp - 0x10]
mov dword [edi + 4], 0
push eax
mov ecx, edi
call fcn.00493bc0
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00518740
inc eax
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00526f80
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.0059af30
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x5d804b
mov eax, ebx
lock xadd dword [ecx], eax
test eax, eax
jne 0x5d804b
push ecx
call fcn.004a8172
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x5d8079
mov eax, dword [edi + 0x88]
mov ecx, edi
push 0
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x20]
push eax
call fcn.005d94f0
push eax
lea ecx, [edi + 0x88]
mov dword [ebp - 4], 7
call esi
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
cmp eax, 0x7a1354
je 0x5d8094
lock xadd dword [eax], ebx
test ebx, ebx
jne 0x5d8094
push eax
call fcn.004a8172
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret