Function at 0x421790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48b490
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x64468c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x645f14]
push 0x4214b0
mov dword [0x645f18], eax
call sub.IPCamDLL.dll_SetIPCSearchCallBack
call sub.IPCamDLL.dll_InitIPCamDLL
call sub.IPCamDLL.dll_StartIPCSearch
mov ecx, esi
mov byte [esi + 8], 1
call fcn.00479740
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::_Pad::constructor_void_]
mov dword [esp + 0x10], vtable.._AV___LaunchPad_V___Bind__0A_XV_lambda_54ea0eda3fac72c67321ee2bed7932b2______V_std___std__.0
mov dword [esp + 0x20], esi
lea eax, [esp + 8]
mov dword [esp + 0x30], 0
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::_Pad::_Launch_struct__Thrd_imp_t__]
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::_Pad::destructor_void_]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], 1
test eax, eax
jne 0x421835
push 1
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [esp + 0x10]
add esp, 4
push eax
push dword [esp + 0xc]
call dword [sym.imp.MSVCP120.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x421851
push eax
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
mov eax, dword [esp + 8]
push esi
test eax, eax
jne 0x479919
mov eax, dword [esp + 0x10]
cmp eax, 3
ja case.default.0x4798b6
jmp dword [eax*4 + 0x4799c8]
pop esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x644344
jmp dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___]
pop esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x644344
jmp dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___]
mov ecx, dword [esp + 8]
pop esi
jmp 0x421790
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 4]
push dword [eax]
call fcn.00421720
pop esi
ret
cmp eax, 0xa
jne 0x47994b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp eax, fcn.00479740
jne 0x479938
mov dword [ecx], 0
pop esi
ret
cmp eax, fcn.00479a00
jne case.default.0x4798b6
mov dword [ecx], 1
pop esi
ret
cmp eax, 1
jne 0x47998d
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
mov eax, dword [esp + 0x10]
sub eax, 0
je 0x479982
dec eax
jne case.default.0x4798b6
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
call fcn.004799e0
push eax
mov ecx, esi
call fcn.00411280
lea ecx, [esp + 0xc]
pop esi
jmp fcn.004093f0
mov eax, dword [esp + 8]
mov al, byte [eax + 8]
mov byte [esi], al
pop esi
ret
cmp eax, 2
jne case.default.0x4798b6
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
sub eax, 0
je 0x4799b8
dec eax
jne case.default.0x4798b6
push ecx
mov ecx, esp
push edx
call fcn.0040ca90
mov ecx, dword [esp + 0xc]
call fcn.00479a40
pop esi
ret
movzx eax, byte [edx]
mov ecx, dword [esp + 8]
push eax
call fcn.00479a20
pop esi
ret