Function at 0x100015b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c8
mov eax, dword [0x10030014]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov eax, ecx
lea esi, [ebp + 8]
push edi
mov ebx, edx
lea edi, [ebp - 0x6c4]
mov ecx, 0x9d
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx]
xor cl, cl
mov byte [ebp - 0x6c5], cl
test edx, edx
je 0x10001864
add eax, 0x11b
xor ecx, ecx
push eax
push dword [ebx + 4]
call fcn.10003590
add esp, 8
mov dword [ebx + 4], eax
test eax, eax
je 0x1000184d
push ecx
mov ecx, dword [ebx]
mov edx, 0x4e21
call fcn.10003170
add esp, 4
test eax, eax
je 0x1000184d
cmp dword [eax + 0xc], 4
jne 0x1000184d
lea eax, [ebp - 0x5c8]
mov ecx, ebx
push eax
call fcn.100031e0
add esp, 4
mov dword [ebx + 4], eax
test eax, eax
je 0x1000184d
push 0x104
lea eax, [ebp - 0x134]
push 0
push eax
call fcn.100140b0
add esp, 0xc
mov word [ebp - 0xc], 0
xorps xmm0, xmm0
mov byte [ebp - 0xa], 0
lea ecx, [ebp - 0x2c]
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
call fcn.10004f00
lea eax, [ebp - 0x134]
push eax
push 0
push 0
push 0x1a
push 0
call dword [0x100319b0]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x134]
push 0x1002c4c0
push eax
call esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x134]
push eax
call esi
push 0
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x1002c4c0
lea eax, [ebp - 0x134]
push eax
call esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x134]
push eax
call esi
xor eax, eax
cmp byte [ebp - 0x134], al
je 0x100016f0
inc eax
cmp byte [ebp + eax - 0x134], 0
jne 0x100016e5
push 0x104
lea ecx, [ebp - 0x444]
push ecx
push eax
lea eax, [ebp - 0x134]
push eax
push 0
push 0
call dword [0x10031a3c]
mov edi, dword [ebx + 4]
xor ecx, ecx
push ecx
cmp eax, 0x104
mov byte [ebp - 0x6c5], cl
push 0x80
cmovge eax, ecx
push 2
push ecx
push 1
mov word [ebp + eax*2 - 0x444], cx
mov eax, dword [ebx]
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x444]
push 0x40000000
push eax
call dword [0x10031a58]
mov esi, eax
cmp esi, 0xffffffff
je 0x100017af
mov eax, dword [ebp - 0x448]
test eax, eax
je 0x10001779
test edi, edi
je 0x10001779
push 0
lea ecx, [ebp - 0x448]
push ecx
push edi
push eax
push esi
call dword [0x10031988]
test eax, eax
je 0x10001780
mov byte [ebp - 0x6c5], 1
push esi
call dword [0x1003199c]
cmp byte [ebp - 0x6c5], 1
je 0x100017af
push 0x80
lea eax, [ebp - 0x444]
push eax
call dword [0x100319e4]
lea eax, [ebp - 0x444]
push eax
call dword [0x100319ec]
push 0x104
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.100140b0
add esp, 0xc
lea eax, [ebp - 0x4c6]
push eax
push str.SOFTWAREMicrosoft
lea eax, [ebp - 0x23c]
push eax
call dword [0x10031a9c]
mov esi, dword [ebx + 4]
lea eax, [ebp - 0x448]
mov edi, dword [ebx]
push 0
push eax
push 0
push 2
push 0
push 0
push 0
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x448], 0x80000001
push eax
push 0x80000001
call dword [0x100319f4]
test eax, eax
jne 0x1000183a
push esi
push edi
push 3
push eax
lea eax, [ebp - 0x4bc]
push eax
push dword [ebp - 0x448]
call dword [0x100319e8]
push dword [ebp - 0x448]
call dword [0x10031a40]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10011dc1
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x6c5]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10011dc1
mov esp, ebp
pop ebp
ret
mov al, cl
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011dc1
mov esp, ebp
pop ebp
ret