Function at 0x43cbe0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a71e
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x4c606c]
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 edi, ecx
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffe
cmp eax, 0x7ffc
jbe 0x43cc53
cmp byte [0x4cb64d], 0
jne 0x43d06b
push 0x12c
lea eax, [ebp - 0x350]
push 0
push eax
call fcn.00472130
add esp, 8
push 0
push 0xfc
push 0x97
jmp 0x43d03b
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x18]
push 3
push eax
push dword [edi]
call fcn.0047b9fa
add esp, 0x24
test eax, eax
jne 0x43d010
mov ax, word [ebp - 0x18]
movzx ecx, ax
cmp ax, 0x61
jb 0x43cc94
sub ecx, 0x61
jmp 0x43cc97
sub ecx, 0x41
mov eax, 1
shl eax, cl
test esi, eax
je 0x43d010
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x43cce6
cmp byte [0x4cb64d], 0
jne 0x43d06b
push 0x12c
lea eax, [ebp - 0x350]
push 0
push eax
call fcn.00472130
add esp, 8
push 0
push 0xfc
push 0x96
jmp 0x43d03b
mov ecx, edi
call fcn.0043d0d0
test al, al
jne 0x43ce02
mov dword [ebp - 0x354], 0
mov dword [ebp - 4], 0
call fcn.00403470
mov ecx, eax
test ecx, ecx
je 0x43d089
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x354]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0x49e49c
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
je 0x43cd50
add esi, 0xfffffff0
mov dword [ebp - 4], 2
jmp 0x43ce3d
mov edx, dword [ebp - 0x354]
test edx, edx
jne 0x43cd5e
xor ecx, ecx
jmp 0x43cd72
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cd63
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.004175e0
push dword [ebp - 0x354]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x354], 0
test esi, esi
je 0x43d093
push esi
push dword [edi]
call fcn.00478430
add esp, 8
test eax, eax
jne 0x43cdb8
add esi, 0xfffffff0
mov dword [ebp - 4], 3
jmp 0x43cded
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x18]
push 6
add eax, 0xfffffffa
push eax
call fcn.00441950
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x43d09d
push esi
push dword [edi]
call fcn.00478430
add esp, 8
add esi, 0xfffffff0
test eax, eax
jne 0x43ce36
mov dword [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43ce02
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [0x4cb64d], 0
jne 0x43d06b
push 0x12c
lea eax, [ebp - 0x350]
push 0
push eax
call fcn.00472130
add esp, 8
push 0
push 0xfc
push 0x106
jmp 0x43d03b
mov dword [ebp - 4], 5
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43ce54
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.0043d2c0
test al, al
jne 0x43ce02
push 0x20a
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.00472130
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x43cf88
call fcn.00403470
mov ecx, eax
test ecx, ecx
je 0x43d0a7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 6
test eax, 0xffff0000
jne 0x43ced8
movzx eax, ax
lea ecx, [ebp - 0x354]
push eax
call fcn.0040dca0
jmp 0x43cf03
lea ecx, [ebp - 0x224]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cee1
sub ecx, edx
lea eax, [ebp - 0x224]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x354]
call fcn.004175e0
mov dword [ebp - 4], 7
mov esi, dword [ebp - 0x354]
mov eax, dword [esi - 0xc]
lea ecx, [eax - 1]
test ecx, ecx
js 0x43d0bb
cmp ecx, eax
jg 0x43d0bb
cmp word [esi + ecx*2], 0x5c
jne 0x43cf41
push 1
push ecx
lea ecx, [ebp - 0x354]
call fcn.00441950
mov esi, dword [ebp - 0x354]
test esi, esi
je 0x43d0b1
push esi
push dword [edi]
call fcn.00478430
add esp, 8
add esi, 0xfffffff0
test eax, eax
jne 0x43cf6f
mov dword [ebp - 4], 8
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jmp 0x43cdf8
mov dword [ebp - 4], 9
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43cf88
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43cfcf
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x43d00c
cmp byte [0x4cb64d], al
jne 0x43d06b
push 0x12c
push eax
lea eax, [ebp - 0x350]
push eax
call fcn.00472130
add esp, 8
push 0
push 0xfc
push 0x98
jmp 0x43d03b
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43d00c
cmp byte [0x4cb64d], al
jne 0x43d06b
push 0x12c
push eax
lea eax, [ebp - 0x350]
push eax
call fcn.00472130
add esp, 8
push 0
push 0xfc
push 0x94
jmp 0x43d03b
mov al, 1
jmp 0x43d06d
cmp byte [0x4cb64d], 0
jne 0x43d06b
push 0x12c
lea eax, [ebp - 0x350]
push 0
push eax
call fcn.00472130
add esp, 8
push 0
push 0xfc
push 0x95
push 0x80
push 1
lea ecx, [ebp - 0x350]
call fcn.0041a370
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x350]
call fcn.00408880
lea ecx, [ebp - 0x350]
call fcn.00408060
xor al, al
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.00459e83
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004035e0
push 0x80004005
call fcn.004035e0
push 0x80004005
call fcn.004035e0
push 0x80004005
call fcn.004035e0
push 0x80004005
call fcn.004035e0
push 0x80070057
call fcn.004035e0
int3