Function at 0x10005a00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008aa68
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100a5428]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov edi, edx
mov eax, 7
xor esi, esi
xor edx, edx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x10005a72
mov eax, dword [edi]
jmp 0x10005a74
mov eax, edi
push esi
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp eax, esi
je 0x10005af2
cmp eax, 0xb7
je 0x10005af2
cmp eax, 0x50
je 0x10005af2
cmp dword [edi + 0x14], 8
jb 0x10005a95
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_create_directoryPath_...Error_Code_is:__d_._At_desired_location:_s
call fcn.100028f0
mov ebx, str.Utilities
call fcn.10002fa0
mov edi, 8
add esp, 0xc
cmp dword [ebp - 0x18], edi
jb 0x10005aca
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10076031
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], edi
jb 0x10005aeb
mov eax, dword [ebp - 0x48]
push eax
call fcn.10076031
add esp, 4
xor al, al
jmp 0x10005cd5
cmp ebx, esi
je 0x10005b6f
mov eax, ebx
lea edx, [eax + 2]
jmp 0x10005b00
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x10005b00
sub eax, edx
sar eax, 1
je 0x10005b6f
push 0x100929f4
lea ecx, [ebp - 0x64]
push edi
push ecx
call fcn.10007280
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.10004070
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], 8
jb 0x10005b46
mov edx, dword [ebp - 0x64]
push edx
call fcn.10076031
add esp, 4
mov eax, ebx
lea edx, [eax + 2]
jmp 0x10005b50
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x10005b50
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [ebp - 0x2c]
call fcn.10006680
jmp 0x10005c45
lea ebx, [ebp - 0x48]
call fcn.10005890
test al, al
jne 0x10005bd4
push str.Failed_to_get_new_GUID_n
call fcn.100028f0
mov ebx, str.Utilities
call fcn.10002fd0
mov edi, 8
add esp, 4
cmp dword [ebp - 0x18], edi
jb 0x10005ba8
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10076031
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jb 0x10005aeb
mov edx, dword [ebp - 0x48]
push edx
call fcn.10076031
add esp, 4
xor al, al
jmp 0x10005cd5
push 0x100929f4
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.10007280
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x48]
lea edi, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.100073c0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.10004070
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x10005c1a
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.10076031
add esp, 4
xor edx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x6c], esi
jb 0x10005c43
mov eax, dword [ebp - 0x80]
push eax
call fcn.10076031
add esp, 4
xor esi, esi
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10005c51
lea eax, [ebp - 0x2c]
push eax
push str.File_being_created_is_:_ls_n
call fcn.100028f0
mov ebx, str.Utilities
call fcn.10002f40
mov edx, dword [ebp - 0x84]
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push ecx
push edx
call fcn.10005fa0
add esp, 0x10
test al, al
jne 0x10005c8a
push str.Failed_to_create_file_with_data_n
jmp 0x10005b80
mov ecx, dword [ebp - 0x88]
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.10001070
mov edi, 8
cmp dword [ebp - 0x18], edi
jb 0x10005cb2
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10076031
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], edi
jb 0x10005cd3
mov eax, dword [ebp - 0x48]
push eax
call fcn.10076031
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10075b7f
mov esp, ebp
pop ebp
ret