Function at 0x446029
Capabilities:
Enumerate disk volumes
Enumerate process modules
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
mov eax, dword [0x4b3270]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c0], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x4f0], edi
test eax, eax
jne 0x44608d
push eax
push eax
push 0x8e
push str.....CodeWin32ECProcessFinder.cpp
lea eax, [ebp - 0x450]
push 0x49d1dc
push eax
call fcn.004064c7
add esp, 0x14
mov ecx, edi
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x450]
call fcn.0042f60f
mov eax, edi
jmp 0x446a24
push ebx
xor ebx, ebx
lea eax, [ebp - 0x4dc]
push ebx
push eax
lea eax, [ebp - 0x4b8]
mov dword [ebp - 0x4b8], ebx
push eax
lea eax, [ebp - 0x450]
mov dword [ebp - 0x4dc], ebx
push eax
call fcn.00445f01
add esp, 0xc
lea ecx, [ebp - 0x43c]
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x450]
call fcn.0042f60f
lea ecx, [ebp - 0x43c]
call fcn.00438d6f
cmp eax, 0x7d1
jl 0x446136
push ebx
push ebx
push 0x93
push str.....CodeWin32ECProcessFinder.cpp
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.00413c09
add esp, 0x14
mov ecx, edi
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x450]
call fcn.0042f60f
lea ecx, [ebp - 0x43c]
call fcn.0042f60f
push dword [ebp - 0x4b8]
call fcn.0045fb1d
pop ecx
mov eax, edi
jmp 0x446a23
push esi
lea ecx, [ebp - 0x43c]
call fcn.0042f60f
push 0x498580
lea ecx, [ebp - 0x4d4]
call fcn.0042f5ab
mov edi, dword [ebp - 0x4b8]
mov eax, ebx
mov dword [ebp - 0x4e0], eax
cmp dword [ebp - 0x4dc], eax
jbe 0x4469f7
cmp byte [ebp + 0x10], 0
mov esi, dword [edi + eax*4]
mov dword [ebp - 0x4b8], esi
je 0x446192
lea eax, [ebp - 0x4d4]
push eax
push esi
call fcn.00446de9
pop ecx
pop ecx
test al, al
je 0x4469aa
lea ecx, [ebp - 0x428]
call fcn.00431a38
push 1
call fcn.0043e18f
pop ecx
test al, al
je 0x446310
push esi
push ebx
push 0x1000
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4461e0
push dword [ebp - 0x4b8]
lea eax, [ebp - 0x4d4]
push 0x49f75c
push eax
call fcn.00445e4d
add esp, 0xc
push ebx
jmp 0x446999
call fcn.00446e48
mov dword [ebp - 0x4bc], eax
cmp byte [eax + 0x18], 0
jne 0x446210
push dword [ebp - 0x4b8]
push str.CKernel32_Dll_VistaOrLater::load
lea eax, [ebp - 0x4d4]
push eax
call fcn.00445e4d
add esp, 0xc
jmp 0x446993
lea eax, [ebp - 0x4e8]
mov ecx, 0x104
push eax
mov dword [ebp - 0x4e8], ecx
push ecx
lea ecx, [ebp - 0x428]
call fcn.00433c8c
push eax
mov eax, dword [ebp - 0x4bc]
push ebx
push esi
call dword [eax + 0x34]
push 0xffffffffffffffff
lea ecx, [ebp - 0x428]
mov ebx, eax
call fcn.00433f8c
test ebx, ebx
jne 0x44625a
push dword [ebp - 0x4b8]
push str.QueryFullProcessImageName
jmp 0x4461fc
mov ebx, dword [ebp - 0x4c0]
lea ecx, [ebp - 0x428]
push 0
push dword [ebp - 0x4b8]
mov ebx, dword [ebx]
call fcn.0043a30e
push eax
push 0xffffffffffffffff
push 0
push 0x497b90
lea ecx, [ebp - 0x428]
call fcn.004332d8
inc eax
lea ecx, [ebp - 0x428]
push eax
lea eax, [ebp - 0x4b4]
push eax
call fcn.004345de
mov ecx, eax
call fcn.0043a30e
mov ecx, dword [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x450]
push eax
call dword [ebx]
push eax
lea ecx, [ebp - 0x43c]
call fcn.0042f5cb
lea ecx, [ebp - 0x450]
call fcn.0042f60f
lea ecx, [ebp - 0x4b4]
call fcn.00431bf9
cmp dword [ebp - 0x430], 0x7de
lea ecx, [ebp - 0x43c]
jne 0x44698e
call fcn.0042f60f
cmp esi, 0xffffffff
je 0x4462fe
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x428]
call fcn.00431bf9
xor ebx, ebx
jmp 0x4469f7
push ebx
call fcn.0043e104
pop ecx
test al, al
je 0x446856
call fcn.0043e27d
test al, al
je 0x446856
push esi
push ebx
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x4461c0
call fcn.00446e6e
mov dword [ebp - 0x4bc], eax
cmp byte [eax + 0x18], 0
jne 0x446364
push dword [ebp - 0x4b8]
push str.CPSAPI_Dll_XPOrLater::load
jmp 0x4461fc
mov eax, 0x104
lea ecx, [ebp - 0x428]
push eax
push eax
call fcn.00433c8c
push eax
mov eax, dword [ebp - 0x4bc]
push esi
call dword [eax + 0x34]
push 0xffffffffffffffff
lea ecx, [ebp - 0x428]
call fcn.00433f8c
push str.Device_
lea ecx, [ebp - 0x43c]
call fcn.004319eb
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x428]
call fcn.00434521
cmp eax, 0x3e9
jne 0x4467b9
lea ecx, [ebp - 0x43c]
call fcn.00433f56
push eax
push 0x497b90
lea ecx, [ebp - 0x428]
call fcn.004332cf
push eax
push ebx
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [ebp - 0x428]
call fcn.004345de
lea ecx, [ebp - 0x4a0]
call fcn.00433d92
cmp eax, 0x3e9
jne 0x446432
push dword [ebp - 0x4b8]
lea eax, [ebp - 0x4d4]
push str.GetProcessImageFileName
push eax
call fcn.00445e4d
add esp, 0xc
lea ecx, [ebp - 0x4a0]
call fcn.00431bf9
lea ecx, [ebp - 0x43c]
call fcn.00431bf9
jmp 0x446993
lea ecx, [ebp - 0x478]
call fcn.00431a38
mov eax, 0x104
lea ecx, [ebp - 0x478]
push eax
push eax
call fcn.00433c8c
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstVolumeW]
mov ebx, eax
lea ecx, [ebp - 0x478]
push 0xffffffffffffffff
mov dword [ebp - 0x4bc], ebx
call fcn.00433f8c
cmp ebx, 0xffffffff
jne 0x446497
push dword [ebp - 0x4b8]
push str.FindFirstVolume
lea eax, [ebp - 0x4d4]
push eax
call fcn.00445e4d
add esp, 0xc
lea ecx, [ebp - 0x478]
call fcn.00431bf9
jmp 0x446417
mov dword [ebp - 0x4d8], 1
push 0x48cf50
lea ecx, [ebp - 0x478]
call fcn.00434579
cmp eax, 0x3e8
jne 0x4464d7
push dword [ebp - 0x4b8]
lea eax, [ebp - 0x4d4]
push str.FindFirstVolumeFindNextVolume
push eax
call fcn.00445e4d
add esp, 0xc
jmp 0x446683
push 0x497afc
lea ecx, [ebp - 0x450]
call fcn.004319eb
push 0x497b90
lea ecx, [ebp - 0x4b4]
call fcn.004319eb
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x478]
call fcn.004342a5
lea ecx, [ebp - 0x464]
call fcn.0042f60f
lea ecx, [ebp - 0x4b4]
call fcn.00431bf9
lea ecx, [ebp - 0x450]
call fcn.00431bf9
lea ecx, [ebp - 0x48c]
call fcn.00431a38
mov eax, 0x104
lea ecx, [ebp - 0x48c]
push eax
push eax
call fcn.00433c8c
push eax
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x478]
call fcn.004345de
mov ecx, eax
call fcn.0043a30e
push eax
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
lea ecx, [ebp - 0x464]
mov ebx, eax
call fcn.00431bf9
push 0xffffffffffffffff
lea ecx, [ebp - 0x48c]
call fcn.00433f8c
test ebx, ebx
je 0x446792
push 0xffffffffffffffff
push 0x497b90
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x478]
call fcn.00432fa1
lea ecx, [ebp - 0x464]
call fcn.0042f60f
push 0xffffffffffffffff
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x4a0]
call fcn.00433095
lea ecx, [ebp - 0x464]
cmp dword [eax + 0xc], 0x3ec
sete bl
call fcn.0042f60f
test bl, bl
je 0x446646
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00462b30
and dword [ebp - 0x4ec], 0
add esp, 0xc
call fcn.0043e2d4
mov ebx, eax
cmp byte [ebx + 0x18], 0
jne 0x4466c9
push dword [ebp - 0x4b8]
lea eax, [ebp - 0x4d4]
push str.CKernel32_Dll_XPOrLater::load
push eax
call fcn.00445e4d
add esp, 0xc
jmp 0x446678
mov eax, 0x104
lea ecx, [ebp - 0x478]
push eax
push eax
call fcn.00433c8c
push eax
push dword [ebp - 0x4bc]
call dword [sym.imp.KERNEL32.DLL_FindNextVolumeW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x4d8], eax
call fcn.00433f8c
lea ecx, [ebp - 0x48c]
call fcn.00431bf9
cmp dword [ebp - 0x4d8], 0
jne 0x4464a1
mov ebx, dword [ebp - 0x4b8]
push dword [ebp - 0x4bc]
call dword [sym.imp.KERNEL32.DLL_FindVolumeClose]
cmp dword [ebp - 0x4d8], 0
jne 0x4467a3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x12
je 0x4467a3
push ebx
push str.FindFirstVolumeFindNextVolume
jmp 0x44647b
lea eax, [ebp - 0x4ec]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x478]
call fcn.0043a30e
push eax
call dword [ebx + 0x30]
test eax, eax
jne 0x44671a
mov ebx, dword [ebp - 0x4b8]
push ebx
push str.GetVolumePathNamesForVolumeName
lea eax, [ebp - 0x4d4]
push eax
call fcn.00445e4d
add esp, 0xc
lea ecx, [ebp - 0x48c]
call fcn.00431bf9
jmp 0x446696
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x450]
call fcn.004319eb
lea eax, [ebp - 0x450]
push eax
push 0x497b90
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x4b4]
push eax
call fcn.00431d83
add esp, 0xc
lea ecx, [ebp - 0x428]
push eax
lea eax, [ebp - 0x464]
push eax
call fcn.004341a0
lea ecx, [ebp - 0x464]
call fcn.0042f60f
lea ecx, [ebp - 0x4b4]
call fcn.00431bf9
lea ecx, [ebp - 0x450]
call fcn.00431bf9
lea ecx, [ebp - 0x48c]
call fcn.00431bf9
jmp 0x446690
mov ebx, dword [ebp - 0x4b8]
push ebx
push str.QueryDosDevice
jmp 0x4466fb
lea ecx, [ebp - 0x478]
call fcn.00431bf9
lea ecx, [ebp - 0x4a0]
call fcn.00431bf9
mov eax, dword [ebp - 0x4c0]
lea ecx, [ebp - 0x428]
push 0
push dword [ebp - 0x4b8]
mov ebx, dword [eax]
call fcn.0043a30e
push eax
push 0xffffffffffffffff
push 0
push 0x497b90
lea ecx, [ebp - 0x428]
call fcn.004332d8
inc eax
lea ecx, [ebp - 0x428]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.004345de
mov ecx, eax
call fcn.0043a30e
mov ecx, dword [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x464]
push eax
call dword [ebx]
push eax
lea ecx, [ebp - 0x504]
call fcn.0042f5cb
lea ecx, [ebp - 0x464]
call fcn.0042f60f
lea ecx, [ebp - 0x450]
call fcn.00431bf9
cmp dword [ebp - 0x4f8], 0x7de
lea ecx, [ebp - 0x504]
je 0x4469c6
call fcn.0042f60f
jmp 0x446422
push esi
push ebx
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x4461c0
lea eax, [ebp - 0x508]
push eax
push 4
lea eax, [ebp - 0x4e4]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x446897
push dword [ebp - 0x4b8]
push 0x48f248
jmp 0x4461fc
xor eax, eax
push 0x206
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.00462b30
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push dword [ebp - 0x4e4]
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
jne 0x4468eb
push dword [ebp - 0x4b8]
lea eax, [ebp - 0x4d4]
push str.GetModuleBaseName
push eax
call fcn.00445e4d
add esp, 0xc
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00462b30
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [ebp - 0x4e4]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x44693f
push dword [ebp - 0x4b8]
lea eax, [ebp - 0x4d4]
push str.GetModuleFileNameEx
push eax
call fcn.00445e4d
add esp, 0xc
mov ecx, dword [ebp - 0x4c0]
lea edx, [ebp - 0x20c]
push ebx
push dword [ebp - 0x4b8]
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x414]
push edx
lea edx, [ebp - 0x464]
push edx
call dword [eax]
push eax
lea ecx, [ebp - 0x504]
call fcn.0042f5cb
lea ecx, [ebp - 0x464]
call fcn.0042f60f
cmp dword [ebp - 0x4f8], 0x7de
lea ecx, [ebp - 0x504]
je 0x4469db
call fcn.0042f60f
cmp esi, 0xffffffff
je 0x44699f
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x428]
call fcn.00431bf9
mov eax, dword [ebp - 0x4e0]
xor ebx, ebx
inc eax
mov dword [ebp - 0x4e0], eax
cmp eax, dword [ebp - 0x4dc]
jae 0x4469f7
jmp 0x44616c
call fcn.0042f60f
lea ecx, [ebp - 0x43c]
call fcn.00431bf9
jmp 0x4462f2
call fcn.0042f60f
cmp esi, 0xffffffff
je 0x4469ec
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x428]
call fcn.00431bf9
mov ecx, dword [ebp - 0x4f0]
lea eax, [ebp - 0x4d4]
push ebx
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x4d4]
call fcn.0042f60f
push edi
call fcn.0045fb1d
mov eax, dword [ebp - 0x4f0]
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0045eff4
mov esp, ebp
pop ebp
ret