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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x200
push 0
push 0x56e460
mov dword [ebp - 0x30c], 0
call fcn.0049cbc0
push 0x200
push 0
push 0x56de60
call fcn.0049cbc0
add esp, 0x18
cmp dword [0x4e4e18], 1
je 0x45e520
push 0x4c3c44
push str.fastread.inf
call fcn.00494396
mov edi, eax
mov dword [ebp - 0x30c], eax
add esp, 8
test edi, edi
jne 0x45e252
push 0x4c3c44
push str.fastread.txt
call fcn.00494396
mov edi, eax
add esp, 8
mov dword [ebp - 0x30c], edi
test edi, edi
je 0x45e520
push 0x200
push 0
push 0x56e460
call fcn.0049cbc0
push edi
push 0x200
push 0x56e460
call fcn.00494193
add esp, 0x18
test eax, eax
je 0x45e520
mov edi, edi
cmp byte [0x56e460], 0
mov ecx, 0x56e460
je 0x45e2e9
mov edi, edi
mov dl, byte [ecx]
movzx eax, dl
test byte [eax + 0x4c5029], 1
jne 0x45e2a6
cmp dl, 0x3b
je 0x45e2b6
inc ecx
jmp 0x45e2af
cmp byte [ecx + 1], 0
je 0x45e2e9
add ecx, 2
cmp byte [ecx], 0
jne 0x45e290
jmp 0x45e2e9
mov ecx, 0x56e460
jmp 0x45e2c0
mov dl, byte [ecx]
movzx eax, dl
test byte [eax + 0x4c5029], 1
jne 0x45e2d6
cmp dl, 0x3b
je 0x45e2e6
inc ecx
jmp 0x45e2df
cmp byte [ecx + 1], 0
je 0x45e2e4
add ecx, 2
cmp byte [ecx], 0
jne 0x45e2c0
xor ecx, ecx
mov byte [ecx], 0
mov edx, 0x4c3c48
mov ecx, 0x56e460
call fcn.00482a10
test eax, eax
je 0x45e30e
mov edx, 0x4c3c48
mov ecx, 0x56e460
call fcn.00482a10
mov byte [eax], 0
mov eax, 0x56e460
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e316
sub eax, edx
je 0x45e3ae
cmp byte [0x56e460], 0x20
ja 0x45e364
mov edi, edi
push eax
push 0x56e461
push 0x56e460
call fcn.004939f0
mov eax, 0x56e460
add esp, 0xc
lea edx, [eax + 1]
jmp 0x45e350
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e350
sub eax, edx
je 0x45e3ae
cmp byte [0x56e460], 0x20
jbe 0x45e330
mov esi, 0x56e460
mov ecx, esi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e370
sub ecx, edx
lea esp, [esp]
cmp byte [esi + ecx - 1], 0x20
ja 0x45e3df
dec ecx
cmp ecx, 0x200
jae 0x45e6a1
mov byte [ecx + 0x56e460], 0
mov ecx, 0x56e460
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e3a3
sub ecx, edx
jne 0x45e380
push 0x200
push 0
push 0x56e460
call fcn.0049cbc0
push edi
push 0x200
push 0x56e460
call fcn.00494193
add esp, 0x18
test eax, eax
jne 0x45e280
jmp 0x45e520
xor ecx, ecx
jmp 0x45e3f0
mov al, byte [ecx + 0x56e460]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x309], al
test al, al
jne 0x45e3f0
lea ecx, [ebp - 0x308]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e410
sub ecx, edx
cmp byte [ebp + ecx - 0x309], 0x5c
je 0x45e443
lea edi, [ebp - 0x308]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x45e430
mov ax, word [0x4c3b10]
mov word [edi], ax
lea ecx, [ebp - 0x308]
dec ecx
lea ebx, [ebx]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x45e450
mov eax, dword [str.save_cn]
mov dword [ecx], eax
mov eax, dword [0x4c6764]
mov dword [ecx + 4], eax
mov al, byte [0x4c6768]
mov byte [ecx + 8], al
lea ecx, [ebp - 0x308]
call fcn.00462200
cmp byte [0x56e460], 0
je 0x45e520
xor ecx, ecx
jmp 0x45e490
mov al, byte [ecx + 0x56e460]
lea ecx, [ecx + 1]
mov byte [ecx + 0x56de5f], al
test al, al
jne 0x45e490
lea eax, [ebp - 0x308]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov bl, byte [ebp - 0x308]
cmp bl, byte [0x56e460]
jne 0x45e4d7
push 0x200
push 0
push 0x56e460
call fcn.0049cbc0
add esp, 0xc
lea eax, [ebp - 0x308]
mov dword [ebp - 0x308], 0x5c3a61
push eax
mov byte [ebp - 0x308], bl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x45e50d
push 0x200
push 0
push 0x56e460
call fcn.0049cbc0
add esp, 0xc
cmp byte [0x56e460], 0
je 0x45e520
mov ecx, 0x56e460
call fcn.004801b0
cmp byte [0x56de60], 0
mov ebx, 0x56de60
jne 0x45e541
push ebx
push 0x1ff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, ebx
call fcn.004801b0
mov ecx, str.SAVETOMYDOC
call fcn.00487da0
test eax, eax
je 0x45e67d
push dword [eax + 4]
call fcn.00494176
add esp, 4
cmp eax, 1
jne 0x45e67d
mov ecx, dword [0x53bb48]
lea edx, [eax + 4]
push 0x56de60
call fcn.004496a0
add esp, 4
lea edi, [ebx - 1]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x45e580
mov ax, word [0x4c3b10]
mov ecx, str.INSTFOL
mov word [edi], ax
call fcn.00487da0
mov byte [ebp - 0x108], 0
test eax, eax
je 0x45e5ad
mov eax, dword [eax + 4]
jmp 0x45e5b2
mov eax, str.MajiroGames
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00495450
lea edx, [ebp - 0x108]
mov byte [ebp - 5], 0
add esp, 0xc
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x45e5d3
sub edx, esi
lea edi, [ebx - 1]
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x45e5e0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x45e600
mov ax, word [0x4c3b10]
mov ecx, str.INSTTO
mov word [edi], ax
call fcn.00487da0
mov byte [ebp - 0x108], 0
test eax, eax
je 0x45e62d
mov eax, dword [eax + 4]
jmp 0x45e632
mov eax, str.MajiroGames
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00495450
lea edx, [ebp - 0x108]
mov byte [ebp - 5], 0
add esp, 0xc
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x45e653
sub edx, esi
dec ebx
lea ecx, [ecx]
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x45e660
mov ecx, edx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0045e050
mov eax, dword [ebp - 0x30c]
pop edi
pop esi
pop ebx
test eax, eax
je 0x45e693
push eax
call fcn.00494b54
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret
call fcn.004946f4
int3