Function at 0x40738e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x42a050]
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.0041e230
add esp, 0xc
push dword [ebp + 0xc]
mov eax, ebx
push dword [ebp + 8]
call fcn.004076a0
mov esi, eax
cmp esi, edi
jge 0x4073f1
push 0x403fbc
jmp 0x407590
cmp dword [ebx + 0x14], edi
jne 0x4075e3
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 0x40743d
mov esi, 0x8007000e
push 0x403fec
jmp 0x407590
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x407474
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, edi
jle 0x407463
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x40746a
mov esi, 0x80004005
push 0x404020
jmp 0x407590
mov edi, 0x1f01ff
push edi
push 0x1a
lea esi, [ebp - 0x88]
call fcn.0040733f
mov esi, eax
test esi, esi
jns 0x407497
push 0x40404c
jmp 0x407590
push edi
push 0x16
lea esi, [ebp - 0x68]
call fcn.0040733f
mov esi, eax
test esi, esi
jns 0x4074b2
push 0x40407c
jmp 0x407590
mov edi, 0xa0000000
push edi
push ebx
lea esi, [ebp - 0x48]
call fcn.0040733f
mov esi, eax
test esi, esi
jns 0x4074d1
push 0x4040a4
jmp 0x407590
push edi
push 0x1b
lea esi, [ebp - 0x28]
call fcn.0040733f
mov esi, eax
test esi, esi
jns 0x4074ec
push 0x4040cc
jmp 0x407590
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 0x407516
and eax, ebx
or eax, edi
mov esi, eax
test esi, esi
jns 0x407523
push 0x4040f4
jmp 0x407590
push 0
push dword [ebp - 0x90]
push 1
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x40755d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40754f
and esi, ebx
or esi, edi
test esi, esi
js 0x407556
mov esi, 0x80004005
push 0x40410c
jmp 0x407590
push 0
push dword [ebp - 0x6c]
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorOwner]
test eax, eax
jne 0x40759a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x407584
and esi, ebx
or esi, edi
test esi, esi
js 0x40758b
mov esi, 0x80004005
push 0x404134
push esi
call fcn.00408c66
pop ecx
pop ecx
jmp 0x407617
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 0x4075f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4075c6
and esi, ebx
or esi, edi
test esi, esi
js 0x4075cd
mov esi, 0x80004005
mov eax, dword [ebp - 0x8c]
push dword [eax + 8]
push 0x40415c
push esi
call fcn.00408c66
jmp 0x407614
push edi
push dword [ebx + 8]
call fcn.004098c3
mov esi, eax
cmp esi, edi
jge 0x4075fd
push dword [ebx + 8]
jmp 0x4075d6
mov ebx, dword [ebp - 0x8c]
push dword [ebx + 8]
call fcn.00408340
push dword [ebx + 8]
push 0x404190
push 1
call fcn.00408be5
add esp, 0xc
cmp dword [ebp - 0x98], 0
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x407640
push dword [ebp - 0x98]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
test eax, eax
jne 0x407640
call fcn.0040a00f
cmp dword [ebp - 0x90], 0
je 0x407655
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 0x40767d
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
test eax, eax
jne 0x40767d
call fcn.0040a00f
add ebx, 0x20
dec dword [ebp - 0x8c]
jne 0x407662
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004195c9
leave
ret 8