Function at 0x408690
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434920
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x44c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x444], edx
mov dword [ebp - 0x450], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push ecx
push 0x18
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x438], 0x428
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x440], edi
cmp edi, 0xffffffff
jne 0x408702
xor eax, eax
jmp 0x408a14
mov eax, dword [ebp - 0x444]
mov dword [eax], 0
lea eax, [ebp - 0x438]
push eax
push edi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
cmp eax, 1
jne 0x408a04
lea eax, [ebp - 0x438]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
cmp eax, 1
jne 0x408a04
lea eax, [ebp - 0x418]
push 0x100
push eax
call fcn.00420573
add esp, 8
lea eax, [ebp - 0x418]
mov ecx, str.fraps32.dll
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408787
test dx, dx
je 0x408783
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408787
add eax, 4
add ecx, 4
test dx, dx
jne 0x408761
xor eax, eax
jmp 0x40878c
sbb eax, eax
or eax, 1
test eax, eax
je 0x408919
mov ecx, str.bdcam.dll
lea eax, [ebp - 0x418]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4087c6
test dx, dx
je 0x4087c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4087c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4087a0
xor eax, eax
jmp 0x4087cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x408919
mov ecx, str.action_x86.dll
lea eax, [ebp - 0x418]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408806
test dx, dx
je 0x408802
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408806
add eax, 4
add ecx, 4
test dx, dx
jne 0x4087e0
xor eax, eax
jmp 0x40880b
sbb eax, eax
or eax, 1
test eax, eax
je 0x408919
mov ecx, str.rtsshooks.dll
lea eax, [ebp - 0x418]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408846
test dx, dx
je 0x408842
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408846
add eax, 4
add ecx, 4
test dx, dx
jne 0x408820
xor eax, eax
jmp 0x40884b
sbb eax, eax
or eax, 1
test eax, eax
je 0x408919
mov ecx, str.atkdx11disp.dll
lea eax, [ebp - 0x418]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408886
test dx, dx
je 0x408882
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408886
add eax, 4
add ecx, 4
test dx, dx
jne 0x408860
xor eax, eax
jmp 0x40888b
sbb eax, eax
or eax, 1
test eax, eax
je 0x408919
mov ecx, str.d3dgear.dll
lea eax, [ebp - 0x418]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4088c6
test dx, dx
je 0x4088c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4088c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4088a0
xor eax, eax
jmp 0x4088cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x408919
lea ecx, [ebp - 0x418]
call fcn.00407cd0
or dword [esi], eax
mov ecx, 0x43db50
cmp dword [ebp - 0x448], 0
mov eax, 0x43dd38
cmove eax, ecx
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.0041acee
add esp, 8
test eax, eax
jne 0x4089ed
mov eax, dword [ebp - 0x444]
mov dword [eax], 1
jmp 0x4089ed
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x44e924]
cmp eax, dword [ecx + 0xc]
jle 0x408979
push 0x44e924
call fcn.004176ed
add esp, 4
cmp dword [0x44e924], 0xffffffff
jne 0x408979
push 0x435360
mov dword [0x44e928], 0
mov dword [0x44e92c], 0
mov dword [0x44e930], 0
call fcn.00417388
push 0x44e924
call fcn.0041769c
add esp, 8
mov eax, dword [0x44e928]
cmp eax, dword [0x44e92c]
je 0x408a4a
lea edx, [ebp - 0x418]
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x408993
sub edx, esi
sar edx, 1
mov dword [ebp - 0x44c], edx
cmp dword [eax + 0x14], 7
mov edi, eax
jbe 0x4089b2
mov edi, dword [eax]
mov esi, dword [eax + 0x10]
cmp esi, edx
jne 0x408a35
lea ecx, [ebp - 0x418]
test esi, esi
je 0x4089e1
mov edx, ecx
sub edi, edx
nop dword [eax + eax]
mov dx, word [edi + ecx]
cmp dx, word [ecx]
jne 0x408a2f
add ecx, 2
sub esi, 1
jne 0x4089d0
mov edi, dword [ebp - 0x440]
mov esi, dword [ebp - 0x43c]
lea eax, [ebp - 0x438]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
cmp eax, 1
je 0x408742
test edi, edi
je 0x408a0f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
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.0041713e
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x44c]
add eax, 0x18
cmp eax, dword [0x44e92c]
jne 0x4089a8
mov edi, dword [ebp - 0x440]
mov eax, dword [vtable.CDebugPrint.0]
mov ecx, 0x44c958
push str.Possible_incompatible_module_detected:
mov dword [0x44cba0], 1
mov eax, dword [eax + 0x1c]
call eax
lea ecx, [ebp - 0x418]
push ecx
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
push str._in_process__
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
push dword [ebp - 0x450]
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x14]
call eax
mov ecx, eax
push 0x43dd34
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
push 0xd
mov esi, eax
call fcn.00405920
push 0xa
call fcn.00405920
push 0
mov ecx, esi
call fcn.00405650
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x468]
call fcn.00404ac0
mov dword [ebp - 4], 0
mov eax, dword [0x44e92c]
cmp eax, dword [0x44e930]
je 0x408b10
movups xmm0, xmmword [ebp - 0x468]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x458]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [0x44e92c], 0x18
mov word [ebp - 0x468], ax
jmp 0x408b23
lea ecx, [ebp - 0x468]
push ecx
push eax
call fcn.00409f60
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x4089e7
mov edx, dword [ebp - 0x468]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408b5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b69
push ecx
push edx
call fcn.0041739d
add esp, 8
jmp 0x4089e7
call fcn.0041b1e4
int3