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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d761
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
xor esi, esi
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.10037ff0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0xf
lea eax, [ebp - 0x118]
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x17c], esi
mov byte [ebp - 0x18c], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10028188
sub eax, ecx
push eax
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x18c]
call fcn.100028b0
push 1
mov eax, 0x10053424
lea ecx, [ebp - 0x18c]
mov dword [ebp - 4], esi
call fcn.10002620
mov eax, dword [0x100a20e8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, 0x100a20e4
call fcn.10029ce0
mov eax, dword [0x100a20e8]
mov dword [eax + 4], eax
mov eax, dword [0x100a20e8]
mov dword [eax], eax
mov eax, dword [0x100a20e8]
mov dword [eax + 8], eax
push 3
push 0x1005498c
lea ecx, [ebp - 0x1a8]
mov dword [0x100a20ec], esi
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x198], esi
mov byte [ebp - 0x1a8], 0
call fcn.100028b0
mov eax, dword [ebp - 0x1a8]
mov ebx, 0x10
mov dword [ebp - 0x1b4], esi
cmp dword [ebp - 0x194], ebx
jae 0x1002822d
lea eax, [ebp - 0x1a8]
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x1b4]
push edx
push 0xc
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [ebp - method.CodeService.virtual_0], vtable.CodeService.0
lea eax, [ebp - 0x170]
push eax
mov ecx, 4
lea edx, [ebp - 0x1b4]
mov byte [ebp - 4], 2
call fcn.1000faa0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x170]
cmp dword [ebp - 0x15c], ebx
jae 0x1002827f
lea edx, [ebp - 0x170]
lea ecx, [ebp - 0x134]
push ecx
mov ecx, dword [ebp - 0x160]
call fcn.1000faa0
mov edi, eax
lea esi, [ebp - 0x170]
mov byte [ebp - 4], 4
call fcn.100029b0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x120], ebx
jb 0x100282bd
mov edx, dword [ebp - 0x134]
push edx
call fcn.10032f50
add esp, 4
push 4
xor ecx, ecx
lea esi, [ebp - 0x154]
lea edx, [ebp - 0x170]
call fcn.1000aff0
mov eax, esi
push eax
lea ecx, [ebp - 0x18c]
push ecx
lea edx, [ebp - 0x134]
push edx
mov byte [ebp - 4], 5
call fcn.1000db40
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 6
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x10028315
mov eax, dword [ebp - 0x134]
push eax
call fcn.10032f50
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x124], 0xf
mov dword [ebp - 0x128], esi
mov byte [ebp - 0x138], 0
call fcn.10002da0
mov dword [ebp - 0x11c], esi
lea ecx, [ebp - 0x138]
mov edx, 0x100a20e4
mov byte [ebp - 4], 7
call fcn.1002c740
push eax
lea edx, [ebp - 0x1b0]
push edx
push 0x100a20e4
call fcn.1002c540
mov byte [ebp - 4], 5
cmp dword [ebp - 0x124], ebx
jb 0x1002838a
mov eax, dword [ebp - 0x138]
push eax
call fcn.10032f50
add esp, 4
push 3
mov ecx, 4
lea esi, [ebp - 0x134]
lea edx, [ebp - 0x170]
call fcn.1000aff0
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 8
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x100283ce
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.10032f50
add esp, 4
lea edx, [ebp - 0x154]
push edx
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x134]
push ecx
call fcn.1000db40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 9
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x10028417
mov edx, dword [ebp - 0x134]
push edx
call fcn.10032f50
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x124], 0xf
mov dword [ebp - 0x128], esi
mov byte [ebp - 0x138], 0
call fcn.10002da0
mov dword [ebp - 0x11c], esi
lea ecx, [ebp - 0x138]
mov edx, 0x100a20e4
mov byte [ebp - 4], 0xa
call fcn.1002c740
push eax
lea ecx, [ebp - 0x1b0]
push ecx
push 0x100a20e4
call fcn.1002c540
mov byte [ebp - 4], 5
cmp dword [ebp - 0x124], ebx
jb 0x1002848c
mov edx, dword [ebp - 0x138]
push edx
call fcn.10032f50
add esp, 4
push 3
mov ecx, 8
lea esi, [ebp - 0x134]
lea edx, [ebp - 0x170]
call fcn.1000aff0
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0xb
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x100284d0
mov eax, dword [ebp - 0x134]
push eax
call fcn.10032f50
add esp, 4
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0x18c]
push edx
lea eax, [ebp - 0x134]
push eax
call fcn.1000db40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0xc
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x10028519
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.10032f50
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
lea edx, [ebp - 0x154]
push edx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x124], 0xf
mov dword [ebp - 0x128], esi
mov byte [ebp - 0x138], 0
call fcn.10002da0
mov dword [ebp - 0x11c], esi
lea ecx, [ebp - 0x138]
mov edx, 0x100a20e4
mov byte [ebp - 4], 0xd
call fcn.1002c740
push eax
lea eax, [ebp - 0x1b0]
push eax
push 0x100a20e4
call fcn.1002c540
mov byte [ebp - 4], 5
cmp dword [ebp - 0x124], ebx
jb 0x1002858e
mov ecx, dword [ebp - 0x138]
push ecx
call fcn.10032f50
add esp, 4
push 4
mov ecx, 0xa
lea esi, [ebp - 0x134]
lea edx, [ebp - 0x170]
call fcn.1000aff0
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0xe
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x100285d2
mov edx, dword [ebp - 0x134]
push edx
call fcn.10032f50
add esp, 4
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x18c]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.1000db40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0xf
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x1002861b
mov eax, dword [ebp - 0x134]
push eax
call fcn.10032f50
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x124], 0xf
mov dword [ebp - 0x128], esi
mov byte [ebp - 0x138], 0
call fcn.10002da0
mov dword [ebp - 0x11c], esi
lea ecx, [ebp - 0x138]
mov edx, 0x100a20e4
mov byte [ebp - 4], bl
call fcn.1002c740
push eax
lea edx, [ebp - 0x1b0]
push edx
push 0x100a20e4
call fcn.1002c540
mov byte [ebp - 4], 5
cmp dword [ebp - 0x124], ebx
jb 0x1002868f
mov eax, dword [ebp - 0x138]
push eax
call fcn.10032f50
add esp, 4
push 6
mov ecx, 0xb
lea esi, [ebp - 0x134]
lea edx, [ebp - 0x170]
call fcn.1000aff0
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0x11
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x100286d3
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.10032f50
add esp, 4
lea edx, [ebp - 0x154]
push edx
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x134]
push ecx
call fcn.1000db40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0x12
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x1002871c
mov edx, dword [ebp - 0x134]
push edx
call fcn.10032f50
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x124], 0xf
mov dword [ebp - 0x128], esi
mov byte [ebp - 0x138], 0
call fcn.10002da0
mov dword [ebp - 0x11c], esi
lea ecx, [ebp - 0x138]
mov edx, 0x100a20e4
mov byte [ebp - 4], 0x13
call fcn.1002c740
push eax
lea ecx, [ebp - 0x1b0]
push ecx
push 0x100a20e4
call fcn.1002c540
mov byte [ebp - 4], 5
cmp dword [ebp - 0x124], ebx
jb 0x10028791
mov edx, dword [ebp - 0x138]
push edx
call fcn.10032f50
add esp, 4
push 3
mov ecx, 0x11
lea esi, [ebp - 0x134]
lea edx, [ebp - 0x170]
call fcn.1000aff0
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0x14
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x100287d5
mov eax, dword [ebp - 0x134]
push eax
call fcn.10032f50
add esp, 4
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0x18c]
push edx
lea eax, [ebp - 0x134]
push eax
call fcn.1000db40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0x15
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x1002881e
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.10032f50
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
lea edx, [ebp - 0x154]
push edx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x124], 0xf
mov dword [ebp - 0x128], esi
mov byte [ebp - 0x138], 0
call fcn.10002da0
mov dword [ebp - 0x11c], esi
lea ecx, [ebp - 0x138]
mov edx, 0x100a20e4
mov byte [ebp - 4], 0x16
call fcn.1002c740
push eax
lea eax, [ebp - 0x1b0]
push eax
push 0x100a20e4
call fcn.1002c540
mov byte [ebp - 4], 5
cmp dword [ebp - 0x124], ebx
jb 0x10028893
mov ecx, dword [ebp - 0x138]
push ecx
call fcn.10032f50
add esp, 4
push 4
mov ecx, 0x12
lea esi, [ebp - 0x134]
lea edx, [ebp - 0x170]
call fcn.1000aff0
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0x17
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x100288d7
mov edx, dword [ebp - 0x134]
push edx
call fcn.10032f50
add esp, 4
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x18c]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.1000db40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0x18
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x10028920
mov eax, dword [ebp - 0x134]
push eax
call fcn.10032f50
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x124], 0xf
mov dword [ebp - 0x128], esi
mov byte [ebp - 0x138], 0
call fcn.10002da0
mov dword [ebp - 0x11c], esi
lea ecx, [ebp - 0x138]
mov edx, 0x100a20e4
mov byte [ebp - 4], 0x19
call fcn.1002c740
push eax
lea edx, [ebp - 0x1b0]
push edx
push 0x100a20e4
call fcn.1002c540
mov byte [ebp - 4], 5
cmp dword [ebp - 0x124], ebx
jb 0x10028995
mov eax, dword [ebp - 0x138]
push eax
call fcn.10032f50
add esp, 4
push 5
mov ecx, 0x13
lea esi, [ebp - 0x134]
lea edx, [ebp - 0x170]
call fcn.1000aff0
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0x1a
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x100289d9
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.10032f50
add esp, 4
lea edx, [ebp - 0x154]
push edx
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x134]
push ecx
call fcn.1000db40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0x1b
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x10028a22
mov edx, dword [ebp - 0x134]
push edx
call fcn.10032f50
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x124], 0xf
mov dword [ebp - 0x128], esi
mov byte [ebp - 0x138], 0
call fcn.10002da0
mov dword [ebp - 0x11c], esi
lea ecx, [ebp - 0x138]
mov edx, 0x100a20e4
mov byte [ebp - 4], 0x1c
call fcn.1002c740
push eax
lea ecx, [ebp - 0x1b0]
push ecx
push 0x100a20e4
call fcn.1002c540
mov byte [ebp - 4], 5
cmp dword [ebp - 0x124], ebx
jb 0x10028a97
mov edx, dword [ebp - 0x138]
push edx
call fcn.10032f50
add esp, 4
push 4
mov ecx, 0x15
lea esi, [ebp - 0x134]
lea edx, [ebp - 0x170]
call fcn.1000aff0
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0x1d
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x10028adb
mov eax, dword [ebp - 0x134]
push eax
call fcn.10032f50
add esp, 4
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0x18c]
push edx
lea eax, [ebp - 0x134]
push eax
call fcn.1000db40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0x1e
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x10028b24
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.10032f50
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
lea edx, [ebp - 0x154]
push edx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x124], 0xf
mov dword [ebp - 0x128], esi
mov byte [ebp - 0x138], 0
call fcn.10002da0
mov dword [ebp - 0x11c], esi
lea ecx, [ebp - 0x138]
mov edx, 0x100a20e4
mov byte [ebp - 4], 0x1f
call fcn.1002c740
push eax
lea eax, [ebp - 0x1b0]
push eax
push 0x100a20e4
call fcn.1002c540
mov byte [ebp - 4], 5
cmp dword [ebp - 0x124], ebx
jb 0x10028b99
mov ecx, dword [ebp - 0x138]
push ecx
call fcn.10032f50
add esp, 4
push 3
mov ecx, 0x16
lea esi, [ebp - 0x134]
lea edx, [ebp - 0x170]
call fcn.1000aff0
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0x20
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x10028bdd
mov edx, dword [ebp - 0x134]
push edx
call fcn.10032f50
add esp, 4
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x18c]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.1000db40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0x21
call fcn.100029b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], ebx
jb 0x10028c26
mov eax, dword [ebp - 0x134]
push eax
call fcn.10032f50
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [ebp - 0x154]
push ecx
mov edi, 0xf
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x128], esi
mov byte [ebp - 0x138], 0
call fcn.10002da0
mov dword [ebp - 0x11c], esi
lea ecx, [ebp - 0x138]
mov edx, 0x100a20e4
mov byte [ebp - 4], 0x22
call fcn.1002c740
push eax
lea edx, [ebp - 0x1b0]
push edx
push 0x100a20e4
call fcn.1002c540
cmp dword [ebp - 0x124], ebx
jb 0x10028c98
mov eax, dword [ebp - 0x138]
push eax
call fcn.10032f50
add esp, 4
cmp dword [ebp - 0x140], ebx
jb 0x10028caf
mov ecx, dword [ebp - 0x154]
push ecx
call fcn.10032f50
add esp, 4
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], esi
mov byte [ebp - 0x154], 0
cmp dword [ebp - 0x15c], ebx
jb 0x10028cd9
mov edx, dword [ebp - 0x170]
push edx
call fcn.10032f50
add esp, 4
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x160], esi
mov byte [ebp - 0x170], 0
cmp dword [ebp - 0x194], ebx
jb 0x10028d03
mov eax, dword [ebp - 0x1a8]
push eax
call fcn.10032f50
add esp, 4
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x198], esi
mov byte [ebp - 0x1a8], 0
cmp dword [ebp - 0x178], ebx
jb 0x10028d2d
mov ecx, dword [ebp - 0x18c]
push ecx
call fcn.10032f50
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034eea
mov esp, ebp
pop ebp
ret