Function at 0x41ea90
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4568e2
mov eax, dword fs:[0]
push eax
mov eax, 0x30c0
call fcn.0044d3e0
mov eax, dword [0x467334]
xor eax, esp
mov dword [esp + 0x30b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x467334]
xor eax, esp
push eax
lea eax, [esp + 0x30d4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30e4]
xor ebx, ebx
push 0xfff
lea ecx, [esp + 0xd1]
push ebx
push ecx
mov dword [esp + 0x2c], eax
mov byte [esp + 0xd8], bl
call fcn.00444d20
add esp, 0xc
lea edx, [esp + 0xcc]
push edx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp eax, ebx
je 0x41ecca
cmp eax, 0x1000
ja 0x41ecca
lea esi, [esp + 0xcc]
call fcn.00417a50
test eax, eax
je 0x41eb34
call fcn.00418740
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push esi
call ebp
cmp eax, 3
jne 0x41ebc3
push 0xfff
lea eax, [esp + 0x20d1]
push ebx
push eax
mov byte [esp + 0x20d8], bl
call fcn.00444d20
add esp, 0xc
push 0xfff
lea ecx, [esp + 0x10d1]
push ebx
push ecx
mov byte [esp + 0x10d8], bl
call fcn.00444d20
add esp, 0xc
push ebx
call fcn.0043cb47
add esp, 4
push 0x1000
lea edx, [esp + 0x10d0]
push edx
push ebx
push ebx
lea eax, [esp + 0x2c]
push eax
push 0x1000
lea ecx, [esp + 0x20e4]
push ecx
push esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30fc], 0xffffffff
call edi
cmp eax, 1
je 0x41ec31
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41ebc8
sub eax, edx
lea esi, [esi + eax + 1]
call fcn.00438a10
mov eax, esi
mov dword [esp + 0x30dc], 0xffffffff
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41ebf0
sub eax, edx
jne 0x41eb40
lea ebp, [eax + 0x10]
lea ecx, [esp + 0x28]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
mov dword [esp + 0x44], esp
cmp eax, ebp
jb 0x41edf0
mov ecx, dword [edi]
jmp 0x41edf2
lea edx, [esp + 0x44]
push edx
call fcn.00429cc0
mov dword [esp + 0x30dc], 4
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.00429170
call fcn.00417b10
test eax, eax
je 0x41ec68
call fcn.00419f50
call fcn.00419cc0
call fcn.00431ed0
test eax, eax
je 0x41ec76
call fcn.00418590
lea ecx, [esp + 0x28]
lea eax, [esp + 0x44]
call fcn.00429df0
mov esi, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x1d8]
mov byte [esp + 0x30e8], 5
call fcn.00402ea0
lea ecx, [esp + 0x28]
call fcn.00402c70
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x44]
mov dword [esi + 0x1d4], edx
mov dword [esp + 0x30dc], 0xffffffff
call fcn.0041c720
jmp 0x41ef20
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x2c]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
mov ebp, pe_nt_image_headers32
mov dword [esp + 0x48], esp
cmp eax, ebp
jb 0x41ecfe
mov ecx, dword [edi]
jmp 0x41ed00
mov ecx, edi
cmp ecx, 0x45c3c4
ja 0x41ed39
cmp eax, ebp
jb 0x41ed10
mov ecx, dword [edi]
jmp 0x41ed12
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x45c3c4
jbe 0x41ed39
cmp eax, ebp
jb 0x41ed25
mov edi, dword [edi]
push 0x25
mov eax, 0x45c3c4
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402ea0
jmp 0x41ed7a
cmp eax, 0x25
jae 0x41ed4b
mov ecx, dword [esi + 0x14]
push ecx
push 0x25
mov ecx, esi
call fcn.00403800
mov ecx, dword [esi + 0x18]
cmp ecx, ebp
jb 0x41ed56
mov eax, dword [edi]
jmp 0x41ed58
mov eax, edi
push 0x25
push 0x45c3c4
push ecx
push eax
call fcn.0043c85e
add esp, 0x10
mov dword [esi + 0x14], 0x25
cmp dword [esi + 0x18], ebp
jb 0x41ed77
mov edi, dword [edi]
mov byte [edi + 0x25], bl
lea esi, [esp + 0x68]
call fcn.00401900
mov dword [esp + 0x30e4], ebx
call fcn.004019c0
mov byte [esp + 0x30e0], 1
cmp dword [eax + 0x18], ebp
jb 0x41eda1
mov eax, dword [eax + 4]
jmp 0x41eda4
add eax, 4
mov edx, dword [esp + 0x24]
push eax
push 1
push edx
call fcn.0041c440
add esp, 0x10
cmp dword [esp + 0x40], ebp
jb 0x41edc7
mov eax, dword [esp + 0x2c]
push eax
call fcn.0043c853
add esp, 4
lea esi, [esp + 0x44]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x30dc], 0xffffffff
call fcn.00429050
jmp 0x41ec02
mov ecx, edi
cmp ecx, 0x45c3ec
ja 0x41ee2b
cmp eax, ebp
jb 0x41ee02
mov ecx, dword [edi]
jmp 0x41ee04
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x45c3ec
jbe 0x41ee2b
cmp eax, ebp
jb 0x41ee17
mov edi, dword [edi]
push 0x19
mov eax, 0x45c3ec
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402ea0
jmp 0x41ee6c
cmp eax, 0x19
jae 0x41ee3d
mov ecx, dword [esi + 0x14]
push ecx
push 0x19
mov ecx, esi
call fcn.00403800
mov ecx, dword [esi + 0x18]
cmp ecx, ebp
jb 0x41ee48
mov eax, dword [edi]
jmp 0x41ee4a
mov eax, edi
push 0x19
push 0x45c3ec
push ecx
push eax
call fcn.0043c85e
add esp, 0x10
mov dword [esi + 0x14], 0x19
cmp dword [esi + 0x18], ebp
jb 0x41ee69
mov edi, dword [edi]
mov byte [edi + 0x19], bl
lea esi, [esp + 0x64]
call fcn.00401900
mov ecx, eax
mov dword [esp + 0x30e0], 8
call fcn.00401b50
mov byte [esp + 0x30dc], 9
cmp dword [eax + 0x18], ebp
jb 0x41ee99
mov eax, dword [eax + 4]
jmp 0x41ee9c
add eax, 4
mov edi, dword [esp + 0x20]
push eax
push 1
push edi
call fcn.0041c440
add esp, 0xc
cmp dword [esp + 0x40], ebp
jb 0x41eebf
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043c853
add esp, 4
lea esi, [esp + 0x44]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x30dc], 0xffffffff
call fcn.00429050
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x1f8]
push eax
lea ecx, [edi + 0x1d8]
call fcn.00402ea0
mov ecx, dword [edi + 0x1f4]
lea eax, [esp + 0x1b]
mov dword [edi + 0x1d4], ecx
mov byte [esp + 0x1b], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41ef10
sub eax, edx
je 0x41ef20
call fcn.00418740
xor eax, eax
mov ecx, dword [esp + 0x30d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30b8]
xor ecx, esp
call fcn.0043c2d9
add esp, 0x30cc
ret 4