Function at 0x432950
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cce26
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4fd0b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
push dword [eax]
push 0
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
lea ecx, [ebp - 0x224]
call fcn.00431ca0
mov edi, dword [ebx + 4]
mov esi, eax
cmp edi, esi
je 0x4329cb
mov ecx, edi
call fcn.00432f40
mov ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x224]
call fcn.00432f40
mov eax, dword [ebx + 4]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x238], eax
cmp esi, eax
je 0x432bdc
nop dword [eax]
push 0x4ed88c
mov edx, esi
lea ecx, [ebp - 0x230]
call fcn.00433020
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x432a0d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edx, dword [ebp - 0x21c]
mov edi, eax
cmp edx, 8
jb 0x432a56
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x432a4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432bf8
push edx
push ecx
call fcn.0047904e
add esp, 8
cmp edi, 4
jne 0x432bcd
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 0x234], 0x104
jb 0x432a73
mov eax, dword [esi]
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.MPR.dll_WNetGetConnectionW]
test eax, eax
jne 0x432bcd
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432ab0
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042d9b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
mov edi, dword [ebx + 8]
push ecx
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x432af8
mov ecx, eax
call fcn.00430ad0
add dword [edi + 4], 0x18
jmp 0x432b00
push eax
mov ecx, edi
call fcn.00433a30
mov eax, dword [ebx]
lea ecx, [ebp - 0x250]
mov eax, dword [eax]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x230]
push eax
call fcn.00430ad0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
mov edi, dword [ebx + 0xc]
push ecx
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x432b42
mov edx, eax
call fcn.00433730
add esp, 4
add dword [edi + 4], 8
jmp 0x432b4a
push eax
mov ecx, edi
call fcn.00433840
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x432b8a
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x432b80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432bf8
push edx
push ecx
call fcn.0047904e
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x432bcd
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x432bc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432bf8
push edx
push ecx
call fcn.0047904e
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x238]
jne 0x4329f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047900d
mov esp, ebp
pop ebp
ret
call fcn.0049a859
int3