Function at 0x42f830
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2d93
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x4e5728]
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
mov esi, dword [ebp + 8]
mov dword [ebp - 0x25c], esi
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42f9cf
push 0x79
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwx_run_helper.cpp
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], al
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
call fcn.004082b0
mov byte [ebp - 4], 1
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x310]
push 0xa5
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.00403c10
mov esi, eax
push str.GetWxRunningPIds
push esi
mov byte [ebp - 4], 2
call fcn.00404ba0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x310]
call fcn.00404e00
mov edx, dword [ebp - 0x244]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x42f96d
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42f963
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fcac
push edx
push ecx
call fcn.00467a3f
add esp, 8
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x42f9c9
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42f9bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fcb1
push edx
push ecx
call fcn.00467a3f
add esp, 8
mov esi, dword [ebp - 0x25c]
xor al, al
mov byte [ebp - 0x23d], al
test esi, esi
je 0x42fc36
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.00473050
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x25c], ebx
cmp ebx, 0xffffffff
jne 0x42fb11
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42fc30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x79
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwx_run_helper.cpp
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x248], 0
mov ebx, eax
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 3
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
call fcn.004082b0
mov byte [ebp - 4], 4
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x310]
push 0xae
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00403c10
mov esi, eax
push str.CreateToolhelp32Snapshot_fail__errno_
push esi
mov byte [ebp - 4], 5
call fcn.00404ba0
add esp, 8
mov ecx, esi
push ebx
call fcn.00404a00
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x310]
call fcn.00404e00
lea ecx, [ebp - 0x278]
call fcn.00404580
lea ecx, [ebp - 0x258]
call fcn.00404580
jmp 0x42fc30
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42fc52
call fcn.0043c280
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42fc1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x79
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcwx_run_helper.cpp
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x248], 0
mov ebx, eax
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
call fcn.004082b0
push 3
push 0x4ba7a4
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 6
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
call fcn.004082b0
mov byte [ebp - 4], 7
call fcn.0043c280
mov edi, eax
lea ecx, [ebp - 0x310]
push 0xb2
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00403c10
mov esi, eax
push str.Process32First_fail__errno_
push esi
mov byte [ebp - 4], 8
call fcn.00404ba0
add esp, 8
mov ecx, esi
push ebx
call fcn.00404a00
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x310]
call fcn.00404e00
lea ecx, [ebp - 0x278]
call fcn.00404580
lea ecx, [ebp - 0x258]
call fcn.00404580
mov ebx, dword [ebp - 0x25c]
mov al, byte [ebp - 0x23d]
test ebx, ebx
je 0x42fc36
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x23d]
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.00467d03
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x25c]
nop dword [eax + eax]
lea eax, [ebp - 0x218]
push eax
push str.WeChat.exe
call fcn.00479a1e
add esp, 8
test eax, eax
jne 0x42fc8e
push edi
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0042d370
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42fc60
mov al, 1
mov byte [ebp - 0x23d], al
jmp 0x42fc25
call fcn.004764c9
call fcn.004764c9
int3