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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30187371
mov eax, dword fs:[0]
push eax
sub esp, 0xe9c
mov eax, dword [0x3021ae88]
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.30160f00
add esp, 0xc
lea eax, [ebp - 0xa40]
push 0x410
push 0
push eax
call fcn.30160f00
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.30012710
push 0x208
lea eax, [ebp - 0x220]
mov dword [ebp - 0x16], 0x3a
push 0
push eax
call fcn.30160f00
add esp, 8
lea ecx, [ebp - 0xe98]
mov edi, 0x3a
call fcn.3000e620
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 0x30015780
push esi
call fcn.30169bde
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 0x30015707
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.30169c0e
add esp, 0xc
cmp dword [ebp - 0xe90], ebx
je 0x30015767
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 0x30015780
lea eax, [ebp - 0xc58]
push eax
push ebx
lea ecx, [ebp - 0xe98]
call fcn.3000e6f0
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 0x300156c0
lea ecx, [ebp - 0xe98]
call fcn.3000e360
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 0x300157d5
push ecx
mov ecx, ebx
call fcn.30015dc0
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.3016827f
mov esi, dword [ebp - 0xe98]
add esp, 4
mov dword [ebp - 0xea4], eax
test eax, eax
je 0x30015ae8
lea ecx, [ebp - 0xe8c]
push ecx
push dword [ebp - 0xe8c]
push eax
push ebx
call edi
test eax, eax
je 0x30015ada
mov eax, dword [ebp - 0xe8c]
mov ebx, 1
and eax, 0xfffffffc
mov dword [ebp - 0xe88], ebx
cmp eax, 4
jbe 0x30015ad3
jmp 0x30015850
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.30015ba0
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 0x30015a88
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 0x30015908
add esi, 0x210
push dword [esi]
lea eax, [ebp - 0x630]
push eax
lea eax, [esi - 0x20a]
push eax
call fcn.30169d44
add esp, 0xc
test eax, eax
jne 0x300158fd
mov eax, dword [esi]
cmp word [ebp + eax*2 - 0x630], 0x5c
je 0x30015a15
inc edi
add esi, 0x214
cmp edi, ebx
jb 0x300158d0
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 0x30015979
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 0x30015aa6
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.30016240
mov eax, dword [ebp - 0xea0]
add dword [eax + 4], 0x224
jmp 0x30015ab5
imul esi, edi, 0x214
lea eax, [ebp - 0xa40]
add esi, dword [ebp - 0xe98]
push esi
push 0x104
push eax
call fcn.30169c0e
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.30169cea
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 0x30015977
push 0x104
lea eax, [ebp - 0xe80]
push eax
push dword [ebp - 0xd7c]
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
jmp 0x3001597f
lea eax, [ebp - 0xe80]
mov ecx, edi
push eax
push edx
call fcn.30015ef0
mov eax, dword [ebp - 0xe8c]
inc ebx
mov esi, dword [ebp - 0xe98]
shr eax, 2
mov dword [ebp - 0xe88], ebx
cmp ebx, eax
jb 0x30015850
mov byte [ebp - 0xe82], 1
push dword [ebp - 0xea4]
call fcn.30168264
add esp, 4
test esi, esi
je 0x30015b31
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 0x30015b27
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x30015b8c
push ecx
push esi
call fcn.3015e131
add esp, 8
mov edx, dword [ebp - 0xc68]
test edx, edx
je 0x30015b6a
mov ecx, dword [ebp - 0xc60]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x30015b60
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x30015b91
push ecx
push edx
call fcn.3015e131
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.3015dd6d
mov esp, ebp
pop ebp
ret
call fcn.30168c9e
call fcn.30168c9e
int3