Function at 0x10104c30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154c70
mov eax, dword fs:[0]
push eax
sub esp, 0x4f0
mov eax, dword [0x1019a128]
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
push str.stop_upnp_srv
lea ecx, [ebp - 0x434]
call fcn.1000ab60
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.10078030
mov byte [ebp - 4], 1
call fcn.101045c0
mov edi, eax
test edi, edi
jne 0x10104cca
push str.stop_upnp_srv
lea edx, [eax + 0x10]
lea ecx, [ebp - 0x4fc]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 2
cmp byte [eax + 0x48], 0
je 0x10104cb8
mov edx, str.process_not_found
mov ecx, eax
call fcn.100205a0
lea ecx, [ebp - 0x4fc]
call fcn.1000ad70
mov bl, 1
jmp 0x10105042
xorps xmm0, xmm0
lea ecx, [ebp - 0x1c]
mov edx, edi
movlpd qword [ebp - 0x1c], xmm0
call fcn.10104970
push edi
push 1
push 0x100401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x43c], esi
test esi, esi
je 0x10104d04
xor ebx, ebx
mov dword [ebp - 0x438], 0x1019ab88
jmp 0x10104d16
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x438], 0x1019abc0
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 5
test esi, esi
jne 0x10104e43
push str.stop_upnp_srv
lea edx, [esi + 8]
lea ecx, [ebp - 0x4fc]
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 6
mov al, byte [esi + 0x48]
test al, al
je 0x10104d97
mov edx, str.open_process_pid
mov ecx, esi
call fcn.100205a0
mov al, byte [esi + 0x48]
test al, al
je 0x10104d97
push edi
mov ecx, esi
call fcn.100201d0
mov al, byte [esi + 0x48]
test al, al
je 0x10104d97
mov edx, str._err
mov ecx, esi
call fcn.100205a0
mov al, byte [esi + 0x48]
test al, al
je 0x10104d97
push ebx
mov ecx, esi
call fcn.10026c90
cmp byte [esi + 0x48], 0
je 0x10104d97
mov edx, 0x10166bd0
mov ecx, esi
call fcn.100205a0
mov ecx, dword [ebp - 0x438]
lea edx, [ebp - 0x454]
push ebx
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x454]
mov edx, dword [ebp - 0x440]
cmp edx, 0x10
mov ecx, dword [ebp - 0x454]
cmovae eax, ecx
cmp byte [esi + 0x48], 0
je 0x10104de1
mov edx, eax
mov ecx, esi
call fcn.10020800
mov edx, dword [ebp - 0x440]
mov ecx, dword [ebp - 0x454]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x10104e13
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10104e09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10105095
push edx
push ecx
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x4fc]
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0xf
mov byte [ebp - 0x454], 0
mov byte [ebp - 4], 5
call fcn.1000ad70
mov esi, dword [ebp - 0x43c]
cmp dword [ebp - 0x18], 0
je 0x10104f7e
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
cmp esi, eax
je 0x10104f21
nop word [eax + eax]
mov ebx, dword [esi + 8]
push 0
push 0
push 0x12
push ebx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
lea ecx, [ebp - 0x4fc]
mov edx, 0x10
push str.stop_upnp_srv
test eax, eax
jne 0x10104ed5
call fcn.1000aed0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 8
mov al, byte [edi + 0x48]
test al, al
je 0x10104ec6
mov edx, str.PostThreadMessage
mov ecx, edi
call fcn.100205a0
mov al, byte [edi + 0x48]
test al, al
je 0x10104ec6
push ebx
mov ecx, edi
call fcn.100201d0
cmp byte [edi + 0x48], 0
je 0x10104ec6
mov edx, str._err
mov ecx, edi
call fcn.100205a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [edi + 0x48], 0
je 0x10104f05
push eax
jmp 0x10104efe
call fcn.1000aed0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 9
mov al, byte [edi + 0x48]
test al, al
je 0x10104f05
mov edx, str.PostThreadMessage_success
mov ecx, edi
call fcn.100205a0
mov al, byte [edi + 0x48]
test al, al
je 0x10104f05
push ebx
mov ecx, edi
call fcn.100201d0
lea ecx, [ebp - 0x4fc]
mov byte [ebp - 4], 5
call fcn.1000ad70
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [ebp - 0x1c]
jne 0x10104e60
mov esi, dword [ebp - 0x43c]
test esi, esi
je 0x10104fbf
mov edx, 0x1388
mov ecx, esi
call fcn.1006a800
test eax, eax
jne 0x10104fc7
push str.stop_upnp_srv
lea edx, [eax + 0x10]
lea ecx, [ebp - 0x4fc]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 0xa
cmp byte [eax + 0x48], 0
je 0x10104f6f
mov edx, str.wait_success
mov ecx, eax
call fcn.100205a0
lea ecx, [ebp - 0x4fc]
call fcn.1000ad70
mov bl, 1
jmp 0x10104fc1
push str.stop_upnp_srv
mov edx, 0x10
lea ecx, [ebp - 0x4fc]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 0xc
cmp byte [eax + 0x48], 0
je 0x10104fac
mov edx, str.no_tids
mov ecx, eax
call fcn.10020800
lea ecx, [ebp - 0x4fc]
mov byte [ebp - 4], 5
call fcn.1000ad70
test esi, esi
jne 0x10104fc7
xor bl, bl
test esi, esi
je 0x10105012
jmp 0x1010500b
push str.stop_upnp_srv
mov edx, 0x10
lea ecx, [ebp - 0x4fc]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 0xe
cmp byte [eax + 0x48], 0
je 0x10104ff5
mov edx, str.force_terminate_process
mov ecx, eax
call fcn.100205a0
lea ecx, [ebp - 0x4fc]
call fcn.1000ad70
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 4]
mov dword [eax], 0
mov eax, dword [edi]
test eax, eax
je 0x10105037
mov esi, dword [eax]
push 0xc
push eax
call fcn.101157ed
add esp, 8
mov eax, esi
test esi, esi
jne 0x10105024
push 0xc
push edi
call fcn.101157ed
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1010506c
push 0
call fcn.10078180
mov ecx, dword [ebp - 0x14]
add esp, 4
test ecx, ecx
je 0x1010506c
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x434]
call fcn.1000ac70
mov al, bl
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.101157bc
mov esp, ebp
pop ebp
ret
call fcn.1011a6bf
int3