Function at 0x429c40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3b0d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4e2054]
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.00409380
mov eax, dword [ebp - 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
je 0x429cfb
push eax
call edi
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x429d0c
push eax
call edi
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jle 0x429e17
mov edx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x14], eax
test edx, edx
je 0x429d55
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 0x429e0e
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 0x429f2d
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 0x429e14
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x429e0e
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x429db2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x429e17
push eax
call edi
mov dword [ebp - 0x3c], 0
jmp 0x429e17
push 0
push dword [ebp - 0x38]
push 1
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x429de2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x429e17
push eax
call edi
mov dword [ebp - 0x3c], 0
jmp 0x429e17
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x429e17
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 0x429e1b
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 0x429e65
nop dword [eax + eax]
test esi, esi
js 0x429f2d
cmp esi, dword [ebp - 0x54]
jge 0x429f2d
mov eax, dword [ebp - 0x58]
lea ecx, [eax + esi*8]
mov eax, dword [ecx]
test eax, eax
je 0x429e60
cmp byte [ecx + 4], 0
push eax
je 0x429e58
call edi
jmp 0x429e60
call fcn.0047cc05
add esp, 4
inc esi
cmp esi, ebx
jl 0x429e30
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x429e7c
push eax
call fcn.00486484
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 0x429ea1
push eax
call fcn.00486484
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 0x429eb9
push eax
call edi
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x429ec3
push eax
call edi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x429ede
push eax
call fcn.00486484
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 0x429f0a
push ecx
call fcn.00486484
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 1
push 0xc000008c
call fcn.00409100
int3