Function at 0x419c00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c9b0
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x685680]
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.00419b20
cmp dword [ebp - 0x2c], 0x10
push 1
lea eax, [ebp - 0xc0]
lea edi, [ebp - 0x40]
cmovae edi, dword [ebp - 0x40]
push eax
mov byte [ebp - 0xac], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x419cb3
push 0
push 0
push 1
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x419cb3
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xcc], 0xc
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 0x419d18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa0], eax
mov ecx, 0x646bb8
cmp eax, dword [ecx]
je 0x419cec
add ecx, 8
cmp ecx, 0x646cb8
jne 0x419cd6
mov eax, 1
jmp 0x419cef
mov eax, dword [ecx + 4]
mov dword [ebp - 0x9c], eax
cmp eax, 9
je 0x419d18
push ecx
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004010f0
push 0x673774
lea eax, [ebp - 0x6c]
push eax
call fcn.005d3ef0
mov ecx, esi
call fcn.00419b20
push 1
push 0x650eb0
mov ecx, esi
call fcn.00403d30
cmp dword [0x690538], 0
jne 0x419d4a
cmp dword [0x69285c], 0
jne 0x419d4a
sub esp, 8
call fcn.0041b430
add esp, 8
push 0xffffffffffffffff
push 0
push dword [0x690538]
mov ecx, esi
call fcn.004039d0
cmp dword [esi + 0x14], 0x10
jb 0x419d65
mov edi, dword [esi]
jmp 0x419d67
mov edi, esi
push 1
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 0xd0], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x419dbf
push 0
push 0
push 1
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x419dbf
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xf0], 0xc
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 0x419e2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa8], eax
mov ecx, 0x646bb8
cmp eax, dword [ecx]
je 0x419df8
add ecx, 8
cmp ecx, 0x646cb8
jne 0x419de2
mov eax, 1
jmp 0x419dfb
mov eax, dword [ecx + 4]
mov dword [ebp - 0xa4], eax
cmp eax, 9
je 0x419e2a
push ecx
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x98]
call fcn.004010f0
push 0x673774
lea eax, [ebp - 0x98]
push eax
call fcn.005d3ef0
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.00403720
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
inc eax
push eax
push 0
lea ecx, [ebp - 0x28]
call fcn.00403680
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push 0
lea ecx, [ebp - 0x40]
call fcn.00419240
add esp, 4
cmp dword [ebp - 0x14], 0x10
jb 0x419e85
push dword [ebp - 0x28]
call fcn.004b9997
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x419ea8
push dword [ebp - 0x40]
call fcn.004b9997
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.005cd355
mov esp, ebp
pop ebp
ret