Function at 0x1008c840
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x100b30c8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x14], eax
xor esi, esi
mov al, 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], esi
call fcn.1008c2d0
mov dword [esp + 0x7c], esi
cmp dword [esp + 0x4c], esi
jne 0x1008c8c4
mov dword [ebp + 0x14], esi
push esi
mov dword [ebp + 0x18], 7
mov word [ebp + 4], si
push 0x100b6894
mov esi, ebp
call fcn.10002660
cmp dword [esp + 0x50], 8
jmp 0x1008cb69
lea edx, [esp + 0x38]
push edx
call fcn.1007fe50
add esp, 4
test al, al
mov edi, 8
jne 0x1008c914
cmp dword [esp + 0x50], edi
mov eax, dword [esp + 0x3c]
jae 0x1008c8e8
lea eax, [esp + 0x3c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1008c914
mov edx, 0x100b6894
mov eax, ebp
call fcn.1000b220
cmp dword [esp + 0x50], edi
jb 0x1008cb78
mov eax, dword [esp + 0x3c]
push eax
jmp 0x1008cb70
lea ecx, [esp + 0x38]
push ecx
mov ebx, str.Cache
lea esi, [esp + 0x58]
call fcn.10080b60
add esp, 4
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 1
call fcn.10002570
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x6c], edi
jb 0x1008c957
mov edx, dword [esp + 0x58]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x38]
push eax
call fcn.1007fe50
add esp, 4
test al, al
jne 0x1008c99c
cmp dword [esp + 0x50], edi
mov eax, dword [esp + 0x3c]
jae 0x1008c976
lea eax, [esp + 0x3c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1008c99c
mov edx, 0x100b6894
mov eax, ebp
call fcn.1000b220
lea ecx, [esp + 0x38]
call fcn.10002160
jmp 0x1008cb78
mov eax, dword [esp + 0x8c]
cmp eax, 0xffffffff
je 0x1008cb49
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
push eax
push 0x100b8114
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 2
call fcn.1007f4f0
lea ecx, [esp + 0x40]
push ecx
mov ebx, 0x100b705c
lea esi, [esp + 0x24]
call fcn.10080b60
add esp, 0xc
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 3
call fcn.10002570
mov bl, 2
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x30], edi
jb 0x1008ca18
mov edx, dword [esp + 0x1c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edi, [esp + 0x20]
call fcn.1000bfc0
add esp, 8
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 4
call fcn.10002570
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x30], 8
jb 0x1008ca5b
mov edx, dword [esp + 0x1c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x38]
push eax
call fcn.1007fe50
add esp, 4
test al, al
jne 0x1008ca9c
lea eax, [esp + 0x38]
call fcn.1007fbf0
test al, al
jne 0x1008ca9c
mov edx, 0x100b6894
mov eax, ebp
call fcn.1000b220
lea ecx, [esp + 0x54]
call fcn.10002160
lea ecx, [esp + 0x38]
call fcn.10002160
jmp 0x1008cb78
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x14], 0
je 0x1008cb36
lea ecx, [esp + 0x38]
push ecx
mov ebx, 0x100b705c
lea esi, [esp + 0x1c]
call fcn.10080b60
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 5
call fcn.10002570
mov bl, 2
mov ecx, esi
mov byte [esp + 0x7c], bl
call fcn.10002160
push edi
lea edx, [esp + 0x3c]
push edx
lea edi, [esp + 0x20]
call fcn.1000bfc0
add esp, 8
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 6
call fcn.10002570
mov ecx, edi
mov byte [esp + 0x7c], bl
call fcn.10002160
lea eax, [esp + 0x38]
push eax
call fcn.1007fe50
add esp, 4
test al, al
jne 0x1008cb36
lea eax, [esp + 0x38]
call fcn.1007fbf0
test al, al
je 0x1008ca79
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 0
call fcn.10002160
xor ebx, ebx
lea edi, [ebx + 8]
push 0xffffffffffffffff
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
push ebx
lea eax, [esp + 0x40]
mov ecx, ebp
mov word [ebp + 4], bx
call fcn.10002570
cmp dword [esp + 0x50], edi
jb 0x1008cb78
mov ecx, dword [esp + 0x3c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100a4489
add esp, 0x6c
ret