Function at 0x57cc20
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6909c8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x77e784]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x64], edi
xor esi, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
call fcn.0057d160
add esp, 4
test al, al
je 0x57ce14
lea eax, [ebp - 0x58]
push eax
call fcn.0057d240
add esp, 4
test al, al
je 0x57ce14
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
lea ebx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x40]
add eax, edx
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x5c], eax
cmovae ebx, dword [ebp - 0x40]
xor ecx, ecx
sub eax, ebx
mov word [ebp - 0x28], cx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
call fcn.004717f0
push dword [ebp - 0x60]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x5c]
push ebx
call fcn.00473f70
push 1
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.0046cf20
call fcn.0057ca50
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x64], edi
test edi, edi
je 0x57cd80
lea eax, [ebp - 0x40]
push eax
call fcn.0057e170
add esp, 4
test al, al
je 0x57cd37
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x57cdc2
push 0
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.0046cf20
call fcn.0057ca50
mov esi, eax
add esp, 0x1c
mov dword [ebp - 0x60], esi
test esi, esi
je 0x57cd80
lea eax, [ebp - 0x58]
push eax
call fcn.0057e170
add esp, 4
test al, al
je 0x57cd80
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00621a39
add esp, 4
test eax, eax
jne 0x57cdc2
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 6
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.006222a4
add esp, 8
test eax, eax
jne 0x57cdc2
lea eax, [ebp - 0x40]
push eax
call fcn.0057e170
add esp, 4
test al, al
jne 0x57cdc2
mov bl, 1
jmp 0x57cdc4
xor bl, bl
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x57cdfe
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x57cdf4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57ced4
push edx
push ecx
call fcn.0060b8e2
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x57ce16
xor bl, bl
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x57ce4a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x57ce40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57ced4
push edx
push ecx
call fcn.0060b8e2
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x57ce8c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x57ce82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57ced4
push edx
push ecx
call fcn.0060b8e2
add esp, 8
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
test esi, esi
je 0x57ceaf
push esi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x57ceb6
push edi
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0060bd4a
mov esp, ebp
pop ebp
ret
call fcn.0061777f
int3