Function at 0x40f10c
Capabilities:
Get disk information
Read .ini file

Disassembly:
sub esp, 0x2dc
mov eax, dword [0x43b004]
xor eax, esp
mov dword [esp + 0x2d4], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x3f6
push dword [0x44437c]
call esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
push ebp
push ebp
mov edi, 0x1009
mov dword [esp + 0x20], eax
push edi
push eax
call ebx
push 0x100
push dword [0x44437c]
call esi
push ebp
push ebp
push edi
push eax
mov dword [esp + 0x20], eax
call ebx
call fcn.0040ee6c
cmp dword [0x43d1ac], ebp
jle 0x40f4c7
mov esi, 0x43d468
mov dword [esp + 0x14], esi
lea eax, [esi - 0x27c]
mov dword [0x43ce74], ebp
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [0x43ce84], eax
mov eax, dword [esi + 0x12c]
mov dword [0x43ce78], ecx
cmp eax, 4
ja 0x40f1f4
je 0x40f1e8
sub eax, ecx
je 0x40f1dc
sub eax, 1
je 0x40f1d0
sub eax, 1
je 0x40f1c8
sub eax, 1
jne 0x40f225
mov dword [0x43ce8c], 1
jmp 0x40f225
mov dword [0x43ce8c], ecx
jmp 0x40f225
mov dword [0x43ce8c], 6
jmp 0x40f225
mov dword [0x43ce8c], 5
jmp 0x40f225
mov dword [0x43ce8c], 2
jmp 0x40f225
sub eax, 5
je 0x40f21b
sub eax, 1
je 0x40f20f
sub eax, 0x69
jne 0x40f225
mov dword [0x43ce8c], 7
jmp 0x40f225
mov dword [0x43ce8c], 4
jmp 0x40f225
mov dword [0x43ce8c], 3
xor eax, eax
push 0x206
mov word [esp + 0xdc], ax
lea eax, [esp + 0xde]
push ecx
push eax
call fcn.004162b0
mov eax, dword [0x4372f8]
lea edi, [esp + 0x6e]
mov dword [esp + 0x68], eax
add esp, 0xc
mov ax, word [0x4372fc]
mov word [esp + 0x60], ax
xor eax, eax
stosd dword es:[edi], eax
push 0x104
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [esi - 0x278]
mov word [esp + 0x60], ax
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x40f2dd
cmp word [esp + 0xde], 0x5c
jne 0x40f2dd
cmp word [esp + 0xe2], 0x3a
jne 0x40f2dd
mov edx, 0x436324
mov dword [0x43ce8c], 8
mov ecx, 0x435f1c
call fcn.00414a37
mov edi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
push eax
lea eax, [esi + 0xc8]
push eax
call edi
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0xdc]
push eax
call edi
mov edi, dword [esp + 0x10]
push 0x43ce70
push 0
push 0x104d
push edi
call ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 3
push eax
push ebp
push 0x1074
push edi
mov dword [esp + 0x44], esi
call ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 4
push eax
push ebp
push 0x1074
lea ebx, [esi + 0x64]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov dword [esp + 0x44], ebx
call esi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ebp
push 0x1074
push dword [esp + 0x1c]
add edi, 0xc8
mov dword [esp + 0x38], 1
mov dword [esp + 0x44], edi
call esi
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ebp
push 0x1074
push dword [esp + 0x1c]
add esi, 0xfffffde8
mov dword [esp + 0x38], 2
mov dword [esp + 0x44], esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x43ce70
push 0
push 0x104d
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
push ebp
push 0x1074
push dword [esp + 0x24]
mov dword [esp + 0x38], 3
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x20]
mov dword [esp + 0x34], ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebp
push 0x1074
push dword [esp + 0x24]
mov dword [esp + 0x38], 4
call ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x18]
push eax
push ebp
push 0x1074
push edi
mov dword [esp + 0x38], 1
call ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 2
push eax
mov dword [esp + 0x38], esi
push ebp
mov esi, 0x1074
push esi
push edi
call ebx
lea eax, [esp + 0xd8]
mov dword [esp + 0x28], 5
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
push ebp
push esi
push edi
call ebx
push dword [esp + 0x1c]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
xor eax, eax
mov edi, 0x4bc
push 0x444388
mov word [esp + 0x7a], ax
lea eax, [esp + 0x78]
push edi
push eax
push str.SFDRV
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, edi
je 0x40f47b
test eax, eax
lea ecx, [esi - 0x74]
mov eax, 0x2000
cmovne ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x40f493
mov eax, dword [0x43ce8c]
cmp eax, 1
je 0x40f48a
cmp eax, 7
jne 0x40f4ac
mov eax, 0x2000
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x30], 0xf000
push eax
push ebp
push 0x102b
push dword [esp + 0x1c]
call ebx
mov esi, dword [esp + 0x14]
inc ebp
add esi, 0x3e8
mov dword [esp + 0x14], esi
cmp ebp, dword [0x43d1ac]
jl 0x40f17f
mov ecx, dword [esp + 0x2e4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00415673
add esp, 0x2dc
ret