Function at 0x4233a0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57f9ab
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x114c
call fcn.00554a50
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x1148], eax
push ebx
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x1160]
mov dword fs:[0], eax
xor ebx, ebx
push 0xffe
lea eax, [esp + 0x15a]
mov esi, ecx
push ebx
push eax
mov dword [esp + 0x38], esi
mov word [esp + 0x160], bx
call fcn.00552500
add esp, 0xc
lea ecx, [esp + 0x154]
push ecx
push 0x7ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp eax, ebx
jne 0x423441
mov esi, dword [esi + 4]
push 0x596458
push 0x596578
mov ebx, 0x30
call fcn.00420640
add esp, 8
jmp 0x4236ac
cmp word [esp + 0x154], bx
lea esi, [esp + 0x154]
je 0x4236ac
jmp 0x423464
mov esi, dword [esp + 0x28]
push 0xfe
lea edx, [esp + 0x5a]
push ebx
push edx
mov word [esp + 0x60], bx
call fcn.00552500
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x423481
sub eax, edx
sar eax, 1
cmp eax, 0x80
jbe 0x42349e
mov eax, 0x7f
jmp 0x4234b2
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4234a3
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 0x58]
push esi
push ecx
call fcn.00552de0
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
jmp 0x4234d0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4234d0
sub eax, edx
sar eax, 1
lea edx, [esi + eax*2 + 2]
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x42369d
mov edi, dword [0x5c5024]
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x116c], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [edi - 0xc], 1
lea ebx, [edi - 0xc]
mov esi, eax
jg 0x423527
cmp esi, dword [edi - 4]
jle 0x423562
add edi, 0xfffffff4
cmp edi, dword [0x5c5020]
je 0x423550
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x423546
push ebx
call fcn.0055221b
add esp, 4
mov edx, dword [0x5c5024]
mov dword [esp + 0x14], edx
push esi
lea ecx, [esp + 0x18]
call fcn.00404940
test eax, eax
mov edi, dword [esp + 0x14]
je 0x423587
lea ebx, [esi + esi]
push ebx
lea eax, [esp + 0x58]
push eax
lea ecx, [ebx + 2]
push ecx
push edi
call fcn.00552323
push eax
call fcn.00401220
mov dword [edi - 8], esi
add esp, 0x14
mov word [ebx + edi], 0
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push 0x5c
push edi
call fcn.005522f3
add esp, 8
test eax, eax
jne 0x4235b5
or eax, 0xffffffff
jmp 0x4235b9
sub eax, edi
sar eax, 1
mov ecx, dword [edi - 8]
lea edx, [ecx - 1]
cmp eax, edx
jne 0x4235d6
add ecx, 0xffffffff
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.00407380
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esi + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
sbb eax, dword [esp + 0x38]
add esi, 0x34
cmp ebx, dword [esi + 8]
mov dword [esp + 0x20], eax
jbe 0x423602
call fcn.005532de
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov dword [esp + 0x30], eax
jbe 0x423613
call fcn.005532de
cmp esi, esi
je 0x42361c
call fcn.005532de
cmp ebx, dword [esp + 0x30]
je 0x423664
cmp ebx, dword [esi + 8]
jb 0x42362c
call fcn.005532de
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0xc]
ja 0x42364f
jb 0x423640
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [ebx + 8]
ja 0x42364f
cmp ebx, dword [esi + 8]
jb 0x42364a
call fcn.005532de
add ebx, 0x10
jmp 0x423602
lea edx, [esp + 0x14]
push edx
push ebx
push esi
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.00422a80
jmp 0x423670
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00423000
lea edx, [edi - 0xc]
cmp edx, dword [0x5c5020]
mov dword [esp + 0x1168], 0xffffffff
je 0x42369d
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42369d
push esi
call fcn.0055221b
add esp, 4
mov eax, dword [esp + 0x28]
xor ebx, ebx
cmp word [eax], bx
jne 0x423460
mov ecx, dword [esp + 0x1160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1148]
xor ecx, esp
call fcn.00552d63
mov esp, ebp
pop ebp
ret