Function at 0x40ba90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f5ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x14], ebx
jne 0x40bae9
call fcn.0040c920
mov ecx, esi
call fcn.0040d270
mov eax, 6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp edi, 1
jne 0x40bb1b
mov ecx, esi
call fcn.0040c920
mov ecx, esi
call fcn.0040d270
mov ecx, esi
call fcn.0040c6d0
mov eax, 6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp edi, 2
jne 0x40bb56
mov ecx, esi
call fcn.0040c920
mov ecx, esi
call fcn.0040d270
mov ecx, esi
call fcn.0040c6d0
push 1
mov ecx, esi
call fcn.0040d330
mov eax, 6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp edi, 4
jne 0x40bba5
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x40bb83
xor eax, eax
mov ecx, esi
push eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.0040d370
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [eax + 0x1c]
mov ecx, esi
push eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.0040d370
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp edi, 3
je 0x40bbc0
cmp edi, 5
je 0x40bbc0
push ebx
push ebx
push 0x4a
push str.C:p_roboform_6_9_9_roboformStringsRfCloseShells.cpp
call fcn.0040e7e0
add esp, 0x10
xor ecx, ecx
cmp edi, 3
sete cl
mov dword [esi + 8], ecx
mov ecx, esi
mov dword [esi + 0xc], ebx
call fcn.0040c920
mov ecx, esi
call fcn.0040d270
mov ecx, esi
call fcn.0040c6d0
mov edx, dword [0x4804ec]
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00408720
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040c660
mov ecx, dword [0x4879bc]
cmp ecx, ebx
je 0x40bc2e
lea eax, [ebp + 0x10]
push eax
call fcn.0040c630
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00436a80
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.004368f0
mov ecx, esi
call fcn.0040c6c0
xor esi, esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], esi
call fcn.004088e0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x50], 6
mov eax, dword [ebp - 0x18]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x74], ebx
je 0x40bca1
push 0x4b5
lea ecx, [ebp - 0x7c]
call fcn.0040dda0
mov ecx, dword [ebp - 0x38]
push eax
mov byte [ebp - 4], 5
lea esi, [ecx + 0x2c]
mov ecx, esi
call fcn.00436a80
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x7c]
jmp 0x40bccd
push 0x4b6
lea ecx, [ebp - 0xb8]
call fcn.0040dda0
mov edx, dword [ebp - 0x38]
push eax
mov byte [ebp - 4], 6
lea esi, [edx + 0x2c]
mov ecx, esi
call fcn.00436a80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004368f0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], ebx
cmp eax, ebx
jne 0x40bce4
mov ebx, 0x40000
mov dword [ebp - 0x34], ebx
mov ecx, dword [ebp - 0x38]
call fcn.0040c920
push 0x4bb
lea ecx, [ebp - 0x84]
mov edi, eax
call fcn.0040dda0
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00436750
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 9
call fcn.004368f0
test edi, edi
je 0x40bdc4
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x40bd57
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov esi, dword [esi]
mov edx, dword [ebp + 8]
test ecx, ecx
mov ecx, dword [ebp - 0x1c]
setne al
add eax, 3
or eax, ebx
push eax
push ecx
push esi
push edx
push 2
call fcn.00404ac0
add esp, 0x14
cmp eax, 6
jne 0x40c50b
push 0x454310
push 0x45431c
lea eax, [ebp - 0x4c]
push SysReAllocString
push eax
call fcn.00411af0
mov eax, dword [ebp - 0x4c]
mov esi, 1
add esp, 0x10
cmp eax, esi
je 0x40bd9c
push 0x454350
push 0x45435c
push SysReAllocString
call fcn.00411e30
add esp, 0xc
test eax, eax
jne 0x40bdb5
mov dword [ebp - 0x44], esi
push 0x454390
push 0x45439c
push SysReAllocString
push 0
call fcn.00411a20
add esp, 0x10
mov ecx, dword [ebp - 0x38]
push 0
call fcn.0040d330
jmp 0x40c1c4
mov eax, dword [ebp - 0x18]
xor edi, edi
cmp eax, edi
jne 0x40c1c6
lea ecx, [ebp - 0x108]
call fcn.00419580
mov dword [ebp - 0x70], 0x442c50
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], 0xa
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0xb
call fcn.004195c0
test eax, eax
je 0x40be1b
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x108]
call fcn.00419e90
mov edx, dword [0x4804ec]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x6c]
xor ebx, ebx
mov byte [ebp - 4], 0xc
test edx, edx
setg bl
test eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xd4], str.chrome.exe
mov dword [ebp - 0xd0], str.iexplore.exe
mov dword [ebp - 0xcc], 0x4543ec
mov dword [ebp - 0xc8], 0x4543f8
mov dword [ebp - 0xc4], 0x45440c
mov dword [ebp - 0xc0], 0
mov esi, eax
je 0x40c01d
mov edi, esi
mov esi, dword [esi]
mov dword [ebp - 0x40], esi
mov ecx, dword [edi + 0xc]
lea eax, [edi + 0xc]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x40be9c
xor ebx, ebx
mov dword [ebp - 0x18], ebx
jmp 0x40c015
push eax
lea ecx, [ebp + 0x10]
call fcn.00436750
push 0x5c
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xd
call fcn.00430090
test eax, eax
jl 0x40bee4
inc eax
lea edx, [ebp - 0xb0]
push eax
push edx
lea ecx, [ebp + 0x10]
call fcn.0042fe40
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xe
call fcn.00436a80
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xd
call fcn.004368f0
lea eax, [ebp + 0x10]
push 0xa
lea ecx, [ebp - 0x8c]
push eax
push ecx
call fcn.0042fad0
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xf
call fcn.00436e50
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xd
call fcn.004368f0
test ebx, ebx
je 0x40bf22
mov eax, dword [edi + 0x10]
test eax, eax
jle 0x40bf33
xor ebx, ebx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xc
call fcn.004368f0
jmp 0x40c015
lea ecx, [ebp + 0x10]
call fcn.00436ff0
mov eax, dword [ebp + 0x10]
cmp dword [eax - 8], 0xc
jne 0x40bf57
cmp byte [eax + 8], 0x2e
jne 0x40bf57
mov cl, byte [eax + 6]
mov esi, 6
cmp cl, 0x7e
je 0x40bf5c
mov esi, 0xf
lea edx, [ebp - 0xac]
push esi
push edx
lea ecx, [ebp + 0x10]
call fcn.0042ffe0
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x10
call fcn.00436a80
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xd
call fcn.004368f0
mov eax, str.chrome.exe
test eax, eax
je 0x40bffc
lea edi, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00436970
cmp esi, 6
mov byte [ebp - 4], 0x11
jne 0x40bfb3
push 0x20
lea ecx, [ebp - 0x3c]
call fcn.0042fde0
lea ecx, [ebp - 0x94]
push esi
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0042ffe0
mov eax, dword [eax]
mov edx, dword [ebp + 0x10]
push eax
push edx
call fcn.004236aa
add esp, 8
lea ecx, [ebp - 0x94]
test eax, eax
sete bl
call fcn.004368f0
test bl, bl
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x3c]
jne 0x40c03f
call fcn.004368f0
mov eax, dword [edi + 4]
add edi, 4
test eax, eax
jne 0x40bf97
mov dword [ebp - 0x18], 0
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xc
call fcn.004368f0
mov esi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x18]
test esi, esi
jne 0x40be7e
test ebx, ebx
je 0x40c046
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0xbc]
push eax
push 0x4b9
call fcn.0040de60
or dword [ebp - 0x14], 1
mov byte [ebp - 4], 0x12
jmp 0x40c08c
call fcn.004368f0
jmp 0x40c003
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c06d
push 0x4b7
lea ecx, [ebp - 0x9c]
call fcn.0040dda0
or dword [ebp - 0x14], 2
mov dword [ebp - 4], 0x13
jmp 0x40c08c
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0xb4]
push edx
push 0x4b8
call fcn.0040de60
or dword [ebp - 0x14], 4
mov dword [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x54]
call fcn.00436750
mov al, byte [ebp - 0x14]
mov dword [ebp - 4], 0x18
test al, 4
je 0x40c0b6
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xb4]
and al, 0xfb
mov dword [ebp - 0x14], eax
call fcn.004368f0
mov al, byte [ebp - 0x14]
mov dword [ebp - 4], 0x17
test al, 2
je 0x40c0d7
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x9c]
and al, 0xfd
mov dword [ebp - 0x14], eax
call fcn.004368f0
mov al, byte [ebp - 0x14]
mov dword [ebp - 4], 0x16
test al, 1
je 0x40c0f8
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xbc]
and al, 0xfe
mov dword [ebp - 0x14], eax
call fcn.004368f0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp + 8]
or al, 3
push eax
mov eax, dword [ebp - 0x1c]
push eax
push ecx
push edx
push 2
call fcn.00404ac0
add esp, 0x14
cmp eax, 6
jne 0x40c51e
test ebx, ebx
je 0x40c156
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40c156
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, ebx
mov ebx, dword [ebx]
mov eax, dword [eax + 8]
push eax
push 0
push 1
call edi
mov esi, eax
test esi, esi
je 0x40c152
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x40c12e
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.004368f0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.004368f0
mov dword [ebp - 0x70], 0x442c50
mov edi, dword [ebp - 0x6c]
mov byte [ebp - 4], 0x1a
test edi, edi
je 0x40c19c
xor ebx, ebx
lea esi, [edi + 0xc]
mov ecx, esi
call fcn.004368f0
add esi, 0xc
mov ecx, ebx
dec ebx
test ecx, ecx
jne 0x40c185
mov edi, dword [edi]
test edi, edi
jne 0x40c180
mov ecx, dword [ebp - 0x5c]
xor esi, esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], esi
call fcn.00430bf0
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 9
call fcn.004195a0
xor edi, edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], edi
cmp eax, edi
jne 0x40c21c
push 0x4ba
lea ecx, [ebp - 0xa4]
call fcn.0040dda0
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1b
call fcn.00436750
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x1d
call fcn.004368f0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x78]
push edi
push edx
push eax
call fcn.004176e0
add esp, 0xc
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 9
call fcn.004368f0
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x48], edi
mov ecx, esi
call fcn.0040c660
mov ecx, esi
call fcn.0040c6c0
cmp dword [esi], edi
jne 0x40c25f
push 1
push 1
push 0x64
call fcn.00406b00
add esp, 0xc
test eax, eax
je 0x40c591
mov eax, dword [ebp - 0x48]
inc eax
cmp eax, 0x32
mov dword [ebp - 0x48], eax
jl 0x40c229
jmp 0x40c262
mov dword [ebp - 0x40], edi
mov ecx, dword [0x4804ec]
mov dword [ebp - 0x28], ecx
push 0x5c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1e
call fcn.00430090
mov esi, eax
cmp esi, 2
jl 0x40c490
lea edx, [ebp - 0x80]
push esi
push edx
lea ecx, [ebp - 0x20]
call fcn.0042ffe0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1f
call fcn.00436a80
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1e
call fcn.004368f0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40c490
inc esi
lea ecx, [ebp - 0x90]
push esi
push ecx
lea ecx, [ebp - 0x20]
call fcn.0042ffe0
push str._xxx.xxx
lea edx, [ebp - 0x88]
push eax
push edx
mov byte [ebp - 4], 0x20
call fcn.00436c50
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x21
call fcn.00436a80
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x20
call fcn.004368f0
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x1e
call fcn.004368f0
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.00405bc0
add esp, 8
test eax, eax
je 0x40c490
mov ecx, dword [0x4804ec]
mov dword [ebp - 0x30], ecx
push 0x104
push 0x104
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x22
call fcn.00436e70
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push eax
lea ecx, [ebp - 0x30]
call fcn.00436ef0
mov edx, dword [0x4804ec]
mov dword [ebp - 0x2c], edx
mov esi, dword [ebp - 0x30]
push 0x104
push 0x104
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x23
call fcn.00436e70
push eax
push esi
call fcn.00413140
add esp, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.00436ef0
lea ecx, [ebp - 0xf0]
call fcn.004221e0
lea eax, [ebp - 0x28]
push str..exe
lea ecx, [ebp - 0x98]
push eax
push ecx
mov byte [ebp - 4], 0x24
call fcn.00436c50
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x25
call fcn.004222f0
lea ecx, [ebp - 0x98]
mov esi, eax
mov byte [ebp - 4], 0x24
call fcn.004368f0
test esi, esi
je 0x40c469
lea ecx, [ebp - 0xf0]
call fcn.004225d0
mov esi, dword [ebp - 0x2c]
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0xf0]
mov edi, eax
call fcn.004226e0
mov eax, dword [eax]
push esi
push eax
call fcn.00423978
add esp, 8
lea ecx, [ebp - 0xa0]
test eax, eax
sete bl
call fcn.004368f0
test bl, bl
jne 0x40c458
lea eax, [ebp - 0xa8]
lea ecx, [ebp - 0xf0]
push eax
call fcn.004226e0
push 0x64
lea ecx, [ebp - 0x48]
push 0x32
push ecx
push eax
mov byte [ebp - 4], 0x26
call fcn.00406b50
add esp, 0x10
lea ecx, [ebp - 0xa8]
test eax, eax
sete bl
mov byte [ebp - 4], 0x24
call fcn.004368f0
test bl, bl
jne 0x40c462
test edi, edi
jne 0x40c3d7
jmp 0x40c469
mov dword [ebp - 0x74], 1
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x23
call fcn.00422240
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x22
call fcn.004368f0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1e
call fcn.004368f0
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x40c4b0
push 1
push 1
push 0x3e8
call fcn.00406b00
add esp, 0xc
test eax, eax
je 0x40c5a4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40c4be
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 9
call fcn.004368f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.004368f0
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x40c5bc
test esi, esi
jne 0x40c5bc
mov eax, dword [ebp - 0x74]
test eax, eax
jne 0x40bc56
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x40c5bc
jmp 0x40bc56
lea ecx, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], 0
call fcn.004368f0
jmp 0x40c5bf
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0xc
call fcn.004368f0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.004368f0
mov dword [ebp - 0x70], 0x442c50
mov ebx, dword [ebp - 0x6c]
mov byte [ebp - 4], 0x19
test ebx, ebx
je 0x40c567
xor edi, edi
lea esi, [ebx + 0xc]
mov ecx, esi
call fcn.004368f0
add esi, 0xc
mov edx, edi
dec edi
test edx, edx
jne 0x40c550
mov ebx, dword [ebx]
test ebx, ebx
jne 0x40c54b
mov ecx, dword [ebp - 0x5c]
xor esi, esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], esi
call fcn.00430bf0
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 9
call fcn.004195a0
jmp 0x40c5b0
lea ecx, [ebp - 0x1c]
mov esi, 1
mov byte [ebp - 4], 0
call fcn.004368f0
jmp 0x40c5bf
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.004368f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.004368f0
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x40c5df
push 0x454434
push 0x454440
push SysReAllocString
call fcn.00411c90
add esp, 0xc
jmp 0x40c5fe
cmp dword [ebp - 0x4c], 1
jne 0x40c5fe
push str.WarnOnClose
push str.SoftwareMicrosoftInternet_ExplorerTabbedBrowsing
push SysReAllocString
push 1
call fcn.00411a20
add esp, 0x10
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.004368f0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10