Function at 0x542af0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x63256c
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6d8314]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x6d8314]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x548], 0
jne 0x542d9c
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x78], 0
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
mov byte [esp + 0x78], 1
lea edx, [esp + 0x50]
mov ecx, dword [esi + 0x52c]
push edx
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x64]
cmp dword [esp + 0x60], 0
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
je 0x542beb
xor eax, eax
mov dword [esp + 0x38], 7
push 0xffffffffffffffff
push eax
mov word [esp + 0x2c], ax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x58]
mov dword [esp + 0x3c], 0
push eax
call fcn.00414cd0
lea eax, [esp + 0x24]
mov byte [esp + 0x78], 2
mov ecx, dword [0x701c94]
push eax
push str.networkSettings.networkInterface
call fcn.004322e0
mov byte [esp + 0x78], 1
cmp dword [esp + 0x38], 8
jb 0x542beb
push dword [esp + 0x24]
call ebx
add esp, 4
push 0x7e0
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
mov dword [esp + 0x48], edi
mov byte [esp + 0x78], 3
test edi, edi
je 0x542c8d
sub esp, 0xc
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.00427c10
mov byte [esp + 0x84], 4
sub esp, 0xc
mov ecx, dword [esi + 0x52c]
mov eax, esp
mov dword [esp + 0x5c], esp
push eax
mov edx, dword [ecx]
call dword [edx + 0x80]
mov byte [esp + 0x90], 5
sub esp, 0xc
mov ecx, dword [esi + 0x52c]
mov eax, esp
mov dword [esp + 0x64], esp
push eax
mov edx, dword [ecx]
call dword [edx + 0x78]
sub esp, 0x18
mov byte [esp + 0xb4], 6
mov ecx, 0x701be0
push esp
call fcn.005b5950
push 0x701c70
push 0x701c94
mov ecx, edi
mov byte [esp + 0xbc], 3
call fcn.0041b2c0
jmp 0x542c8f
xor eax, eax
mov byte [esp + 0x78], 1
lea edi, [eax + 0x540]
mov dword [esi + 0x548], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x542cbc
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_7f4f3e9fbab8f9a23b054ceea513cf47____0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
mov dword [edi + 4], esi
mov dword [edi + 0x10], edi
mov edi, dword [esi + 0x548]
add edi, 0x528
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x542cf0
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x10], 0
push 0
mov dword [edi], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_0958805a87423a6ca88e234ea53bacdf___0___class_std::allocator_class_std::_Func_class_void__bool__bool____void__bool__bool_.0
mov ecx, esi
push 0
mov dword [edi + 4], esi
push 0
mov dword [edi + 0x10], edi
call fcn.004fd130
mov ecx, dword [esi + 0x548]
push eax
call fcn.005c5370
mov ecx, dword [esi + 0x52c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
call eax
mov ecx, dword [esi + 0x548]
movzx eax, al
push eax
call fcn.0041c940
cmp dword [esp + 0x64], 8
jb 0x542d41
push dword [esp + 0x50]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x78], 0xffffffff
mov word [esp + 0x50], ax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
test eax, eax
je 0x542d9c
push dword [esp + 0x20]
lea ecx, [esp + 0x17]
push ecx
push dword [esp + 0x20]
push eax
call fcn.0042a860
push dword [esp + 0x24]
call ebx
add esp, 0x14
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov ecx, dword [esi + 0x548]
call fcn.005c5150
mov ecx, dword [esi + 0x548]
push 1
push 1
call fcn.005c5a40
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x548]
test eax, eax
jne 0x542dca
push str.advancedsettingbtn
jmp 0x542dd4
cmp eax, 5
jne 0x542dea
push str.hotkeysettingbtn
add ecx, 0x2c
call fcn.005ca200
push 1
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x160]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.006116d0
mov esp, ebp
pop ebp
ret 4