Function at 0x43fbe0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x224
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0x220], eax
xor eax, eax
push ebp
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
movzx eax, word [esp + 0x22c]
push esi
push eax
mov esi, ecx
lea ecx, [esp + 0x1c]
push str._c:_
xor ebp, ebp
push ecx
mov word [esp + 0x24], bp
call dword [sym.imp.MSVCR80.dll__swprintf]
push 0xfe
lea edx, [esp + 0x3a]
push ebp
push edx
mov word [esp + 0x40], bp
call sub.ntdll.dll_memset
push 0xfe
lea eax, [esp + 0x146]
push ebp
push eax
mov word [esp + 0x14c], bp
call sub.ntdll.dll_memset
add esp, 0x24
test byte [0x50354c], 1
jne 0x43fc78
or dword [0x50354c], 1
mov dword [0x503548], 0x4e7844
mov edx, dword [0x503548]
mov eax, dword [edx + 0x64]
push 0x80000000
push esi
mov ecx, 0x503548
call eax
mov esi, eax
cmp esi, 0xffffffff
je 0x43fd24
test byte [0x503528], 1
jne 0x43fcbf
or dword [0x503528], 1
mov dword [0x5032ec], 0x4e8ab4
mov dword [0x5032f0], ebp
mov dword [0x5032f4], ebp
push 0x80
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x5032ec]
lea ecx, [esp + 0x20]
push ecx
push 0x40
lea edx, [esp + 0x140]
push edx
mov edx, dword [eax + 0x14]
push esi
mov ecx, 0x5032ec
call edx
test eax, eax
jne 0x43fd1b
push ebx
push edi
call fcn.004205a0
mov ebx, eax
mov edi, dword [ebx]
push 0x79
add edi, 8
call fcn.0043f630
push eax
mov eax, dword [edi]
push str._s:_Call_GetVolumeInfoByHandle_to_fail.
push ebx
call eax
add esp, 0x10
pop edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43fd77
test byte [0x503544], 1
jne 0x43fd55
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x7f
add esi, 8
call fcn.0043f630
mov ecx, dword [esi]
push eax
push str._s:_OpenDevVolume_failed.
push 0x503520
call ecx
add esp, 0x10
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x43fd80
sub eax, edx
sar eax, 1
jne 0x43fdc2
push 0x80
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x80
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov esi, dword [sym.imp.ntdll.dll__wcsnicmp]
push 4
lea edx, [esp + 0x2c]
push 0x476230
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x43fde7
mov eax, 1
jmp 0x43fe8c
push 5
lea eax, [esp + 0x2c]
push 0x476218
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x43fe03
xor eax, eax
jmp 0x43fe8c
push 5
lea ecx, [esp + 0x2c]
push 0x476218
push ecx
call esi
add esp, 0xc
test eax, eax
je 0x43fdfc
push 3
lea edx, [esp + 0x2c]
push 0x4782a4
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x43fe34
mov eax, 3
jmp 0x43fe8c
push 5
lea eax, [esp + 0x2c]
push str.exFAT
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x43fe50
mov eax, 4
jmp 0x43fe8c
push 3
lea ecx, [esp + 0x2c]
push 0x4e8574
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x43fe6c
mov eax, 5
jmp 0x43fe8c
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x43fe73
sub eax, edx
sar eax, 1
neg eax
sbb eax, eax
and eax, 3
add eax, 5
mov ecx, dword [esp + 0x228]
pop esi
pop ebp
xor ecx, esp
call fcn.0046d6fd
add esp, 0x224
ret 4