Function at 0x401180
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407ecb
mov eax, dword fs:[0]
push eax
mov eax, 0x1250
call fcn.00407e70
mov eax, dword [0x40d040]
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
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x1254], edi
test edi, edi
je 0x40152a
lea eax, [ebp - 0x1234]
push eax
push 0x1000
lea eax, [ebp - 0x1218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x40147f
xor esi, esi
test dword [ebp - 0x1234], 0xfffffffc
mov dword [ebp - 0x1250], esi
jbe 0x40147f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x124c]
call fcn.00401a90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x124c]
cmp dword [ebp - 0x1238], 7
mov eax, dword [ebp - 0x123c]
cmova ecx, dword [ebp - 0x124c]
seta bl
test bl, bl
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x124c]
cmovne ecx, dword [ebp - 0x124c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x1230]
call fcn.00401f70
push 0x104
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
push dword [ebp + esi*4 - 0x1218]
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
mov edx, dword [ebp - 0x1230]
test eax, eax
je 0x4013cb
mov ecx, dword [ebp - 0x121c]
lea edi, [ebp - 0x1230]
cmp ecx, 0xf
mov dword [ebp - 0x1258], edx
lea esi, [ebp - 0x1230]
seta al
cmova edi, edx
test al, al
mov eax, dword [ebp - 0x1220]
je 0x4012c4
mov esi, edx
lea ebx, [eax + edx]
jmp 0x4012cd
lea ebx, [esi + eax]
lea esi, [ebp - 0x1230]
cmp esi, ebx
je 0x401300
sub edi, esi
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [esi + edi], al
add esp, 4
inc esi
cmp esi, ebx
jne 0x4012d3
mov edx, dword [ebp - 0x1230]
mov eax, dword [ebp - 0x1220]
mov ecx, dword [ebp - 0x121c]
mov dword [ebp - 0x1258], edx
cmp ecx, 0xf
lea ebx, [ebp - 0x1230]
cmova ebx, edx
cmp eax, 0xd
jb 0x4013bf
add eax, 0xfffffff4
add eax, ebx
mov dword [ebp - 0x125c], eax
sub eax, ebx
push eax
push 0x43
push ebx
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4013b9
nop dword [eax + eax]
mov edx, edi
mov ecx, str.CUCKOOMON.DLL
mov esi, 9
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x401361
add edx, 4
add ecx, 4
sub esi, 4
jae 0x401350
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x401388
cmp esi, 0xfffffffd
je 0x401384
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x401388
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x401388
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
jne 0x401388
xor eax, eax
jmp 0x40138d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4013ae
mov eax, dword [ebp - 0x125c]
inc edi
sub eax, edi
push eax
push 0x43
push edi
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x401340
jmp 0x4013b9
sub edi, ebx
cmp edi, 0xffffffff
jne 0x40148d
mov edx, dword [ebp - 0x1258]
mov edi, dword [ebp - 0x1254]
mov esi, dword [ebp - 0x1250]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x121c]
cmp eax, 0xf
jbe 0x401405
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4013fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401548
push ecx
push edx
call fcn.004070ec
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1238]
mov dword [ebp - 0x1220], 0
mov dword [ebp - 0x121c], 0xf
mov byte [ebp - 0x1230], 0
cmp ecx, 7
jbe 0x401467
mov edx, dword [ebp - 0x124c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40145d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401548
push ecx
push edx
call fcn.004070ec
add esp, 8
mov eax, dword [ebp - 0x1234]
inc esi
shr eax, 2
mov dword [ebp - 0x1250], esi
cmp esi, eax
jb 0x401210
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x40152c
push dword [ebp - 0x1254]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x121c]
cmp ecx, 0xf
jbe 0x4014d3
mov edx, dword [ebp - 0x1230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4014c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401548
push ecx
push edx
call fcn.004070ec
add esp, 8
mov ecx, dword [ebp - 0x1238]
mov dword [ebp - 0x1220], 0
mov dword [ebp - 0x121c], 0xf
mov byte [ebp - 0x1230], 0
cmp ecx, 7
jbe 0x40152a
mov edx, dword [ebp - 0x124c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401520
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401548
push ecx
push edx
call fcn.004070ec
add esp, 8
mov al, 1
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.00406f99
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3