Function at 0x527c40
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e7bf
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
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 esi, ecx
mov dword [ebp - 0x24], 0
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00418480
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], 0xffffffff
test al, 0x10
je 0x527cb7
cmp eax, 0xffffffff
je 0x527cb7
mov eax, dword [ebp + 8]
mov dword [eax], 0x7a135c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00523ef0
mov dword [ebp - 4], 1
mov ecx, dword [esi]
mov eax, dword [ebp - 0x14]
cmp eax, ecx
je 0x527e04
push ecx
push eax
call fcn.0041c700
add esp, 8
test eax, eax
je 0x527e04
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.00527c40
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
jne 0x527df3
push 0x79cfc0
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.00516e00
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00418480
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x527d47
mov dword [ebp - 0x18], 0x7a135c
lea eax, [ebp - 0x18]
mov esi, 0x7a135c
lea ebx, [edi + 3]
jmp 0x527d56
lea ecx, [ebp - 0x1c]
call fcn.00502140
mov ebx, 4
mov esi, dword [eax]
or ebx, 8
mov dword [eax], 0x7a135c
test bl, 4
je 0x527d88
mov ecx, dword [ebp - 0x1c]
and ebx, 0xfffffffb
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x527d88
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x527d88
push ecx
call fcn.004a8172
add esp, 4
test bl, 2
je 0x527dae
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x527dae
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x527dae
push ecx
call fcn.004a8172
add esp, 4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff8
mov dword [ebp - 0x10], esi
cmp ecx, 0x7a1354
je 0x527dd2
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x527dd2
push ecx
call fcn.004a8172
add esp, 4
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x527df3
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x527df3
push ecx
call fcn.004a8172
add esp, 4
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0x7a135c
mov dword [esi], eax
jmp 0x527e45
push str.Cannot_create_parent_directory
lea ecx, [ebp - 0x18]
call fcn.0041d340
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x18]
add esp, 4
mov ecx, esi
call fcn.0051ea10
mov ecx, dword [ebp - 0x18]
or edi, 0xffffffff
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x527e45
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x527e45
push ecx
call fcn.004a8172
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff8
cmp eax, 0x7a1354
je 0x527e63
lock xadd dword [eax], edi
test edi, edi
jne 0x527e63
push eax
call fcn.004a8172
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4