Function at 0x40aff0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fd2f
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x4be4bc]
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
lea eax, [ebp - 0x40]
mov dword [ebp - 0x178], 0
push eax
call fcn.004058e0
push eax
mov dword [ebp - 4], 0
call fcn.00442430
mov edx, dword [ebp - 0x2c]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x40b086
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b07c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b07c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
add esp, 8
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x28]
push eax
call fcn.00408880
mov dword [ebp - 4], 1
call fcn.00406150
test al, al
je 0x40b194
cmp dword [ebp - 0x18], 0
je 0x40b194
push dword [0x4c27b8]
lea eax, [ebp - 0x28]
push eax
call fcn.00409080
add esp, 8
test al, al
jne 0x40b194
lea eax, [ebp - 0x40]
push eax
call fcn.00405380
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 dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov edx, dword [ebp - 0x2c]
add esp, 0xc
test eax, eax
sete bl
cmp edx, 8
jb 0x40b135
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b12b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b12b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
add esp, 8
test bl, bl
jne 0x40b194
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4c27b0]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00451c10
add esp, 8
test eax, eax
je 0x40b194
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x58]
push eax
call fcn.004089c0
mov ecx, eax
call fcn.004441b0
mov ecx, eax
call fcn.00446e00
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x178], 1
call fcn.0040ef50
add esp, 8
test al, al
je 0x40b194
mov bl, 1
jmp 0x40b196
xor bl, bl
test byte [ebp - 0x178], 1
mov dword [ebp - 4], 1
je 0x40b1e2
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40b1e2
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b1d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b1d8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
add esp, 8
test bl, bl
je 0x40b1f2
call fcn.00442570
xor edi, edi
jmp 0x40b6c2
xor bl, bl
cmp dword [ebp - 0x18], 0
je 0x40b5a3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4c27b8]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00451c10
add esp, 8
test eax, eax
je 0x40b5a3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4c27a4]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00451c10
add esp, 8
test eax, eax
jne 0x40b2e1
cmp byte [0x4c47cc], al
je 0x40b27a
push eax
push eax
push 0x49b844
push str.wpsStartup
push 1
call fcn.004425a0
add esp, 0x14
cmp byte [0x4c47cc], bl
je 0x40b27a
push 0xff
push str.wpsStartup
call fcn.00442620
add esp, 8
push 0
call fcn.004813f0
add esp, 4
test al, al
je 0x40b2c4
cmp byte [0x4c47cc], 0
je 0x40b2c4
push 0
push 0
push 0x49b844
push str.PrometheusStartup
push 1
call fcn.004425a0
add esp, 0x14
cmp byte [0x4c47cc], 0
je 0x40b2c4
push 0xff
push str.PrometheusStartup
call fcn.00442620
add esp, 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov esi, dword [eax]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
push esi
mov ecx, edi
push dword [eax]
call fcn.004105d0
jmp 0x40b5f9
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4c27a8]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00451c10
add esp, 8
test eax, eax
jne 0x40b3a3
cmp byte [0x4c47cc], al
je 0x40b33c
push eax
push eax
push 0x49b844
push str.etStartup
push 1
call fcn.004425a0
add esp, 0x14
cmp byte [0x4c47cc], 0
je 0x40b33c
push 0xff
push str.etStartup
call fcn.00442620
add esp, 8
push 0
call fcn.004813f0
add esp, 4
test al, al
je 0x40b386
cmp byte [0x4c47cc], 0
je 0x40b386
push 0
push 0
push 0x49b844
push str.PrometheusStartup
push 1
call fcn.004425a0
add esp, 0x14
cmp byte [0x4c47cc], 0
je 0x40b386
push 0xff
push str.PrometheusStartup
call fcn.00442620
add esp, 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov esi, dword [eax]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
push esi
mov ecx, edi
push dword [eax]
call fcn.0040a8d0
jmp 0x40b5f9
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4c27ac]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00451c10
add esp, 8
test eax, eax
jne 0x40b465
cmp byte [0x4c47cc], al
je 0x40b3fe
push eax
push eax
push 0x49b844
push str.wppStartup
push 1
call fcn.004425a0
add esp, 0x14
cmp byte [0x4c47cc], 0
je 0x40b3fe
push 0xff
push str.wppStartup
call fcn.00442620
add esp, 8
push 0
call fcn.004813f0
add esp, 4
test al, al
je 0x40b448
cmp byte [0x4c47cc], 0
je 0x40b448
push 0
push 0
push 0x49b844
push str.PrometheusStartup
push 1
call fcn.004425a0
add esp, 0x14
cmp byte [0x4c47cc], 0
je 0x40b448
push 0xff
push str.PrometheusStartup
call fcn.00442620
add esp, 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov esi, dword [eax]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
push esi
mov ecx, edi
push dword [eax]
call fcn.0040fe90
jmp 0x40b5f9
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4c27b0]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00451c10
add esp, 8
test eax, eax
jne 0x40b4d9
cmp byte [0x4c47cc], al
je 0x40b4bc
push eax
push eax
push 0x49b844
push str.pdfStartup
push 1
call fcn.004425a0
add esp, 0x14
cmp byte [0x4c47cc], 0
je 0x40b4bc
push 0xff
push str.pdfStartup
call fcn.00442620
add esp, 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov esi, dword [eax]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
push esi
mov ecx, edi
push dword [eax]
call fcn.0040d0e0
jmp 0x40b5f9
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4c27c0]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00451bc0
add esp, 8
test eax, eax
jne 0x40b54d
cmp byte [0x4c47cc], al
je 0x40b530
push eax
push eax
push 0x49b844
push str.flowStartup
push 1
call fcn.004425a0
add esp, 0x14
cmp byte [0x4c47cc], 0
je 0x40b530
push 0xff
push str.flowStartup
call fcn.00442620
add esp, 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov esi, dword [eax]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
push esi
mov ecx, edi
push dword [eax]
call fcn.0040d9b0
jmp 0x40b5f9
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4c27c4]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00451bc0
add esp, 8
test eax, eax
jne 0x40b59e
cmp byte [0x4c47cc], al
je 0x40b530
push eax
push eax
push 0x49b844
push str.mindStartup
push 1
call fcn.004425a0
add esp, 0x14
cmp byte [0x4c47cc], 0
je 0x40b530
push 0xff
push str.mindStartup
jmp 0x40b528
or edi, 0xffffffff
jmp 0x40b5fb
cmp byte [0x4c47cc], 0
je 0x40b5df
push 0
push 0
push 0x49b844
push str.PrometheusStartup
push 1
call fcn.004425a0
add esp, 0x14
cmp byte [0x4c47cc], 0
je 0x40b5df
push 0xff
push str.PrometheusStartup
call fcn.00442620
add esp, 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov esi, dword [eax]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
push esi
mov ecx, edi
push dword [eax]
call fcn.0040d9b0
mov bl, 1
mov edi, eax
call fcn.00442570
test bl, bl
je 0x40b6c2
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 sub.VCRUNTIME140.dll_memset
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 0x40b6c2
call fcn.004424c0
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 0x40b6c2
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 0x40b6fe
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b6f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b6f4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
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.0048cbb4
mov esp, ebp
pop ebp
ret