Function at 0x42df60
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4babe0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4fcc8c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcc8c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
xor edi, edi
cmp eax, edi
jne 0x42dfac
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x42e1b5
xor ecx, ecx
mov word [esp + 0x38], cx
mov ebp, 7
mov ecx, eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], edi
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x42dfc5
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x38]
call fcn.004012c0
mov dword [esp + 0x78], edi
mov esi, dword [esp + 0x48]
cmp esi, edi
je 0x42e1a1
push 0x4e6d3c
mov ebx, 1
xor eax, eax
lea edx, [esp + 0x38]
call fcn.00408290
cmp eax, 0xffffffff
je 0x42e1a1
xor edx, edx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], 0
mov word [esp + 0x54], dx
lea edi, [esi - 1]
mov byte [esp + 0x78], bl
cmp edi, esi
jbe 0x42e033
call fcn.004921da
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
mov ebp, 8
cmp dword [esp + 0x4c], ebp
jae 0x42e046
lea eax, [esp + 0x38]
cmp word [eax + edi*2], 0x5c
je 0x42e061
push 1
mov eax, 0x4e6d3c
lea ecx, [esp + 0x38]
call fcn.004017a0
mov esi, dword [esp + 0x48]
mov byte [esp + 0x17], 1
test esi, esi
je 0x42e15e
cmp byte [esp + 0x17], 0
je 0x42e15e
push 0x4e6d3c
mov ebx, 1
xor eax, eax
lea edx, [esp + 0x38]
call fcn.00408290
mov edi, eax
lea eax, [esp + 0x34]
lea ebx, [edi + 1]
push eax
mov ecx, ebx
xor edx, edx
lea esi, [esp + 0x1c]
call fcn.004075b0
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0x58]
mov byte [esp + 0x80], 2
call fcn.00401880
mov byte [esp + 0x78], 1
cmp dword [esp + 0x30], ebp
jb 0x42e0d4
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004913b3
add esp, 4
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x34]
sub ecx, edi
push edx
inc ecx
mov edx, ebx
lea esi, [esp + 0x1c]
call fcn.004075b0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 3
call fcn.00401370
mov byte [esp + 0x78], 1
cmp dword [esp + 0x30], ebp
jb 0x42e118
mov eax, dword [esp + 0x1c]
push eax
call fcn.004913b3
add esp, 4
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], ebp
jae 0x42e126
lea eax, [esp + 0x54]
push 0
push eax
call fcn.00491dcd
add esp, 8
test eax, eax
je 0x42e153
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], ebp
jae 0x42e143
lea eax, [esp + 0x54]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne byte [esp + 0x17]
cmp dword [esp + 0x48], 0
jne 0x42e06e
cmp dword [esp + 0x68], ebp
jb 0x42e171
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004913b3
add esp, 4
xor edx, edx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], dx
cmp dword [esp + 0x4c], ebp
jb 0x42e19b
mov eax, dword [esp + 0x38]
push eax
call fcn.004913b3
add esp, 4
mov al, byte [esp + 0x17]
jmp 0x42e1b7
cmp dword [esp + 0x4c], 8
jb 0x42e1b5
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004913b3
add esp, 4
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004913be
add esp, 0x68
ret