Function at 0x42da20
Capabilities:
Enumerate disk volumes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x453c20
push 0x43e9e0
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, 0x4160
call fcn.0043dba0
mov eax, dword [0x4564f0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1148], esi
xor ebx, ebx
mov dword [ebp - 0x112c], ebx
lea eax, [ebp - 0x1120]
mov dword [ebp - 0x1140], eax
lea eax, [esi + 0x9c]
mov dword [esi + 0xa0], eax
mov dword [eax], eax
push 0x104
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov dword [ebp - 0x113c], eax
mov edi, 0x409680
cmp dword [ebp - 0x113c], 0xffffffff
je 0x42dfca
mov byte [ebp - 0x1121], bl
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x120]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42dac4
sub eax, edx
mov byte [ebp + eax - 0x121], bl
or dword [ebp - 0x1128], 0xffffffff
push ebx
push ebx
push 3
push ebx
push 3
push 0x20000
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1128], eax
cmp eax, 0xffffffff
jne 0x42db57
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x1130], eax
mov dword [ebp - 0x3170], ebx
mov eax, dword [0x458858]
mov dword [ebp - 0x316c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x120]
push eax
push 0x409814
push dword [ebp - 0x1130]
push edi
push 9
lea ecx, [ebp - 0x3970]
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
push eax
call fcn.0044ed72
add esp, 0x10
jmp 0x42ddc9
push ebx
lea ecx, [ebp - 0x1144]
push ecx
push 0x1000
push dword [ebp - 0x1140]
push ebx
push ebx
push 0x560000
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42de46
mov dword [ebp - 0x1134], ebx
mov ecx, dword [ebp - 0x1140]
mov eax, dword [ebp - 0x1134]
cmp eax, dword [ecx]
jae 0x42dc28
mov eax, dword [esi + 0xa4]
mov dword [ebp - 0x1130], eax
mov edx, dword [ebp - 0x1134]
imul edx, edx, 0x18
cmp dword [edx + ecx + 8], eax
jne 0x42dc1d
mov ecx, dword [0x458858]
cmp ecx, ebx
je 0x42dc32
push 9
push 1
call fcn.00414777
test al, al
je 0x42dc32
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x2968], ebx
mov ecx, dword [0x458858]
mov dword [ebp - 0x2964], ecx
push dword [ebp - 0x1130]
lea ecx, [ebp - 0x120]
push ecx
push 0x409800
push eax
push edi
push 9
lea ecx, [ebp - 0x3168]
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
push eax
call fcn.0044ed72
add esp, 0x10
mov ecx, eax
call fcn.0044ef88
jmp 0x42dc32
inc dword [ebp - 0x1134]
jmp 0x42db86
xor al, al
cmp al, bl
je 0x42de46
push dword [ebp - 0x1128]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0xa8], bl
je 0x42dc8a
mov ecx, dword [0x458858]
cmp ecx, ebx
je 0x42de46
push 9
push 1
call fcn.00414777
test al, al
je 0x42de46
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x3978], ebx
mov ecx, dword [0x458858]
mov dword [ebp - 0x3974], ecx
push 0x4097f0
lea ecx, [ebp - 0x4178]
jmp 0x42ddaf
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1128], eax
cmp eax, 0xffffffff
jne 0x42dd17
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x1130], eax
mov dword [ebp - 0x1958], ebx
mov eax, dword [0x458858]
mov dword [ebp - 0x1954], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x120]
push eax
push 0x4097d8
push dword [ebp - 0x1130]
push edi
push 9
lea ecx, [ebp - 0x2158]
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
push eax
call fcn.0044ed72
add esp, 0x10
mov ecx, eax
call fcn.0044ef88
mov dword [ebp - 0x112c], 0xfffffffd
jmp 0x42de46
mov dword [ebp - 0x1138], ebx
cmp dword [ebp - 0x1138], 0xa
jge 0x42dd64
push ebx
lea eax, [ebp - 0x1144]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90018
push dword [ebp - 0x1128]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42dd50
mov byte [ebp - 0x1121], 1
jmp 0x42dd6c
mov eax, 0xc8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x1138]
jmp 0x42dd1d
cmp byte [ebp - 0x1121], bl
je 0x42ddd2
cmp dword [0x458858], ebx
je 0x42de46
push 9
push 2
mov ecx, dword [0x458858]
call fcn.00414777
test al, al
je 0x42de46
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x2160], ebx
mov ecx, dword [0x458858]
mov dword [ebp - 0x215c], ecx
push 0x4097c4
lea ecx, [ebp - 0x2960]
push eax
push edi
push 9
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
push eax
call fcn.0044ed72
pop ecx
pop ecx
mov ecx, eax
call fcn.0044ef88
jmp 0x42de46
mov ecx, dword [0x458858]
cmp ecx, ebx
je 0x42de3c
push 9
push 1
call fcn.00414777
test al, al
je 0x42de3c
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x1130], eax
mov dword [ebp - 0x1150], ebx
mov eax, dword [0x458858]
mov dword [ebp - 0x114c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x409768
push dword [ebp - 0x1130]
push edi
push 9
lea ecx, [ebp - 0x1950]
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
push eax
call fcn.0044ed72
add esp, 0xc
mov ecx, eax
call fcn.0044ef88
mov dword [ebp - 0x112c], 0xfffffff6
mov dword [ebp - 4], 0xfffffffe
call fcn.0042ded3
cmp byte [ebp - 0x1121], bl
je 0x42def2
push 0xc
call fcn.0041365f
pop ecx
cmp eax, ebx
jne 0x42ded4
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x1150], ebx
mov ecx, dword [0x458858]
mov dword [ebp - 0x114c], ecx
push 0x4076f8
push eax
push edi
push 9
lea ecx, [ebp - 0x1950]
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
push eax
call fcn.0044ed72
pop ecx
pop ecx
mov ecx, eax
call fcn.0044ef88
push dword [ebp - 0x1128]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x112c], 0xfffffffd
jmp 0x42dfca
mov ecx, dword [ebp - 0x1128]
mov dword [eax + 8], ecx
lea ecx, [esi + 0x9c]
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ecx + 4], eax
jmp 0x42df07
cmp dword [ebp - 0x1128], 0xffffffff
je 0x42df07
push dword [ebp - 0x1128]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x112c], ebx
je 0x42df52
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x1150], ebx
mov ecx, dword [0x458858]
mov dword [ebp - 0x114c], ecx
push dword [ebp - 0x112c]
push 0x409738
push eax
push edi
push 9
lea ecx, [ebp - 0x1950]
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
push eax
call fcn.0044ed72
add esp, 0xc
jmp 0x42dfc3
push 0x104
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x113c]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
test eax, eax
jne 0x42daa5
mov ecx, dword [0x458858]
cmp ecx, ebx
je 0x42dfca
push 9
push 3
call fcn.00414777
test al, al
je 0x42dfca
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x1150], ebx
mov ecx, dword [0x458858]
mov dword [ebp - 0x114c], ecx
push 0x409724
push eax
push edi
push 9
lea ecx, [ebp - 0x1950]
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
push eax
call fcn.0044ed72
pop ecx
pop ecx
mov ecx, eax
call fcn.0044ef88
push dword [ebp - 0x113c]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
cmp dword [ebp - 0x112c], ebx
je 0x42e062
mov ecx, dword [0x458858]
cmp ecx, ebx
je 0x42e03a
push 9
push 1
call fcn.00414777
test al, al
je 0x42e03a
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x1150], ebx
mov ecx, dword [0x458858]
mov dword [ebp - 0x114c], ecx
push 0x4096f0
push eax
push edi
push 9
lea ecx, [ebp - 0x1950]
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
push eax
call fcn.0044ed72
pop ecx
pop ecx
mov ecx, eax
call fcn.0044ef88
add esi, 0x9c
jmp 0x42e05e
mov edi, dword [esi]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0041367d
pop ecx
cmp dword [esi], esi
jne 0x42e042
mov eax, dword [ebp - 0x112c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0043db8b
leave
ret