Function at 0x10002280
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102d9f7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0xc]
push 0xc
mov eax, dword [esi]
mov dword [ebp - 0x2c], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0
mov edi, dword [eax + 0x2c]
call fcn.102d8574
mov dword [ebp - 0x28], eax
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
push dword [ebp - 0x28]
mov byte [ebp - 0x24], 1
push 0x11
push str.watch_browser_pid
call dword [sym.imp.libcef.dll_cef_string_utf8_to_utf16]
add esp, 0x10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call edi
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 0x11], al
mov dword [ebp - 0x2c], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test ecx, ecx
je 0x1000232f
cmp byte [ebp - 0x24], 0
je 0x1000232f
mov ebx, dword [sym.imp.libcef.dll_cef_string_utf16_clear]
push ecx
call ebx
push 0xc
push dword [ebp - 0x28]
call fcn.102d85a9
mov al, byte [ebp - 0x11]
add esp, 0xc
jmp 0x10002335
mov ebx, dword [sym.imp.libcef.dll_cef_string_utf16_clear]
test al, al
je 0x100024d6
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0xc]
push 0xc
mov eax, dword [esi]
mov dword [ebp - 0x2c], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0
mov edi, dword [eax + 0x30]
call fcn.102d8574
mov dword [ebp - 0x28], eax
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
push dword [ebp - 0x28]
mov byte [ebp - 0x24], 1
push 0x11
push str.watch_browser_pid
call dword [sym.imp.libcef.dll_cef_string_utf8_to_utf16]
add esp, 0x10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.10002e90
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x100023db
cmp byte [ebp - 0x30], 0
je 0x100023d0
push eax
call ebx
push 0xc
push dword [ebp - 0x34]
call fcn.102d85a9
add esp, 0xc
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x30], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x1000240a
cmp byte [ebp - 0x24], 0
je 0x100023ff
push eax
call ebx
push 0xc
push dword [ebp - 0x28]
call fcn.102d85a9
add esp, 0xc
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0
mov byte [ebp - 4], 9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x3c], 0x10
lea esi, [ebp - 0x50]
mov ebx, eax
lea eax, [ebp - 0x18]
cmovae esi, dword [ebp - 0x50]
push 0xa
push eax
push esi
mov dword [ebx], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov edi, eax
cmp esi, dword [ebp - 0x18]
jne 0x10002449
push str.invalid_stoi_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
cmp dword [ebx], 0x22
jne 0x10002459
push str.stoi_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
test edi, edi
jle 0x100024ce
push 4
call fcn.102d8574
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
push ecx
push 0
push eax
push 0x10003590
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100024b9
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x100024a3
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x100024ce
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
push 6
mov dword [ebp - 0x1c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, 0x100024ce
ret
lea ecx, [ebp - 0x50]
call fcn.100031a0
mov dword [ebp - 4], 0xd
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100024f4
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8