Function at 0x1008d7bc
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x454
mov eax, 0x10117780
call fcn.1006051e
mov dword [ebp - 0x45c], edx
mov esi, ecx
mov dword [ebp - 0x450], esi
xor edi, edi
lea eax, [ebp - 0x218]
push 0x208
push edi
push eax
mov dword [ebp - 4], edi
call fcn.1003e610
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push 0x1a
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1008d822
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1008d839
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1008d839
push ecx
push 0x10133a0c
push ecx
mov edx, 0x104
lea ecx, [ebp - 0x218]
call fcn.10060ad8
xor ebx, ebx
inc ebx
cmp byte [0x10193a24], 0
jne 0x1008d858
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.1004d7c2
pop ecx
mov byte [0x10193a24], bl
push ecx
push 7
push str.cvxfdsfds43243
push 5
mov edx, str.RDLRP
lea ecx, [ebp - 0x438]
call fcn.1008d148
add esp, 0x10
mov byte [ebp - 4], bl
cmp dword [eax + 0x14], 8
jb 0x1008d880
mov eax, dword [eax]
push ecx
push ecx
mov edx, eax
lea ecx, [ebp - 0x44c]
call fcn.10010040
pop ecx
pop ecx
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 3
call fcn.100054c2
call fcn.100029f0
push eax
lea ecx, [ebp - 0x440]
call fcn.1000281b
mov byte [ebp - 4], 4
lea eax, [ebp - 0x218]
push dword [ebp - 0x44c]
push eax
lea eax, [ebp - 0x440]
push 0x10132adc
push eax
call fcn.10008c51
add esp, 0xc
lea ecx, [ebp - 0x438]
mov edx, str.T_MSQ
push 7
push str.cvxfdsfds43243
push 5
call fcn.1008d148
add esp, 0x10
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x1008d8fe
mov eax, dword [eax]
push ecx
push ecx
mov edx, eax
lea ecx, [ebp - 0x458]
call fcn.10010040
push str..exe
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x448]
call fcn.10001f50
add esp, 0xc
mov ecx, dword [ebp - 0x458]
lea ecx, [ecx - 0x10]
call fcn.10002a86
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 9
call fcn.100054c2
mov eax, dword [esi + 4]
sub eax, dword [esi]
push 0x14
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x444], edi
test eax, eax
je 0x1008db3a
mov eax, dword [ebp - 0x440]
mov edi, dword [ebp - 0x450]
add eax, 0xfffffff0
mov dword [ebp - 0x460], eax
xor ebx, ebx
push dword [ebp + 0xc]
push dword [ebp - 0x45c]
push ecx
mov ecx, dword [ebp - 0x448]
mov esi, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x450], esp
mov dword [ebp - 0x454], esi
call fcn.10001ef7
add eax, 0x10
mov dword [esi], eax
push ecx
mov ecx, dword [ebp - 0x460]
mov esi, esp
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x454], esi
call fcn.10001ef7
add eax, 0x10
lea edx, [ebp - 0x43c]
mov dword [esi], eax
mov ecx, dword [edi]
add ecx, ebx
mov byte [ebp - 4], 9
call fcn.1008db79
mov eax, dword [edi + 4]
add esp, 0x10
sub eax, dword [edi]
cdq
mov ecx, dword [ebp - 0x444]
push 0x14
pop esi
idiv esi
inc ecx
add ebx, esi
mov dword [ebp - 0x444], ecx
cmp ecx, eax
jb 0x1008d979
cmp dword [ebp - 0x43c], 0
mov edi, dword [ebp - 0x440]
push 1
pop ebx
je 0x1008db40
call fcn.100029f0
push eax
lea ecx, [ebp - 0x43c]
call fcn.1000281b
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x43c]
push dword [ebp - 0x448]
push edi
push 0x10132adc
push eax
call fcn.10008c51
lea ecx, [ebp - 0x43c]
call fcn.1006797f
mov esi, dword [ebp - 0x43c]
mov ecx, esi
mov edx, dword [ebp + 8]
push ebx
push 0
push ebx
push 5
call fcn.1006b518
add esp, 0x20
test eax, eax
je 0x1008da6a
call fcn.1008d18f
jmp 0x1008db20
lea ecx, [ebp - 0x43c]
call fcn.1006797f
call fcn.100029f0
push eax
lea ecx, [ebp - 0x444]
call fcn.1000281b
push 0x208
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0xc
push 0
push eax
call fcn.1003e610
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push dword [ebp - 0x448]
movzx eax, word [ebp - 0x420]
push eax
lea eax, [ebp - 0x444]
push str._c:_s
push eax
call fcn.10008c51
add esp, 0x10
lea ecx, [ebp - 0x444]
call fcn.1006797f
mov edi, dword [ebp - 0x444]
mov edx, edi
mov esi, dword [ebp - 0x43c]
mov ecx, esi
push 0
call fcn.100077cc
mov edx, dword [ebp + 8]
mov ecx, edi
push ebx
push 0
push ebx
push 5
call fcn.1006b518
add esp, 0x10
test eax, eax
je 0x1008db2a
call fcn.1008d18f
lea ecx, [edi - 0x10]
call fcn.10002a86
mov edi, dword [ebp - 0x440]
lea ecx, [esi - 0x10]
call fcn.10002a86
jmp 0x1008db42
lea ecx, [edi - 0x10]
call fcn.10002a86
lea ecx, [esi - 0x10]
call fcn.10002a86
mov edi, dword [ebp - 0x440]
xor ebx, ebx
mov ecx, dword [ebp - 0x448]
lea ecx, [ecx - 0x10]
call fcn.10002a86
lea ecx, [edi - 0x10]
call fcn.10002a86
mov ecx, dword [ebp - 0x44c]
add ecx, 0xfffffff0
call fcn.10002a86
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10002a86
mov eax, ebx
call fcn.100604c8
ret