Function at 0x41f5b0
Capabilities:
Get process image filename
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8b65
mov eax, dword fs:[0]
push eax
mov eax, 0x1278
call fcn.0045f030
mov eax, dword [0x4da734]
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 edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov ebx, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0x1254], edi
mov byte [ebp - 0x1249], 0
call fcn.0046a460
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x41f636
push edi
push eax
push 0x1010
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41f734
push 0x800
lea eax, [ebp - 0x1218]
push 0
push eax
call fcn.0046a460
add esp, 0xc
mov dword [ebp - 0x1250], 0
lea eax, [ebp - 0x1218]
push 0x400
push eax
push 0
push esi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x41f6e9
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.0046a460
lea eax, [ebp - 0x1218]
push 0x7e
push eax
call fcn.0046ab6d
add esp, 0x14
test eax, eax
je 0x41f6bd
push 0x400
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0x1218]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
lea eax, [ebp - 0xa18]
jbe 0x41f6c3
lea eax, [ebp - 0x1218]
push 0x104
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004709a7
add esp, 0x10
mov dword [ebp - 0x1250], 1
jmp 0x41f720
push 0x400
lea eax, [ebp - 0x1218]
push eax
push esi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
je 0x41f720
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1218]
push eax
call fcn.0041d4d0
add esp, 0xc
mov dword [ebp - 0x1250], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1250], 0
jne 0x41f841
call fcn.004377c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41f81f
push 0x70
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcutils.cc
lea ecx, [ebp - 0x1230]
mov dword [ebp - 0x1220], eax
mov dword [ebp - 0x121c], 0xf
mov byte [ebp - 0x1230], al
call fcn.00407e10
push 3
push 0x4b1ab8
lea ecx, [ebp - 0x126c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x125c], 0
mov dword [ebp - 0x1258], 0xf
mov byte [ebp - 0x126c], 0
call fcn.00407e10
mov byte [ebp - 4], 1
call fcn.004377c0
mov edi, eax
lea ecx, [ebp - 0x2b0]
push 0x117
lea eax, [ebp - 0x1230]
push eax
lea eax, [ebp - 0x126c]
push eax
call fcn.00403be0
mov esi, eax
push str.get_process_file_path_failed__pid:
push esi
mov byte [ebp - 4], 2
call fcn.00404b70
add esp, 8
push dword [ebp - 0x1254]
mov ecx, esi
call fcn.004049d0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2b0]
call fcn.00404dd0
lea ecx, [ebp - 0x126c]
call fcn.00404550
lea ecx, [ebp - 0x1230]
call fcn.00404550
mov al, byte [ebp - 0x1249]
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.0045f015
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x125c], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x1258], 7
mov word [ebp - 0x126c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f867
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x126c]
call fcn.00407f10
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], 3
cmp eax, dword [ebp - 0x125c]
je 0x41f8a7
mov byte [ebp - 0x124a], 1
jmp 0x41fa7e
push ebx
lea ecx, [ebp - 0x1230]
call fcn.0040b900
lea eax, [ebp - 0x126c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1248]
call fcn.0040b900
cmp dword [ebp - 0x121c], 8
lea ecx, [ebp - 0x1230]
mov edx, dword [ebp - 0x1230]
lea edi, [ebp - 0x1230]
mov eax, dword [ebp - 0x1220]
cmovae ecx, edx
push fcn.004708aa
cmovae edi, edx
mov byte [ebp - 4], 5
push edi
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x1230]
cmovae ecx, edx
lea eax, [ebp - 0x1250]
push ecx
push eax
call fcn.0041d250
cmp dword [ebp - 0x1234], 8
lea ecx, [ebp - 0x1248]
mov edx, dword [ebp - 0x1248]
lea edi, [ebp - 0x1248]
mov eax, dword [ebp - 0x1238]
cmovae ecx, edx
push fcn.004708aa
cmovae edi, edx
push edi
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x1248]
cmovae ecx, edx
lea eax, [ebp - 0x1250]
push ecx
push eax
call fcn.0041d250
mov eax, dword [ebp - 0x1248]
lea ecx, [ebp - 0x1248]
mov edi, dword [ebp - 0x1230]
lea esi, [ebp - 0x1230]
mov edx, dword [ebp - 0x1220]
add esp, 0x28
cmp dword [ebp - 0x1234], 8
cmovae ecx, eax
cmp dword [ebp - 0x121c], 8
cmovae esi, edi
cmp edx, dword [ebp - 0x1238]
jne 0x41f9c6
test edx, edx
je 0x41f9b7
sub esi, ecx
nop word [eax + eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x41f9c0
add ecx, 2
sub edx, 1
jne 0x41f9a0
mov eax, dword [ebp - 0x1248]
mov byte [ebp - 0x124a], 0
jmp 0x41f9cd
mov eax, dword [ebp - 0x1248]
mov byte [ebp - 0x124a], 1
mov ecx, dword [ebp - 0x1234]
mov byte [ebp - 4], 4
cmp ecx, 8
jb 0x41fa1d
lea ecx, [ecx*2 + 2]
mov edx, eax
cmp ecx, 0x1000
jb 0x41fa0d
mov eax, dword [eax - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x1250], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x41fdc1
mov eax, dword [ebp - 0x1250]
push ecx
push eax
call fcn.0045ed5f
mov edi, dword [ebp - 0x1230]
add esp, 8
xor eax, eax
mov dword [ebp - 0x1238], 0
mov word [ebp - 0x1248], ax
mov eax, dword [ebp - 0x121c]
mov dword [ebp - 0x1234], 7
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x41fa78
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x41fa6e
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fdc1
push ecx
push edi
call fcn.0045ed5f
add esp, 8
mov edi, dword [ebp - 0x1254]
mov edx, dword [ebp - 0x1258]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x41fac5
mov ecx, dword [ebp - 0x126c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fabb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fdc6
push edx
push ecx
call fcn.0045ed5f
add esp, 8
cmp byte [ebp - 0x124a], 0
je 0x41fbe2
call fcn.004377c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41f81f
push 0x70
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcutils.cc
lea ecx, [ebp - 0x1230]
mov dword [ebp - 0x1220], eax
mov dword [ebp - 0x121c], 0xf
mov byte [ebp - 0x1230], al
call fcn.00407e10
push 3
push 0x4b1ab8
lea ecx, [ebp - 0x126c]
mov dword [ebp - 4], 6
mov dword [ebp - 0x125c], 0
mov dword [ebp - 0x1258], 0xf
mov byte [ebp - 0x126c], 0
call fcn.00407e10
mov byte [ebp - 4], 7
call fcn.004377c0
mov dword [ebp - 0x1254], eax
lea ecx, [ebp - 0x2b0]
push 0x11c
lea eax, [ebp - 0x1230]
push eax
lea eax, [ebp - 0x126c]
push eax
call fcn.00403be0
mov esi, eax
push str.will_kill_not_wx_exe__pid:
push esi
mov byte [ebp - 4], 8
call fcn.00404b70
add esp, 8
mov ecx, esi
push edi
call fcn.004049d0
push str.__wx_exe:
push esi
call fcn.00404b70
add esp, 8
cmp dword [ebx + 0x14], 8
jb 0x41fba9
mov ebx, dword [ebx]
test ebx, ebx
mov eax, 0x4b1de8
cmovne eax, ebx
push eax
push esi
call fcn.0040a710
push str.__get_exe:
push esi
call fcn.00404b70
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0040a710
mov ecx, dword [ebp - 0x1254]
add esp, 0x18
mov eax, dword [ecx]
jmp 0x41f7fa
push edi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x41fcb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.004377c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41f81f
push 0x70
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcutils.cc
lea ecx, [ebp - 0x1230]
mov dword [ebp - 0x1220], eax
mov dword [ebp - 0x121c], 0xf
mov byte [ebp - 0x1230], al
call fcn.00407e10
push 3
push 0x4b1ab8
lea ecx, [ebp - 0x126c]
mov dword [ebp - 4], 9
mov dword [ebp - 0x125c], edi
mov dword [ebp - 0x1258], 0xf
mov byte [ebp - 0x126c], 0
call fcn.00407e10
mov byte [ebp - 4], 0xa
call fcn.004377c0
mov edi, eax
lea ecx, [ebp - 0x2b0]
push 0x124
lea eax, [ebp - 0x1230]
push eax
lea eax, [ebp - 0x126c]
push eax
call fcn.00403be0
mov esi, eax
push str.Failed_to_open_process._Error:
push esi
mov byte [ebp - 4], 0xb
call fcn.00404b70
add esp, 8
push ebx
jmp 0x41f7ef
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x41fdba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.004377c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41f81f
push 0x70
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcutils.cc
lea ecx, [ebp - 0x1284]
mov dword [ebp - 0x1274], eax
mov dword [ebp - 0x1270], 0xf
mov byte [ebp - 0x1284], al
call fcn.00407e10
push 3
push 0x4b1ab8
lea ecx, [ebp - 0x1248]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x1238], esi
mov dword [ebp - 0x1234], 0xf
mov byte [ebp - 0x1248], 0
call fcn.00407e10
mov byte [ebp - 4], 0xd
call fcn.004377c0
mov edi, eax
lea ecx, [ebp - 0xab0]
push 0x130
lea eax, [ebp - 0x1284]
push eax
lea eax, [ebp - 0x1248]
push eax
call fcn.00403be0
mov esi, eax
push str.Failed_to_terminate_process._Error:
push esi
mov byte [ebp - 4], 0xe
call fcn.00404b70
add esp, 8
mov ecx, esi
push ebx
call fcn.004049d0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xab0]
call fcn.00404dd0
lea ecx, [ebp - 0x1248]
call fcn.00404550
lea ecx, [ebp - 0x1284]
jmp 0x41f81a
mov al, 1
jmp 0x41f825
call fcn.0046d8d9
call fcn.0046d8d9
int3