Function at 0x403740
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4487dd
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x460540]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x478], esi
mov dword [ebp - 0x484], esi
xorps xmm0, xmm0
mov dword [ebp - 0x47c], 1
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x47c], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x478], edi
cmp edi, 0xffffffff
jne 0x4037ec
mov edx, str.CreateToolhelp32Snapshot_failed.
mov ecx, 0x464678
call fcn.00404c70
push eax
call fcn.00404f20
add esp, 4
jmp 0x403a03
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40382c
mov edx, str.Process32First_failed.
mov ecx, 0x464678
call fcn.00404c70
push eax
call fcn.00404f20
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403a03
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0
push str.WeChat.exe
lea ecx, [ebp - 0x248]
movups xmmword [ebp - 0x248], xmm0
call fcn.00404650
mov dword [ebp - 4], 1
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
xor eax, eax
mov dword [ebp - 0x220], 7
movups xmmword [ebp - 0x234], xmm0
mov word [ebp - 0x234], ax
mov byte [ebp - 4], 2
push dword [ebp - 0x46c]
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x403978
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0042b330
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x403971
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.004049a0
cmp dword [ebp - 0x220], 7
lea ecx, [ebp - 0x234]
mov eax, dword [ebp - 0x224]
cmova ecx, dword [ebp - 0x234]
push ecx
push 0x10
lea edx, [ecx + eax*2]
lea eax, [ebp - 0x248]
push eax
push ecx
call fcn.00406c80
add esp, 0x10
test al, al
je 0x403971
call fcn.00405400
mov edx, str.WeChat.exe
mov ecx, eax
call fcn.004050b0
push eax
call fcn.00405360
mov eax, dword [esi + 4]
add esp, 4
mov ecx, dword [ebp - 0x46c]
mov dword [ebp - 0x480], ecx
cmp eax, dword [esi + 8]
je 0x403962
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x403971
lea ecx, [ebp - 0x480]
push ecx
push eax
mov ecx, esi
call fcn.004072b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x220]
cmp ecx, 7
jbe 0x4039b8
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4039ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403a20
push ecx
push edx
call fcn.00426051
add esp, 8
mov edi, dword [ebp - 0x478]
lea eax, [ebp - 0x474]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x403860
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x248]
call fcn.00404c20
mov ecx, dword [ebp - 0x238]
test ecx, ecx
je 0x403a03
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x403a03
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, esi
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.00425df2
mov esp, ebp
pop ebp
ret
call fcn.0042e7fa
int3