Function at 0x40dca0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413b39
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x42000c]
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 - 0x4c], edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], 0
test ebx, ebx
je 0x40e189
cmp dword [ebx + 4], 0
je 0x40e189
test eax, eax
je 0x40e189
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x108], 0x416ce0
mov dword [ebp - 0xf8], 0x416c98
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xf0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x48], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 1
mov eax, dword [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 - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x10c], eax
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xf0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 4], 2
movzx edx, word [ebx]
mov esi, dword [ebx + 4]
shr edx, 1
test esi, esi
je 0x40de05
test edx, edx
je 0x40de05
lea ecx, [esi - 2]
lea ecx, [ecx + edx*2]
cmp ecx, esi
jb 0x40de05
mov dword [ebp - 0x48], 0x5c
mov dword [ebp - 0x54], 0x2f
nop word [eax + eax]
movzx eax, word [ecx]
cmp word [ebp - 0x48], ax
je 0x40dddf
cmp word [ebp - 0x54], ax
jne 0x40dde9
lea eax, [esi - 2]
lea eax, [eax + edx*2]
cmp eax, ecx
jne 0x40ddf2
sub ecx, 2
cmp ecx, esi
jae 0x40ddd0
jmp 0x40de05
sub ecx, esi
sar ecx, 1
je 0x40de05
lea eax, [edx - 1]
cmp ecx, eax
jae 0x40de05
lea esi, [esi + ecx*2]
add esi, 2
cmp dword [edi + 0x1f7c], 8
lea edx, [edi + 0x1f68]
jb 0x40de1a
mov edx, dword [edi + 0x1f68]
push dword [edi + 0x1f78]
lea ecx, [ebp - 0xf8]
call fcn.004107b0
add esp, 4
mov edx, str._is_using
mov ecx, eax
call fcn.0040ff70
mov edx, esi
mov ecx, eax
call fcn.0040ff70
mov edx, str._from_an_unknown_publisher.
mov ecx, eax
call fcn.0040ff70
mov edx, str._Are_you_sure_you_want_to_run_this_software_
mov ecx, eax
call fcn.0040ff70
mov eax, dword [ebx + 4]
xor ecx, ecx
mov esi, eax
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], cx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40de81
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x40deb6
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x28]
add esi, esi
push esi
push dword [ebp - 0x48]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
jmp 0x40df5a
cmp esi, 0x7ffffffe
ja 0x40e1ac
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x40dedb
mov edi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x40defc
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x40e1b1
add eax, eax
cmp eax, 0x1000
jb 0x40df23
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x40e1b1
push ecx
call fcn.00410ea3
add esp, 4
test eax, eax
je 0x40e04b
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x40df36
test eax, eax
je 0x40df34
push eax
call fcn.00410ea3
add esp, 4
mov ebx, eax
jmp 0x40df36
xor ebx, ebx
mov dword [ebp - 0x18], esi
add esi, esi
push esi
push dword [ebp - 0x48]
mov dword [ebp - 0x14], edi
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp - 0x4c]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x28], ebx
mov word [ebx + esi], ax
mov ebx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
mov byte [ebp - 0x50], 0
push dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040fce0
add edi, 0x1fb8
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp - 0x4c]
mov ecx, dword [esi + 0x1fe0]
cmp ecx, dword [esi + 0x1fe4]
je 0x40dfca
mov eax, dword [ebp - 0x44]
mov dword [ecx], eax
lea eax, [ebp - 0x40]
push eax
add ecx, 4
call fcn.00407ef0
add dword [esi + 0x1fe0], 0x1c
jmp 0x40dfda
lea eax, [ebp - 0x44]
push eax
push ecx
lea ecx, [esi + 0x1fdc]
call fcn.00410280
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40e01b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e011
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e04b
push edx
push ecx
call fcn.00411124
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40e05b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e051
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e051
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00411124
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x40e079
push dword [ebp + 0x14]
mov ecx, esi
push ebx
call fcn.0040d9d0
mov ecx, dword [ebp - 0x58]
call fcn.0040e1f0
jmp 0x40e139
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
test eax, eax
je 0x40e12a
push 0
push 0xc
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push ecx
push 1
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
test eax, eax
je 0x40e12a
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x40e12a
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0040fb40
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x134
cmovae eax, dword [ebp - 0x28]
push 0x414b04
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 8
jb 0x40e11e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e114
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e114
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00411124
add esp, 8
cmp esi, 6
jne 0x40e12a
mov esi, 1
jmp 0x40e13b
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor esi, esi
mov eax, dword [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 ecx, dword [ebp - 0x108]
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x68]
mov dword [ebp + edx - 0x10c], ecx
lea ecx, [ebp - 0xf0]
call fcn.0040f7d0
lea ecx, [ebp - 0xe8]
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 - 0xa0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov eax, esi
jmp 0x40e18e
mov eax, 1
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.00410e60
mov esp, ebp
pop ebp
ret 0x10
call fcn.0040185b
call fcn.004017fa
int3