Function at 0x438ae5
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x481610]
xor eax, dword [ebp + 4]
push esi
mov esi, dword [ebp + 8]
push 0x472328
push esi
mov dword [ebp - 4], eax
call fcn.0043a07d
test eax, eax
pop ecx
pop ecx
je 0x438b27
call fcn.0043a428
push 2
pop esi
mov dword [eax], esi
call fcn.0043a431
mov dword [eax], esi
or eax, 0xffffffff
jmp 0x438dc0
push ebx
push edi
xor edi, edi
cmp word [esi + 2], 0x3a
jne 0x438b68
mov ax, word [esi]
cmp ax, di
je 0x438b59
cmp word [esi + 4], di
jne 0x438b59
call fcn.0043a428
push 2
pop esi
mov dword [eax], esi
call fcn.0043a431
mov dword [eax], esi
or eax, 0xffffffff
jmp 0x438dbe
push eax
call fcn.0043f9aa
movzx eax, ax
pop ecx
sub eax, 0x60
jmp 0x438b6d
call fcn.0043f8f0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x274]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
or ebx, 0xffffffff
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x438c32
push 0x472320
push esi
call fcn.0043a07d
test eax, eax
pop ecx
pop ecx
je 0x438c1c
push 0x104
lea eax, [ebp - 0x47c]
push esi
push eax
call fcn.0043f842
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x438c1c
push esi
call fcn.00437d04
cmp eax, 3
pop ecx
je 0x438bcd
call fcn.00438a5a
test eax, eax
je 0x438c1c
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x438c1c
push ebx
push edi
push edi
push edi
push 1
push 1
push 0x7bc
mov dword [ebp - 0x274], 0x10
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x254], edi
mov word [ebp - 0x248], di
call fcn.0043f734
mov esi, dword [ebp + 0xc]
add esp, 0x1c
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
jmp 0x438d6a
call fcn.0043a428
push 2
pop esi
mov dword [eax], esi
call fcn.0043a431
mov dword [eax], esi
jmp 0x438dbc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x438da6
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x438da6
movzx eax, word [ebp - 8]
push ebx
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
call fcn.0043f734
mov esi, dword [ebp + 0xc]
add esp, 0x1c
cmp dword [ebp - 0x268], edi
mov dword [esi + 0x1c], eax
jne 0x438c9e
cmp dword [ebp - 0x264], edi
je 0x438cf4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x438da6
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x438da6
movzx eax, word [ebp - 8]
push ebx
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
call fcn.0043f734
add esp, 0x1c
cmp dword [ebp - 0x270], edi
mov dword [esi + 0x18], eax
jne 0x438d0c
cmp dword [ebp - 0x26c], edi
jne 0x438d0c
mov eax, dword [esi + 0x1c]
jmp 0x438d5e
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x438da6
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x438da6
movzx eax, word [ebp - 8]
push ebx
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
call fcn.0043f734
add esp, 0x1c
push dword [ebp - 0x18]
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
push dword [ebp - 0x274]
call fcn.00438997
mov word [esi + 6], ax
mov eax, dword [ebp - 0x254]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x24]
dec eax
pop ecx
mov dword [esi], eax
mov dword [esi + 0x10], eax
pop ecx
mov word [esi + 8], 1
mov word [esi + 4], di
mov word [esi + 0xc], di
mov word [esi + 0xa], di
xor eax, eax
jmp 0x438dbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043a43a
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
call fcn.004380c0
leave
ret