Function at 0x300155c0
Capabilities:
Enumerate process modules
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x301889d1
mov eax, dword fs:[0]
push eax
sub esp, 0xe9c
mov eax, dword [0x3021be88]
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 dword [ebp - 0xea0], edx
mov dword [ebp - 0xe9c], ecx
mov dword [ebp - 0xc68], 0
mov dword [ebp - 0xc64], 0
mov dword [ebp - 0xc60], 0
mov dword [ebp - 0xd7c], 0
mov dword [ebp - 0xd78], 0
mov dword [ebp - 0xc6c], 1
mov word [ebp - 0xc70], 0
push 0x410
lea eax, [ebp - 0x630]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.30162560
add esp, 0xc
lea eax, [ebp - 0xa40]
push 0x410
push 0
push eax
call fcn.30162560
add esp, 0xc
mov dword [ebp - 0xe8c], 0
mov byte [ebp - 0xe82], 0
mov dword [ebp - 0xe98], 0
mov dword [ebp - 0xe94], 0
mov dword [ebp - 0xe90], 0
mov byte [ebp - 4], 1
call fcn.30012740
push 0x208
lea eax, [ebp - 0x220]
mov dword [ebp - 0x16], 0x3a
push 0
push eax
call fcn.30162560
add esp, 8
lea ecx, [ebp - 0xe98]
mov edi, 0x3a
call fcn.3000e650
mov ebx, dword [ebp - 0xe94]
mov al, 0x61
mov esi, 0x61
mov byte [ebp - 0xe81], al
mov dword [ebp - 0xe88], esi
cbw
push 0x104
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x300157b0
push esi
call fcn.3016b23e
mov word [ebp - 0xc58], ax
add esp, 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0xc56], 0x3a
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x30015737
sub eax, edx
sar eax, 1
mov dword [ebp - 0xa48], eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0xc52]
push 0x104
push eax
call fcn.3016b26e
add esp, 0xc
cmp dword [ebp - 0xe90], ebx
je 0x30015797
mov edi, ebx
lea esi, [ebp - 0xc58]
mov ecx, 0x85
add ebx, 0x214
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xe88]
mov edi, 0x3a
mov dword [ebp - 0xe94], ebx
jmp 0x300157b0
lea eax, [ebp - 0xc58]
push eax
push ebx
lea ecx, [ebp - 0xe98]
call fcn.3000e720
mov ebx, dword [ebp - 0xe94]
mov al, byte [ebp - 0xe81]
inc esi
inc al
mov dword [ebp - 0xe88], esi
mov byte [ebp - 0xe81], al
cmp al, 0x7a
jle 0x300156f0
lea ecx, [ebp - 0xe98]
call fcn.3000e390
mov ebx, dword [ebp - 0xea0]
mov eax, 0x77975b9
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 8]
sub ecx, dword [ebx]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x14
jae 0x30015805
push ecx
mov ecx, ebx
call fcn.30015df0
mov ebx, dword [ebp - 0xe9c]
lea eax, [ebp - 0xe8c]
mov edi, dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
push eax
push 0
push 0
push ebx
call edi
mov eax, dword [ebp - 0xe8c]
shl eax, 2
push eax
call fcn.301698df
mov esi, dword [ebp - 0xe98]
add esp, 4
mov dword [ebp - 0xea4], eax
test eax, eax
je 0x30015b18
lea ecx, [ebp - 0xe8c]
push ecx
push dword [ebp - 0xe8c]
push eax
push ebx
call edi
test eax, eax
je 0x30015b0a
mov eax, dword [ebp - 0xe8c]
mov ebx, 1
and eax, 0xfffffffc
mov dword [ebp - 0xe88], ebx
cmp eax, 4
jbe 0x30015b03
jmp 0x30015880
mov eax, dword [ebp - 0xea4]
mov edi, dword [ebp - 0xe9c]
mov ecx, edi
mov edx, dword [eax + ebx*4]
mov dword [ebp - 0xd7c], edx
call fcn.30015bd0
mov dword [ebp - 0xd78], eax
xor eax, eax
push 0x208
mov word [ebp - 0x630], ax
mov byte [ebp - 0xe80], al
lea eax, [ebp - 0x630]
push eax
push dword [ebp - 0xd7c]
mov word [ebp - 0xc70], 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetMappedFileNameW]
test eax, eax
je 0x30015ab8
mov ecx, dword [ebp - 0xe94]
mov eax, 0xf6603d99
sub ecx, esi
xor edi, edi
imul ecx
add edx, ecx
sar edx, 9
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x30015938
add esi, 0x210
push dword [esi]
lea eax, [ebp - 0x630]
push eax
lea eax, [esi - 0x20a]
push eax
call fcn.3016b3a4
add esp, 0xc
test eax, eax
jne 0x3001592d
mov eax, dword [esi]
cmp word [ebp + eax*2 - 0x630], 0x5c
je 0x30015a45
inc edi
add esi, 0x214
cmp edi, ebx
jb 0x30015900
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0xe80]
push 0
push 0
push 0x104
push eax
push 0x104
lea eax, [ebp - 0xa40]
push eax
push 0x400
push 0
call esi
mov ebx, dword [ebp - 0xe9c]
lea eax, [ebp - 0xe80]
push 0x104
push eax
push dword [ebp - 0xd7c]
push ebx
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
jne 0x300159a9
push eax
push eax
push 0x104
lea eax, [ebp - 0xe80]
push eax
push 0x104
lea eax, [ebp - 0x630]
push eax
push 0x400
push 0
call esi
mov ebx, dword [ebp - 0xe88]
mov edi, dword [ebp - 0xea0]
mov edx, dword [edi + 4]
cmp dword [edi + 8], edx
je 0x30015ad6
mov edi, edx
lea esi, [ebp - 0xe80]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xd7c]
lea edi, [edx + 0x10c]
mov dword [edx + 0x104], eax
lea esi, [ebp - 0xd74]
mov eax, dword [ebp - 0xd78]
mov ecx, 0x41
mov dword [edx + 0x108], eax
rep movsd dword es:[edi], dword [esi]
movzx eax, byte [ebp - 0xc70]
lea ecx, [edx + 0x218]
mov byte [edx + 0x210], al
movzx eax, byte [ebp - 0xc6f]
mov byte [edx + 0x211], al
mov eax, dword [ebp - 0xc6c]
mov dword [edx + 0x214], eax
lea eax, [ebp - 0xc68]
push eax
call fcn.30016270
mov eax, dword [ebp - 0xea0]
add dword [eax + 4], 0x224
jmp 0x30015ae5
imul esi, edi, 0x214
lea eax, [ebp - 0xa40]
add esi, dword [ebp - 0xe98]
push esi
push 0x104
push eax
call fcn.3016b26e
mov eax, dword [esi + 0x210]
lea ecx, [ebp - 0x630]
add esp, 0xc
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0xa40]
push 0x104
push eax
call fcn.3016b34a
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0xe80]
add esp, 0xc
push 0
push 0
push 0x104
push eax
push 0x104
lea eax, [ebp - 0x630]
push eax
push 0x400
push 0
jmp 0x300159a7
push 0x104
lea eax, [ebp - 0xe80]
push eax
push dword [ebp - 0xd7c]
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
jmp 0x300159af
lea eax, [ebp - 0xe80]
mov ecx, edi
push eax
push edx
call fcn.30015f20
mov eax, dword [ebp - 0xe8c]
inc ebx
mov esi, dword [ebp - 0xe98]
shr eax, 2
mov dword [ebp - 0xe88], ebx
cmp ebx, eax
jb 0x30015880
mov byte [ebp - 0xe82], 1
push dword [ebp - 0xea4]
call fcn.301698c4
add esp, 4
test esi, esi
je 0x30015b61
mov ecx, dword [ebp - 0xe90]
mov eax, 0xf6603d99
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x214
mov eax, esi
cmp ecx, 0x1000
jb 0x30015b57
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x30015bbc
push ecx
push esi
call fcn.3015f781
add esp, 8
mov edx, dword [ebp - 0xc68]
test edx, edx
je 0x30015b9a
mov ecx, dword [ebp - 0xc60]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x30015b90
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x30015bc1
push ecx
push edx
call fcn.3015f781
add esp, 8
mov al, byte [ebp - 0xe82]
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.3015f3bd
mov esp, ebp
pop ebp
ret
call fcn.3016a2fe
call fcn.3016a2fe
int3