Function at 0x57dc90
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x691bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x780784]
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.0057e1d0
add esp, 4
test al, al
je 0x57de84
lea eax, [ebp - 0x58]
push eax
call fcn.0057e2b0
add esp, 4
test al, al
je 0x57de84
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.0057dac0
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x64], edi
test edi, edi
je 0x57ddf0
lea eax, [ebp - 0x40]
push eax
call fcn.0057f210
add esp, 4
test al, al
je 0x57dda7
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 0x57de32
push 0
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.0046cf20
call fcn.0057dac0
mov esi, eax
add esp, 0x1c
mov dword [ebp - 0x60], esi
test esi, esi
je 0x57ddf0
lea eax, [ebp - 0x58]
push eax
call fcn.0057f210
add esp, 4
test al, al
je 0x57ddf0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00622af9
add esp, 4
test eax, eax
jne 0x57de32
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.00623364
add esp, 8
test eax, eax
jne 0x57de32
lea eax, [ebp - 0x40]
push eax
call fcn.0057f210
add esp, 4
test al, al
jne 0x57de32
mov bl, 1
jmp 0x57de34
xor bl, bl
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x57de6e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x57de64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57df44
push edx
push ecx
call fcn.0060c992
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x57de86
xor bl, bl
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x57deba
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x57deb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57df44
push edx
push ecx
call fcn.0060c992
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 0x57defc
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x57def2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57df44
push edx
push ecx
call fcn.0060c992
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 0x57df1f
push esi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x57df26
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.0060cdfa
mov esp, ebp
pop ebp
ret
call fcn.0061883f
int3