Function at 0x417540
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435b4c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x488
mov eax, dword [0x44500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebx + 8]
push esi
push str.CHS_1:__d
call fcn.004168e0
push eax
call fcn.00416a50
add esp, 0xc
cmp dword [edi + 0xbc], 0
jne 0x41764f
push esi
push str.CHS_2:__d
call fcn.004168e0
push eax
call fcn.00416a50
add esp, 0xc
test esi, esi
je 0x41764f
mov edx, esi
lea ecx, [ebp - 0x250]
call fcn.0042f670
mov esi, eax
lea eax, [edi + 0xac]
cmp eax, esi
je 0x41760d
mov ecx, eax
call fcn.00415220
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi + 0xac], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0xbc], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x41764f
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417645
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417645
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00432a88
add esp, 8
push dword [edi + 0xbc]
push str.CHS_3:__d
call fcn.004168e0
push eax
call fcn.00416a50
add esp, 0xc
cmp dword [edi + 0xbc], 0
jne 0x417679
or eax, 0xffffffff
jmp 0x417e05
cmp dword [edi + 0xc0], 8
lea esi, [edi + 0xac]
mov dword [ebp - 0x494], esi
mov eax, esi
jb 0x417692
mov eax, dword [esi]
push 0
push eax
call dword [0x438350]
mov edi, dword [0x438098]
add esp, 8
test eax, eax
jne 0x417acd
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00415280
call fcn.0042faa0
xor ecx, ecx
mov byte [ebp - 0x481], al
add esp, 0x18
test al, al
setne cl
push ecx
push str.CHS_4:__d
call fcn.004168e0
push eax
call fcn.00416a50
add esp, 0xc
cmp byte [ebp - 0x481], 0
je 0x417acd
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x490], eax
push ecx
push eax
mov dword [ebp - 0x480], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x417ac1
lea eax, [ebp - 0x480]
push eax
push dword [ebp - 0x490]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x417ac1
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417766
sub ecx, edx
lea eax, [ebp - 0x45c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00415360
mov dword [ebp - 4], 0
lea eax, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x238]
mov edx, dword [ebp - 0x238]
mov esi, dword [ebp - 0x228]
cmovae eax, edx
cmovae ecx, edx
lea eax, [eax + esi*2]
lea esi, [ebp - 0x238]
mov dword [ebp - 0x488], eax
cmovae esi, edx
xor edi, edi
sub dword [ebp - 0x488], esi
inc dword [ebp - 0x488]
shr dword [ebp - 0x488], 1
cmp esi, eax
mov eax, dword [ebp - 0x488]
cmova eax, edi
mov dword [ebp - 0x488], eax
test eax, eax
je 0x41782a
sub ecx, esi
mov dword [ebp - 0x48c], ecx
nop word [eax + eax]
movzx eax, word [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov ecx, dword [ebp - 0x48c]
lea esi, [esi + 2]
inc edi
add esp, 4
mov word [esi + ecx - 2], ax
cmp edi, dword [ebp - 0x488]
jne 0x417800
mov edx, dword [ebp - 0x238]
cmp dword [ebp - 0x224], 8
lea edi, [ebp - 0x238]
cmovae edi, edx
cmp dword [ebp - 0x228], 0xf
jne 0x417a59
mov ecx, str.helpservice.exe
mov esi, 0xf
sub edi, ecx
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x417a59
add ecx, 2
sub esi, 1
jne 0x417853
push str.CHS_5
push ecx
call fcn.004168e0
add esp, 4
mov ecx, eax
call fcn.00416970
push dword [ebp - 0x478]
push esi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x48c], esi
cmp esi, 0xffffffff
je 0x417a53
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
mov esi, eax
mov dword [ebp - 0x240], 0
xor eax, eax
mov dword [ebp - 0x23c], 7
lea ecx, [ebp - 0x220]
mov word [ebp - 0x250], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4178f3
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00415360
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417922
sub ecx, edx
sar ecx, 1
push ecx
push esi
push str.CHS_6:__d___d
push ecx
call fcn.004168e0
add esp, 4
push eax
call fcn.00416a50
mov edi, dword [ebp - 0x250]
add esp, 0x10
test esi, esi
je 0x417a15
mov ecx, dword [ebp - 0x494]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x417968
mov eax, dword [ecx]
cmp dword [ebp - 0x23c], 8
lea esi, [ebp - 0x250]
mov edx, dword [ebp - 0x240]
cmovae esi, edi
cmp edx, dword [ecx + 0x10]
jne 0x417a15
test edx, edx
je 0x4179a1
sub esi, eax
nop dword [eax]
mov cx, word [eax + esi]
cmp cx, word [eax]
jne 0x417a15
add eax, 2
sub edx, 1
jne 0x417990
push 0
push dword [ebp - 0x48c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
call dword [0x4380e4]
push eax
push esi
push dword [ebp - 0x478]
push str.CHS_7__d_:__d___d
call fcn.004168e0
push eax
call fcn.00416a50
add esp, 0x14
push 0xc8
call dword [0x438048]
mov eax, dword [ebp - 0x494]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4179ed
mov ecx, dword [eax]
push ecx
call dword [0x438098]
mov esi, eax
call dword [0x4380e4]
push eax
push esi
push str.CHS_8:__d___d
push ecx
call fcn.004168e0
add esp, 4
push eax
call fcn.00416a50
add esp, 0x10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x23c]
cmp eax, 8
jb 0x417a53
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x417a49
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41763f
push ecx
push edi
call fcn.00432a88
add esp, 8
mov edx, dword [ebp - 0x238]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x224]
cmp edi, 8
jb 0x417a9a
lea edi, [edi*2 + 2]
mov eax, edx
cmp edi, 0x1000
jb 0x417a90
mov edx, dword [edx - 4]
add edi, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41763f
push edi
push edx
call fcn.00432a88
add esp, 8
lea eax, [ebp - 0x480]
push eax
push dword [ebp - 0x490]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x417740
mov esi, dword [ebp - 0x494]
mov edi, dword [0x438098]
push dword [ebp - 0x490]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 8
mov ecx, esi
call fcn.0041be60
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
lea ecx, [eax + 1]
xor eax, eax
cmp dword [esi + 0x10], ecx
mov word [ebp - 0x238], ax
cmovb ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x417b06
mov esi, dword [esi]
push ecx
push esi
lea ecx, [ebp - 0x238]
call fcn.00415360
mov dword [ebp - 4], 2
push dword [ebp - 0x228]
push 0x43b4c4
call fcn.004168e0
push eax
call fcn.00416a50
add esp, 0xc
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x250]
push 0x43b4d8
call fcn.00415510
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x417b54
mov eax, dword [eax]
push eax
call edi
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x417b99
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417b8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417b8f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00432a88
add esp, 8
push 0x43b4f0
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x250]
call fcn.00415510
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x417bba
mov eax, dword [eax]
push eax
call edi
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x417bff
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417bf5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417bf5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00432a88
add esp, 8
push 0x43b508
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x250]
call fcn.00415510
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x417c20
mov eax, dword [eax]
push eax
call edi
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x417c65
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417c5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417c5b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00432a88
add esp, 8
push 0x43b524
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x250]
call fcn.00415510
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x417c86
mov eax, dword [eax]
push eax
call edi
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x417ccb
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417cc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417cc1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00432a88
add esp, 8
push str.ufcphsom.log
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x250]
call fcn.00415510
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x417cec
mov eax, dword [eax]
push eax
call edi
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x417d31
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417d27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417d27
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00432a88
add esp, 8
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x48c], esp
push 0xb
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.___________
mov word [ecx], ax
call fcn.00415360
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov byte [ebp - 0x481], 1
xor eax, eax
mov dword [ebp - 0x490], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov eax, dword [ebp - 0x228]
lea edx, [eax - 1]
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push edx
push eax
call fcn.00415360
mov cl, byte [ebp - 0x481]
mov byte [ebp - 4], 2
call fcn.0042edf0
mov edx, dword [ebp - 0x224]
add esp, 0x30
mov esi, eax
cmp edx, 8
jb 0x417e03
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417df9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417df9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00432a88
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043284c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4