Function at 0x40b9e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6edf
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x50c3e4]
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.00405c10
push eax
mov dword [ebp - 4], 0
call fcn.00432c50
mov edx, dword [ebp - 0x2c]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x40ba7a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ba70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c002
push edx
push ecx
call fcn.0048d1e5
add esp, 8
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x28]
push eax
call fcn.00408c90
mov dword [ebp - 4], 1
call fcn.004063a0
test al, al
je 0x40bb94
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x40bb97
mov ecx, dword [0x511018]
mov edx, ecx
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40bab0
sub edx, edi
lea edi, [ebp - 0x28]
sar edx, 1
cmp dword [ebp - 0x14], 8
cmovae edi, dword [ebp - 0x28]
cmp esi, edx
jne 0x40baf6
mov edx, esi
test edx, edx
je 0x40bb97
sub edi, ecx
lea ebx, [ebx]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x40baf6
add ecx, 2
sub edx, 1
jne 0x40bae0
jmp 0x40bb97
lea eax, [ebp - 0x40]
push eax
call fcn.004056e0
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.0049e8f5
add esp, 0xc
lea ecx, [ebp - 0x40]
test eax, eax
sete bl
call fcn.00402320
test bl, bl
jne 0x40bb94
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x511010]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004443b0
add esp, 8
test eax, eax
je 0x40bb94
mov edi, dword [ebp - 0x178]
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [edi + 4]
call fcn.00408d20
mov ecx, eax
call fcn.00436af0
mov ecx, eax
call fcn.00438ef0
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x17c], 1
call fcn.0040df50
add esp, 8
test al, al
je 0x40bb94
mov esi, dword [ebp - 0x18]
mov bl, 1
jmp 0x40bb9f
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x178]
xor bl, bl
test byte [ebp - 0x17c], 1
mov dword [ebp - 4], 1
je 0x40bbba
lea ecx, [ebp - 0x58]
call fcn.00402320
mov esi, dword [ebp - 0x18]
test bl, bl
je 0x40bbca
call fcn.00432d10
xor edi, edi
jmp 0x40bfae
xor bl, bl
test esi, esi
je 0x40be94
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x511018]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004443b0
add esp, 8
test eax, eax
je 0x40be94
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x511004]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004443b0
add esp, 8
test eax, eax
jne 0x40bcaf
cmp byte [0x513110], al
je 0x40bc4d
push eax
push eax
push 0x4d6d4e
push str.wpsStartup
push 1
call fcn.00432d40
add esp, 0x14
cmp byte [0x513110], bl
je 0x40bc4d
push 0
push str.wpsStartup
call fcn.00432dc0
add esp, 8
push 0
call fcn.0047a000
add esp, 4
test al, al
je 0x40bc94
cmp byte [0x513110], 0
je 0x40bc94
push 0
push 0
push 0x4d6d4e
push str.PrometheusStartup
push 1
call fcn.00432d40
add esp, 0x14
cmp byte [0x513110], 0
je 0x40bc94
push 0
push str.PrometheusStartup
call fcn.00432dc0
add esp, 8
call fcn.0049c932
mov esi, dword [eax]
call fcn.0049c92c
push esi
mov ecx, edi
push dword [eax]
call fcn.0040ea30
jmp 0x40bee5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x511008]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004443b0
add esp, 8
test eax, eax
jne 0x40bd69
cmp byte [0x513110], al
je 0x40bd07
push eax
push eax
push 0x4d6d4e
push str.etStartup
push 1
call fcn.00432d40
add esp, 0x14
cmp byte [0x513110], 0
je 0x40bd07
push 0
push str.etStartup
call fcn.00432dc0
add esp, 8
push 0
call fcn.0047a000
add esp, 4
test al, al
je 0x40bd4e
cmp byte [0x513110], 0
je 0x40bd4e
push 0
push 0
push 0x4d6d4e
push str.PrometheusStartup
push 1
call fcn.00432d40
add esp, 0x14
cmp byte [0x513110], 0
je 0x40bd4e
push 0
push str.PrometheusStartup
call fcn.00432dc0
add esp, 8
call fcn.0049c932
mov esi, dword [eax]
call fcn.0049c92c
push esi
mov ecx, edi
push dword [eax]
call fcn.0040b430
jmp 0x40bee5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x51100c]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004443b0
add esp, 8
test eax, eax
jne 0x40be23
cmp byte [0x513110], al
je 0x40bdc1
push eax
push eax
push 0x4d6d4e
push str.wppStartup
push 1
call fcn.00432d40
add esp, 0x14
cmp byte [0x513110], 0
je 0x40bdc1
push 0
push str.wppStartup
call fcn.00432dc0
add esp, 8
push 0
call fcn.0047a000
add esp, 4
test al, al
je 0x40be08
cmp byte [0x513110], 0
je 0x40be08
push 0
push 0
push 0x4d6d4e
push str.PrometheusStartup
push 1
call fcn.00432d40
add esp, 0x14
cmp byte [0x513110], 0
je 0x40be08
push 0
push str.PrometheusStartup
call fcn.00432dc0
add esp, 8
call fcn.0049c932
mov esi, dword [eax]
call fcn.0049c92c
push esi
mov ecx, edi
push dword [eax]
call fcn.0040e480
jmp 0x40bee5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [0x511010]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004443b0
add esp, 8
test eax, eax
jne 0x40be8f
cmp byte [0x513110], al
je 0x40be77
push eax
push eax
push 0x4d6d4e
push str.pdfStartup
push 1
call fcn.00432d40
add esp, 0x14
cmp byte [0x513110], 0
je 0x40be77
push 0
push str.pdfStartup
call fcn.00432dc0
add esp, 8
call fcn.0049c932
mov esi, dword [eax]
call fcn.0049c92c
push esi
mov ecx, edi
push dword [eax]
call fcn.0040ca30
jmp 0x40bee5
or edi, 0xffffffff
jmp 0x40bee7
cmp byte [0x513110], 0
je 0x40becd
push 0
push 0
push 0x4d6d4e
push str.PrometheusStartup
push 1
call fcn.00432d40
add esp, 0x14
cmp byte [0x513110], 0
je 0x40becd
push 0
push str.PrometheusStartup
call fcn.00432dc0
add esp, 8
call fcn.0049c932
mov esi, dword [eax]
call fcn.0049c92c
push esi
mov ecx, edi
push dword [eax]
call fcn.0040d030
mov bl, 1
mov edi, eax
call fcn.00432d10
test bl, bl
je 0x40bfae
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.0048f8b0
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 0x40bfae
call fcn.00432ce0
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 0x40bfae
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 0x40bfe4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40bfda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c007
push edx
push ecx
call fcn.0048d1e5
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.0048d444
mov esp, ebp
pop ebp
ret
call fcn.00498b39
call fcn.00498b39
int3