Function at 0x424510
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b2b0
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4964e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.004243f0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0xc0]
push 1
lea edi, [ebp - 0x40]
mov byte [ebp - 0xac], 0
cmovae edi, dword [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x4245c3
push 0
push 0
push 1
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x4245c3
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xcc], 0xc
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 0
mov byte [ebp - 0xac], 0
lea eax, [ebp - 0xcc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x424628
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa0], eax
mov ecx, 0x4874d0
cmp eax, dword [ecx]
je 0x4245fc
add ecx, 8
cmp ecx, 0x4875d0
jne 0x4245e6
mov eax, 1
jmp 0x4245ff
mov eax, dword [ecx + 4]
mov dword [ebp - 0x9c], eax
cmp eax, 9
je 0x424628
push ecx
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0041b570
push 0x493534
lea eax, [ebp - 0x6c]
push eax
call fcn.0044a4ab
mov ecx, esi
call fcn.004243f0
push 1
push 0x4869b8
mov ecx, esi
call fcn.00407c80
cmp dword [0x49ef80], 0
jne 0x42465a
cmp dword [0x49ef84], 0
jne 0x42465a
sub esp, 8
call fcn.00428e60
add esp, 8
push 0xffffffffffffffff
push 0
push dword [0x49ef80]
mov ecx, esi
call fcn.00407bc0
cmp dword [esi + 0x14], 0x10
jb 0x424675
mov edi, dword [esi]
jmp 0x424677
mov edi, esi
push 1
lea eax, [ebp - 0xe4]
mov byte [ebp - 0xd0], 0
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x4246cf
push 0
push 0
push 1
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x4246cf
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xf0], 0xc
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], 0
mov byte [ebp - 0xd0], 0
lea eax, [ebp - 0xf0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x42473a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa8], eax
mov ecx, 0x4874d0
cmp eax, dword [ecx]
je 0x424708
add ecx, 8
cmp ecx, 0x4875d0
jne 0x4246f2
mov eax, 1
jmp 0x42470b
mov eax, dword [ecx + 4]
mov dword [ebp - 0xa4], eax
cmp eax, 9
je 0x42473a
push ecx
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x98]
call fcn.0041b570
push 0x493534
lea eax, [ebp - 0x98]
push eax
call fcn.0044a4ab
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00407d70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x30]
inc eax
push eax
push 0
call fcn.00409170
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
push 0
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00423530
add esp, 4
cmp dword [ebp - 0x14], 0x10
jb 0x424795
push dword [ebp - 0x28]
call fcn.00447e2b
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x4247b8
push dword [ebp - 0x40]
call fcn.00447e2b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004472f1
mov esp, ebp
pop ebp
ret