Function at 0x42a970
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a54ad
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4e4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x58]
push 0
push 0x10000000
push str.Everyone
call fcn.00409420
mov eax, dword [ebp - 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
je 0x42aa2b
push eax
call edi
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42aa3c
push eax
call edi
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jle 0x42ab47
mov edx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x14], eax
test edx, edx
je 0x42aa85
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorDacl]
test eax, eax
je 0x42ab3e
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
cmove eax, ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
test ecx, ecx
jle 0x42ac5d
lea edx, [ebp - 0x38]
push edx
push eax
push dword [ebp - 0x4c]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x42ab44
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x42ab3e
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x42aae2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42ab47
push eax
call edi
mov dword [ebp - 0x3c], 0
jmp 0x42ab47
push 0
push dword [ebp - 0x38]
push 1
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x42ab12
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42ab47
push eax
call edi
mov dword [ebp - 0x3c], 0
jmp 0x42ab47
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42ab47
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push dword [esi]
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne byte [ebp - 0xd]
jmp 0x42ab4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 6
xor esi, esi
mov ebx, dword [ebp - 0x54]
test ebx, ebx
jle 0x42ab95
nop dword [eax + eax]
test esi, esi
js 0x42ac5d
cmp esi, dword [ebp - 0x54]
jge 0x42ac5d
mov eax, dword [ebp - 0x58]
lea ecx, [eax + esi*8]
mov eax, dword [ecx]
test eax, eax
je 0x42ab90
cmp byte [ecx + 4], 0
push eax
je 0x42ab88
call edi
jmp 0x42ab90
call fcn.0047e2af
add esp, 4
inc esi
cmp esi, ebx
jl 0x42ab60
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x42abac
push eax
call fcn.00487b24
add esp, 4
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
test eax, eax
je 0x42abd1
push eax
call fcn.00487b24
add esp, 4
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
test eax, eax
je 0x42abe9
push eax
call edi
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42abf3
push eax
call edi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x42ac0e
push eax
call fcn.00487b24
add esp, 4
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x42ac3a
push ecx
call fcn.00487b24
add esp, 4
mov dword [ebp - 0x58], 0
mov al, byte [ebp - 0xd]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8000000b
call fcn.004027c0
int3