Function at 0x408a50
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x414703
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00408e80
test al, al
jne 0x408c66
lea eax, [ebp + 0x80]
mov ecx, ebp
push eax
call fcn.004087e0
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x408c66
mov cl, byte [esp + 0x13]
xor ebx, ebx
mov byte [esp + 0x2c], cl
push ebx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push ebx
mov ecx, esi
mov dword [esp + 0x68], ebx
mov byte [esi], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x41b374
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41b374
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [esp + 0x2c]
push eax
call fcn.0040bfd0
add esp, 0x14
mov eax, dword [ebp + 0x64]
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
cmp eax, ebx
mov byte [esp + 0x54], 1
jne 0x408b05
mov eax, edx
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
jne 0x408b0f
mov ecx, edx
push eax
push ecx
lea ecx, [esp + 0x34]
push ecx
call fcn.00409f20
mov dl, byte [esp + 0x1f]
push ecx
mov esi, esp
mov dword [esp + 0x28], esp
push ebx
mov ecx, esi
mov byte [esi], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x41b364
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41b364
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [esp + 0x4c]
push eax
call fcn.0040bfd0
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x70], 2
call fcn.00408d50
add esp, 0x1c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 1
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push ebx
mov ecx, esi
mov byte [esi], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x41b358
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41b358
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [esp + 0x4c]
push eax
call fcn.0040bfd0
add esp, 0x14
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x54], 3
mov edx, dword [ecx]
lea ecx, [esp + 0x1c]
push edx
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0x20]
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
cmp eax, ebx
jne 0x408bf9
mov eax, edx
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
jne 0x408c03
mov ecx, edx
push 0x31
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x408cd1
mov eax, dword [esp + 0x14]
push eax
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x408c7b
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x7530
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x408c9f
mov al, byte [ecx - 1]
cmp al, bl
je 0x408c95
cmp al, 0xff
je 0x408c95
dec al
mov byte [ecx - 1], al
jmp 0x408c9f
dec ecx
push ecx
call fcn.004134f0
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
cmp ecx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x408c66
mov al, byte [ecx - 1]
cmp al, bl
je 0x408cc5
cmp al, 0xff
je 0x408cc5
dec al
mov byte [ecx - 1], al
jmp 0x408c66
dec ecx
push ecx
call fcn.004134f0
add esp, 4
jmp 0x408c66
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x408cf5
mov al, byte [ecx - 1]
cmp al, bl
je 0x408ceb
cmp al, 0xff
je 0x408ceb
dec al
mov byte [ecx - 1], al
jmp 0x408cf5
dec ecx
push ecx
call fcn.004134f0
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
cmp ecx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x408d38
mov al, byte [ecx - 1]
cmp al, bl
je 0x408d2e
cmp al, 0xff
je 0x408d2e
dec al
mov byte [ecx - 1], al
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
dec ecx
push ecx
call fcn.004134f0
add esp, 4
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret