Function at 0x4510c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b61f3
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x61f138]
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
xor edi, edi
mov dword [ebp - 0x30], edi
mov esi, dword [0x6c4dc8]
mov ecx, dword [esi + 0x10]
call fcn.00450e00
xor ebx, ebx
mov dword [ebp - 0x34], eax
add esi, 0x20
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], esi
nop
xor edx, edx
xor ecx, ecx
mov eax, ebx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [ebp - 0x34]
and ecx, dword [ebp - 0x38]
or edx, ecx
je 0x4513c6
mov dword [ebp - 0xf0], 0x5ec86c
mov dword [ebp - 0xe0], 0x5ec864
mov dword [ebp - 0x88], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push ecx
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 0
or edi, 1
lea ecx, [ebp - 0xf0]
push eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], edi
call fcn.004469a0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf4], eax
lea ecx, [ebp - 0xd8]
call fcn.00448740
mov dword [ebp - 0xd8], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov edx, str.terminate_app
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xe0]
call fcn.00449a40
mov byte [ebp - 4], 3
or edi, 4
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x30], edi
test cl, 2
jne 0x451232
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax]
test eax, eax
je 0x451232
mov ecx, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0xa0]
cmovb eax, dword [ebp - 0xa0]
mov edx, dword [ecx]
sub eax, edx
push eax
push edx
jmp 0x451257
test cl, 4
jne 0x45125f
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax]
test edx, edx
je 0x45125f
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
sub edx, ecx
mov eax, dword [ebp - 0xac]
add edx, dword [eax]
push edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.004462c0
mov edi, dword [ebp - 0x3c]
and edi, 0xfffffffb
mov dword [ebp - 4], 2
or edi, 2
push 0x77
mov edx, str.apprestarter.cpp
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004c2da0
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4512bd
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4512b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4513f2
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf4], eax
lea ecx, [ebp - 0xd8]
call fcn.00443aa0
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xf4], eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xe4], eax
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0xf4], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 5
push eax
mov dword [ebp - 0x88], vtable.std::ios_base.0
call fcn.0055c7c7
add esp, 4
mov dword [ebp - 4], 0xffffffff
push dword [esi]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, 0xffffffff
je 0x4513c3
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x2c]
inc ebx
add esi, 0x10
mov dword [ebp - 0x2c], esi
cmp ebx, 0x40
jb 0x451110
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.0056eeb4
mov esp, ebp
pop ebp
ret
call fcn.00591dc6
int3