Function at 0x407d80
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x455008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4558d4]
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x418], eax
push edi
mov edi, edx
test esi, esi
je 0x407c14
test ecx, ecx
je 0x407c14
test edi, edi
je 0x407c14
cmp dword [edi], 1
jne 0x407c14
xor eax, eax
mov word [esi], ax
push ebx
mov word [ecx], ax
xor ebx, ebx
mov eax, dword [edi + 0xc]
cmp eax, 0xc0000005
ja 0x407937
je 0x40792d
add eax, 0x7fffffff
cmp eax, 3
ja case.0x40795f.1073741817
jmp dword [eax*4 + 0x407c30]
push 0x446f5c
jmp 0x407bf3
push 0x446f74
jmp 0x407bf3
push 0x445c68
jmp 0x407bf3
push 0x446fa4
jmp 0x407bf3
push 0x446fc0
jmp 0x407bf3
cmp eax, 0xe0434352
ja 0x407a1a
je 0x407a10
add eax, 0x3ffffffa
cmp eax, 0xf7
ja case.0x40795f.1073741817
movzx eax, byte [eax + 0x407c88]
jmp dword [eax*4 + 0x407c40]
push 0x446fe4
jmp 0x407bf3
push 0x447014
jmp 0x407bf3
push 0x447044
jmp 0x407bf3
push 0x447070
jmp 0x407bf3
push 0x44709c
jmp 0x407bf3
push 0x4470d0
jmp 0x407bf3
push 0x4470f0
jmp 0x407bf3
push 0x447118
jmp 0x407bf3
push 0x44713c
jmp 0x407bf3
push 0x447164
jmp 0x407bf3
push 0x447180
jmp 0x407bf3
push 0x4471a4
jmp 0x407bf3
push 0x4471c4
jmp 0x407bf3
push 0x4471f0
jmp 0x407bf3
push 0x447224
jmp 0x407bf3
push 0x447244
jmp 0x407bf3
push 0x447270
jmp 0x407bf3
push 0x447290
jmp 0x407bf3
cmp eax, 0xe0434f4d
je 0x407bee
cmp eax, 0xe0434f4e
je 0x407be7
cmp eax, 0xe06d7363
je 0x407a4f
mov ebx, 0x80004005
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415f69
mov esp, ebp
pop ebp
ret
push 0x4472b4
push 0x400
push esi
call fcn.0041fa9e
add esp, 0xc
mov dword [ebp - 0x40c], ebx
cmp dword [edi + 0x1c], 3
mov dword [ebp - 0x410], ebx
mov dword [ebp - 0x414], ebx
jb 0x407bd1
mov eax, dword [edi + 0x28]
test eax, eax
je 0x407bd1
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea ecx, [ebp - 0x408]
push ecx
push 4
lea ecx, [ebp - 0x40c]
mov dword [ebp - 0x408], ebx
mov ebx, dword [ebp - 0x418]
add eax, 0xc
push ecx
push eax
push ebx
call edi
test eax, eax
je 0x407bbc
cmp dword [ebp - 0x408], 4
jne 0x407bbc
mov eax, dword [ebp - 0x40c]
lea ecx, [ebp - 0x408]
push ecx
push 4
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x408], 0
add eax, 4
push ecx
push eax
push ebx
mov dword [ebp - 0x40c], eax
call edi
test eax, eax
je 0x407bbc
cmp dword [ebp - 0x408], 4
jne 0x407bbc
mov eax, dword [ebp - 0x410]
lea ecx, [ebp - 0x408]
push ecx
push 4
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x408], 0
add eax, 4
push ecx
push eax
push ebx
mov dword [ebp - 0x410], eax
call edi
test eax, eax
je 0x407bbc
cmp dword [ebp - 0x408], 4
jne 0x407bbc
mov eax, dword [ebp - 0x414]
lea ecx, [ebp - 0x408]
push ecx
push 0x3ff
lea ecx, [ebp - 0x404]
mov dword [ebp - 0x408], 0
add eax, 8
push ecx
push eax
push ebx
mov dword [ebp - 0x414], eax
call edi
test eax, eax
je 0x407bbc
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x407bbc
cmp eax, 0x400
jae 0x407c29
mov byte [ebp + eax - 0x404], 0
xor ecx, ecx
mov byte [ebp - 5], 0
nop
mov dl, byte [ebp + ecx - 0x404]
movsx ax, dl
mov word [esi + ecx*2], ax
cmp ecx, 0x400
jae 0x407bbc
inc ecx
test dl, dl
jne 0x407ba0
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415f69
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
mov eax, 0x80004005
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415f69
mov esp, ebp
pop ebp
ret
push 0x4472a8
jmp 0x407bf3
push 0x44729c
push 0x400
push esi
call fcn.0041fa9e
add esp, 0xc
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415f69
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x80070057
pop edi
xor ecx, ebp
pop esi
call fcn.00415f69
mov esp, ebp
pop ebp
ret
call fcn.00416099
nop
add eax, 0xf004079
jns 4226167
add byte [ecx], bl
jns 0x407c7b
add byte [ebx], ah
jns 0x407c7f
add ah, dl
jns 0x407c83
add byte [esi], al
jp 0x407c87
add dh, bl
jns 0x407c8b
add al, ch
jns 0x407c8f
add ah, bh
jns 0x407c93
add byte [esi + 0x79], ah
inc eax
add byte [eax + 0x79], dh
inc eax
add byte [edx + 0x79], bh
inc eax
add byte [ecx + edi*2 + 0x798e0040], al
inc eax
add byte [eax - 0x5dffbf87], bl
jns 0x407caf
add byte [ecx + edi*2 + 0x79b60040], ch
inc eax
add al, al
jns 0x407cbb
add dl, cl
jns 0x407cbf
add dl, dh
jns 0x407cc3
add byte [edi], dh
jp 0x407cc7
add byte [eax], al
adc dword [ecx], eax
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
add dl, byte [ecx]
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
add eax, dword [ecx + edx]
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
add eax, 151521030
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [151521030], eax
or cl, byte [ebx]
or al, 13
push cs
movups xmmword [ecx], xmm2
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc byte [ebp - 117], dl
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00436be0
mov eax, dword [0x455008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
test edi, edi
je 0x407e6d
push 0x800
push 0
push edi
call fcn.00417b90
add esp, 0xc
test esi, esi
je 0x407e6d
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00417b90
add esp, 0xc
mov dword [ebp - 0x1008], 0
lea eax, [ebp - 0x1008]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [0x4558d4]
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x407e30
mov ecx, dword [ebp - 0x1008]
lea eax, [ecx - 1]
cmp eax, 0xfff
ja 0x407e30
shr ecx, 2
xor eax, eax
test ecx, ecx
je 0x407e30
nop dword [eax]
mov edx, dword [ebp + eax*4 - 0x1004]
cmp edx, esi
je 0x407e45
inc eax
cmp eax, ecx
jb 0x407e20
pop edi
mov eax, 0x80004005
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415f69
mov esp, ebp
pop ebp
ret
push 0x400
push edi
push edx
push dword [0x4558d4]
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415f69
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x80070057
pop edi
xor ecx, ebp
pop esi
call fcn.00415f69
mov esp, ebp
pop ebp
ret