Function at 0x457490
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e3b5
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x6a0f4c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x194], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x43], eax
mov dword [ebp - 0x3f], eax
mov dword [ebp - 0x3b], eax
mov word [ebp - 0x37], ax
mov byte [ebp - 0x35], al
mov ecx, dword [ebp + 0x24]
push ecx
push 0x61821c
push 0xf
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x48]
push ecx
push 0
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
cmp dword [ebp - 0x48], 0
jne 0x457561
mov byte [ebp - 0x51], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x51]
jmp 0x4579d7
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0xc]
push ecx
push 1
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov edx, dword [ebp - 0x1b0]
cmp dword [edx + 0x28], 0
je 0x45768a
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x1b0]
mov ecx, dword [edx + 0x28]
call fcn.004564b0
test eax, eax
je 0x4575f6
push 1
lea ecx, [ebp - 0xd4]
call fcn.00409eb0
mov dword [ebp - 0x198], eax
lea ecx, [ebp - 0x88]
call fcn.00409fa0
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVCP90.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 0xd5], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0xd5]
jmp 0x4579d7
movzx eax, word [ebp + 0x24]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xdc], esp
lea edx, [ebp + 8]
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x1b0]
mov ecx, dword [edx + 0x28]
call fcn.004566e0
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0
je 0x457688
push 1
lea ecx, [ebp - 0x15c]
call fcn.00409eb0
mov dword [ebp - 0x1a4], eax
lea ecx, [ebp - 0x110]
call fcn.00409fa0
lea ecx, [ebp - 0x110]
call dword [sym.imp.MSVCP90.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 0x15d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x15d]
jmp 0x4579d7
jmp 0x4576d2
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4576d2
mov byte [ebp - 0x15e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x15e]
jmp 0x4579d7
mov dword [ebp - 0x14], 0x1388
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1005
push 0xffff
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp - 0x14], 0x1388
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1006
push 0xffff
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 0x1b0]
cmp dword [eax + 0x50], 1
jne 0x4579ba
call fcn.0057b1d0
push eax
call fcn.00579e70
add esp, 4
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx + 0x58], eax
mov edx, dword [ebp - 0x1b0]
cmp dword [edx + 0x58], 0
jne 0x4577c5
push 2
push 0x7d
push str..WadeSoket4HttpClientWadeHttpClient.cpp
lea ecx, [ebp - 0x168]
call fcn.00403d10
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 1
push str.SSL_CTX_new_failed_
mov ecx, dword [ebp - 0x1c0]
call fcn.00404340
push eax
call fcn.00408230
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x168]
call fcn.004042e0
mov byte [ebp - 0x169], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x169]
jmp 0x4579d7
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ecx + 0x58]
push edx
call fcn.0057a680
add esp, 4
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx + 0x54], eax
mov edx, dword [ebp - 0x1b0]
cmp dword [edx + 0x54], 0
jne 0x457863
push 2
push 0x82
push str..WadeSoket4HttpClientWadeHttpClient.cpp
lea ecx, [ebp - 0x174]
call fcn.00403d10
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 4], 2
push str.SSL_new_failed_
mov ecx, dword [ebp - 0x1c8]
call fcn.00404340
push eax
call fcn.00408230
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.004042e0
mov byte [ebp - 0x175], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x175]
jmp 0x4579d7
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 0x54]
push ecx
call fcn.00579e10
add esp, 8
test eax, eax
jne 0x4578f9
push 2
push 0x86
push str..WadeSoket4HttpClientWadeHttpClient.cpp
lea ecx, [ebp - 0x180]
call fcn.00403d10
mov dword [ebp - 0x1cc], eax
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], edx
mov byte [ebp - 4], 3
push str.SSL_link_socket_failed_
mov ecx, dword [ebp - 0x1d0]
call fcn.00404340
push eax
call fcn.00408230
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x180]
call fcn.004042e0
mov byte [ebp - 0x181], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x181]
jmp 0x4579d7
call fcn.0047fbb0
call fcn.0047fb20
test eax, eax
jne 0x45792f
call dword [sym.imp.MSVCR90.dll_rand]
and eax, 0x8000ffff
jns 0x45791b
dec eax
or eax, 0xffff0000
inc eax
mov word [ebp - 0x50], ax
push 2
lea eax, [ebp - 0x50]
push eax
call fcn.0047fa60
add esp, 8
jmp 0x4578fe
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ecx + 0x54]
push edx
call fcn.0057ab70
add esp, 4
cmp eax, 1
je 0x4579ba
push 2
push 0x92
push str..WadeSoket4HttpClientWadeHttpClient.cpp
lea ecx, [ebp - 0x18c]
call fcn.00403d10
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 4], 4
push str.SSL_connect_failed_
mov ecx, dword [ebp - 0x1d8]
call fcn.00404340
push eax
call fcn.00408230
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18c]
call fcn.004042e0
mov byte [ebp - 0x18d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x18d]
jmp 0x4579d7
mov byte [ebp - 0x18e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x18e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005fff12
mov esp, ebp
pop ebp
ret 0x20