Function at 0x449ab0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5049cd
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5582e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
push 0
call edi
mov esi, eax
push esi
call fcn.00501791
add esp, 4
mov dword [ebp - 0x48], eax
push eax
push esi
call edi
test eax, eax
jne 0x449b11
push dword [ebp - 0x48]
call fcn.0050179a
add esp, 4
xor al, al
jmp 0x449dfe
mov ecx, dword [ebp - 0x4c]
call fcn.004490c0
mov eax, dword [ebp - 0x48]
mov esi, eax
cmp byte [eax], 0
je 0x449df3
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
nop dword [eax]
push esi
call edi
cmp eax, 2
jne 0x449cac
movsx ecx, byte [esi]
xorps xmm0, xmm0
movzx eax, cl
shl cx, 8
movups xmmword [ebp - 0x28], xmm0
or cx, ax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], cl
mov byte [ebp - 0x27], 0
push 0x10
push str.Removable_Disk:
push 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004498d0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x44]
call fcn.0042c1f0
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x449beb
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x449be1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449e19
push ecx
push edx
call fcn.00500e09
add esp, 8
mov ecx, dword [ebp - 0x4c]
add ecx, 0x1a4
mov byte [ebp - 4], 2
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x449c24
movups xmm0, xmmword [ebp - 0x44]
mov edx, 0xf
mov byte [ebp - 0x44], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [eax + 0x10], xmm0
mov byte [eax + 0x18], 0
add dword [ecx + 4], 0x1c
jmp 0x449c31
lea edx, [ebp - 0x44]
push edx
push eax
call fcn.00446910
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x449c68
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x44]
mov eax, edx
cmp ecx, 0x1000
jb 0x449c5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449e19
push ecx
push edx
call fcn.00500e09
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x449de0
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x449c9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449e19
push ecx
push edx
call fcn.00500e09
add esp, 8
jmp 0x449de0
push esi
call edi
cmp eax, 3
jne 0x449de0
movsx ecx, byte [esi]
xorps xmm0, xmm0
movzx eax, cl
shl cx, 8
movups xmmword [ebp - 0x28], xmm0
or cx, ax
mov dword [ebp - 0x18], 1
push 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], cl
mov byte [ebp - 0x27], 0
sub esp, 0x18
mov dword [ebp - 4], 3
mov edi, esp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x50], edi
push 0xc
push str.Local_Disk:
push 0
call fcn.004498d0
xorps xmm0, xmm0
lea ecx, [ebp - 0x44]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.00448840
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 4
lea ecx, [ecx + 0x1a4]
call fcn.0044aab0
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 3
cmp ecx, 0x10
jb 0x449d8e
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x449d84
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449e19
push ecx
push edx
call fcn.00500e09
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x449dd7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x449dcd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449e19
push ecx
push edx
call fcn.00500e09
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
nop dword [eax]
inc esi
cmp byte [esi], 0
jne 0x449de0
inc esi
cmp byte [esi], 0
jne 0x449b30
mov eax, dword [ebp - 0x48]
push eax
call fcn.0050179a
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00501271
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3