Function at 0x43e240
Capabilities:
Get disk information

Disassembly:
sub esp, 0x224
mov eax, dword [0x4e9028]
xor eax, esp
mov dword [esp + 0x220], eax
xor eax, eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
movzx eax, word [esp + 0x228]
push esi
push eax
mov esi, ecx
lea ecx, [esp + 0x18]
push str._c:_
push ecx
mov word [esp + 0x20], 0
call dword [sym.imp.MSVCR80.dll__swprintf]
push 0xfe
lea edx, [esp + 0x36]
push 0
push edx
mov word [esp + 0x3c], 0
call sub.ntdll.dll_memset
push 0xfe
lea eax, [esp + 0x142]
push 0
push eax
mov word [esp + 0x148], 0
call sub.ntdll.dll_memset
add esp, 0x24
test byte [0x4f190c], 1
jne 0x43e2dd
or dword [0x4f190c], 1
mov dword [0x4f1908], 0x4db424
mov edx, dword [0x4f1908]
mov eax, dword [edx + 0x64]
push 0x80000000
push esi
mov ecx, 0x4f1908
call eax
mov esi, eax
cmp esi, 0xffffffff
je 0x43e379
test byte [0x4f18e8], 1
jne 0x43e314
or dword [0x4f18e8], 1
mov dword [0x4f18e4], 0x4db4c0
push 0x80
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x4f18e4]
lea ecx, [esp + 0x1c]
push ecx
push 0x40
lea edx, [esp + 0x13c]
push edx
mov edx, dword [eax + 4]
push esi
mov ecx, 0x4f18e4
call edx
test eax, eax
jne 0x43e370
push ebx
push edi
call fcn.0041e870
mov ebx, eax
mov edi, dword [ebx]
push 0x79
add edi, 8
call fcn.0043dca0
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 0x43e3cc
test byte [0x4f1904], 1
jne 0x43e3aa
or dword [0x4f1904], 1
push 0x467ae0
mov dword [0x4f18dc], 0x4dbdb8
mov dword [0x4f18e0], 0xffffffff
call fcn.00462d9a
add esp, 4
mov esi, dword [0x4f18dc]
push 0x7f
add esi, 8
call fcn.0043dca0
mov ecx, dword [esi]
push eax
push str._s:_OpenDevVolume_failed.
push 0x4f18dc
call ecx
add esp, 0x10
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e3d3
sub eax, edx
sar eax, 1
jne 0x43e415
push 0x80
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x80
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov esi, dword [sym.imp.ntdll.dll__wcsnicmp]
push 4
lea edx, [esp + 0x28]
push 0x469f9c
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x43e44d
mov eax, 1
pop esi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00462b77
add esp, 0x224
ret 4
push 5
lea eax, [esp + 0x28]
push 0x469f84
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x43e47c
xor eax, eax
pop esi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00462b77
add esp, 0x224
ret 4
push 5
lea ecx, [esp + 0x28]
push 0x469f84
push ecx
call esi
add esp, 0xc
test eax, eax
je 0x43e462
push 3
lea edx, [esp + 0x28]
push 0x46c054
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x43e4c3
mov eax, 3
pop esi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00462b77
add esp, 0x224
ret 4
push 5
lea eax, [esp + 0x28]
push str.exFAT
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x43e4f5
mov eax, 4
pop esi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00462b77
add esp, 0x224
ret 4
push 3
lea ecx, [esp + 0x28]
push 0x4dc230
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x43e527
mov eax, 5
pop esi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00462b77
add esp, 0x224
ret 4
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e530
mov ecx, dword [esp + 0x224]
sub eax, edx
sar eax, 1
neg eax
sbb eax, eax
and eax, 3
pop esi
xor ecx, esp
add eax, 5
call fcn.00462b77
add esp, 0x224
ret 4