Function at 0x104503a
Capabilities:
Enumerate disk volumes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x111127c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x214], ebx
mov byte [ebp - 0x217], bl
mov byte [ebp - 0x215], bl
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10450b6
test dword [eax + 0x1c], 0x200
je 0x10450b6
cmp byte [eax + 0x19], 4
jb 0x10450b6
push 0x1003920
push 0x42
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov eax, dword [0x111124c]
cmp esi, ebx
jne 0x10450c6
mov dword [ebp - 0x210], 0x80004003
jmp 0x10450db
mov dword [esi], ebx
cmp edi, ebx
jne 0x1045147
mov dword [ebp - 0x210], 0x80004003
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x1045130
test byte [eax + 0x1c], 1
je 0x104510b
cmp byte [eax + 0x19], 2
jb 0x104510b
push dword [ebp - 0x210]
push 0x1003920
push 0x4b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x1045130
test byte [eax + 0x1c], 1
je 0x1045130
cmp byte [eax + 0x19], 4
jb 0x1045130
push 0x1003920
push 0x4c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f5f8
leave
ret 0xc
mov ecx, dword [ebp + 8]
mov dword [edi], ebx
call fcn.0103bd44
cmp eax, ebx
mov dword [ebp - 0x210], eax
jl 0x10450d6
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x20c]
push eax
call edi
mov dword [ebp - 0x224], eax
cmp eax, 0xffffffff
jne 0x10451d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10451b7
test byte [eax + 0x1c], 1
je 0x10451b7
cmp byte [eax + 0x19], 2
jb 0x10451b7
push esi
push 0x1003920
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [0x111124c]
test esi, esi
jg 0x10451c6
mov dword [ebp - 0x210], esi
jmp 0x1045653
and esi, 0xffff
or esi, 0x80070000
jmp 0x10451bb
inc dword [ebp - 0x21c]
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x10451d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x12
jne 0x10455cb
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov esi, dword [ebp - 0x21c]
imul esi, esi, 0x48
push esi
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x1045238
mov dword [ebp - 0x210], 0x8007000e
jmp 0x1045618
push esi
push 0
push dword [ebp - 0x214]
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 0x20c]
push eax
call edi
mov dword [ebp - 0x224], eax
cmp eax, 0xffffffff
jne 0x10452b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x1045296
test byte [eax + 0x1c], 1
je 0x1045296
cmp byte [eax + 0x19], 2
jb 0x1045296
push esi
push 0x1003920
push 0x45
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [0x111124c]
test esi, esi
jg 0x10452a5
mov dword [ebp - 0x210], esi
jmp 0x104561d
and esi, 0xffff
or esi, 0x80070000
jmp 0x104529a
and dword [ebp - 0x228], 0
mov dword [ebp - 0x22c], esi
lea eax, [ebp - 0x216]
push eax
lea eax, [ebp - 0x20c]
push eax
mov byte [ebp - 0x216], 0
call fcn.010de4a5
test eax, eax
jge 0x1045321
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x104547f
test dword [ecx + 0x1c], 0x200
je 0x104547f
cmp byte [ecx + 0x19], 3
jb 0x104547f
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x1003920
push 0x46
push dword [ecx + 0x14]
push dword [ecx + 0x10]
jmp 0x104547a
cmp byte [ebp - 0x216], 0
jne 0x104536f
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104547f
test dword [eax + 0x1c], 0x200
je 0x104547f
cmp byte [eax + 0x19], 3
jb 0x104547f
lea ecx, [ebp - 0x20c]
push ecx
push 0x1003920
push 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019680
jmp 0x104547f
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x21c]
jne 0x10453df
mov esi, dword [ebp - 0x22c]
mov ebx, dword [ebp - 0x21c]
add esi, 0x240
push esi
push dword [ebp - 0x214]
add ebx, 8
call dword [sym.imp.ole32.dll_CoTaskMemRealloc]
mov edi, eax
test edi, edi
je 0x1045579
mov eax, ebx
sub eax, dword [ebp - 0x21c]
imul eax, eax, 0x48
push eax
mov eax, dword [ebp - 0x22c]
add eax, edi
push 0
push eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x21c], ebx
add esp, 0xc
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x214], edi
mov ebx, 0x104
mov esi, dword [ebp - 0x220]
cmp esi, dword [ebp - 0x21c]
jae 0x1045525
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x214]
lea edi, [eax + ecx]
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.010437ba
mov dword [ebp - 0x210], eax
test eax, eax
jge 0x1045424
cmp eax, 0x8007000e
je 0x104560c
jmp 0x104547f
lea eax, [ebp - 0x215]
push eax
lea eax, [ebp - 0x217]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.010de585
mov dword [ebp - 0x210], eax
test eax, eax
jge 0x1045488
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104547f
test byte [eax + 0x1c], 1
je 0x104547f
cmp byte [eax + 0x19], 3
jb 0x104547f
push dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
push ecx
push 0x1003920
push 0x49
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010196ed
and dword [ebp - 0x210], 0
jmp 0x10454b1
cmp byte [ebp - 0x217], 0
jne 0x10454a0
cmp byte [ebp - 0x215], 0
je 0x10454a0
mov byte [edi + 0x39], 1
jmp 0x10454a4
mov byte [edi + 0x39], 0
inc dword [ebp - 0x220]
add dword [ebp - 0x228], 0x48
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x10452c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x12
jne 0x1045588
mov esi, dword [ebp - 0x220]
xor edi, edi
cmp esi, edi
jne 0x1045504
cmp dword [ebp - 0x214], edi
je 0x1045504
push dword [ebp - 0x214]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x214], edi
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x214]
mov dword [eax], esi
mov eax, dword [ebp - 0x234]
mov dword [eax], ecx
mov dword [ebp - 0x214], edi
jmp 0x104560c
push 0x1004350
push 0x4ff
push 0x1003930
call fcn.0107b4be
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104556a
test byte [eax + 0x1c], 1
je 0x104556a
cmp byte [eax + 0x19], 2
jb 0x104556a
push dword [ebp - 0x21c]
push esi
push 0x1003920
push 0x48
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109ba57
mov dword [ebp - 0x210], 0x8000ffff
jmp 0x104560c
mov dword [ebp - 0x210], 0x8007000e
jmp 0x104560c
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10455b3
test byte [eax + 0x1c], 1
je 0x10455b3
cmp byte [eax + 0x19], 2
jb 0x10455b3
push edi
push 0x1003920
push 0x4a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
test edi, edi
jle 0x10455c3
and edi, 0xffff
or edi, 0x80070000
mov dword [ebp - 0x210], edi
jmp 0x104560c
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10455f6
test byte [eax + 0x1c], 1
je 0x10455f6
cmp byte [eax + 0x19], 2
jb 0x10455f6
push esi
push 0x1003920
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
test esi, esi
jle 0x1045606
and esi, 0xffff
or esi, 0x80070000
mov dword [ebp - 0x210], esi
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov eax, dword [0x111124c]
cmp dword [ebp - 0x214], 0
je 0x1045653
mov esi, dword [ebp - 0x21c]
test esi, esi
jbe 0x1045642
mov edi, dword [ebp - 0x214]
push edi
call fcn.010fd515
add edi, 0x48
dec esi
jne 0x1045636
push dword [ebp - 0x214]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [0x111124c]
cmp dword [ebp - 0x210], 0
jge 0x104510b
jmp 0x10450db