Function at 0x40b7d0
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4639d3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c0
mov eax, dword [0x4b5898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x68], edi
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], ecx
test eax, eax
je 0x40bc6f
cmp dword [eax + 4], 0
je 0x40bc6f
test ecx, ecx
je 0x40bc6f
push 1
lea ecx, [ebp - 0x1d0]
call fcn.0040cc40
mov dword [ebp - 4], 0
lea edx, [edi + 0x1f68]
cmp dword [edi + 0x1f7c], 8
jb 0x40b865
mov edx, dword [edi + 0x1f68]
push dword [edi + 0x1f78]
lea ecx, [ebp - 0x1c0]
call fcn.0040e040
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x50]
push str._Are_you_sure_you_want_to_run_this_software_
movzx edx, word [eax]
push ecx
mov ecx, dword [eax + 4]
push str._from_an_unknown_publisher.
shr edx, 1
call fcn.0040ec30
push ecx
push eax
push ecx
push str._is_using
push esi
call fcn.0040d500
add esp, 0xc
push eax
call fcn.0040d500
add esp, 0xc
push eax
call fcn.0040d500
add esp, 0xc
push eax
call fcn.0040d500
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x2c]
add esp, 8
push dword [eax + 4]
call fcn.0040cec0
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebx + 0x14]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004021a0
lea eax, [edi + 0x1fb8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x1fe0]
lea edx, [edi + 0x1fdc]
mov dword [ebp - 0x64], edx
cmp ecx, dword [edx + 8]
je 0x40b9c7
mov eax, dword [ebp - 0x48]
lea edi, [ecx + 4]
mov esi, dword [ebp - 0x44]
mov dword [ecx], eax
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x30]
cmp eax, 8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
cmovae ecx, esi
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x54], eax
cmp eax, 8
jae 0x40b97d
movups xmm0, xmmword [ecx]
mov eax, 7
movups xmmword [edi], xmm0
jmp 0x40b9b5
or eax, 7
mov ecx, SysReAllocString
cmp eax, ecx
cmova eax, ecx
mov ecx, edi
mov dword [ebp - 0x60], eax
inc eax
push eax
call fcn.004026b0
mov ecx, dword [ebp - 0x54]
mov dword [edi], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x5c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x60]
add esp, 0xc
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x54]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
add dword [edx + 4], 0x1c
mov edi, dword [ebp - 0x68]
jmp 0x40b9dc
lea eax, [ebp - 0x48]
push eax
push ecx
mov ecx, edx
call fcn.0040d9d0
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
lea eax, [edi + 0x1fb8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
cmp eax, 8
jb 0x40ba26
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x40ba1c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40ba1c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00461bf2
add esp, 8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00402310
cmp dword [ebx + 0x10], 0
je 0x40bbcc
mov esi, dword [ebp - 0x50]
cmp dword [esi + 4], 0
je 0x40bbb0
push 1
lea ecx, [ebp - 0x120]
call fcn.0040cc40
push 0x4a8500
push ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x110]
push dword [esi + 4]
push eax
call fcn.0040d500
add esp, 0xc
push eax
call fcn.0040d500
add esp, 8
lea edx, [edi + 0x1f50]
cmp dword [edi + 0x1f64], 8
mov ecx, eax
jb 0x40ba92
mov edx, dword [edi + 0x1f50]
push dword [edi + 0x1f60]
call fcn.0040e040
add esp, 4
mov esi, eax
push dword [ebp - 0x6c]
push ecx
push str._didnt_pass_the_verification__error_code
push ecx
push 0x4a84f8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4a84fc
push esi
call fcn.0040d500
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
push eax
call fcn.0040d500
add esp, 0xc
push eax
call fcn.0040d500
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040cb30
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 4
cmp dword [edi + 0x1fb4], 0
je 0x40bb5e
lea eax, [edi + 0x1fb8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x1fd4]
push dword [ebp - 0x4c]
cmp eax, dword [edi + 0x1fd8]
je 0x40bb35
mov ecx, eax
call fcn.0040cf10
add dword [edi + 0x1fd4], 0x18
jmp 0x40bb41
push eax
lea ecx, [edi + 0x1fd0]
call fcn.0040dc00
lea eax, [edi + 0x1fb8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 1
push dword [edi + 0x1fe8]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
lea ecx, [ebp - 0x2c]
call fcn.00402310
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x108]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x120]
mov edx, dword [eax + 4]
lea eax, [edx - 0x68]
mov dword [ebp + edx - 0x124], eax
call fcn.0040ca80
lea ecx, [ebp - 0x100]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0x58]
call fcn.0040bcd0
lea ecx, [ebp - 0x1d0]
xor esi, esi
call fcn.0040b790
mov eax, esi
jmp 0x40bc74
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
test eax, eax
je 0x40bc4f
push 0
push 0xc
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], 0
push ecx
push 1
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
test eax, eax
je 0x40bc4f
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x40bc4f
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.0040cb30
cmp dword [eax + 0x14], 8
jb 0x40bc19
mov eax, dword [eax]
push 0x134
push 0x4a85c4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00402310
cmp esi, 6
jne 0x40bc4f
lea ecx, [ebp - 0x1d0]
mov esi, 1
call fcn.0040b790
mov eax, esi
jmp 0x40bc74
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x1d0]
xor esi, esi
call fcn.0040b790
mov eax, esi
jmp 0x40bc74
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004619c0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10