Function at 0x40abe0
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471b3b
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x48d030]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
mov eax, dword [edx]
push ecx
push edx
mov dword [ebp - 0x50], 0
call dword [eax + 0x10]
mov edx, 0x480278
mov ecx, eax
call fcn.0040fa00
mov eax, dword [ebp - 0x50]
xorps xmm0, xmm0
mov edx, eax
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea esi, [edx + 2]
nop word [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x40ac60
sub edx, esi
lea ecx, [ebp - 0x48]
sar edx, 1
push edx
push eax
call fcn.00417300
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.cpprest141_2_10.dll_public:_static_class_web::json::value___cdecl_web::json::value::parse_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x40acce
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40acc4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40acc4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x34], 7
push str.message
lea ecx, [ebp - 0x28]
mov word [ebp - 0x48], ax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.00417300
mov byte [ebp - 4], 5
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x99], al
cmp ecx, 8
jb 0x40ad5c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ad4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40ad4c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
mov al, byte [ebp - 0x99]
add esp, 8
test al, al
jne 0x40ad97
push str.No_message_code_provided_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x40ad79
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x40bd99
mov dword [ebp - 4], 6
jmp 0x40bd92
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.args
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00417300
mov byte [ebp - 4], 7
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x99], al
cmp ecx, 8
jb 0x40ae19
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ae09
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40ae09
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
mov al, byte [ebp - 0x99]
add esp, 8
test al, al
jne 0x40ae54
push str.The_message_has_no_args_field_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x40ae36
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x40bd99
mov dword [ebp - 4], 8
jmp 0x40bd92
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.message
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00417300
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
mov esi, dword [sym.imp.cpprest141_2_10.dll_public:_class_web::json::value____thiscall_web::json::value::at_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x2c]
push eax
call esi
mov ecx, eax
call dword [sym.imp.cpprest141_2_10.dll_public:_int___thiscall_web::json::value::as_integer_void_const]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa0], eax
cmp ecx, 8
jb 0x40aed9
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40aecf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40aecf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.args
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0
call fcn.00417300
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x2c]
call esi
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.cpprest141_2_10.dll_public:_void___thiscall_web::json::value::constructor_class_web::json::value_const__]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x6c]
cmp ecx, 8
jb 0x40af5b
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40af51
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40af51
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0xa0]
dec eax
mov dword [ebp - 0x6c], 7
cmp eax, 0x19
ja case.0x40af86.2
movzx eax, byte [eax + 0x40bdfc]
jmp dword [eax*4 + 0x40bdc4]
mov eax, dword [0x491b30]
cmp byte [eax], 0
jne 0x40bd61
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.tabId
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00417300
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x30]
call esi
mov ecx, eax
call dword [sym.imp.cpprest141_2_10.dll_public:_class_web::json::number_const____thiscall_web::json::value::as_number_void_const]
cmp dword [eax + 8], 2
jne 0x40afe7
movsd xmm0, qword [eax]
call fcn.004704a0
mov esi, eax
jmp 0x40afe9
mov esi, dword [eax]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa0], esi
cmp ecx, 8
jb 0x40b02f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b025
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b025
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.active
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00417300
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.cpprest141_2_10.dll_public:_class_web::json::value____thiscall_web::json::value::at_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, eax
call dword [sym.imp.cpprest141_2_10.dll_public:_bool___thiscall_web::json::value::as_bool_void_const]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0xb4], al
cmp ecx, 8
jb 0x40b0b2
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b0a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b0a8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0xb4]
mov dword [ebp - 0x4c], 0
push esi
push dword [eax + 0x18]
mov edx, dword [eax + 8]
call fcn.004231f0
add esp, 0xc
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa0]
mov eax, dword [edi]
push ecx
add eax, 0x2c
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, eax
mov dword [ebp - 0xb4], eax
call fcn.00417150
mov edi, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xb4]
cmp byte [edi + 0xd], 0
jne 0x40b163
cmp esi, dword [edi + 0x10]
jb 0x40b163
cmp edi, dword [ecx]
je 0x40b163
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00417150
mov eax, dword [ebp - 0xa8]
cmp byte [eax + 0xd], 0
jne 0x40b158
cmp esi, dword [eax + 0x10]
jb 0x40b158
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
test ecx, ecx
je 0x40b1a0
push ecx
jmp 0x40b19b
push str.invalid_map_K__T__key
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0041c2b0
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x40b1a0
push eax
call fcn.00414050
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x40bd61
push eax
call fcn.00414050
jmp 0x40bd61
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push 0x480f14
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
call fcn.00417300
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x30]
call esi
mov ecx, eax
call dword [sym.imp.cpprest141_2_10.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____thiscall_web::json::value::as_string_void_const]
mov ecx, eax
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0xa0], eax
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0xb4], eax
jb 0x40b223
mov ecx, dword [ecx]
mov dword [ebp - 0xa0], ecx
cmp eax, 0x7ffffffe
ja 0x40bdb8
mov dword [ebp - 0x54], 7
cmp eax, 8
jae 0x40b246
mov dword [ebp - 0x58], eax
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x68], xmm0
jmp 0x40b2a4
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x40b25a
mov esi, accept
jmp 0x40b264
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.004147b0
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x54], esi
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0xa0]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [sym.imp.cpprest141_2_10.dll_public:_class_web::json::value____thiscall_web::json::value::at_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0xc
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x40b2e4
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b2da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b2da
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x34], 7
push str.browser:__
lea ecx, [ebp - 0x80]
mov word [ebp - 0x48], ax
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
call fcn.00417300
mov byte [ebp - 4], 0x14
xorps xmm0, xmm0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x70]
cmp eax, ecx
movups xmmword [ebp - 0x48], xmm0
cmovb ecx, eax
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
push ecx
cmovae eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x48]
push eax
mov dword [ebp - 0x34], 0
call fcn.00417300
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
push dword [ebp - 0x70]
cmovae eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
mov edx, dword [ebp - 0x38]
cmovae ecx, dword [ebp - 0x48]
push eax
call fcn.00416520
mov dword [ebp - 0xa0], eax
add esp, 8
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x40b3b2
mov edx, dword [ebp - 0x48]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b3a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b7e2
push ecx
push edx
call fcn.0047012d
add esp, 8
cmp dword [ebp - 0xa0], 0
jne 0x40b640
mov eax, dword [ebp - 0x58]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
movups xmmword [ebp - 0x98], xmm0
cmp eax, edx
jb 0x40bdbd
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x98]
lea eax, [eax + edx*2]
push eax
call fcn.00417300
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
mov esi, dword [ebp - 0x98]
mov edx, dword [ebp - 0x88]
cmovae ecx, esi
push 9
push str.favorites
call fcn.00416520
add esp, 8
test eax, eax
je 0x40b4a6
cmp dword [ebp - 0x84], 8
lea ecx, [ebp - 0x98]
mov edx, dword [ebp - 0x88]
push 8
cmovae ecx, esi
push str.settings
call fcn.00416520
add esp, 8
test eax, eax
je 0x40b4a6
cmp dword [ebp - 0x84], 8
lea ecx, [ebp - 0x98]
mov edx, dword [ebp - 0x88]
push 7
cmovae ecx, esi
push str.history
call fcn.00416520
add esp, 8
test eax, eax
je 0x40b4a6
push str.Requested_unknown_browser_page_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x40b601
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.wvbrowser_uicontent_ui_
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
call fcn.00417300
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
lea ecx, [ebp - 0x48]
push dword [ebp - 0x88]
cmovae eax, esi
push eax
call fcn.00412560
push 5
push str..html
lea ecx, [ebp - 0x48]
call fcn.00412560
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
mov ecx, dword [edi]
cmovae eax, dword [ebp - 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040fde0
mov byte [ebp - 4], 0x17
mov eax, dword [edi]
lea esi, [eax + 0x34]
lea ecx, [eax + 0x2c]
push esi
lea eax, [ebp - 0xb0]
push eax
call fcn.00417150
mov ecx, dword [ebp - 0xa8]
cmp byte [ecx + 0xd], 0
jne 0x40b158
mov eax, dword [esi]
cmp eax, dword [ecx + 0x10]
jb 0x40b158
mov eax, dword [ecx + 0x14]
cmp dword [ebp - 0x14], 8
mov edx, dword [eax + 4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edx
call ecx
mov edx, str.Cant_navigate_to_browser_page.
mov ecx, eax
call fcn.0040fa00
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x40b5a7
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b59d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b5eb
push ecx
push edx
call fcn.0047012d
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x40b5fb
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b5f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b5f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
mov esi, dword [ebp - 0x98]
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x84]
cmp eax, 8
jb 0x40b774
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x40b639
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b7e2
push ecx
push esi
jmp 0x40b76c
mov eax, dword [edi]
lea ecx, [eax + 0x2c]
add eax, 0x34
push eax
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00417150
mov ecx, dword [ebp - 0xa8]
cmp byte [ecx + 0xd], 0
jne 0x40b158
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x10]
jb 0x40b158
mov eax, dword [ecx + 0x14]
cmp dword [ebp - 0x54], 8
mov edx, dword [eax + 4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
push edx
call ecx
test eax, eax
jns 0x40b774
mov eax, dword [edi]
lea edi, [eax + 0x34]
lea ecx, [eax + 0x2c]
push edi
lea eax, [ebp - 0xb0]
push eax
call fcn.00417150
mov ecx, dword [ebp - 0xa8]
cmp byte [ecx + 0xd], 0
jne 0x40b158
mov eax, dword [edi]
cmp eax, dword [ecx + 0x10]
jb 0x40b158
mov eax, dword [ecx + 0x14]
xorps xmm0, xmm0
push 0x10
push str.encodedSearchURI
lea ecx, [ebp - 0x28]
mov edi, dword [eax + 4]
mov eax, dword [edi]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xa0], eax
call fcn.00417300
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x30]
call esi
mov ecx, eax
call dword [sym.imp.cpprest141_2_10.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____thiscall_web::json::value::as_string_void_const]
cmp dword [eax + 0x14], 8
jb 0x40b720
mov eax, dword [eax]
push eax
push edi
call dword [ebp - 0xa0]
mov edx, str.Cant_navigate_to_requested_page.
mov ecx, eax
call fcn.0040fa00
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x40b774
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b76a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b76a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x40b7ae
mov edx, dword [ebp - 0x80]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b7a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b7e2
push ecx
push edx
call fcn.0047012d
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x54]
cmp ecx, 8
jb 0x40bd61
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b7e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b7e8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
jmp 0x40bd61
mov eax, dword [edi]
lea esi, [eax + 0x34]
lea ecx, [eax + 0x2c]
push esi
lea eax, [ebp - 0xb0]
push eax
call fcn.00417150
mov ecx, dword [ebp - 0xa8]
cmp byte [ecx + 0xd], 0
jne 0x40b158
mov eax, dword [esi]
cmp eax, dword [ecx + 0x10]
jb 0x40b158
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov edx, 0x480278
mov ecx, eax
call fcn.0040fa00
jmp 0x40bd61
mov eax, dword [edi]
lea esi, [eax + 0x34]
lea ecx, [eax + 0x2c]
push esi
lea eax, [ebp - 0xb0]
push eax
call fcn.00417150
mov ecx, dword [ebp - 0xa8]
cmp byte [ecx + 0xd], 0
jne 0x40b158
mov eax, dword [esi]
cmp eax, dword [ecx + 0x10]
jb 0x40b158
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa0]
mov edx, 0x480278
mov ecx, eax
call fcn.0040fa00
jmp 0x40bd61
mov eax, dword [edi]
lea esi, [eax + 0x34]
lea ecx, [eax + 0x2c]
push esi
lea eax, [ebp - 0xb0]
push eax
call fcn.00417150
mov ecx, dword [ebp - 0xa8]
cmp byte [ecx + 0xd], 0
jne 0x40b158
mov eax, dword [esi]
cmp eax, dword [ecx + 0x10]
jb 0x40b158
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov edx, 0x480278
mov ecx, eax
call fcn.0040fa00
jmp 0x40bd61
mov eax, dword [edi]
lea esi, [eax + 0x34]
lea ecx, [eax + 0x2c]
push esi
lea eax, [ebp - 0xb0]
push eax
call fcn.00417150
mov ecx, dword [ebp - 0xa8]
cmp byte [ecx + 0xd], 0
jne 0x40b158
mov eax, dword [esi]
cmp eax, dword [ecx + 0x10]
jb 0x40b158
mov eax, dword [ecx + 0x14]
push 0
push 0x48091c
push str.Page.stopLoading
mov ecx, dword [eax + 4]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x90]
mov edx, 0x480278
mov ecx, eax
call fcn.0040fa00
jmp 0x40bd61
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.tabId
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00417300
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x30]
call esi
mov ecx, eax
call dword [sym.imp.cpprest141_2_10.dll_public:_class_web::json::number_const____thiscall_web::json::value::as_number_void_const]
cmp dword [eax + 8], 2
jne 0x40b98c
movsd xmm0, qword [eax]
call fcn.004704a0
mov esi, eax
jmp 0x40b98e
mov esi, dword [eax]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x40b9ce
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b9c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b9c4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
mov ecx, dword [edi]
push esi
call fcn.0040be30
jmp 0x40bd61
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.tabId
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00417300
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x30]
call esi
mov ecx, eax
call dword [sym.imp.cpprest141_2_10.dll_public:_class_web::json::number_const____thiscall_web::json::value::as_number_void_const]
cmp dword [eax + 8], 2
jne 0x40ba27
movsd xmm0, qword [eax]
call fcn.004704a0
mov esi, eax
jmp 0x40ba29
mov esi, dword [eax]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa0], esi
cmp ecx, 8
jb 0x40ba6f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ba65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40ba65
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
mov ecx, dword [edi]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb0]
add ecx, 0x2c
push eax
call fcn.00417150
mov eax, dword [ebp - 0xa8]
cmp byte [eax + 0xd], 0
jne 0x40b158
cmp esi, dword [eax + 0x10]
jb 0x40b158
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov ecx, dword [edi]
lea eax, [ebp - 0xa0]
add ecx, 0x2c
push eax
call fcn.00411590
jmp 0x40bd61
mov eax, dword [edi]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
push dword [eax + 8]
call esi
call fcn.00407cf0
mov ecx, eax
call fcn.00407d00
mov eax, dword [edi]
push dword [eax + 8]
call esi
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call fcn.00407cf0
mov ecx, eax
call fcn.00407d00
mov eax, dword [edi]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [edi]
push 0
mov ecx, dword [eax + 0x20]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, str.Something_went_wrong_when_trying_to_close_the_options_dropdown.
mov ecx, eax
call fcn.0040fa00
jmp 0x40bd61
mov eax, dword [edi]
lea esi, [eax + 0x34]
lea ecx, [eax + 0x2c]
push esi
lea eax, [ebp - 0xb0]
push eax
call fcn.00417150
mov ecx, dword [ebp - 0xa8]
cmp byte [ecx + 0xd], 0
jne 0x40b158
mov eax, dword [esi]
cmp eax, dword [ecx + 0x10]
jb 0x40b158
mov eax, dword [ecx + 0x14]
push 0
mov ecx, dword [eax]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x30]
jmp 0x40bd61
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.tabId
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00417300
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x30]
call esi
mov ecx, eax
call dword [sym.imp.cpprest141_2_10.dll_public:_class_web::json::number_const____thiscall_web::json::value::as_number_void_const]
cmp dword [eax + 8], 2
jne 0x40bbb2
movsd xmm0, qword [eax]
call fcn.004704a0
jmp 0x40bbb4
mov eax, dword [eax]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xb4], eax
cmp ecx, 8
jb 0x40bc00
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40bbf6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bbf6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.args
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00417300
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.cpprest141_2_10.dll_public:_class_web::json::value____thiscall_web::json::value::operator___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.tabId
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov esi, eax
movups xmmword [ebp - 0x48], xmm0
call fcn.00417300
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x1d
push eax
mov ecx, esi
call dword [sym.imp.cpprest141_2_10.dll_public:_void___thiscall_web::json::value::erase_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x40bca5
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40bc9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bce9
push ecx
push edx
call fcn.0047012d
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp ecx, 8
jb 0x40bcf9
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40bcef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bcef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
mov ecx, dword [edi]
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
add ecx, 0x2c
push eax
call fcn.00417150
mov ecx, dword [ebp - 0xa8]
cmp byte [ecx + 0xd], 0
jne 0x40b158
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ecx + 0x10]
jb 0x40b158
mov eax, dword [ecx + 0x14]
push dword [eax + 4]
lea eax, [ebp - 0x2c]
push ecx
mov ecx, esp
push eax
call dword [sym.imp.cpprest141_2_10.dll_public:_void___thiscall_web::json::value::constructor_class_web::json::value_const__]
call fcn.004100f0
mov edx, str.Requesting_history_failed.
mov ecx, eax
call fcn.0040fa00
jmp 0x40bd61
push str.Unexpected_message_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x40bd6f
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x40bd7d
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x40bd99
mov dword [ebp - 4], 0x1e
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046fb30
mov esp, ebp
pop ebp
ret 8
call fcn.00403770
call fcn.00415850
nop
mov dh, 0xb1
inc eax
add bh, dh
mov bh, 0x40
add byte [edi - 0x48], al
inc eax
add byte [edi - 0x1bffbf48], dl
mov eax, 0xaf8d0040
inc eax
add byte [eax - 0x47], al
inc eax
add bl, bl
mov ecx, 0xbac10040
inc eax
add cl, ch
mov edx, 0xbb080040
inc eax
add byte [esi], ah
mov ebx, 0xbb680040
inc eax
add byte [esi - 0x43], dl
inc eax
add byte [eax], al
or eax, 0xd0d0201
add eax, dword [ecx + 117837061]
or byte [ecx], cl
or cl, byte [151850251]
or dword [-871625459], ecx
int3