Function at 0x1009cdd0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x10170fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101f1dd0]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101f1dd0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
push 0
push eax
lea eax, [esp + 0x54]
push eax
mov ebp, ecx
call fcn.1009c660
mov eax, dword [esp + 0x50]
mov edi, 0x10
cmp dword [esp + 0x64], edi
mov dword [esp + 0x74], 0
jae 0x1009ce37
lea eax, [esp + 0x50]
push eax
call fcn.1009e990
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1009ce60
cmp dword [esp + 0x64], edi
jb 0x1009ce59
mov ecx, dword [esp + 0x50]
push ecx
call fcn.10052b17
add esp, 4
xor eax, eax
jmp 0x1009cfe5
push ebx
lea edx, [esp + 0x28]
push 0x1009e9b0
push edx
call fcn.1009c4e0
lea eax, [esp + 0x20]
push eax
push ebx
mov byte [esp + 0x88], 1
call fcn.1009d890
add esp, 0x14
test eax, eax
je 0x1009ceb1
lea ecx, [esp + 0x24]
push ecx
call fcn.1009c450
add esp, 4
cmp dword [esp + 0x64], edi
jb 0x1009ce59
mov edx, dword [esp + 0x50]
push edx
call fcn.10052b17
add esp, 4
xor eax, eax
jmp 0x1009cfe5
xor edi, edi
push 0xffffffffffffffff
push edi
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], edi
mov word [esp + 0x40], di
call fcn.10001d60
cmp dword [esi + 0x18], 8
mov byte [esp + 0x74], 2
jb 0x1009cee1
mov esi, dword [esi + 4]
jmp 0x1009cee4
add esi, 4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x1009cf24
lea esi, [eax - 1]
cmp esi, eax
jbe 0x1009cf00
call fcn.100763b0
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x1009cf0f
lea eax, [esp + 0x34]
cmp word [eax + esi*2], 0x5c
je 0x1009cf24
push 0x101d87cc
lea ecx, [esp + 0x34]
call fcn.10003540
cmp dword [esp + 0x18], 0
jb 0x1009cf98
ja 0x1009cf34
cmp dword [esp + 0x14], 0
jbe 0x1009cf98
mov eax, dword [esp + 0x34]
mov esi, 8
cmp dword [esp + 0x48], esi
jae 0x1009cf47
lea eax, [esp + 0x34]
push eax
push ebx
mov ecx, ebp
call fcn.1009c7c0
test eax, eax
je 0x1009d006
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add esi, 0xffffffff
mov eax, edi
cdq
adc ecx, 0xffffffff
cmp edx, ecx
ja 0x1009cf84
jb 0x1009cf73
cmp eax, esi
jae 0x1009cf84
push ebx
call fcn.1009df10
add esp, 4
test eax, eax
jne 0x1009d043
add edi, 1
mov eax, edi
cdq
cmp edx, dword [esp + 0x18]
jb 0x1009cf34
ja 0x1009cf98
cmp eax, dword [esp + 0x14]
jb 0x1009cf34
cmp dword [esp + 0x48], 8
jb 0x1009cfac
mov eax, dword [esp + 0x34]
push eax
call fcn.10052b17
add esp, 4
xor eax, eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
call fcn.1009c450
add esp, 4
cmp dword [esp + 0x64], 0x10
jb 0x1009cfe0
mov edx, dword [esp + 0x50]
push edx
call fcn.10052b17
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10075e13
add esp, 0x64
ret 8
cmp dword [esp + 0x48], esi
jb 0x1009d019
mov eax, dword [esp + 0x34]
push eax
call fcn.10052b17
add esp, 4
xor eax, eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
call fcn.1009c450
add esp, 4
cmp dword [esp + 0x64], 0x10
jmp 0x1009ce9b
cmp dword [esp + 0x48], 8
jmp 0x1009d00a