Function at 0x413a20
Capabilities:
Enumerate disk volumes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x55bd94]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x10], 0
movzx eax, byte [eax]
push 2
push 0x20a
call fcn.0040d1d0
add esp, 8
test eax, eax
je 0x413d4e
mov esi, eax
push 0x20a
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x105
push esi
call sub.kernel32.dll_FindFirstVolumeW
mov dword [ebp - 0x28], eax
dec eax
cmp eax, 0xfffffffd
ja 0x413abb
xor edi, edi
mov ebx, 0xfffffffe
nop word [eax + eax]
cmp word [esi + edi*2], 0
je 0x413b47
add ebx, 0xfffffffe
inc edi
cmp ebx, 0xfffffdf4
jne 0x413a90
push 0x53784c
push 0x105
push 0x106
call fcn.004e1cd0
call fcn.00447f20
test edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 1
je 0x413add
lea eax, [ebp - 0x1c]
push eax
call fcn.00447ed0
add esp, 4
push 2
push 0x20a
push esi
call fcn.0040d1e0
add esp, 0xc
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x413b1e
mov edi, dword [ebp - 0x14]
add edi, 4
jmp 0x413b06
add edi, 0xc
dec esi
je 0x413b1e
mov eax, dword [edi - 4]
test eax, eax
je 0x413b00
add eax, eax
push 2
push eax
push dword [edi]
call fcn.0040d1e0
add esp, 0xc
jmp 0x413b00
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x413b39
shl eax, 2
lea eax, [eax + eax*2]
push 4
push eax
push dword [ebp - 0x14]
call fcn.0040d1e0
add esp, 0xc
mov eax, 4
xor ecx, ecx
xor edx, edx
jmp 0x413cce
mov eax, dword [0x55bd94]
neg ebx
movzx eax, byte [eax]
push 2
push ebx
call fcn.0040d1d0
add esp, 8
test eax, eax
je 0x413d46
inc edi
push ebx
push esi
push eax
mov ebx, eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call fcn.004242d0
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [ebp - 0x10], 1
jmp 0x413bb9
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebx + ebx*2]
inc edi
inc ebx
mov dword [eax + ecx*4], edi
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [ebp - 0x10], ebx
push 0x105
push esi
push dword [ebp - 0x28]
call sub.kernel32.dll_FindNextVolumeW
test eax, eax
je 0x413c48
xor edi, edi
mov ebx, 0xfffffffe
nop word cs:[eax + eax]
nop dword [eax]
cmp word [esi + edi*2], 0
je 0x413c00
add ebx, 0xfffffffe
inc edi
cmp ebx, 0xfffffdf4
jne 0x413be0
jmp 0x413aa7
mov eax, dword [0x55bd94]
neg ebx
movzx eax, byte [eax]
push 2
push ebx
call fcn.0040d1d0
add esp, 8
test eax, eax
je 0x413d46
push ebx
push esi
mov dword [ebp - 0x2c], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ebx, dword [ebp - 0x10]
cmp ebx, dword [ebp - 0x18]
jne 0x413ba0
lea eax, [ebp - 0x18]
push eax
call fcn.004242d0
add esp, 4
jmp 0x413ba0
call fcn.00447f20
lea ebx, [ebp - 0x1c]
test edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], 1
je 0x413c6a
push ebx
call fcn.00447ed0
add esp, 4
call fcn.00447f20
cmp eax, 0x80070012
lea ecx, [ebp - 0x20]
test edx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
je 0x413c8a
push ecx
call fcn.00447ed0
add esp, 4
push dword [ebp - 0x28]
call sub.kernel32.dll_FindVolumeClose
test eax, eax
jne 0x413cb5
call fcn.00447f20
test edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], 1
je 0x413cb5
push ebx
call fcn.00447ed0
add esp, 4
push 2
push 0x20a
push esi
call fcn.0040d1e0
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x24]
push eax
push ecx
call fcn.00418180
add esp, 8
mov eax, dword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x24]
mov dword [ebp - 0x30], eax
movsd qword [ebp - 0x38], xmm0
push esi
call fcn.00418a10
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x413d2f
imul eax, eax, 0x58
push 8
push eax
push dword [esi + 4]
call fcn.0040d1e0
add esp, 0xc
mov eax, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x38]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
push ebx
push 2
call fcn.004d09f0
push 0x20a
push 2
call fcn.004d0a10
nop word [eax + eax]
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 8]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov edx, esp
push ecx
push edx
push 0
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x413dc8
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edi
xor ecx, ecx
mov eax, 1
jmp 0x413df2
call fcn.00447f20
test edx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 1
je 0x413dee
lea eax, [esp + 0x1c]
push eax
call fcn.00447ed0
add esp, 4
xor eax, eax
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret