Function at 0x1000eb70
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
push ebx
push esi
push edi
mov eax, dword [0x1002a17c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0x10038abc
call fcn.1001e830
add esp, 4
cmp eax, 5
jbe 0x1000eba4
xor eax, eax
jmp 0x1000eea0
mov dword [0x10038bc4], 0
push 0
push 5
push 0x10038abc
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x1000ebd8
push 0
push 0
push 0x10038abc
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x1000ec25
push 0x10029d48
push 0x10038abc
call fcn.1001e2a0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push str.DK__s.log
push 0x10038abc
call fcn.1001e830
add esp, 4
add eax, 0x10038abc
push eax
call fcn.1001e7d5
add esp, 0xc
push 0x1002a178
push 0x10038abc
call fcn.1001f262
add esp, 8
mov dword [ebp - 0x10], eax
jmp 0x1000ec2c
mov byte [0x10038abc], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 8], eax
jmp 0x1000ec4f
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
shr eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000ecae
cmp dword [ebp - 0x10], 0
jne 0x1000ecae
mov ecx, dword [ebp - 8]
and ecx, 1
test ecx, ecx
je 0x1000ecac
mov edx, dword [ebp - 4]
add edx, 0x41
mov byte [ebp - 0xc], dl
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x1000ecac
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xc]
push edx
push str._sDK__s.log
push 0x10038abc
call fcn.1001e7d5
add esp, 0x10
push 0x1002a178
push 0x10038abc
call fcn.1001f262
add esp, 8
mov dword [ebp - 0x10], eax
jmp 0x1000ec3e
cmp dword [ebp - 0x10], 0
je 0x1000ee97
mov eax, dword [ebp - 0x10]
push eax
call fcn.1001f90f
add esp, 4
mov dword [0x10038bc4], eax
mov ecx, dword [0x10038bc4]
sub ecx, 0x30
mov dword [0x10038bc4], ecx
cmp dword [0x10038bc4], 9
jbe 0x1000eceb
mov dword [0x10038bc4], 3
mov edx, dword [ebp - 0x10]
push edx
call fcn.1001f1b4
add esp, 4
call fcn.1000dd20
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x468]
sub eax, 1
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 7
ja case.default.0x1000ed24
mov ecx, dword [ebp - 0x468]
jmp dword [ecx*4 + 0x1000eea7]
push str.Windows_95
lea edx, [ebp - 0x454]
push edx
call fcn.1001e290
add esp, 8
jmp 0x1000edf8
push str.Windows_98
lea eax, [ebp - 0x454]
push eax
call fcn.1001e290
add esp, 8
jmp 0x1000edf8
push str.Windows_ME
lea ecx, [ebp - 0x454]
push ecx
call fcn.1001e290
add esp, 8
jmp 0x1000edf8
push str.Windows_NT
lea edx, [ebp - 0x454]
push edx
call fcn.1001e290
add esp, 8
jmp 0x1000edf8
push str.Windows_2000
lea eax, [ebp - 0x454]
push eax
call fcn.1001e290
add esp, 8
jmp 0x1000edf8
push str.Windows_XP
lea ecx, [ebp - 0x454]
push ecx
call fcn.1001e290
add esp, 8
jmp 0x1000edf8
push str.Windows_2003
lea edx, [ebp - 0x454]
push edx
call fcn.1001e290
add esp, 8
jmp 0x1000edf8
push str.Windows_Vista_code_name__Longhorn_
lea eax, [ebp - 0x454]
push eax
call fcn.1001e290
add esp, 8
jmp 0x1000edf8
push str.Unknown
lea ecx, [ebp - 0x454]
push ecx
call fcn.1001e290
add esp, 8
lea edx, [ebp - 0x464]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 0
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1000d580
add esp, 0x20
mov edx, dword [ebp - 0x464]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x462]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x45e]
and ecx, 0xffff
push ecx
lea edx, [ebp - 0x454]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x31c]
push edx
lea eax, [ebp - 0x114]
push eax
push str.Start_logfile__r_n___Product:__s__Ver:__s_r_n___Module:__s__Ver:__s_r_n___OS:__s_r_n___Date:__02d._02d._02d
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x2c
mov eax, 1
jmp 0x1000eea0
mov byte [0x10038abc], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret