Function at 0x4187e1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b687f
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x4f9004]
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 dword [ebp - 0x178], edi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x17c], 0
push eax
call fcn.004172a7
push eax
mov dword [ebp - 4], 0
call fcn.00418ce1
mov edx, dword [ebp - 0x2c]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x41887b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418871
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418cd6
push edx
push ecx
call fcn.0040660b
add esp, 8
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x28]
push eax
call fcn.004179f4
mov dword [ebp - 4], 1
call fcn.004197f2
test al, al
je 0x418977
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x41897a
mov ecx, dword [0x4fb0c8]
mov edx, ecx
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4188b1
sub edx, edi
lea edi, [ebp - 0x28]
sar edx, 1
cmp dword [ebp - 0x14], 8
cmovae edi, dword [ebp - 0x28]
cmp esi, edx
jne 0x4188f7
mov edx, esi
test edx, edx
je 0x41897a
sub edi, ecx
lea ebx, [ebx]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x4188f7
add ecx, 2
sub edx, 1
jne 0x4188e1
jmp 0x41897a
lea eax, [ebp - 0x40]
push eax
call fcn.004283b9
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040d9a0
add esp, 0xc
lea ecx, [ebp - 0x40]
test eax, eax
sete bl
call fcn.00411b77
test bl, bl
jne 0x418977
mov edi, dword [ebp - 0x178]
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [edi + 4]
call fcn.00415f10
mov ecx, eax
call fcn.00415f10
mov ecx, eax
call fcn.004493c1
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x17c], 1
call fcn.0042b1a7
add esp, 8
test al, al
je 0x418977
mov esi, dword [ebp - 0x18]
mov bl, 1
jmp 0x418982
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x178]
xor bl, bl
test byte [ebp - 0x17c], 1
mov dword [ebp - 4], 1
je 0x41899d
lea ecx, [ebp - 0x58]
call fcn.00411b77
mov esi, dword [ebp - 0x18]
test bl, bl
je 0x4189ad
call fcn.00424738
xor edi, edi
jmp 0x418c82
xor bl, bl
test esi, esi
je 0x418b89
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4fb0c8]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004142fa
add esp, 8
test eax, eax
je 0x418b89
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4fb0b4]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004142fa
add esp, 8
test eax, eax
jne 0x418a4e
cmp byte [0x4feb10], al
je 0x418a0d
push eax
push str.wpsStartup
call fcn.004463e2
add esp, 8
push 0
call fcn.0040d263
add esp, 4
test al, al
je 0x418a33
cmp byte [0x4feb10], 0
je 0x418a33
push 0
push str.PrometheusStartup
call fcn.004463e2
add esp, 8
call fcn.0041a1bf
mov esi, dword [eax]
call fcn.0041a1c5
push esi
mov ecx, edi
push dword [eax]
call fcn.0042bada
jmp 0x418bb9
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4fb0b8]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004142fa
add esp, 8
test eax, eax
jne 0x418ac3
cmp byte [0x4feb10], al
je 0x418a82
push eax
push str.etStartup
call fcn.004463e2
add esp, 8
push 0
call fcn.0040d263
add esp, 4
test al, al
je 0x418aa8
cmp byte [0x4feb10], 0
je 0x418aa8
push 0
push str.PrometheusStartup
call fcn.004463e2
add esp, 8
call fcn.0041a1bf
mov esi, dword [eax]
call fcn.0041a1c5
push esi
mov ecx, edi
push dword [eax]
call fcn.0042a3e2
jmp 0x418bb9
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4fb0bc]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004142fa
add esp, 8
test eax, eax
jne 0x418b38
cmp byte [0x4feb10], al
je 0x418af7
push eax
push str.wppStartup
call fcn.004463e2
add esp, 8
push 0
call fcn.0040d263
add esp, 4
test al, al
je 0x418b1d
cmp byte [0x4feb10], 0
je 0x418b1d
push 0
push str.PrometheusStartup
call fcn.004463e2
add esp, 8
call fcn.0041a1bf
mov esi, dword [eax]
call fcn.0041a1c5
push esi
mov ecx, edi
push dword [eax]
call fcn.0042b510
jmp 0x418bb9
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4fb0c0]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004142fa
add esp, 8
test eax, eax
jne 0x418b84
cmp byte [0x4feb10], al
je 0x418b6c
push eax
push str.pdfStartup
call fcn.004463e2
add esp, 8
call fcn.0041a1bf
mov esi, dword [eax]
call fcn.0041a1c5
push esi
mov ecx, edi
push dword [eax]
call fcn.0042abc4
jmp 0x418bb9
or edi, 0xffffffff
jmp 0x418bbb
cmp byte [0x4feb10], 0
je 0x418ba1
push 0
push str.PrometheusStartup
call fcn.004463e2
add esp, 8
call fcn.0041a1bf
mov esi, dword [eax]
call fcn.0041a1c5
push esi
mov ecx, edi
push dword [eax]
call fcn.0041a1cc
mov bl, 1
mov edi, eax
call fcn.00424738
test bl, bl
je 0x418c82
push 0x100
lea eax, [ebp - 0x160]
mov dword [ebp - 0x174], 0x11c
push 0
push eax
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
call fcn.00402780
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
xor eax, eax
mov word [ebp - 0x5e], ax
mov dword [ebp - 0x5c], eax
push 3
push 0x20
push 3
push 1
push 3
push 2
push eax
push eax
call esi
push edx
push eax
call esi
push edx
push eax
call esi
push edx
push eax
push 0x23
lea eax, [ebp - 0x174]
mov dword [ebp - 0x170], 6
xor ecx, ecx
mov dword [ebp - 0x16c], 0
push eax
mov word [ebp - 0x60], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x418c82
call fcn.00424ed2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x418c82
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x418cb8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418cae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418cdb
push edx
push ecx
call fcn.0040660b
add esp, 8
mov eax, edi
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.00402c9b
mov esp, ebp
pop ebp
ret
call fcn.0047c5cb
call fcn.0047c5cb
int3