Function at 0x10005780
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002781a
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x10035040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
xor esi, esi
push 8
mov dword [ebp - 0x258], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x264], edi
cmp edi, 0xffffffff
je 0x10005e90
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], 0x224
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x10005e89
nop
xorps xmm0, xmm0
mov dword [ebp - 0x26c], 0
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x268], 0
movups xmmword [ebp - 0x27c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005817
sub ecx, edx
lea eax, [ebp - 0x22c]
push ecx
push eax
lea ecx, [ebp - 0x27c]
call fcn.10009a80
mov edi, dword [0x1003734c]
or esi, 8
mov eax, dword [0x10037350]
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x258], edx
cmp edi, eax
je 0x10005902
nop dword [eax + eax]
cmp dword [ebp - 0x268], 0xf
lea ecx, [ebp - 0x27c]
mov esi, dword [edi + 0x10]
cmova ecx, edx
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x1000587d
mov edx, dword [edi]
cmp esi, dword [ebp - 0x26c]
jne 0x100058e5
sub esi, 4
jb 0x100058a1
nop word [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x100058a6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x10005890
cmp esi, 0xfffffffc
je 0x100058da
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x100058d3
cmp esi, 0xfffffffd
je 0x100058da
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x100058d3
cmp esi, 0xfffffffe
je 0x100058da
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x100058d3
cmp esi, 0xffffffff
je 0x100058da
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x100058da
sbb eax, eax
or eax, 1
jmp 0x100058dc
xor eax, eax
test eax, eax
je 0x100058f6
mov eax, dword [0x10037350]
mov edx, dword [ebp - 0x258]
add edi, 0x18
cmp edi, eax
jne 0x10005860
mov edx, dword [ebp - 0x258]
mov esi, dword [ebp - 0x250]
mov eax, dword [ebp - 0x268]
cmp eax, 0xf
jbe 0x10005938
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000592e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005eab
push ecx
push edx
call fcn.1000eded
add esp, 8
cmp edi, dword [0x10037350]
je 0x10005c85
mov eax, dword [0x10037370]
lea ecx, [ebp - 0x22c]
xorps xmm0, xmm0
mov dword [ebp - 0x29c], 0
movups xmmword [ebp - 0x2ac], xmm0
mov dword [ebp - 0x298], 0
lea edx, [ecx + 1]
mov byte [eax], 1
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005973
sub ecx, edx
lea eax, [ebp - 0x22c]
push ecx
push eax
lea ecx, [ebp - 0x2ac]
call fcn.10009a80
or esi, 0x10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2ac]
mov ecx, dword [ebp - 0x2ac]
or esi, 1
cmp dword [ebp - 0x298], 0xf
mov dword [ebp - 0x25c], ecx
cmova eax, ecx
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x258], esi
seta byte [ebp - 0x252]
mov ecx, str.MSVCP140.dll
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100059f0
test dl, dl
je 0x100059ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100059f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100059d0
xor eax, eax
jmp 0x100059f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10005a93
xorps xmm0, xmm0
mov dword [ebp - 0x284], eax
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x280], eax
movups xmmword [ebp - 0x294], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005a20
sub ecx, edx
lea eax, [ebp - 0x22c]
push ecx
push eax
lea ecx, [ebp - 0x294]
call fcn.10009a80
mov edi, dword [ebp - 0x280]
lea eax, [ebp - 0x294]
or esi, 0x22
mov ecx, str.VCRUNTIME140.dll
cmp edi, 0xf
mov dword [ebp - 0x250], esi
mov esi, dword [ebp - 0x294]
cmova eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10005a82
test dl, dl
je 0x10005a7e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10005a82
add eax, 2
add ecx, 2
test dl, dl
jne 0x10005a62
xor eax, eax
jmp 0x10005a87
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10005a9f
mov byte [ebp - 0x251], al
jmp 0x10005aa6
mov edi, dword [ebp - 0x280]
mov esi, dword [ebp - 0x294]
mov byte [ebp - 0x251], 1
mov eax, dword [ebp - 0x250]
test al, 2
je 0x10005aef
and eax, 0xfffffffd
mov dword [ebp - 0x250], eax
cmp edi, 0xf
jbe 0x10005aef
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10005adf
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005eab
push ecx
push esi
call fcn.1000eded
mov eax, dword [ebp - 0x250]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x10005b41
and eax, 0xfffffffe
cmp byte [ebp - 0x252], 0
mov dword [ebp - 0x250], eax
je 0x10005b41
mov ecx, dword [ebp - 0x298]
mov edx, dword [ebp - 0x25c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005b37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005eab
push ecx
push edx
call fcn.1000eded
add esp, 8
cmp byte [ebp - 0x251], 0
je 0x10005b57
push 0x16
push ecx
call fcn.100089e0
jmp 0x10005c85
xorps xmm0, xmm0
mov dword [ebp - 0x2b4], 0
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x2b0], 0
movups xmmword [ebp - 0x2c4], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005b80
sub ecx, edx
lea eax, [ebp - 0x22c]
push ecx
push eax
lea ecx, [ebp - 0x2c4]
call fcn.10009a80
mov esi, dword [ebp - 0x250]
or esi, 0x40
push 0x10
push str.Blacklisted_DLL
push ecx
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 4], 1
call fcn.1000a6c0
or esi, 0x80
mov dword [ebp - 0x250], esi
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [0x10037324]
movq qword [ebp - 0x260], xmm1
movups xmmword [ebp - 0x20], xmm0
cmp ecx, 0xf
jbe 0x10005c35
mov eax, dword [0x10037310]
inc ecx
cmp ecx, 0x1000
jb 0x10005c1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005eab
mov eax, edx
push ecx
push eax
call fcn.1000eded
movups xmm0, xmmword [ebp - 0x20]
add esp, 8
movq xmm1, qword [ebp - 0x260]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2b0]
movq qword [0x10037320], xmm1
movups xmmword [0x10037310], xmm0
cmp ecx, 0xf
jbe 0x10005c85
mov edx, dword [ebp - 0x2c4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005c7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005eab
push ecx
push edx
call fcn.1000eded
add esp, 8
mov eax, dword [0x10037368]
xor edi, edi
sub eax, dword [0x10037364]
sar eax, 2
test eax, eax
je 0x10005e66
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005cc0
sub eax, edx
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.10009a80
or dword [ebp - 0x250], 4
mov dword [ebp - 4], 2
mov eax, dword [0x10037364]
push ecx
lea ecx, [ebp - 0x28]
push dword [eax + edi*4]
call fcn.10008230
push ecx
push str..dll
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.10008230
cmp esi, 0xffffffff
je 0x10005e18
cmp eax, 0xffffffff
je 0x10005e18
mov eax, dword [0x10037370]
lea ecx, [ebp - 0x2dc]
mov edx, str.Blacklisted_DLL
mov byte [eax], 1
lea eax, [ebp - 0x28]
push eax
call fcn.10009090
mov esi, eax
add esp, 4
cmp esi, 0x10037310
je 0x10005dc3
mov ecx, dword [0x10037324]
cmp ecx, 0xf
jbe 0x10005d80
mov eax, dword [0x10037310]
inc ecx
cmp ecx, 0x1000
jb 0x10005d76
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005eab
mov eax, edx
push ecx
push eax
call fcn.1000eded
add esp, 8
mov dword [0x10037320], 0
mov dword [0x10037324], 0xf
mov byte [0x10037310], 0
movups xmm0, xmmword [esi]
movups xmmword [0x10037310], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x10037320], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x2c8]
cmp ecx, 0xf
jbe 0x10005dfd
mov edx, dword [ebp - 0x2dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005df3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005eab
push ecx
push edx
call fcn.1000eded
add esp, 8
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10005e4f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005e45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005eab
push ecx
push edx
call fcn.1000eded
add esp, 8
mov eax, dword [0x10037368]
inc edi
sub eax, dword [0x10037364]
sar eax, 2
cmp edi, eax
jb 0x10005ca0
mov edi, dword [ebp - 0x264]
lea eax, [ebp - 0x24c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
je 0x10005e89
mov esi, dword [ebp - 0x250]
jmp 0x100057f0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000eddf
mov esp, ebp
pop ebp
ret
call fcn.10013ed4
int3