Function at 0x42a9d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a552d
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 0x42aa8b
push eax
call edi
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42aa9c
push eax
call edi
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jle 0x42aba7
mov edx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x14], eax
test edx, edx
je 0x42aae5
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 0x42ab9e
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 0x42acbd
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 0x42aba4
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x42ab9e
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x42ab42
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42aba7
push eax
call edi
mov dword [ebp - 0x3c], 0
jmp 0x42aba7
push 0
push dword [ebp - 0x38]
push 1
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x42ab72
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42aba7
push eax
call edi
mov dword [ebp - 0x3c], 0
jmp 0x42aba7
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42aba7
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 0x42abab
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 0x42abf5
nop dword [eax + eax]
test esi, esi
js 0x42acbd
cmp esi, dword [ebp - 0x54]
jge 0x42acbd
mov eax, dword [ebp - 0x58]
lea ecx, [eax + esi*8]
mov eax, dword [ecx]
test eax, eax
je 0x42abf0
cmp byte [ecx + 4], 0
push eax
je 0x42abe8
call edi
jmp 0x42abf0
call fcn.0047e31f
add esp, 4
inc esi
cmp esi, ebx
jl 0x42abc0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x42ac0c
push eax
call fcn.00487b94
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 0x42ac31
push eax
call fcn.00487b94
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 0x42ac49
push eax
call edi
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42ac53
push eax
call edi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x42ac6e
push eax
call fcn.00487b94
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 0x42ac9a
push ecx
call fcn.00487b94
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