Function at 0x1000df04
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 [0x1005d014]
xor eax, ebp
mov dword [esp + 0x330], eax
lea edi, [esp + 0x14]
mov dword [edi], 0xffffffff
mov ecx, 0x10055f38
mov edx, 4
push 4
push edi
call fcn.1000d297
add esp, 8
xor ecx, ecx
test eax, eax
jne 0x1000df4a
mov ecx, dword [esp + 0x14]
mov dword [0x1005f954], ecx
test cl, 0x20
je 0x1000e169
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.10028220
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 0x1000dfdf
lea ebx, [esp + 0x14]
mov dword [ebx], esi
push ebx
push esi
push esi
push 0x1004b050
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x1000dfc6
xor eax, eax
push ebx
push eax
push eax
push 0x1004b060
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x1000e169
lea ecx, [esp + 8]
push dword [esp + 0x14]
call fcn.1000ef70
push dword [esp + 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1000e00f
push 0x208
push 0xff
push edi
call fcn.10028220
add esp, 0xc
push esi
push 0x1c
push edi
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1000e169
lea ecx, [esp + 8]
push edi
call fcn.1000ef70
lea esi, [esp + 8]
mov ecx, esi
push 0xa
push 0x10055f48
call fcn.100239c4
cmp byte [eax + 0xb], 0
jns 0x1000e029
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.100239c4
cmp byte [eax + 0xb], 0
jns 0x1000e049
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, esi
push 1
push 0x10055f70
call fcn.100239c4
mov ebx, dword [ebp + 8]
push ebx
call fcn.10036d35
add esp, 4
mov ecx, esi
push eax
push ebx
call fcn.100239c4
test byte [0x1005f955], 0x20
je 0x1000e0cc
lea esi, [esp + 8]
mov ecx, esi
push 1
push 0x10055f74
call fcn.100239c4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push edi
call fcn.10049e69
add esp, 8
movzx eax, byte [esp + 0x1f]
test al, al
jns 0x1000e0b0
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, esi
push eax
push edi
call fcn.100239c4
cmp byte [esp + 0x1f], 0
jns 0x1000e0cc
push dword [esp + 0x14]
call fcn.10024ac9
add esp, 4
lea esi, [esp + 8]
mov ecx, esi
push 4
push 0x10055f78
call fcn.100239c4
xor ebx, ebx
test byte [0x1005f955], 0x10
sete al
cmp dword [0x1005f8e0], 0
je 0x1000e109
mov eax, dword [0x1005f89c]
mov eax, dword [eax + 4]
lea ecx, [eax + 0x1005f89c]
mov eax, dword [ecx + 0x10]
or eax, 4
jmp 0x1000e150
mov byte [esp + 7], al
cmp byte [esp + 0x13], 0
jns 0x1000e118
mov esi, dword [esp + 8]
push 0x10055f82
push esi
call fcn.10034b53
add esp, 8
mov dword [0x1005f8e0], eax
test eax, eax
mov al, byte [esp + 7]
je 0x1000e0f3
mov bl, al
shl ebx, 5
or ebx, 0x10
mov dword [0x1005f8f8], ebx
mov ecx, 0x1005f89c
mov eax, dword [0x1005f89c]
add ecx, dword [eax + 4]
xor eax, eax
push eax
call fcn.1000f48c
cmp byte [esp + 0x13], 0
jns 0x1000e169
push dword [esp + 8]
call fcn.10024ac9
add esp, 4
mov ecx, dword [esp + 0x330]
xor ecx, ebp
call fcn.10025901
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret