Function at 0x403f80
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1fea
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4d63e4]
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, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x264]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push eax
mov dword [ebp - 0x26c], ebx
call fcn.00401980
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x254], ebx
jne 0x403907
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x264]
call fcn.00404ed0
call fcn.0045ae50
test al, al
je 0x403963
push 0
push str.ksoqing:
lea ecx, [ebp - 0x264]
call fcn.00404fe0
cmp eax, 0xffffffff
je 0x403963
push 0
push 0x4ac61c
lea ecx, [ebp - 0x264]
call fcn.00404fe0
cmp eax, 0xffffffff
jne 0x403963
push 0
push str.ksoqing:
lea ecx, [ebp - 0x264]
call fcn.00404fe0
push 0xd
push str._qingbangong
push eax
lea ecx, [ebp - 0x264]
call fcn.004050a0
mov ecx, dword [edi]
lea eax, [ebp - 0x264]
push esi
push eax
call fcn.004083f0
test eax, eax
jne 0x40397e
or esi, 0xffffffff
jmp 0x403eee
mov ecx, edi
call fcn.00404b40
mov ecx, dword [edi]
call fcn.00404340
cmp eax, 7
jne 0x403a1c
call fcn.0041bc20
xor ecx, ecx
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], cx
lea ecx, [ebp - 0x230]
push eax
mov dword [ebp - 0x21c], 7
call fcn.00404ed0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
call fcn.0041cd90
mov edx, dword [ebp - 0x21c]
add esp, 4
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x403a23
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403a10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403f4a
push edx
push ecx
call fcn.0046c40b
add esp, 8
jmp 0x403a23
mov ecx, dword [edi]
call fcn.00404340
mov ecx, dword [edi]
call fcn.00404340
test eax, eax
je case.default.0x403b3b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0046edf0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403ac6
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
push eax
call fcn.00404ed0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push 0
mov ebx, 1
push eax
mov dword [ebp - 0x26c], ebx
call fcn.0041d3f0
add esp, 8
mov byte [ebp - 0x265], bl
test eax, eax
je 0x403acd
mov byte [ebp - 0x265], 0
mov dword [ebp - 4], 0
test bl, 1
je 0x403b19
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x403b19
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403b0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403f4f
push edx
push ecx
call fcn.0046c40b
add esp, 8
cmp byte [ebp - 0x265], 0
je 0x403b2a
or esi, 0xffffffff
jmp 0x403eee
mov ecx, dword [edi]
call fcn.00404340
dec eax
cmp eax, 7
ja case.default.0x403b3b
jmp dword [eax*4 + 0x403f60]
push str.LanguageID
lea ecx, [ebp - 0x248]
call fcn.00403490
mov ecx, dword [edi]
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
call fcn.00407d30
mov ecx, dword [edi + 8]
push eax
mov byte [ebp - 4], 4
call fcn.00414a10
lea ecx, [ebp - 0x230]
call fcn.00402340
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00402340
push str.UpPower
lea ecx, [ebp - 0x248]
call fcn.00403490
mov ecx, dword [edi]
lea eax, [ebp - 0x248]
push eax
mov byte [ebp - 4], 5
call fcn.00407e10
mov ecx, dword [edi + 8]
push eax
call fcn.00413dc0
lea ecx, [ebp - 0x248]
mov esi, eax
call fcn.00402340
jmp 0x403eee
mov ecx, dword [edi + 8]
call fcn.00414ca0
mov esi, eax
jmp 0x403eee
mov ecx, dword [edi + 8]
call fcn.00414740
mov esi, eax
jmp 0x403eee
mov ecx, dword [edi + 8]
call fcn.00413820
mov esi, eax
jmp 0x403eee
mov ecx, edi
call 0x403f80
mov esi, eax
jmp 0x403eee
lea eax, [ebp - 0x228]
mov dword [edi + 4], 1
push eax
mov dword [ebp - 0x228], 0x4ac5f0
mov dword [ebp - 0x224], 0x4046a0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
je 0x403c51
xor esi, esi
jmp 0x403eee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
shl esi, 0x10
or esi, 7
jmp 0x403eee
mov ecx, dword [edi + 8]
call fcn.00414db0
mov esi, eax
jmp 0x403eee
lea ecx, [ebp - 0x265]
call fcn.00424500
lea ecx, [ebp - 0x265]
call fcn.00409d70
cmp byte [edi + 0x20], 0
je 0x403caa
call fcn.00424910
lea ecx, [ebp - 0x265]
call fcn.004244d0
lea ecx, [ebp - 0x265]
call fcn.00409d70
push str.TD_WPS_EXEC_HOST
lea ecx, [ebp - 0x248]
mov dword [edi + 4], 2
call fcn.00403490
mov ecx, dword [edi]
lea eax, [ebp - 0x224]
push eax
mov byte [ebp - 4], 6
call fcn.00407350
mov esi, dword [ebp - 0x224]
mov eax, dword [ebp - 0x220]
mov byte [ebp - 4], 7
cmp esi, eax
je 0x403d4b
cmp dword [esi + 0x14], 8
mov ebx, esi
jb 0x403cf1
mov ebx, dword [esi]
cmp dword [esi + 0x10], 0xb
jne 0x403de8
mov ecx, str._triggerdot
mov edx, 0xb
sub ebx, ecx
jmp 0x403d10
mov ax, word [ebx + ecx]
cmp ax, word [ecx]
jne 0x403de2
add ecx, 2
sub edx, 1
jne 0x403d10
cmp esi, dword [ebp - 0x220]
je 0x403d4b
mov edx, dword [edi + 0x28]
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
cmovae ecx, dword [ebp - 0x248]
mov eax, dword [edx]
push ecx
push edx
call dword [eax + 0x40]
lea ecx, [ebp - 0x224]
call fcn.00403760
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00402340
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x4ac6a0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00404ed0
mov ecx, dword [edi]
lea eax, [ebp - 0x230]
push eax
mov byte [ebp - 4], 8
call fcn.00407e10
mov edx, dword [ebp - 0x21c]
mov esi, eax
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x403e02
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403df8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403f54
jmp 0x403df8
mov eax, dword [ebp - 0x220]
add esi, 0x18
cmp esi, eax
jne 0x403ce7
jmp 0x403d4b
push edx
push ecx
call fcn.0046c40b
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov eax, dword [edi]
mov dword [ebp - 0x21c], 7
push eax
test esi, esi
je 0x403e35
mov ecx, dword [edi + 0x10]
call fcn.0040b610
mov esi, eax
jmp 0x403eee
mov ecx, dword [edi + 0xc]
call fcn.0040ac90
mov esi, eax
test si, si
jne 0x403eee
mov ecx, dword [edi + 0xc]
call fcn.0040a820
test eax, eax
jne 0x403e60
mov ecx, dword [edi + 0xc]
call fcn.00405ea0
test eax, eax
je 0x403e70
mov ecx, dword [edi + 8]
call fcn.00414a90
mov ecx, dword [edi + 0x14]
call fcn.0040ff90
mov ecx, edi
call fcn.00404420
mov esi, eax
test esi, esi
jne 0x403ed7
cmp dword [edi + 4], 1
jne 0x403ecf
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
push eax
push eax
push eax
lea eax, [ebp - 0x24c]
push eax
call ebx
test eax, eax
jle 0x403ed7
lea esp, [esp]
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x24c]
push eax
call ebx
test eax, eax
jg 0x403ea0
jmp 0x403ed7
mov ecx, dword [edi + 0xc]
call fcn.0040cdf0
mov ecx, dword [edi + 0x14]
call fcn.00410650
mov ecx, dword [edi + 0x18]
call fcn.00411e60
jmp 0x403eee
mov esi, 1
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x403f2a
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403f20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403f59
push edx
push ecx
call fcn.0046c40b
add esp, 8
mov eax, esi
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.0046c678
mov esp, ebp
pop ebp
ret 8
call fcn.00477ce9
call fcn.00477ce9
call fcn.00477ce9
call fcn.00477ce9
mov edi, edi
or bh, byte [eax + eax*2]
add byte [edx + 59], al
inc eax
add bh, cl
cmp eax, dword [eax]
fidivr word [ebx]
inc eax
add ch, ch
cmp eax, dword [eax]
cld
cmp eax, dword [eax]
jae 0x403fb6
inc eax
add byte [esp + edi + 0x40], ah
add byte [ebp - 0x75], dl
in al, dx
push 0xffffffffffffffff
push 0x4a203b
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4d63e4]
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 ecx, dword [0x4daa08]
mov ecx, dword [ecx + 8]
call fcn.004141c0
or al, ch
add al, 2
add dword [eax], eax
test eax, eax
je 0x40404b
xor eax, eax
mov dword [ebp - 0x30], 0
push str.LocalService
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00404ed0
mov ecx, dword [0x4daa08]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 0
mov ecx, dword [ecx + 0x18]
call fcn.00411ca0
mov edx, dword [ebp - 0x2c]
mov esi, eax
cmp edx, 8
jb 0x40403a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404030
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40431d
push edx
push ecx
call fcn.0046c40b
add esp, 8
xor ecx, ecx
mov eax, 9
test esi, esi
cmovne eax, ecx
jmp 0x404301
xor esi, esi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x288], edi
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x284], ebx
xor eax, eax
mov dword [ebp - 4], 1
push str.wps.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404ed0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [ebp - 0x274], eax
jb 0x4040b7
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x274], eax
test eax, eax
je 0x4041ac
cmp word [eax], 0
je 0x4041ac
push 0x228
lea eax, [ebp - 0x268]
mov dword [ebp - 0x26c], 0x22c
push 0
push eax
call fcn.0046edf0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x270], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x270]
cmp eax, 0xffffffff
je 0x4041ac
lea ecx, [ebp - 0x26c]
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4041a0
mov esi, dword [ebp - 0x274]
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.00478330
add esp, 8
test eax, eax
jne 0x404178
mov eax, dword [ebp - 0x264]
cmp eax, dword [ebp - 0x278]
je 0x404178
cmp edi, ebx
je 0x404159
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x288], edi
jmp 0x404178
lea eax, [ebp - 0x264]
push eax
push edi
lea ecx, [ebp - 0x28c]
call fcn.00403380
mov ebx, dword [ebp - 0x284]
mov edi, dword [ebp - 0x288]
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x270]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x404126
mov esi, dword [ebp - 0x28c]
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], esi
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x274], edx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x278], ecx
cmp esi, edi
je 0x404207
sub edi, esi
lea ecx, [ebp - 0x34]
mov esi, edi
sar esi, 2
push esi
call fcn.00404e70
push edi
push dword [ebp - 0x27c]
mov dword [ebp - 0x274], eax
lea ecx, [eax + esi*4]
push eax
mov dword [ebp - 0x270], ecx
call fcn.0046e870
mov ecx, dword [ebp - 0x270]
add esp, 0xc
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x278], ecx
mov esi, edx
cmp esi, ecx
je 0x404251
mov ebx, dword [ebp - 0x278]
push dword [esi]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x404238
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, ebx
jne 0x404213
mov ebx, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x270]
mov edx, dword [ebp - 0x274]
test edx, edx
je 0x404282
sub ecx, edx
mov eax, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x404278
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404322
push ecx
push edx
call fcn.0046c40b
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4042b8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4042ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404322
push edx
push ecx
call fcn.0046c40b
add esp, 8
mov ecx, dword [ebp - 0x27c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test ecx, ecx
je 0x4042ff
sub ebx, ecx
mov eax, ecx
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x4042f5
mov ecx, dword [ecx - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404322
push ebx
push ecx
call fcn.0046c40b
add esp, 8
xor eax, eax
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.0046c678
mov esp, ebp
pop ebp
ret
call fcn.00477ce9
call fcn.00477ce9
int3