Function at 0x40726c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x429050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x9c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push 0x80
lea eax, [ebp - 0x88]
mov ebx, ecx
push edi
push eax
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], edi
call fcn.0041d8a0
add esp, 0xc
push dword [ebp + 0xc]
mov eax, ebx
push dword [ebp + 8]
call fcn.00407579
mov esi, eax
cmp esi, edi
jge 0x4072cf
push 0x403e14
jmp 0x40746e
cmp dword [ebx + 0x14], edi
jne 0x4074c1
xor ebx, ebx
push 0x14
inc ebx
push 8
mov dword [ebp - 0x9c], 0xc
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x94], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x98], eax
cmp eax, edi
jne 0x40731b
mov esi, 0x8007000e
push 0x403e44
jmp 0x40746e
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x407352
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, edi
jle 0x407341
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x407348
mov esi, 0x80004005
push 0x403e78
jmp 0x40746e
mov edi, 0x1f01ff
push edi
push 0x1a
lea esi, [ebp - 0x88]
call fcn.00407222
mov esi, eax
test esi, esi
jns 0x407375
push 0x403ea4
jmp 0x40746e
push edi
push 0x16
lea esi, [ebp - 0x68]
call fcn.00407222
mov esi, eax
test esi, esi
jns 0x407390
push 0x403ed4
jmp 0x40746e
mov edi, 0xa0000000
push edi
push ebx
lea esi, [ebp - 0x48]
call fcn.00407222
mov esi, eax
test esi, esi
jns 0x4073af
push 0x403efc
jmp 0x40746e
push edi
push 0x1b
lea esi, [ebp - 0x28]
call fcn.00407222
mov esi, eax
test esi, esi
jns 0x4073ca
push 0x403f24
jmp 0x40746e
lea eax, [ebp - 0x90]
push eax
push 0
lea eax, [ebp - 0x88]
push eax
push 4
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov ebx, 0xffff
mov edi, 0x80070000
test eax, eax
jle 0x4073f4
and eax, ebx
or eax, edi
mov esi, eax
test esi, esi
jns 0x407401
push 0x403f4c
jmp 0x40746e
push 0
push dword [ebp - 0x90]
push 1
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x40743b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40742d
and esi, ebx
or esi, edi
test esi, esi
js 0x407434
mov esi, 0x80004005
push 0x403f64
jmp 0x40746e
push 0
push dword [ebp - 0x6c]
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorOwner]
test eax, eax
jne 0x407478
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x407462
and esi, ebx
or esi, edi
test esi, esi
js 0x407469
mov esi, 0x80004005
push 0x403f8c
push esi
call fcn.00408ad3
pop ecx
pop ecx
jmp 0x4074f5
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x8c]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4074d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4074a4
and esi, ebx
or esi, edi
test esi, esi
js 0x4074ab
mov esi, 0x80004005
mov eax, dword [ebp - 0x8c]
push dword [eax + 8]
push 0x403fb4
push esi
call fcn.00408ad3
jmp 0x4074f2
push edi
push dword [ebx + 8]
call fcn.00409842
mov esi, eax
cmp esi, edi
jge 0x4074db
push dword [ebx + 8]
jmp 0x4074b4
mov ebx, dword [ebp - 0x8c]
push dword [ebx + 8]
call fcn.004081ec
push dword [ebx + 8]
push 0x403fe8
push 1
call fcn.00408a57
add esp, 0xc
cmp dword [ebp - 0x98], 0
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x40751e
push dword [ebp - 0x98]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
test eax, eax
jne 0x40751e
call fcn.00409f5c
cmp dword [ebp - 0x90], 0
je 0x407533
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ebx, [ebp - 0x6c]
mov dword [ebp - 0x8c], 4
mov eax, dword [ebx]
test eax, eax
je 0x40755b
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
test eax, eax
jne 0x40755b
call fcn.00409f5c
add ebx, 0x20
dec dword [ebp - 0x8c]
jne 0x407540
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418ef1
leave
ret 8