Function at 0x404810
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x428489
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1120
call fcn.00417230
mov eax, dword [0x433ae0]
xor eax, esp
mov dword [esp + 0x111c], eax
push ebx
push esi
mov eax, dword [0x433ae0]
xor eax, esp
push eax
lea eax, [esp + 0x1130]
mov dword fs:[0], eax
mov eax, dword [edi + 0x9c]
push str._EdenFlirtUpdate__CEdenFLirtUpdateDlg::LaunchDownloadThread_launched
push 2
push eax
mov byte [edi + 0xa4], 1
call fcn.00406520
add esp, 0xc
cmp dword [edi + 0x94], 0
jne 0x4048b6
push 0x30
call fcn.00406ff1
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x1138], 0
je 0x4048a3
lea ecx, [edi + 0x74]
push ecx
push eax
call fcn.004069b0
jmp 0x4048a5
xor eax, eax
mov dword [esp + 0x1138], 0xffffffff
mov dword [edi + 0x94], eax
xor eax, eax
cmp dword [edi + 0xd8], eax
mov dword [esp + 0x10], eax
jg 0x404a84
mov eax, dword [edi + 0x9c]
push str._EdenFlirtUpdate__CEdenFLirtUpdateDlg::LaunchDownloadThread_exiting
push 2
push eax
call fcn.00406520
add esp, 0xc
mov byte [edi + 0xa4], 0
lea ecx, [esp + 0x18]
push ecx
push 0x1000
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x1b], 1
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x404a4e
mov eax, dword [esp + 0x18]
shr eax, 2
mov dword [esp + 0x14], eax
mov ebx, 0
je 0x404a32
mov eax, dword [str._unknown_]
mov ecx, dword [0x42d450]
mov dx, word [0x42d454]
push 0xfa
mov dword [esp + 0x1020], eax
lea eax, [esp + 0x102a]
push 0
push eax
mov dword [esp + 0x102c], ecx
mov word [esp + 0x1030], dx
call fcn.004170d0
mov eax, dword [esp + ebx*4 + 0x28]
add esp, 0xc
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x404988
push 0x104
lea ecx, [esp + 0x1020]
push ecx
push 0
push esi
call sub.PSAPI.DLL_GetModuleBaseNameA
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x9c]
lea edx, [esp + 0x101c]
push edx
push 0x42d458
push 2
push eax
call fcn.00406520
add esp, 0x10
lea ecx, [esp + 0x101c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401530
mov dword [esp + 0x1138], 1
mov edx, dword [esp + 0x10]
push str.EdenFlirt.exe
push edx
call fcn.0041581e
add esp, 8
test eax, eax
jne 0x4049ef
push eax
push eax
push str.Vous_devez_dabord_fermer_EdenFlirt_avant_de_poursuivre_linstallation
mov byte [esp + 0x1b], al
call fcn.0040af45
mov dword [esp + 0x1138], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 1
cmp ebx, dword [esp + 0x14]
jb 0x40491c
cmp byte [esp + 0xf], 0
je 0x4048e5
cmp byte [edi + 0xa6], 0
jne 0x404a4e
mov ecx, dword [edi + 0x20]
push 0
push 0
push 0x40a
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
mov ecx, dword [esp + 0x1130]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x111c]
xor ecx, esp
call fcn.0041531b
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
cmp byte [edi + 0xa6], 0
jne 0x4048c8
test eax, eax
jl 0x404b48
cmp eax, dword [edi + 0xd8]
jge 0x404b48
mov edx, dword [edi + 0xd4]
mov esi, dword [edx + eax*4]
lea eax, [edx + eax*4]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
mov dword [esp + 0x18], esp
mov dword [esp + 0x18], esp
call edx
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x404ae1
cmp eax, dword [esi]
jne 0x404ae1
mov ebx, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x404b13
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x404b43
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.00415385
add esp, 0x10
mov edx, dword [esp + 0x18]
add ebx, 0x10
mov dword [edx], ebx
mov ecx, dword [edi + 0x94]
call fcn.00406b90
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [edi + 0xd8]
mov dword [esp + 0x10], eax
jl 0x404a80
jmp 0x4048c8
jmp fcn.004013f0
jmp fcn.00407650