Function at 0x401b92
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x411198]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x413ca0]
test eax, eax
je 0x401bbc
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
or dword [0x413ca0], 0xffffffff
mov al, byte [0x4152c0]
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 0x138], al
mov word [ebp - 0x137], 0x3a
mov ebx, 0x7d0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xc]
push eax
call esi
lea eax, [ebp - 0xc]
push eax
call fcn.004061b0
pop ecx
cmp eax, 8
jae 0x401e59
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push 0x20
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x401c8d
push 7
lea eax, [ebp - 0x2c]
push str.PKBACK
push eax
call fcn.0040118c
add esp, 0xc
test eax, eax
jne 0x401c8d
mov cl, byte [ebp - 0x2c]
lea eax, [ebp - 0x2c]
test cl, cl
je 0x401c8d
cmp cl, 0x2e
je 0x401c51
cmp cl, 0x20
je 0x401c51
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x401c40
cmp byte [eax], 0
je 0x401c8d
mov cl, byte [eax]
cmp cl, 0x30
jb 0x401c62
cmp cl, 0x39
jbe 0x401c65
inc eax
jmp 0x401c56
xor edx, edx
jmp 0x401c7a
movzx ecx, cl
imul edx, edx, 0xa
sub ecx, 0x30
cmp ecx, 9
ja 0x401c80
add edx, ecx
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x401c69
mov ecx, 0xffff
movzx eax, dx
cmp dx, cx
jne 0x401cef
movzx eax, word [ebp + 8]
push eax
push 0x3ec
call fcn.00401948
push eax
push dword [0x413cc8]
call dword [sym.imp.USER32.dll_wsprintfA]
push dword [0x413cc8]
call fcn.004061b0
add esp, 0x10
cmp eax, 0x1f4
jae 0x401d8d
push 0x22
push ebx
call fcn.00401948
push eax
push dword [0x413cc8]
push dword [0x4149b0]
call edi
cmp eax, 3
je 0x401d81
cmp eax, 5
jne 0x401bde
movzx eax, word [ebp + 8]
mov word [section..data], ax
cmp ax, word [ebp + 8]
je 0x401d9c
xor eax, eax
cmp ax, word [ebp + 8]
lea eax, [ebp - 0x138]
push eax
jne 0x401d2a
push 0x3ea
call fcn.00401948
push eax
push dword [0x413cc8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x401d49
movzx eax, word [ebp + 8]
push eax
push 0x3e9
call fcn.00401948
push eax
push dword [0x413cc8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push dword [0x413cc8]
call fcn.004061b0
pop ecx
cmp eax, 0x1f4
jae 0x401e4f
mov esi, dword [0x413cc8]
push 1
push ebx
call fcn.00401948
push eax
push esi
push dword [0x4149b0]
call edi
cmp eax, 1
je 0x401bde
push 2
push 0x415260
call fcn.004060f0
push 0x496
push str.sfxhead.c
call fcn.00401830
push 0x4152c0
lea eax, [ebp - 0x134]
push eax
call esi
lea eax, [ebp - 0x134]
push eax
call fcn.004061b0
mov esi, 0x105
pop ecx
cmp eax, esi
jae 0x401e45
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x134]
jmp 0x401ddb
dec eax
cmp byte [eax], 0x2e
jne 0x401dda
cmp dword [ebp + 0xc], 0
je 0x401ded
push str..EXE
jmp 0x401df2
push str..ZIP
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x134]
push eax
call fcn.004061b0
pop ecx
pop edi
cmp eax, esi
pop esi
pop ebx
jae 0x401e3b
push 0x20
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [0x413ca0], eax
cmp eax, 0xffffffff
jne 0x401e2b
call fcn.00401af2
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004060d3
leave
ret 8
push 0x4c9
jmp 0x401d92
push 0x4c0
jmp 0x401d92
push 0x4b0
jmp 0x401d92
push 0x437
jmp 0x401d92