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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10004118
push 0x10003a40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
mov eax, dword [0x10005080]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ebx, ecx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x1b4], ebx
push 0x104
lea edx, [ebp - 0x13c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov al, byte [ebp - 0x13c]
test al, al
je 0x100014a0
lea eax, [ebp - 0x13c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001470
sub eax, edx
cmp byte [ebp + eax - 0x13d], 0x5c
jne 0x100014a0
lea eax, [ebp - 0x13c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001490
sub eax, edx
mov byte [ebp + eax - 0x13d], cl
lea ecx, [ebp - 0x13c]
call fcn.10001340
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1c0], edx
xor edx, eax
mov dword [ebx], edx
mov byte [ebp - 0x139], 0
lea esi, [ebx + 4]
push 0
push 0
push 0
push 0
push esi
push 0
push 0
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x100014e9
mov dword [esi], 0xffffffff
mov dword [ebp - 0x1b0], 0xe7
mov dword [ebp - 0x1ac], 0x9e
mov dword [ebp - 0x1a8], 0xbc
mov dword [ebp - 0x1a4], 0xc6
mov edx, 0xf9
mov dword [ebp - 0x1a0], edx
mov ecx, 0x92
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x198], 0x69
mov dword [ebp - 0x194], 0xa8
mov dword [ebp - 0x190], 3
mov dword [ebp - 0x18c], 0x91
mov dword [ebp - 0x188], 0xbe
mov eax, 0xbf
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x17c], 0x45
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x174], 0xc0
mov dword [ebp - 0x170], 0xfa
mov dword [ebp - 0x16c], 0x94
mov dword [ebp - 0x168], 0xbb
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], 0xf5
mov dword [ebp - 0x15c], 0x99
mov dword [ebp - 0x158], 0xb2
mov dword [ebp - 0x154], 0xc1
mov dword [ebp - 0x150], 2
mov dword [ebp - 0x14c], 0x25
mov al, 0x52
mov byte [ebp - 0x13e], al
xor cl, cl
mov byte [ebp - 0x13d], cl
mov dword [ebp - 0x148], 0x1a
mov edi, edi
cmp cl, byte [ebp - 0x148]
jae 0x1000163b
movzx eax, al
mov edx, eax
shr edx, 2
shl eax, 6
xor edx, eax
xor eax, eax
mov al, dl
mov byte [ebp - 0x13e], al
movzx esi, cl
xor edx, edx
mov dl, byte [ebp + esi*4 - 0x1b0]
sub edx, eax
mov byte [ebp + esi - 0x38], dl
inc cl
mov byte [ebp - 0x13d], cl
jmp 0x10001600
lea eax, [ebp - 0x38]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001640
sub eax, esi
lea edi, [ebp - 0x13c]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10001650
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x13c]
call fcn.10001340
mov dword [ebp - 0x1bc], eax
mov ecx, edx
mov dword [ebp - 0x1b8], ecx
xor ecx, eax
mov dword [ebx + 8], ecx
mov eax, dword [ebx]
add eax, ecx
mov ecx, dword [ebx + 4]
lea eax, [eax + ecx - 0x6f6f6f70]
mov dword [ebx + 0xc], eax
xor dword [ebx], eax
mov edx, dword [ebx + 0xc]
xor dword [ebx + 4], edx
mov eax, dword [ebx + 0xc]
xor dword [ebx + 8], eax
jmp 0x100016ae
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10003b49
mov esp, ebp
pop ebp
ret