Function at 0x1000dc74
Capabilities:
Check os version
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x338
mov eax, dword [0x1005c010]
xor eax, ebp
mov dword [esp + 0x330], eax
lea edi, [esp + 0x14]
mov dword [edi], 0xffffffff
mov ecx, 0x10054eec
mov edx, 4
push 4
push edi
call fcn.1000cfc7
add esp, 8
xor ecx, ecx
test eax, eax
jne 0x1000dcba
mov ecx, dword [esp + 0x14]
mov dword [0x1005e8c4], ecx
test cl, 0x20
je 0x1000dedb
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp + 0x10], esi
lea ebx, [esp + 0x220]
push 0x110
push esi
push ebx
call fcn.10027f80
add esp, 0xc
mov dword [ebx - 4], 0x114
lea ebx, [esp + 0x21c]
push ebx
call dword [sym.imp.kernel32.dll_GetVersionExW]
cmp dword [ebx + 4], 6
jb 0x1000dd4f
lea ebx, [esp + 0x14]
mov dword [ebx], esi
push ebx
push esi
push esi
push 0x1004a050
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x1000dd36
xor eax, eax
push ebx
push eax
push eax
push 0x1004a060
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x1000dedb
lea ecx, [esp + 8]
push dword [esp + 0x14]
call fcn.1000ece0
push dword [esp + 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1000dd7f
push 0x208
push 0xff
push edi
call fcn.10027f80
add esp, 0xc
push esi
push 0x1c
push edi
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1000dedb
lea ecx, [esp + 8]
push edi
call fcn.1000ece0
lea esi, [esp + 8]
mov ecx, esi
push 0xa
push 0x10054efc
call fcn.1002372e
cmp byte [eax + 0xb], 0
jns 0x1000dd99
mov eax, dword [eax]
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
mov ecx, esi
push 8
push str.EdgeBho
call fcn.1002372e
cmp byte [eax + 0xb], 0
jns 0x1000ddb9
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
mov ecx, esi
push 1
push 0x10054eb2
call fcn.1002372e
mov eax, dword [ebp + 8]
mov ebx, eax
push eax
call fcn.10035a4c
add esp, 4
mov ecx, esi
push eax
push ebx
call fcn.1002372e
test byte [0x1005e8c5], 0x20
je 0x1000de3e
lea esi, [esp + 8]
mov ecx, esi
push 1
push 0x10054f24
call fcn.1002372e
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
push edi
call fcn.10049ba9
add esp, 8
movzx eax, byte [esp + 0x1f]
test al, al
jns 0x1000de22
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, esi
push eax
push edi
call fcn.1002372e
cmp byte [esp + 0x1f], 0
jns 0x1000de3e
push dword [esp + 0x14]
call fcn.10024829
add esp, 4
lea esi, [esp + 8]
mov ecx, esi
push 4
push 0x10054f28
call fcn.1002372e
xor ebx, ebx
test byte [0x1005e8c5], 0x10
sete al
cmp dword [0x1005e850], 0
je 0x1000de7b
mov eax, dword [0x1005e80c]
mov eax, dword [eax + 4]
lea ecx, [eax + 0x1005e80c]
mov eax, dword [ecx + 0x10]
or eax, 4
jmp 0x1000dec2
mov byte [esp + 7], al
cmp byte [esp + 0x13], 0
jns 0x1000de8a
mov esi, dword [esp + 8]
push 0x10054f32
push esi
call fcn.10035a4c
add esp, 8
mov dword [0x1005e850], eax
test eax, eax
mov al, byte [esp + 7]
je 0x1000de65
mov bl, al
shl ebx, 5
or ebx, 0x10
mov dword [0x1005e868], ebx
mov ecx, 0x1005e80c
mov eax, dword [0x1005e80c]
add ecx, dword [eax + 4]
xor eax, eax
push eax
call fcn.1000f1fc
cmp byte [esp + 0x13], 0
jns 0x1000dedb
push dword [esp + 8]
call fcn.10024829
add esp, 4
mov ecx, dword [esp + 0x330]
xor ecx, ebp
call fcn.10025727
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret