Function at 0x43ac10
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x540
mov eax, dword [0x55d68c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x540], ecx
mov eax, dword [ebp - 0x540]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x540]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x202c], eax
mov ecx, dword [ebp - 0x540]
mov edx, dword [ecx + 0x202c]
push edx
push str.CHttpsConnection::Init_socket__d
call fcn.0041a270
add esp, 8
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push 0x8004667e
mov ecx, dword [ebp - 0x540]
mov edx, dword [ecx + 0x202c]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x43acc2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x538], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.ioctlsocket_error__d
call fcn.0041a270
add esp, 8
mov eax, dword [ebp - 0x540]
mov ecx, dword [eax + 0x202c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 2
jmp 0x43aed3
push 0x2000
push 0
mov edx, dword [ebp - 0x540]
add edx, 4
push edx
call fcn.004611e0
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00402b30
lea ecx, [ebp - 0x12c]
call fcn.00402b30
lea ecx, [ebp - 0x108]
call fcn.004357c0
mov eax, dword [ebp - 0x540]
mov ecx, dword [eax]
push ecx
call fcn.004d4f10
add esp, 4
mov edx, dword [ebp - 0x540]
mov dword [edx + 0x2004], eax
mov eax, dword [ebp - 0x540]
mov ecx, dword [eax + 0x2004]
push ecx
push str.CHttpsConnection__m_ssl__08X
call fcn.0041a270
add esp, 8
mov edx, dword [ebp - 0x540]
mov eax, dword [edx + 0x202c]
push eax
mov ecx, dword [ebp - 0x540]
mov edx, dword [ecx + 0x2004]
push edx
call fcn.004d2d90
add esp, 8
mov ecx, dword [ebp - 0x540]
mov dword [ecx + 0x2008], eax
mov edx, dword [ebp - 0x540]
mov eax, dword [edx + 0x2008]
push eax
push str.CHttpsConnection__SSL_set_fd__d
call fcn.0041a270
add esp, 8
mov ecx, dword [ebp - 0x540]
mov edx, dword [ecx + 0x2004]
push edx
call fcn.004d51b0
add esp, 4
mov ecx, dword [ebp - 0x540]
mov dword [ecx + 0x2008], eax
mov edx, dword [ebp - 0x540]
mov eax, dword [edx + 0x2008]
push eax
push str.ssl_accept__d_n
call fcn.0041a270
add esp, 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x110], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x540]
mov edx, dword [ecx + 0x2008]
push edx
mov eax, dword [ebp - 0x540]
mov ecx, dword [eax + 0x2004]
push ecx
call fcn.004d4cd0
add esp, 8
mov edx, dword [ebp - 0x540]
mov dword [edx + 0x2008], eax
call fcn.004769f0
mov ecx, dword [ebp - 0x540]
mov dword [ecx + 0x2008], eax
mov byte [ebp - 0x530], 0
push 0x3ff
push 0
lea edx, [ebp - 0x52f]
push edx
call fcn.004611e0
add esp, 0xc
lea eax, [ebp - 0x530]
push eax
mov ecx, dword [ebp - 0x540]
mov edx, dword [ecx + 0x2008]
push edx
call fcn.004769a0
add esp, 8
mov eax, dword [ebp - 0x540]
mov ecx, dword [eax + 0x2004]
push ecx
call fcn.004d2df0
add esp, 4
mov edx, dword [ebp - 0x540]
mov dword [edx + 0x200c], eax
mov eax, dword [ebp - 0x540]
mov ecx, dword [eax + 0x2004]
push ecx
call fcn.004d4360
add esp, 4
push eax
call fcn.004d7580
add esp, 4
push eax
push str.SSL_connection_using__s
call fcn.0041a270
add esp, 8
mov edx, dword [ebp - 0x540]
mov eax, dword [edx + 0x200c]
push eax
call fcn.00471070
add esp, 4
mov dword [ebp - 0x53c], 0
lea ecx, [ebp - 0x108]
call fcn.004356c0
lea ecx, [ebp - 0x12c]
call fcn.00402c40
lea ecx, [ebp - 0x20]
call fcn.00402c40
mov eax, dword [ebp - 0x53c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455328
mov esp, ebp
pop ebp
ret 8