Function at 0x11667c0
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.0114f5b0
mov ecx, dword [esi + 4]
push ecx
call fcn.01165cc0
mov edx, dword [esi]
push 1
push 0x1057150
push edi
push 0x8020
push 0x10021bc
push edx
call fcn.01129ed0
mov ecx, dword [esi]
mov ebx, dword [ebp + 0xc]
mov dword [ecx + 0x3598], eax
mov edx, dword [esi]
cmp dword [edx + 0x3598], edi
je 0x1166aa5
push esi
call fcn.010fd610
test eax, eax
je 0x1166aa5
mov eax, dword [esi]
mov ecx, dword [eax + 0x35b0]
push ecx
push esi
call fcn.0109f500
mov eax, dword [esi]
mov edx, dword [eax + 0x35b0]
push edx
push eax
call fcn.010dba60
mov eax, dword [esi]
mov dword [eax + 0x13324], 1
mov edx, dword [esi]
mov ecx, dword [ebx + 0x5c]
mov eax, dword [edx + 0x35b0]
push 1
push ecx
mov ecx, dword [ebx + 0x45c]
add eax, 0x70
push eax
push ecx
call fcn.0103f880
cmp dword [ebx + 0x5c], edi
je 0x1166887
mov edx, dword [esi]
push edi
push 0x101bc24
push edx
call fcn.01109d20
mov ecx, dword [ebx + 0x474]
mov eax, dword [ebx + 0x45c]
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.011621b0
test eax, eax
jne 0x1166ae6
cmp dword [ebp + 8], 5
jne 0x1166ae6
cmp dword [ebx + 0x438], edi
jne 0x1166aa5
mov eax, dword [esi]
mov edx, dword [eax + 0x35b0]
cmp dword [edx + 0x924], edi
je 0x1166aa5
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.010f0340
mov dword [ebp - 8], eax
cmp eax, edi
je 0x1166aa5
cmp dword [ebp + 0xc], edi
je 0x1166aa5
push 0x20a
lea eax, [ebp - 0x218]
push edi
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x2ac]
add esp, 0xc
call edx
push eax
push 0x101f330
lea eax, [ebp - 0x218]
push 0x3f
push eax
call fcn.0102d9e0
mov eax, dword [esi]
add eax, 0x3c86
add esp, 0x10
cmp byte [eax], 0
je 0x1166983
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov edx, dword [esi]
lea ecx, [ebp - 0x218]
push ecx
push 0x100c124
add edx, 0x3c86
push edx
call fcn.01085230
mov edi, eax
jmp 0x1166a3b
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x2a8]
lea ecx, [ebp - 0x424]
push ecx
push 0x103
call edx
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], di
je 0x11669b8
lea esp, [esp]
add eax, 2
cmp word [eax], di
jne 0x11669b0
lea ecx, [ebp - 0x218]
sub eax, ecx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x424]
cmp word [ebp - 0x424], di
je 0x11669db
add eax, 2
cmp word [eax], di
jne 0x11669d3
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 0x1166ada
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 0x1166a38
push edi
lea ecx, [ebp - 0x424]
push ecx
push eax
call fcn.0102ad70
mov edx, dword [ebp + 8]
add edi, edx
je 0x1166a38
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x218]
push ecx
push edi
call fcn.0102ad70
mov edi, dword [ebp + 8]
test edi, edi
je 0x1166a96
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.01109970
test eax, eax
je 0x1166a90
mov edx, dword [esi]
push 0x100d178
push edi
push edx
call fcn.010bdf40
test eax, eax
je 0x1166a90
mov eax, dword [ebx + 0x45c]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebx + 0xc]
push edi
push ecx
push edx
push 0
push 0x10105f8
push 0x1015b3c
push esi
call fcn.01128890
mov dword [ebp - 4], 1
push edi
call fcn.0102add0
mov eax, dword [ebp + 0xc]
push eax
call fcn.0102add0
cmp dword [ebp - 4], 0
jne 0x1166acc
mov eax, dword [ebx + 0x45c]
mov ecx, dword [eax + 0x10]
lea edx, [esi + 0x272]
push edx
mov edx, dword [ebx + 0xc]
push ecx
push edx
push 0
push 0x10105f8
push 0x1015b3c
push esi
call fcn.01128890
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp + 8], 0
jmp 0x1166a38
mov esi, dword [esi]
mov ecx, dword [esi + 0x3598]
push edi
push ecx
push esi
call fcn.01119c30
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8