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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b7b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10025066
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd0], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xf8], 0x16f5
cmp dword [ebp - 0xf8], 0x5bf
jge 0x10024d1c
xor eax, eax
inc eax
je 0x10024d1c
push 0x10af36c8
push 0x10009adc
call fcn.10050bab
pop ecx
pop ecx
cmp dword [0x10af36c8], 0
jne 0x10024bf8
jmp 0x10024d1c
and dword [ebp - 0x28], 0
jmp 0x10024c05
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [0x10af36c8]
jge 0x10024c29
mov eax, dword [ebp - 0x28]
lea eax, [eax*4 + 0x1065efa8]
push eax
push 0x10009adc
call fcn.10050bab
pop ecx
pop ecx
jmp 0x10024bfe
mov ecx, 0x11a158fc
call fcn.1002e979
push dword [0x10af36c8]
mov ecx, 0x11a158fc
call fcn.1002e8ef
and dword [ebp - 0x24], 0
jmp 0x10024c50
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [0x10af36c8]
jge 0x10024cc1
and dword [ebp - 0x20], 0
jmp 0x10024c68
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [0x10af36c8]
jge 0x10024cbf
lea eax, [ebp - 0x90]
push eax
push 0x10009adc
call fcn.10050bab
pop ecx
pop ecx
cmp dword [ebp - 0x90], 1
jne 0x10024cbd
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax*4 + 0x1065efa8]
cmp eax, dword [ecx*4 + 0x1065efa8]
jge 0x10024cbd
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
mov ecx, 0x11a158fc
call fcn.1002e83d
mov ecx, eax
call fcn.1002e3cd
jmp 0x10024c61
jmp 0x10024c49
or dword [ebp - 0x118], 0xffffffff
lea eax, [ebp - 0x118]
push eax
mov eax, dword [0x10af36c8]
lea edx, [eax*4 + 0x1065f200]
mov ecx, 0x1065f200
call fcn.1002f9b8
pop ecx
push 0
call fcn.10024ade
pop ecx
test eax, eax
jne 0x10024cff
push 0x10009e18
call fcn.10050dc6
pop ecx
jmp 0x10024d17
push 4
pop eax
imul eax, eax, 0
push dword [eax + 0x1065f200]
push 0x10009ae8
call fcn.10050dc6
pop ecx
pop ecx
jmp 0x10024bd0
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x10024dc3
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
movzx eax, byte [eax]
test eax, eax
je 0x10024dbe
push 0x13b4
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x10025061
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x38]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.1000bcce
push 8
pop eax
test eax, eax
je 0x10024f7b
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x38]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.1000bcce
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
cmp dword [ebp - 0x68], 0
jne 0x10024f1b
mov eax, 0xb8909ff4
test eax, eax
jne 0x10024f1b
and dword [ebp - 0x34], 0
jmp 0x10024f22
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0xc4]
mov dword [eax], 0xa418
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
imul eax, dword [ebp - 0x34], 0xa418
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0xef5f
jg 0x10024f64
mov dword [ebp - 0x78], 1
jmp 0x10024f68
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
cmp dword [ebp - 0x78], eax
je 0x10024f7b
mov dword [ebp - 0x58], 1
jmp 0x10024f7f
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0x2ea9177c
je 0x10024f91
mov dword [ebp - 0x70], 1
jmp 0x10024f95
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
cmp dword [ebp - 0x70], eax
je 0x10024fae
mov dword [ebp - 0xe4], 1
jmp 0x10024fb5
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x38]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.1000bcce
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x10024fd7
mov dword [ebp - 0xec], 1
jmp 0x10024fde
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xf4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x10025001
mov dword [ebp - 0x60], 1
jmp 0x10025005
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0xbfd0
jne 0x10025017
mov dword [ebp - 0x3c], 1
jmp 0x1002501b
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
cmp dword [ebp - 0x3c], 0x3361
jg 0x10025038
mov dword [ebp - 0xfc], 1
jmp 0x1002503f
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
mov dword [ebp - 0x148], eax
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.1000bcce
mov ecx, dword [ebp - 0x10c]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x10025266
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x10], 0x53b26bdd
mov dword [ebp - 0x114], 0xf5ecce35
mov dword [ebp - 0x10], 0
jmp 0x10025099
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffffa
jg 0x10025250
mov dword [ebp - 0x1c], 0xb999fb0
mov dword [ebp - 0x64], 0xa2c39d5b
push 1
lea ecx, [ebp - 0x140]
call fcn.1000bc50
and dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
jmp 0x100250d2
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x100250e8
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x154], 0xfffffffb
jmp 0x100250cb
mov dword [ebp - 0x14], 0
jmp 0x100250f8
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10025111
push dword [ebp - 0x14]
lea ecx, [ebp - 0x140]
call fcn.1000bcce
or dword [eax], 0xffffffff
jmp 0x100250f1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x80], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x80]
mov dword [ebp + eax - 0x154], ecx
cmp dword [ebp - 0x80], 0x307a329f
jl 0x10025138
mov dword [ebp - 0x48], 1
jmp 0x1002513c
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0x24891023
jl 0x10025154
cmp dword [ebp - 0x1c], 0
je 0x10025154
mov dword [ebp - 0x4c], 1
jmp 0x10025158
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x10]
cmp eax, 1
jbe 0x1002516c
mov dword [ebp - 0x54], 1
jmp 0x10025170
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x54]
jne 0x10025184
mov dword [ebp - 0x5c], 1
jmp 0x10025188
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x64], eax
jle 0x100251a2
mov dword [ebp - 0x6c], 1
jmp 0x100251a6
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x6c], eax
jge 0x100251b7
mov dword [ebp - 0x74], 1
jmp 0x100251bb
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x74], eax
jne 0x100251cc
mov dword [ebp - 0x7c], 1
jmp 0x100251d0
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x7c], eax
je 0x100251e1
mov dword [ebp - 0x40], 1
jmp 0x100251e5
and dword [ebp - 0x40], 0
push 0
lea ecx, [ebp - 0x140]
call fcn.1000bcce
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], eax
jl 0x1002520e
mov dword [ebp - 0x84], 1
jmp 0x10025215
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1002523c
push 0xe1f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.1000bcb2
jmp 0x10025092
push dword [ebp - 0x11c]
push dword [ebp - 0x124]
push 0
call fcn.10010fb5
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret