Function at 0x446040
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1544
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x4ce4bc]
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]
xor ebx, ebx
push eax
mov dword [ebp - 0x17c], ebx
call fcn.0041a3d0
push eax
mov dword [ebp - 4], ebx
call fcn.0045bc20
mov edx, dword [ebp - 0x2c]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x4460d0
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4460c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4460c6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
add esp, 8
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x28]
push eax
call fcn.00456820
mov dword [ebp - 4], 1
call fcn.0041b240
test al, al
je 0x4461ed
cmp dword [ebp - 0x18], 0
je 0x4461ed
push dword [0x4d58cc]
lea eax, [ebp - 0x28]
push eax
call fcn.00407d50
add esp, 8
test al, al
jne 0x4461ed
lea eax, [ebp - 0x40]
push eax
call fcn.00419e70
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 al
mov byte [ebp - 0x175], al
cmp edx, 8
jb 0x44618b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44617b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44617b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
mov al, byte [ebp - 0x175]
add esp, 8
test al, al
jne 0x4461ed
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4d58c4]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x4461ed
mov ecx, dword [edi + 4]
call fcn.00403890
mov ecx, eax
call fcn.00402400
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00405c70
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
mov ebx, 1
push eax
mov dword [ebp - 0x17c], ebx
call fcn.0044a150
add esp, 8
mov byte [ebp - 0x175], bl
test al, al
jne 0x4461f4
mov byte [ebp - 0x175], 0
mov dword [ebp - 4], 1
test bl, 1
je 0x44623c
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x44623c
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x446232
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x446232
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
add esp, 8
cmp byte [ebp - 0x175], 0
je 0x446251
call fcn.0045bd70
xor esi, esi
jmp 0x446747
cmp dword [ebp - 0x18], 0
je 0x446630
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4d58cc]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x446630
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4d58b8]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00412720
add esp, 8
test eax, eax
jne 0x446346
cmp byte [0x4d5908], al
je 0x4462d8
push eax
push eax
push 0x4ac4ac
push str.wpsStartup
push 1
call fcn.0045bda0
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x4462d8
push 0xff
push str.wpsStartup
call fcn.0045be20
add esp, 8
push 0
call fcn.0048ea60
add esp, 4
test al, al
je 0x446322
cmp byte [0x4d5908], 0
je 0x446322
push 0
push 0
push 0x4ac4ac
push str.PrometheusStartup
push 1
call fcn.0045bda0
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x446322
push 0xff
push str.PrometheusStartup
call fcn.0045be20
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.0044b820
mov esi, eax
call fcn.0045bd70
jmp 0x446747
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4d58bc]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00412720
add esp, 8
test eax, eax
jne 0x44640f
cmp byte [0x4d5908], al
je 0x4463a1
push eax
push eax
push 0x4ac4ac
push str.etStartup
push 1
call fcn.0045bda0
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x4463a1
push 0xff
push str.etStartup
call fcn.0045be20
add esp, 8
push 0
call fcn.0048ea60
add esp, 4
test al, al
je 0x4463eb
cmp byte [0x4d5908], 0
je 0x4463eb
push 0
push 0
push 0x4ac4ac
push str.PrometheusStartup
push 1
call fcn.0045bda0
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x4463eb
push 0xff
push str.PrometheusStartup
call fcn.0045be20
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.004458c0
mov esi, eax
call fcn.0045bd70
jmp 0x446747
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4d58c0]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00412720
add esp, 8
test eax, eax
jne 0x4464d8
cmp byte [0x4d5908], al
je 0x44646a
push eax
push eax
push 0x4ac4ac
push str.wppStartup
push 1
call fcn.0045bda0
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x44646a
push 0xff
push str.wppStartup
call fcn.0045be20
add esp, 8
push 0
call fcn.0048ea60
add esp, 4
test al, al
je 0x4464b4
cmp byte [0x4d5908], 0
je 0x4464b4
push 0
push 0
push 0x4ac4ac
push str.PrometheusStartup
push 1
call fcn.0045bda0
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x4464b4
push 0xff
push str.PrometheusStartup
call fcn.0045be20
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.0044b080
mov esi, eax
call fcn.0045bd70
jmp 0x446747
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4d58c4]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00412720
add esp, 8
test eax, eax
jne 0x446553
cmp byte [0x4d5908], al
je 0x44652f
push eax
push eax
push 0x4ac4ac
push str.pdfStartup
push 1
call fcn.0045bda0
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x44652f
push 0xff
push str.pdfStartup
call fcn.0045be20
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.00448260
mov esi, eax
call fcn.0045bd70
jmp 0x446747
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4d58d4]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004126d0
add esp, 8
test eax, eax
jne 0x4465a8
cmp byte [0x4d5908], al
je 0x4465ff
push eax
push eax
push 0x4ac4ac
push str.flowStartup
push 1
call fcn.0045bda0
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x4465ff
push 0xff
push str.flowStartup
jmp 0x4465f7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x4d58d8]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004126d0
add esp, 8
test eax, eax
jne 0x446623
cmp byte [0x4d5908], al
je 0x4465ff
push eax
push eax
push 0x4ac4ac
push str.mindStartup
push 1
call fcn.0045bda0
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x4465ff
push 0xff
push str.mindStartup
call fcn.0045be20
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.00448b70
mov esi, eax
call fcn.0045bd70
jmp 0x446747
or esi, 0xffffffff
call fcn.0045bd70
jmp 0x446747
cmp byte [0x4d5908], 0
je 0x44666c
push 0
push 0
push 0x4ac4ac
push str.PrometheusStartup
push 1
call fcn.0045bda0
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x44666c
push 0xff
push str.PrometheusStartup
call fcn.0045be20
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.00448b70
mov ebx, eax
call fcn.0045bd70
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
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x446747
call fcn.0045bcb0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x446747
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xbb8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x446783
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x446779
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x446779
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
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.0049920c
mov esp, ebp
pop ebp
ret