Function at 0x428c70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478ffd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4a6024]
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
push 0
push ecx
push str.Everyone
lea ecx, [ebp - 0x58]
call fcn.004218a0
mov eax, dword [ebp - 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
je 0x428d27
push eax
call edi
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x428d38
push eax
call edi
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jle 0x428e43
mov edx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x14], eax
test edx, edx
je 0x428d81
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 0x428e3a
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 0x428f54
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 0x428e40
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x428e3a
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x428dde
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x428e43
push eax
call edi
mov dword [ebp - 0x3c], 0
jmp 0x428e43
push 0
push dword [ebp - 0x38]
push 1
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x428e0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x428e43
push eax
call edi
mov dword [ebp - 0x3c], 0
jmp 0x428e43
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x428e43
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 0x428e47
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 0x428e8c
test esi, esi
js 0x428f54
cmp esi, dword [ebp - 0x54]
jge 0x428f54
mov eax, dword [ebp - 0x58]
lea ecx, [eax + esi*8]
mov eax, dword [ecx]
test eax, eax
je 0x428e87
cmp byte [ecx + 4], 0
push eax
je 0x428e7f
call edi
jmp 0x428e87
call fcn.00452f38
add esp, 4
inc esi
cmp esi, ebx
jl 0x428e57
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x428ea3
push eax
call fcn.0045d2c8
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 0x428ec8
push eax
call fcn.0045d2c8
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 0x428ee0
push eax
call edi
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x428eea
push eax
call edi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x428f05
push eax
call fcn.0045d2c8
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 0x428f31
push ecx
call fcn.0045d2c8
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.004134e0
int3