Function at 0x405720
Capabilities:
Enumerate processes
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a72f
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x4ca3f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
push 0x4a
call fcn.00427540
push 0xb0
lea eax, [ebp - 0x358]
push 0
push eax
call fcn.0046d470
add esp, 0x14
lea ecx, [ebp - 0x358]
push 1
call fcn.00444b00
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
call fcn.00405420
mov ecx, eax
test ecx, ecx
je 0x405cd2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
push str.Global_
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.00404f80
test al, al
jne 0x4057d3
push 7
push str.Global_
lea ecx, [ebp - 0x21c]
call fcn.00405d90
mov edx, dword [str.LuDaShi:WxClean:28C20206_F8F1_4C33_97B2_9F2979C762B1]
mov byte [ebp - 4], 2
test edx, edx
jne 0x4057e5
xor ecx, ecx
jmp 0x4057ff
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4057f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x21c]
call fcn.00404e00
lea eax, [ebp - 0x21c]
mov ecx, 0x4cdfa8
push eax
call fcn.004276b0
test eax, eax
jne 0x405977
call fcn.004230f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x405945
mov ecx, 0x4cdfa8
call fcn.00427a70
push 0x51
push str.d:jenkins.jenkinsworkspacemaster_luwx_cleanwechat_clean_srcwechat_clean.cc
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x588], eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.00407ba0
push 3
push 0x4a4a40
lea ecx, [ebp - 0x5a4]
mov byte [ebp - 4], 3
mov dword [ebp - 0x594], 0
mov dword [ebp - 0x590], 0xf
mov byte [ebp - 0x5a4], 0
call fcn.00407ba0
mov byte [ebp - 4], 4
call fcn.004230f0
mov edi, eax
lea ecx, [ebp - 0x63c]
push 0x81
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x5a4]
push eax
call fcn.00403750
mov esi, eax
push str.CheckOneInstance_hWnd:
push esi
mov byte [ebp - 4], 5
call fcn.00404660
add esp, 8
test esi, esi
jne 0x4058f4
xor ecx, ecx
jmp 0x4058fb
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ecx + 0x14]
push dword [ebp - 0x588]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + 0x14], eax
mov ecx, esi
call fcn.004044c0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x63c]
call fcn.004048c0
lea ecx, [ebp - 0x5a4]
call fcn.00404040
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.00404040
mov ecx, 0x4cdfa8
call fcn.00427a70
push eax
mov ecx, 0x4cdfa8
call fcn.004281e0
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jmp 0x405c9e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0046d470
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x228
mov edi, eax
lea eax, [ebp - 0x580]
push 0
push eax
call fcn.0046d470
add esp, 0xc
mov dword [ebp - 0x588], 0
mov dword [ebp - 0x584], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x584]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x405a07
nop dword [eax + eax]
cmp dword [ebp - 0x57c], edi
je 0x4059fb
lea eax, [ebp - 0x584]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4059e0
jmp 0x405a07
mov eax, dword [ebp - 0x56c]
mov dword [ebp - 0x588], eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
push dword [ebp - 0x588]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x405a4c
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push esi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
jne 0x405a47
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call edi
jmp 0x405a52
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.00405420
mov ecx, eax
test ecx, ecx
je 0x405cdc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x588], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x588]
call fcn.00404f80
test al, al
jne 0x405ab6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405a94
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x588]
call fcn.00405d90
mov esi, dword [ebp - 0x588]
push esi
mov byte [ebp - 4], 7
call fcn.0045df40
add esp, 4
test eax, eax
jne 0x405bca
call fcn.004230f0
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x405c6b
push 0x51
push str.d:jenkins.jenkinsworkspacemaster_luwx_cleanwechat_clean_srcwechat_clean.cc
lea ecx, [ebp - 0x5a4]
mov dword [ebp - 0x594], eax
mov dword [ebp - 0x590], 0xf
mov byte [ebp - 0x5a4], al
call fcn.00407ba0
push 3
push 0x4a4898
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 8
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.00407ba0
mov byte [ebp - 4], 9
call fcn.004230f0
mov dword [ebp - 0x58c], eax
lea ecx, [ebp - 0x63c]
push 0x89
lea eax, [ebp - 0x5a4]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00403750
mov edi, eax
push str.ppid_has_no_sign__path:
push edi
mov byte [ebp - 4], 0xa
call fcn.00402890
test esi, esi
mov ecx, str._null_
cmovne ecx, esi
push ecx
push edi
call fcn.00402890
mov ecx, dword [ebp - 0x58c]
add esp, 0x10
mov eax, dword [ecx]
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x63c]
call fcn.004048c0
lea ecx, [ebp - 0x234]
call fcn.00404040
lea ecx, [ebp - 0x5a4]
call fcn.00404040
jmp 0x405c6b
push 0x70
lea eax, [ebp - 0x2a8]
push 0
push eax
call fcn.0046d470
add esp, 0xc
lea ecx, [ebp - 0x2a8]
call fcn.0040a5d0
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0xb
call fcn.00412640
test eax, eax
je 0x405c60
push 0
push dword [ebp - 0x2a4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x2a8]
call fcn.0041b0d0
push eax
mov ecx, 0x4cdfa8
call fcn.00429000
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x238]
movq qword [ebp - 0x228], xmm0
movups xmmword [ebp - 0x238], xmm0
call fcn.00445040
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xc
call fcn.004551d0
lea ecx, [ebp - 0x238]
call fcn.00447930
lea ecx, [ebp - 0x2a8]
call fcn.0040aa40
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405c89
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x405ca8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x358]
call fcn.00447460
xor eax, eax
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.00461490
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404f60
push 0x80004005
call fcn.00404f60
int3