Function at 0x1159b30
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
xor edi, edi
push edi
push edi
push 1
push eax
mov dword [ebp - 4], edi
call fcn.010e8ab0
mov ecx, dword [esi + 4]
push ecx
call fcn.01159060
mov edx, dword [esi]
push 1
push 0x1052190
push edi
push 0x8020
push 0x10022f0
push edx
call fcn.01124420
mov ecx, dword [esi]
mov ebx, dword [ebp + 0xc]
mov dword [ecx + 0x3538], eax
mov edx, dword [esi]
cmp dword [edx + 0x3538], edi
je 0x1159e15
push esi
call fcn.010f45a0
test eax, eax
je 0x1159e15
mov eax, dword [esi]
mov ecx, dword [eax + 0x3550]
push ecx
push esi
call fcn.01097d40
mov eax, dword [esi]
mov edx, dword [eax + 0x3550]
push edx
push eax
call fcn.010d3e60
mov eax, dword [esi]
mov dword [eax + 0x129d4], 1
mov edx, dword [esi]
mov ecx, dword [ebx + 0x60]
mov eax, dword [edx + 0x3550]
push 1
push ecx
mov ecx, dword [ebx + 0x460]
add eax, 0x70
push eax
push ecx
call fcn.0103c990
cmp dword [ebx + 0x60], edi
je 0x1159bf7
mov edx, dword [esi]
push edi
push 0x101aa1c
push edx
call fcn.01100a50
mov ecx, dword [ebx + 0x478]
mov eax, dword [ebx + 0x460]
mov edx, dword [eax + 0x10]
mov eax, dword [esi]
push ecx
push 1
push edi
push edi
lea ecx, [ebp + 8]
push ecx
push edx
mov edx, dword [eax]
mov dword [ebp + 8], 7
mov ecx, dword [edx + 4]
push ecx
push eax
call fcn.011555a0
test eax, eax
jne 0x1159e56
cmp dword [ebp + 8], 5
jne 0x1159e56
cmp dword [ebx + 0x43c], edi
jne 0x1159e15
mov eax, dword [esi]
mov edx, dword [eax + 0x3550]
cmp dword [edx + 0x924], edi
je 0x1159e15
push edi
push edi
push edi
push edi
mov ecx, edx
push edi
lea edx, [ebp + 0xc]
push edx
lea edx, [ecx + 0x7dc]
push edx
add ecx, 0x70
push ecx
push eax
call fcn.010e7aa0
mov dword [ebp - 8], eax
cmp eax, edi
je 0x1159e15
cmp dword [ebp + 0xc], edi
je 0x1159e15
push 0x20a
lea eax, [ebp - 0x218]
push edi
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x2a0]
add esp, 0xc
call edx
push eax
push 0x101e090
lea eax, [ebp - 0x218]
push 0x3f
push eax
call fcn.0102aaf0
mov eax, dword [esi]
add eax, 0x3c22
add esp, 0x10
cmp byte [eax], 0
je 0x1159cf3
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov edx, dword [esi]
lea ecx, [ebp - 0x218]
push ecx
push 0x100b744
add edx, 0x3c22
push edx
call fcn.0107e5b0
mov edi, eax
jmp 0x1159dab
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x29c]
lea ecx, [ebp - 0x424]
push ecx
push 0x103
call edx
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], di
je 0x1159d28
lea esp, [esp]
add eax, 2
cmp word [eax], di
jne 0x1159d20
lea ecx, [ebp - 0x218]
sub eax, ecx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x424]
cmp word [ebp - 0x424], di
je 0x1159d4b
add eax, 2
cmp word [eax], di
jne 0x1159d43
lea edx, [ebp - 0x424]
sub eax, edx
sar eax, 1
add eax, eax
add ecx, ecx
mov edi, eax
lea eax, [edi + ecx + 2]
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x1159e4a
inc eax
push eax
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov dword [ebp + 8], eax
test eax, eax
je 0x1159da8
push edi
lea ecx, [ebp - 0x424]
push ecx
push eax
call fcn.01028000
mov edx, dword [ebp + 8]
add edi, edx
je 0x1159da8
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x218]
push ecx
push edi
call fcn.01028000
mov edi, dword [ebp + 8]
test edi, edi
je 0x1159e06
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi]
push 0
push edx
push eax
push edi
push ecx
call fcn.011007d0
test eax, eax
je 0x1159e00
mov edx, dword [esi]
push 0x100c758
push edi
push edx
call fcn.010b6110
test eax, eax
je 0x1159e00
mov eax, dword [ebx + 0x460]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebx + 0xc]
push edi
push ecx
push edx
push 0
push 0x100fa18
push 0x1014d6c
push esi
call fcn.01123090
mov dword [ebp - 4], 1
push edi
call fcn.01047230
mov eax, dword [ebp + 0xc]
push eax
call fcn.01047230
cmp dword [ebp - 4], 0
jne 0x1159e3c
mov eax, dword [ebx + 0x460]
mov ecx, dword [eax + 0x10]
lea edx, [esi + 0x272]
push edx
mov edx, dword [ebx + 0xc]
push ecx
push edx
push 0
push 0x100fa18
push 0x1014d6c
push esi
call fcn.01123090
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp + 8], 0
jmp 0x1159da8
mov esi, dword [esi]
mov ecx, dword [esi + 0x3538]
push edi
push ecx
push esi
call fcn.01113f20
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8