Function at 0x4753e8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x3b
push 0
push 0
dec ecx
jne 0x4753f1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404ccc
mov eax, dword [ebp + 8]
call fcn.00404ccc
xor eax, eax
push ebp
push 0x475f26
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00476550
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00476564
push 0x475f44
push dword [ebp - 8]
push 0x475f58
push 0x475f64
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 0xc]
call fcn.00409094
push dword [ebp - 0x130]
push 0x475f58
push 0x475f78
push dword [ebp + 8]
push 0x475f58
lea eax, [ebp - 0x12c]
mov edx, 9
call fcn.00404b9c
mov eax, dword [ebp - 0x12c]
mov edx, 0x475f90
call fcn.00464cc8
xor eax, eax
push ebp
push 0x475eac
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x475e47
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x28], 2
lea eax, [ebp - 0x24]
call fcn.0040480c
mov edx, dword [ebp + 8]
mov eax, 0x475fac
call fcn.00404e20
test eax, eax
jle 0x4754ea
mov al, byte [0x475fb0]
push eax
lea eax, [ebp - 0x24]
push eax
xor ecx, ecx
mov edx, 0x475fac
mov eax, dword [ebp + 8]
call fcn.0040e768
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00476440
test al, al
je 0x4755a4
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x1c
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004762d8
cmp dword [ebp - 0x14], 0
je 0x475522
lea eax, [ebp - 0x14]
mov edx, 0x475fbc
call fcn.00404ae4
push 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 0xb
lea ecx, [ebp - 0x138]
mov edx, 0x475fc8
mov eax, dword [ebp - 4]
call fcn.004749a0
cmp dword [ebp - 0x14], 0
je 0x4755a4
mov eax, dword [ebp - 0x14]
call fcn.004095ac
test al, al
je 0x4755a4
push dword [ebp - 0x14]
push 0x475fe8
mov eax, dword [ebp - 0xc]
cmp eax, 5
jbe 0x47556e
call fcn.004039f4
push dword [eax*4 + 0x4812e4]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404b9c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004749b4
test al, al
je 0x4755a4
mov byte [ebp - 0xd], 1
mov bl, 1
push 0x475ff4
push dword [ebp - 0x14]
push 0x475f58
push 0x47600c
push dword [ebp - 0x18]
push 0x475f58
push 0x476020
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x475f58
push 0x476034
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x475f58
push 0x476048
lea ecx, [ebp - 0x140]
xor edx, edx
mov al, byte [ebp - 0xd]
call fcn.004093cc
push dword [ebp - 0x140]
push 0x475f58
push 0x47605c
lea ecx, [ebp - 0x144]
xor edx, edx
mov eax, ebx
call fcn.004093cc
push dword [ebp - 0x144]
push 0x475f58
lea eax, [ebp - 0x13c]
mov edx, 0x12
call fcn.00404b9c
mov eax, dword [ebp - 0x13c]
mov edx, 0x476070
call fcn.00464cc8
test bl, bl
jne 0x475831
lea edx, [ebp - 0x14]
mov eax, 0x4760a0
call fcn.0040ef80
cmp dword [ebp - 0x14], 0
je 0x475668
mov eax, dword [ebp - 0x14]
call fcn.004095ac
test al, al
jne 0x475728
push 0xffffffffffffffff
lea ecx, [ebp - 0x144]
mov edx, 0x4760b8
mov eax, dword [ebp - 4]
call fcn.004749a0
push 0x475ff4
push dword [ebp - 0x14]
push 0x475f58
push 0x47600c
push dword [ebp - 0x18]
push 0x475f58
push 0x476020
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x475f58
push 0x476034
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x475f58
push 0x476048
lea ecx, [ebp - 0x14c]
xor edx, edx
mov al, byte [ebp - 0xd]
call fcn.004093cc
push dword [ebp - 0x14c]
push 0x475f58
push 0x47605c
lea ecx, [ebp - 0x150]
xor edx, edx
mov eax, ebx
call fcn.004093cc
push dword [ebp - 0x150]
push 0x475f58
lea eax, [ebp - 0x148]
mov edx, 0x12
call fcn.00404b9c
mov eax, dword [ebp - 0x148]
mov edx, 0x4760f8
call fcn.00464cc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004042f4
jmp 0x475eb3
push dword [ebp - 0x14]
push 0x475fe8
mov eax, dword [ebp - 0xc]
cmp eax, 5
jbe 0x47573d
call fcn.004039f4
push dword [eax*4 + 0x4812e4]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404b9c
push 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 0xb
lea ecx, [ebp - 0x138]
mov edx, 0x47611c
mov eax, dword [ebp - 4]
call fcn.004749a0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004749b4
test al, al
je 0x475798
mov byte [ebp - 0xd], 1
mov bl, 1
push 0x475ff4
push dword [ebp - 0x14]
push 0x475f58
push 0x47600c
push dword [ebp - 0x18]
push 0x475f58
push 0x476020
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x475f58
push 0x476034
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x475f58
push 0x476048
lea ecx, [ebp - 0x158]
xor edx, edx
mov al, byte [ebp - 0xd]
call fcn.004093cc
push dword [ebp - 0x158]
push 0x475f58
push 0x47605c
lea ecx, [ebp - 0x15c]
xor edx, edx
mov eax, ebx
call fcn.004093cc
push dword [ebp - 0x15c]
push 0x475f58
lea eax, [ebp - 0x154]
mov edx, 0x12
call fcn.00404b9c
mov eax, dword [ebp - 0x154]
mov edx, 0x476138
call fcn.00464cc8
test bl, bl
jne 0x475955
lea edx, [ebp - 0x14]
mov eax, 0x476160
call fcn.0040ef80
push 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 0xb
lea ecx, [ebp - 0x138]
mov edx, 0x476178
mov eax, dword [ebp - 4]
call fcn.004749a0
cmp dword [ebp - 0x14], 0
je 0x4758bc
push dword [ebp - 0x14]
push 0x475fe8
mov eax, dword [ebp - 0xc]
cmp eax, 5
jbe 0x475886
call fcn.004039f4
push dword [eax*4 + 0x4812e4]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404b9c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004749b4
test al, al
je 0x4758bc
mov byte [ebp - 0xd], 1
mov bl, 1
push 0x475ff4
push dword [ebp - 0x14]
push 0x475f58
push 0x47600c
push dword [ebp - 0x18]
push 0x475f58
push 0x476020
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x475f58
push 0x476034
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x475f58
push 0x476048
lea ecx, [ebp - 0x164]
xor edx, edx
mov al, byte [ebp - 0xd]
call fcn.004093cc
push dword [ebp - 0x164]
push 0x475f58
push 0x47605c
lea ecx, [ebp - 0x168]
xor edx, edx
mov eax, ebx
call fcn.004093cc
push dword [ebp - 0x168]
push 0x475f58
lea eax, [ebp - 0x160]
mov edx, 0x12
call fcn.00404b9c
mov eax, dword [ebp - 0x160]
mov edx, 0x476198
call fcn.00464cc8
test bl, bl
je 0x47596b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004042f4
jmp 0x475eb3
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x128]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00403258
lea eax, [ebp - 0x128]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetLogicalDriveStringsA
mov esi, eax
push 0x4761b8
lea eax, [ebp - 0x170]
lea edx, [ebp - 0x128]
mov ecx, pe_nt_image_headers32
call fcn.00404a8c
push dword [ebp - 0x170]
push 0x475f58
push 0x4761d0
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x174]
call fcn.00409180
push dword [ebp - 0x174]
lea eax, [ebp - 0x16c]
mov edx, 5
call fcn.00404b9c
mov eax, dword [ebp - 0x16c]
mov edx, 0x4761e4
call fcn.00464cc8
lea edi, [ebp - 0x128]
test esi, esi
jbe 0x475e24
push 0
mov dword [ebp - 0x138], edi
mov byte [ebp - 0x134], 6
lea ecx, [ebp - 0x138]
mov edx, 0x4761f8
mov eax, dword [ebp - 4]
call fcn.004749a0
mov al, byte [edi]
add al, 0xbd
sub al, 0x18
jae 0x475c8c
push edi
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0x20], eax
push 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 0
lea ecx, [ebp - 0x138]
mov edx, 0x476214
mov eax, dword [ebp - 4]
call fcn.004749a0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffffe
sub eax, 5
jae 0x475c8c
add dword [ebp - 0x1c], 1
jno 0x475a7b
call fcn.004039fc
test bl, bl
jne 0x475c8c
mov eax, dword [ebp - 0x20]
add eax, 0xfffffffe
sub eax, 5
jae 0x475c8c
push 0
mov dword [ebp - 0x138], edi
mov byte [ebp - 0x134], 6
lea ecx, [ebp - 0x138]
mov edx, 0x476230
mov eax, dword [ebp - 4]
call fcn.004749a0
mov dl, byte [edi]
mov eax, dword [ebp - 4]
call fcn.0047632c
test al, al
je 0x475c77
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x178]
mov edx, edi
call fcn.00404a14
lea eax, [ebp - 0x178]
mov edx, dword [ebp - 0xc]
cmp edx, 5
jbe 0x475af0
call fcn.004039f4
mov edx, dword [edx*4 + 0x4812e4]
call fcn.00404ae4
mov edx, dword [ebp - 0x178]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004749b4
test al, al
je 0x475c8c
mov eax, dword [ebp - 0x20]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x17c]
call fcn.00409180
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00404860
mov byte [ebp - 0xd], 1
push 0x47600c
lea eax, [ebp - 0x184]
mov edx, edi
call fcn.00404a14
push dword [ebp - 0x184]
mov eax, dword [ebp - 0xc]
cmp eax, 5
jbe 0x475b61
call fcn.004039f4
push dword [eax*4 + 0x4812e4]
push 0x475f58
push 0x476020
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x475f58
push 0x476034
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x475f58
push 0x476048
lea ecx, [ebp - 0x188]
xor edx, edx
mov al, byte [ebp - 0xd]
call fcn.004093cc
push dword [ebp - 0x188]
push 0x475f58
push 0x47605c
lea ecx, [ebp - 0x18c]
xor edx, edx
mov eax, ebx
call fcn.004093cc
push dword [ebp - 0x18c]
push 0x475f58
push 0x476264
lea edx, [ebp - 0x190]
mov eax, dword [ebp - 0x1c]
call fcn.00409094
push dword [ebp - 0x190]
push 0x475f58
lea eax, [ebp - 0x180]
mov edx, 0x13
call fcn.00404b9c
mov eax, dword [ebp - 0x180]
push eax
mov edx, 0x476274
lea eax, [ebp - 0x198]
call fcn.0040313c
lea eax, [ebp - 0x19c]
mov dl, byte [edi]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x198]
mov cl, 2
call fcn.0040310c
lea edx, [ebp - 0x198]
lea eax, [ebp - 0x1ac]
call fcn.0040313c
mov edx, 0x476278
lea eax, [ebp - 0x1ac]
mov cl, 0xe
call fcn.0040310c
lea edx, [ebp - 0x1ac]
lea eax, [ebp - 0x194]
call fcn.00404a80
mov edx, dword [ebp - 0x194]
pop eax
call fcn.00464cc8
jmp 0x475e24
push 0xffffffffffffffff
lea ecx, [ebp - 0x144]
mov edx, 0x476290
mov eax, dword [ebp - 4]
call fcn.004749a0
push 0x47600c
lea eax, [ebp - 0x1b4]
mov edx, edi
call fcn.00404a14
push dword [ebp - 0x1b4]
mov eax, dword [ebp - 0xc]
cmp eax, 5
jbe 0x475cb1
call fcn.004039f4
push dword [eax*4 + 0x4812e4]
push 0x475f58
push 0x476020
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x475f58
push 0x476034
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x475f58
push 0x476048
lea ecx, [ebp - 0x1b8]
xor edx, edx
mov al, byte [ebp - 0xd]
call fcn.004093cc
push dword [ebp - 0x1b8]
push 0x475f58
push 0x47605c
lea ecx, [ebp - 0x1bc]
xor edx, edx
mov eax, ebx
call fcn.004093cc
push dword [ebp - 0x1bc]
push 0x475f58
push 0x476264
lea edx, [ebp - 0x1c0]
mov eax, dword [ebp - 0x1c]
call fcn.00409094
push dword [ebp - 0x1c0]
push 0x475f58
lea eax, [ebp - 0x1b0]
mov edx, 0x13
call fcn.00404b9c
mov eax, dword [ebp - 0x1b0]
push eax
mov edx, 0x476274
lea eax, [ebp - 0x198]
call fcn.0040313c
lea eax, [ebp - 0x19c]
mov dl, byte [edi]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x198]
mov cl, 2
call fcn.0040310c
lea edx, [ebp - 0x198]
lea eax, [ebp - 0x1d4]
call fcn.0040313c
mov edx, 0x4762ac
lea eax, [ebp - 0x1d4]
mov cl, 0xd
call fcn.0040310c
lea edx, [ebp - 0x1d4]
lea eax, [ebp - 0x1c4]
call fcn.00404a80
mov edx, dword [ebp - 0x1c4]
pop eax
call fcn.00464cc8
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1d8]
mov edx, edi
call fcn.00404a14
mov eax, dword [ebp - 0x1d8]
call fcn.00404adc
add eax, 1
jno 0x475dea
call fcn.004039fc
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
test edx, edx
je 0x475dfd
call fcn.004039f4
mov esi, eax
lea eax, [ebp - 0x1dc]
mov edx, edi
call fcn.00404a14
mov eax, dword [ebp - 0x1dc]
call fcn.00404adc
add edi, eax
add edi, 1
test esi, esi
ja 0x475a05
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x475e3d
mov byte [0x483130], 1
dec dword [ebp - 0x28]
jne 0x4754b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475e90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475eb3
mov dl, byte [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.004765cc
mov byte [ebp - 0xd], al
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475f2d
lea eax, [ebp - 0x1dc]
mov edx, 2
call fcn.00404830
lea eax, [ebp - 0x1c4]
mov edx, 6
call fcn.00404830
lea eax, [ebp - 0x194]
mov edx, 0x17
call fcn.00404830
lea eax, [ebp - 0x130]
mov edx, 2
call fcn.00404830
lea eax, [ebp - 0x24]
call fcn.0040480c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404830
lea eax, [ebp - 8]
call fcn.0040480c
lea eax, [ebp + 8]
call fcn.0040480c
ret