Function at 0x5d7b50
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x617236
mov eax, dword fs:[0]
push eax
sub esp, 0x30
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 ebx, ecx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebx + 0x1e0]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x1c], 0
lea ecx, [ecx + 0x118]
call fcn.0052dda0
or edi, 0xffffffff
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov dword [eax], 0x7a135c
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x5d7bc8
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x5d7bc8
push ecx
call fcn.004a8172
add esp, 4
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.00517190
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.005172b0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x5d7c0b
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x5d7c0b
push ecx
call fcn.004a8172
add esp, 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x5d7c30
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x5d7c30
push ecx
call fcn.004a8172
add esp, 4
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
je 0x5d7df8
lea ecx, [ebx + 0xd8]
call fcn.005f73d0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea esi, [eax - 1]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
mov eax, dword [ebx]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, ebx
call dword [eax + 0xb8]
push esi
lea ecx, [ebp - 0x30]
call fcn.00514a00
mov eax, dword [eax]
cmp byte [eax], 0
je 0x5d7ce2
push esi
lea ecx, [ebp - 0x30]
call fcn.00514a00
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.00524830
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 8
push eax
mov ecx, ebx
call fcn.005d8e20
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x5d7dd2
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x5d7dd2
push ecx
jmp 0x5d7dca
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00524830
nop dword [eax]
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x24]
call fcn.00418480
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov byte [ebp - 4], 9
test al, 0x10
je 0x5d7d18
cmp eax, 0xffffffff
jne 0x5d7da5
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00523ef0
mov esi, dword [ebp - 0x10]
cmp dword [eax], esi
jne 0x5d7d2f
xor ebx, ebx
jmp 0x5d7d3c
push esi
push dword [eax]
call fcn.0041c700
add esp, 8
mov ebx, eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x5d7d5d
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x5d7d5d
push ecx
call fcn.004a8172
add esp, 4
test ebx, ebx
je 0x5d7db4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00523ef0
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff8
mov dword [ebp - 0x10], edx
cmp ecx, 0x7a1354
je 0x5d7cf0
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x5d7cf0
push ecx
call fcn.004a8172
add esp, 4
jmp 0x5d7cf0
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
call fcn.005d8e20
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff8
cmp esi, 0x7a1354
je 0x5d7dd2
mov eax, edi
lock xadd dword [esi], eax
test eax, eax
jne 0x5d7dd2
push esi
call fcn.004a8172
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00403a20
push dword [ebp - 0x30]
call fcn.004c2bdc
add esp, 4
lea ecx, [ebp - 0x3c]
call fcn.00403a20
push dword [ebp - 0x3c]
call fcn.004c2bdc
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff8
cmp eax, 0x7a1354
je 0x5d7e16
lock xadd dword [eax], edi
test edi, edi
jne 0x5d7e16
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