Function at 0x1140bf0
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2a4
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
cmp dword [esi + 0x25ab4], edi
jne 0x1140ef0
cmp dword [esi + 0x40b0], edi
jne 0x1140ef0
push ebx
lea ebx, [esi + 0x2b590]
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
cmp eax, 5
jge 0x1140efa
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x1140c4a
cmp dword [ebx], 3
jae 0x1140f05
mov dword [ebp + 8], 0
test edi, edi
je 0x1140c5e
mov dword [ebp + 8], 1
jmp 0x1140cb6
lea ebx, [esi + 0x24908]
push ebx
call fcn.0102d800
test eax, eax
je 0x1140cb6
mov eax, dword [esi + 0x240e4]
test eax, eax
je 0x1140cb0
cmp dword [eax + 0x58], 0
je 0x1140cb0
mov ecx, dword [eax + 0x88]
cmp dword [ecx + 0x20], 0x15
jne 0x1140ca8
cmp dword [ecx + 0x24], 0
jne 0x1140ca8
cmp dword [eax + 0xfc], 0
jne 0x1140ca8
push 1
push eax
mov dword [ebp + 8], 1
call fcn.010e4360
push 1
push esi
call fcn.010d7cb0
push ebx
call fcn.0102d7d0
xor eax, eax
cmp dword [esi + 0x240e4], eax
push 0
setne al
lea ecx, [ebp - 8]
lea edx, [esi + 0x2bd04]
push eax
push esi
push 0x106bc40
push 0
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [ecx]
lea eax, [esi + 0x2b598]
push eax
push edx
call fcn.010e7aa0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1140eb8
cmp dword [ebp - 8], 0
je 0x1140eb8
push 0x20a
lea eax, [ebp - 0x2a4]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x82
lea ecx, [ebp - 0x98]
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0x18
test edi, edi
je 0x1140d33
push 1
push esi
call fcn.0106bcc0
mov edx, dword [esi + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x2a0]
call ecx
push eax
push 0x101e090
lea edx, [ebp - 0x98]
push 0x3f
push edx
call fcn.0102aaf0
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x29c]
add esp, 0x10
lea edx, [ebp - 0x2a4]
push edx
push 0x103
call eax
push 0
lea ecx, [ebp - 0x2a4]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
cmp word [ebp - 0x98], 0
lea eax, [ebp - 0x98]
je 0x1140d9a
add eax, 2
cmp word [eax], 0
jne 0x1140d91
lea edx, [ebp - 0x98]
sub eax, edx
sar eax, 1
cmp word [ebp - 0x2a4], 0
mov ecx, eax
lea eax, [ebp - 0x2a4]
je 0x1140dbf
add eax, 2
cmp word [eax], 0
jne 0x1140db6
lea edx, [ebp - 0x2a4]
sub eax, edx
sar eax, 1
add eax, eax
add ecx, ecx
mov ebx, eax
lea eax, [ebx + ecx + 2]
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x1140eaf
inc eax
push eax
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edi, eax
test edi, edi
je 0x1140eaf
push ebx
lea eax, [ebp - 0x2a4]
push eax
push edi
call fcn.01028000
add ebx, edi
je 0x1140e1c
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x98]
push edx
push ebx
call fcn.01028000
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [esi + 8]
push 0
push eax
mov eax, dword [edx]
push ecx
push edi
push eax
call fcn.011007d0
test eax, eax
je 0x1140ea9
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1140e45
push 2
push esi
call fcn.0106bcc0
mov ecx, dword [esi + 8]
push 1
push 9
push ecx
mov dword [ebp + 0xc], 0
call fcn.010d7570
mov ecx, dword [esi + 8]
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp + 0xc]
push eax
push edi
push ecx
call fcn.010f0d60
test eax, eax
je 0x1140e8a
cmp dword [ebp + 0xc], 0
je 0x1140e8a
test ebx, ebx
je 0x1140e81
push 3
push esi
call fcn.0106bcc0
mov dword [ebp - 4], 1
jmp 0x1140ea9
cmp dword [ebp - 0xc], 0
jne 0x1140ea9
mov edx, dword [esi + 8]
push edi
push edx
call fcn.0113e0d0
mov dword [ebp - 4], eax
test ebx, ebx
je 0x1140ea9
push 3
push esi
call fcn.0106bcc0
push edi
call fcn.01047230
mov eax, dword [ebp - 8]
push eax
call fcn.01047230
cmp dword [ebp + 8], 0
je 0x1140f05
mov eax, dword [esi + 0x240e4]
test eax, eax
je 0x1140ed4
mov ecx, dword [eax + 0xf0]
push ecx
call fcn.0109eac0
cmp dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
je 0x1140f08
pop ebx
pop edi
mov dword [esi + 0x25ab4], 1
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8