Function at 0x42b63e
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449705
mov eax, dword fs:[0]
push eax
mov eax, 0x27bc
call fcn.00442aa0
mov eax, dword [0x46c060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x2628], ebx
mov dword [ebp - 0x262c], ecx
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2624], edx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x264c], edx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x2648], edi
xor edi, edi
mov dword [ebp - 0x263c], esi
mov dword [ebp - 0x265c], eax
mov dword [ebp - 0x2630], edx
mov dword [ebp - 0x261c], edi
cmp byte [ebp + 0x24], 0
mov dword [ebp - 4], edi
je 0x42b739
cmp dword [edx + 0x10], edi
je 0x42b709
cmp dword [edx + 0x14], 0x10
jb 0x42b6d4
mov edi, dword [edx]
jmp 0x42b6d6
mov edi, edx
cmp dword [eax + 0x14], 0x10
jb 0x42b6e0
mov edx, dword [eax]
jmp 0x42b6e2
mov edx, eax
push 0x10
pop eax
cmp dword [esi + 0x14], eax
jb 0x42b6ee
mov eax, dword [esi]
jmp 0x42b6f0
mov eax, esi
push edi
push edx
push eax
mov eax, dword [ecx]
push ebx
push str._s_http:___s_s_If_None_Match:___s_
call dword [eax + 0xc]
push eax
call fcn.00402357
add esp, 0x18
jmp 0x42b739
cmp dword [eax + 0x14], 0x10
jb 0x42b713
mov edx, dword [eax]
jmp 0x42b715
mov edx, eax
push 0x10
pop eax
cmp dword [esi + 0x14], eax
jb 0x42b721
mov eax, dword [esi]
jmp 0x42b723
mov eax, esi
push edx
push eax
mov eax, dword [ecx]
push ebx
push str._s_http:___s_s
call dword [eax + 0xc]
push eax
call fcn.00402357
add esp, 0x14
lea ecx, [ebp - 0x2610]
call fcn.00401585
mov edx, esi
lea ecx, [ebp - 0xb8]
call fcn.0040fc50
mov edi, eax
cmp dword [edi + 0x14], 8
jb 0x42b75b
mov edi, dword [edi]
lea ecx, [ebp - 0x2610]
call fcn.00401d18
push edi
lea ecx, [ebp - 0x2610]
call fcn.004017a7
xor ebx, ebx
push 0
inc ebx
push ebx
lea ecx, [ebp - 0xb8]
mov edi, eax
call fcn.0040253d
lea ecx, [ebp - 0x2678]
call fcn.00428e26
lea eax, [ebp - 0x2678]
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], bl
call fcn.0042d4be
push 2
pop eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x2674]
and dword [ebp - 0x2650], 0
push 0x42ffda
lea eax, [ebp - 0x2654]
push eax
mov dword [ebp - 0x2654], 0x474068
call fcn.0042846c
mov dword [ebp - 0x2684], eax
xor eax, eax
mov dword [ebp - 0x2680], eax
mov dword [ebp - 0x267c], eax
mov byte [ebp - 4], 3
mov byte [ebp - 0x2614], al
push dword [ebp - 0x2614]
mov dword [ebp - 0x2654], eax
push ecx
lea ecx, [ebp - 0x2654]
mov dword [ebp - 0x2650], eax
call fcn.0042f9b1
mov eax, dword [ebp - 0x2650]
mov dword [ebp - 0x267c], eax
mov eax, dword [ebp - 0x2654]
mov dword [ebp - 0x2680], eax
mov byte [ebp - 4], 4
test edi, edi
je 0x42b853
movzx eax, word [ebp - 0x1c4]
lea edx, [ebp - 0x261c]
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x261c], eax
call fcn.0042df24
mov ecx, eax
mov eax, ebx
jmp 0x42b868
push str.http
lea ecx, [ebp - 0xb8]
call fcn.0040221e
push 2
mov ecx, eax
pop eax
and dword [ebp - 0x90], 0
push ecx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x261c], eax
mov dword [ebp - 0x2614], eax
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00402426
push 2
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x2614]
pop ecx
test cl, al
je 0x42b8cc
and eax, 0xfffffffd
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x2614], eax
mov dword [ebp - 0x261c], eax
call fcn.00402286
mov eax, dword [ebp - 0x2614]
mov byte [ebp - 4], 7
test bl, al
je 0x42b8ee
and eax, 0xfffffffe
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x2614], eax
mov dword [ebp - 0x261c], eax
call fcn.00402286
test edi, edi
je 0x42b939
lea eax, [ebp - 0x25ce]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040be02
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2614]
or eax, 4
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2614], eax
mov dword [ebp - 0x261c], eax
call fcn.0040fbd8
mov ecx, eax
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x2614]
or eax, 8
jmp 0x42b957
push esi
lea ecx, [ebp - 0x168]
call fcn.00403fe0
mov ecx, eax
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x2614]
or eax, 0x10
push ecx
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x261c], eax
mov dword [ebp - 0x2614], eax
call fcn.00403fe0
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x2614]
push 0x10
pop ecx
test cl, al
je 0x42b99d
and eax, 0xffffffef
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x2614], eax
call fcn.00402286
mov eax, dword [ebp - 0x2614]
test al, 8
je 0x42b9b8
and eax, 0xfffffff7
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2614], eax
call fcn.00402286
mov eax, dword [ebp - 0x2614]
mov byte [ebp - 4], 0xe
test al, 4
je 0x42b9d4
push 0
and eax, 0xfffffffb
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2614], eax
call fcn.0040253d
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x150]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x130]
call fcn.00403fe0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0xf
call fcn.00403fe0
xor eax, eax
mov dword [ebp - 0x150], 0x400
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x144], 6
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
push 0x10
pop eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x266c]
push eax
call fcn.0042ce7a
xor eax, eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 0x12
mov esi, dword [0x474b64]
test esi, esi
jle 0x42baf2
push 5
push str.POST
push dword [ebp - 0x2628]
call sub.MSVCR110.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x42baf2
imul esi, esi, 0x3e8
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x261c], esi
call fcn.0042cdb8
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea ecx, [ebp - 0x261c]
push ecx
push 0x1006
mov edi, 0xffff
push edi
push dword [eax]
call esi
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x100]
call fcn.0042cdb8
push 4
lea ecx, [ebp - 0x261c]
push ecx
push 0x1005
push edi
push dword [eax]
call esi
call fcn.004428f0
mov esi, 0x2af9
mov dword [ebp - 0x2638], esi
mov dword [ebp - 0x2634], eax
cmp dword [ebp - 0x266c], 0
je 0x42bfc1
lea ecx, [ebp - 0x100]
call fcn.0042cd39
push ecx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x266c]
call fcn.0042cf03
mov byte [ebp - 4], 0x13
mov esi, dword [eax + 8]
mov ecx, dword [eax]
imul esi, esi, 0x4c
add esi, dword [ecx]
push 7
pop ecx
lea edi, [ebp - 0x16c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x100]
cmp ecx, 0xffffffff
jne 0x42bbd9
mov ecx, dword [ebp - 0xc0]
push 0x17
pop esi
push 2
pop eax
cmp word [ebp - 0x16c], ax
lea ecx, [ecx + 0x14]
cmove esi, eax
lea eax, [ebp - 0x2638]
push eax
push 6
push ebx
push esi
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x2620]
push eax
call fcn.004298cb
xor edx, edx
cmp dword [eax], edx
jne 0x42bbc9
push 7
pop ecx
xor eax, eax
push 2
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
pop eax
mov word [ebp - 0x60], ax
mov dword [ebp - 0xe4], esi
push 7
xor eax, eax
pop ecx
lea esi, [ebp - 0x60]
lea edi, [ebp - 0xdc]
mov byte [ebp - 0xe0], dl
mov word [ebp - 0x5e], ax
mov dword [ebp - 0x5c], edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x2638]
test esi, esi
jne 0x42bc07
mov ecx, dword [ebp - 0x100]
push 0x1c
pop eax
push 2
pop edx
cmp word [ebp - 0x16c], dx
push 0x10
pop edx
cmove eax, edx
lea edx, [ebp - 0x2638]
push edx
push eax
lea edx, [ebp - 0x16c]
call fcn.004290ac
mov esi, dword [ebp - 0x2638]
pop ecx
pop ecx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x42bc17
call fcn.004281a3
test esi, esi
jne 0x42bb08
mov edi, dword [ebp - 0x2624]
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov esi, dword [eax + 8]
add esi, dword [eax]
push 2
pop eax
push eax
push 0
push 0
mov ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, dword [eax + 8]
add ecx, dword [eax]
xor eax, eax
push eax
sub ecx, esi
push eax
mov dword [ebp - 0x261c], ecx
push eax
mov ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x27c8]
call fcn.0042cf48
push ebx
push 0
lea eax, [ebp - 0x27c8]
push eax
lea ecx, [ebp - 0x2720]
mov byte [ebp - 4], 0x15
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov edx, dword [ebp - 0x2628]
lea ecx, [ebp - 0x2720]
mov byte [ebp - 4], 0x16
call fcn.004033c3
mov edx, 0x4541dc
mov ecx, eax
call fcn.004033c3
mov edi, dword [ebp - 0x265c]
mov edx, edi
mov ecx, eax
call fcn.004129aa
mov edx, str._HTTP_1.0_r_n
mov ecx, eax
call fcn.004033c3
mov edx, str.Host:
lea ecx, [ebp - 0x2720]
call fcn.004033c3
mov esi, dword [ebp - 0x263c]
mov edx, esi
mov ecx, eax
call fcn.004129aa
mov edx, 0x4590a8
mov ecx, eax
call fcn.004033c3
mov edx, str.Accept:___r_n
lea ecx, [ebp - 0x2720]
call fcn.004033c3
mov eax, dword [ebp - 0x261c]
test eax, eax
jne 0x42bd34
push 5
push str.POST
push dword [ebp - 0x2628]
call sub.MSVCR110.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x42bd5b
mov eax, dword [ebp - 0x261c]
push eax
push ecx
mov edx, str.Content_Length:
lea ecx, [ebp - 0x2720]
call fcn.004033c3
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov edx, 0x4590a8
mov ecx, eax
call fcn.004033c3
cmp dword [ebp - 0x264c], 0
je 0x42bd8d
mov edx, str.Content_Type:
lea ecx, [ebp - 0x2720]
call fcn.004033c3
mov edx, dword [ebp - 0x264c]
mov ecx, eax
call fcn.004033c3
mov edx, 0x4590a8
mov ecx, eax
call fcn.004033c3
mov edx, str.Connection:_close_r_n
lea ecx, [ebp - 0x2720]
call fcn.004033c3
mov eax, dword [ebp - 0x2630]
cmp dword [eax + 0x10], 0
je 0x42bdd2
mov edx, str.If_None_Match:__
lea ecx, [ebp - 0x2720]
call fcn.004033c3
mov edx, dword [ebp - 0x2630]
mov ecx, eax
call fcn.004129aa
mov edx, 0x4590fc
mov ecx, eax
call fcn.004033c3
mov edx, 0x4590a8
lea ecx, [ebp - 0x2720]
call fcn.004033c3
cmp dword [ebp - 0x261c], 0
je 0x42be44
mov eax, dword [ebp - 0x2720]
mov edx, dword [ebp - 0x2624]
mov eax, dword [eax + 4]
mov byte [ebp - 0x2640], 0
mov ecx, dword [ebp + eax - 0x26e8]
mov eax, dword [edx]
push ecx
push dword [ebp - 0x2640]
mov eax, dword [eax + 4]
mov byte [ebp - 0x265c], bl
mov eax, dword [eax + edx + 0x38]
push dword [ebp - 0x265c]
test eax, eax
push 0
sete byte [ebp - 0x261c]
push dword [ebp - 0x261c]
lea ecx, [ebp - 0x2640]
push eax
call fcn.0042df94
add esp, 0x18
lea edx, [ebp - 0x27c8]
lea ecx, [ebp - 0x100]
call fcn.0042e04a
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x26d0]
call fcn.0042cf48
push 0x4590a8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x17
call fcn.0040221e
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x26d0]
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x18
call fcn.0042e098
pop ecx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x17
call fcn.00402286
push ebx
push 0
lea eax, [ebp - 0x26d0]
push eax
lea ecx, [ebp - 0x2780]
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
and dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x2780]
mov byte [ebp - 4], 0x1a
call fcn.00410fc2
lea eax, [ebp - 0x2644]
push eax
lea ecx, [ebp - 0x2780]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___unsigned_int__]
and dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x2780]
mov byte [ebp - 4], 0x1b
call fcn.004216d5
mov eax, dword [ebp - 0x2780]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2774], 6
jne 0x42bf5e
push 5
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
call fcn.004101bf
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x2614]
or ecx, 0x20
mov dword [ebp - 0x2614], ecx
mov dword [ebp - 0x261c], ecx
mov edx, str.HTTP_
mov ecx, eax
call fcn.0040d516
mov byte [ebp - 0x2615], 0
test al, al
jne 0x42bf64
mov byte [ebp - 0x2615], bl
mov dword [ebp - 4], 0x1b
test byte [ebp - 0x2614], 0x20
je 0x42bf7c
lea ecx, [ebp - 0x5c]
call fcn.00402286
cmp byte [ebp - 0x2615], 0
je 0x42c0a8
lea eax, [ebp - 0x263c]
push eax
lea ecx, [ebp - 0x2658]
mov dword [ebp - 0x263c], str.Invalid_response
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [ebp - method.std::logic_error.virtual_0], vtable.std::runtime_error.0
push 0x45f4ac
lea eax, [ebp - 0x2658]
push eax
call sub.MSVCR110.dll__CxxThrowException
test esi, esi
je 0x42bc1f
cmp byte [ebp + 0x24], 0
je 0x42c05e
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2638]
call fcn.004060a0
push 0x10
pop ecx
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], ecx
jb 0x42bff0
mov eax, dword [eax]
mov ecx, dword [ebp - 0x262c]
push eax
mov eax, dword [ecx]
push str.Failed_to_find_an_endpoint:__s
call dword [eax + 0xc]
push eax
call fcn.00402357
add esp, 0xc
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
call fcn.00402286
mov edi, dword [ebp - 0x265c]
push 0x10
pop eax
cmp dword [edi + 0x14], eax
jb 0x42c028
mov ecx, dword [edi]
jmp 0x42c02a
mov ecx, edi
mov esi, dword [ebp - 0x263c]
cmp dword [esi + 0x14], eax
jb 0x42c039
mov eax, dword [esi]
jmp 0x42c03b
mov eax, esi
push ecx
mov ecx, dword [ebp - 0x262c]
push eax
push dword [ebp - 0x2628]
mov eax, dword [ecx]
push str.Trying_WinInet_for__s_http:___s_s
call dword [eax + 0xc]
push eax
call fcn.00402357
add esp, 0x14
jmp 0x42c06a
mov esi, dword [ebp - 0x263c]
mov edi, dword [ebp - 0x265c]
sub esp, 0x20
lea eax, [ebp + 0x28]
mov ecx, esp
push eax
call fcn.0042cc0a
mov edx, dword [ebp - 0x2628]
push ecx
push dword [ebp - 0x2648]
push dword [ebp - 0x2630]
push dword [ebp - 0x264c]
push dword [ebp - 0x2624]
push edi
push esi
call fcn.0042acd2
add esp, 0x3c
mov esi, eax
jmp 0x42c51e
mov cl, byte [ebp + 0x24]
test cl, cl
je 0x42c0f2
push 0x10
pop eax
cmp dword [edi + 0x14], eax
jb 0x42c0bb
mov ecx, dword [edi]
jmp 0x42c0bd
mov ecx, edi
cmp dword [esi + 0x14], eax
jb 0x42c0c6
mov eax, dword [esi]
jmp 0x42c0c8
mov eax, esi
push dword [ebp - 0x2644]
push ecx
mov ecx, dword [ebp - 0x262c]
push eax
push dword [ebp - 0x2628]
mov eax, dword [ecx]
push str._s_http:___s_s_status_code:_d
call dword [eax + 0xc]
push eax
call fcn.00402357
mov cl, byte [ebp + 0x24]
add esp, 0x18
mov eax, dword [ebp - 0x2644]
sub eax, 0xc8
je 0x42c1bb
sub eax, 0x68
je 0x42c1bb
test cl, cl
je 0x42c17d
push 0x10
pop ecx
cmp dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x262c]
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push dword [ebp - 0x2644]
mov eax, dword [ecx]
push str.Response_returned_with_bad_status_code__d:__s
call dword [eax + 0xc]
push eax
call fcn.00402357
add esp, 0x10
push 0x10
pop eax
cmp dword [edi + 0x14], eax
jb 0x42c14f
mov ecx, dword [edi]
jmp 0x42c151
mov ecx, edi
cmp dword [esi + 0x14], eax
jb 0x42c15a
mov eax, dword [esi]
jmp 0x42c15c
mov eax, esi
push ecx
mov ecx, dword [ebp - 0x262c]
push eax
push dword [ebp - 0x2628]
mov eax, dword [ecx]
push str.Trying_WinInet_for__s_http:___s_s
call dword [eax + 0xc]
push eax
call fcn.00402357
add esp, 0x14
sub esp, 0x20
lea eax, [ebp + 0x28]
mov ecx, esp
push eax
call fcn.0042cc0a
mov edx, dword [ebp - 0x2628]
push ecx
push dword [ebp - 0x2648]
push dword [ebp - 0x2630]
push dword [ebp - 0x264c]
push dword [ebp - 0x2624]
push edi
push esi
call fcn.0042acd2
add esp, 0x3c
mov esi, eax
jmp 0x42c4c5
push str._r_n_r_n
lea ecx, [ebp - 0xb8]
call fcn.0040221e
lea eax, [ebp - 0xb8]
push eax
lea edx, [ebp - 0x26d0]
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x1d
call fcn.0042e098
pop ecx
lea ecx, [ebp - 0xb8]
call fcn.00402286
mov eax, dword [ebp - 0x2630]
xor ecx, ecx
push 0x10
pop edx
mov esi, ecx
mov dword [ebp - 0x2624], esi
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], edx
jb 0x42c210
mov eax, dword [eax]
mov byte [eax], cl
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x2780]
mov byte [ebp - 4], 0x1e
call fcn.004216d5
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 4]
add ecx, eax
pop eax
test byte [ecx + 0xc], 6
cmovne ecx, eax
test ecx, ecx
je 0x42c3c1
mov ebx, dword [ebp - 0x262c]
push 0x4591a0
call fcn.004010d9
pop ecx
push eax
push 0x4591a0
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00404787
test eax, eax
je 0x42c3b8
push 0x10
pop eax
cmp dword [ebp - 0x14], eax
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add esi, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
cmp edi, esi
je 0x42c2bd
sub edx, edi
mov dword [ebp - 0x263c], edx
mov ebx, edx
movsx eax, byte [edi]
push eax
call dword [sym.imp.MSVCR110.dll_tolower]
mov byte [edi + ebx], al
inc edi
pop ecx
cmp edi, esi
jne 0x42c2a4
mov ebx, dword [ebp - 0x262c]
push 0x10
pop ecx
cmp dword [0x46cb1c], ecx
push dword [0x46cb18]
mov eax, 0x46cb08
cmovae eax, dword [0x46cb08]
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.0041039e
test eax, eax
jne 0x42c31f
push 0xffffffffffffffff
push dword [0x46cb18]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004101bf
push 0x10
pop ecx
cmp dword [eax + 0x14], ecx
jb 0x42c305
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR110.dll_atoi]
pop ecx
mov esi, eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2624], esi
call fcn.00402286
jmp 0x42c382
push 0x10
pop ecx
cmp dword [0x46cb34], ecx
push dword [0x46cb30]
mov eax, 0x46cb20
cmovae eax, dword [0x46cb20]
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.0041039e
test eax, eax
jne 0x42c37c
mov ecx, dword [0x46cb30]
mov eax, dword [ebp - 0x18]
sub eax, ecx
sub eax, 3
push eax
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004101bf
mov ecx, dword [ebp - 0x2630]
push eax
call fcn.0040224d
lea ecx, [ebp - 0x5c]
call fcn.00402286
mov esi, dword [ebp - 0x2624]
cmp byte [ebp + 0x20], 0
jne 0x42c38f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x2780]
call fcn.004216d5
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 4]
add ecx, eax
pop eax
test byte [ecx + 0xc], 6
cmovne ecx, eax
test ecx, ecx
jne 0x42c250
jmp 0x42c3be
mov esi, dword [ebp - 0x2624]
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x2644], 0x130
je 0x42c4ad
mov eax, dword [ebp - 0x26b0]
mov edi, dword [ebp - 0x2648]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x26b4]
sub ecx, dword [eax]
je 0x42c3f8
lea eax, [ebp - 0x26d0]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_streambuf_char__struct_std::char_traits_char____]
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_class_std::fpos_int____thiscall_std::basic_ostream_char__struct_std::char_traits_char__::tellp_void_]
mov ecx, dword [eax + 8]
add ecx, dword [eax]
push esi
push ecx
lea ecx, [ebp + 0x28]
call fcn.0042cc4d
jmp 0x42c450
lea eax, [ebp - 0x26d0]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_streambuf_char__struct_std::char_traits_char____]
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_class_std::fpos_int____thiscall_std::basic_ostream_char__struct_std::char_traits_char__::tellp_void_]
mov ecx, dword [eax + 8]
add ecx, dword [eax]
push esi
push ecx
lea ecx, [ebp + 0x28]
call fcn.0042cc4d
cmp byte [ebp + 0x20], 0
jne 0x42c450
mov ecx, dword [ebp - 0x262c]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea eax, [ebp - 0x2638]
push eax
push ebx
lea edx, [ebp - 0x26d0]
lea ecx, [ebp - 0x100]
call fcn.0042e0de
pop ecx
pop ecx
test eax, eax
jne 0x42c415
call fcn.004282f4
cmp dword [ebp - 0x2634], eax
jne 0x42c487
push 2
pop eax
cmp dword [ebp - 0x2638], eax
je 0x42c4b7
push str.Failed_to_read_response
push dword [ebp - 0x2634]
lea ecx, [ebp - 0x70]
push dword [ebp - 0x2638]
call fcn.004060be
push 0x45fe28
lea eax, [ebp - 0x70]
jmp 0x42bfbb
push ebx
push ebx
lea ecx, [ebp + 0x28]
call fcn.0042cc4d
mov esi, dword [ebp - 0x2644]
lea ecx, [ebp - 0x28]
call fcn.00402286
lea ecx, [ebp - 0x88]
call fcn.00402286
lea ecx, [ebp - 0x40]
call fcn.00402286
lea ecx, [ebp - 0x2780]
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea ecx, [ebp - 0x2694]
call fcn.00412873
lea ecx, [ebp - 0x26d0]
call dword [sym.imp.MSVCP110.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x2720]
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea ecx, [ebp - 0x278c]
call fcn.00412873
lea ecx, [ebp - 0x27c8]
call dword [sym.imp.MSVCP110.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
push 0x10
pop eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x2668]
test ecx, ecx
je 0x42c533
call fcn.004281a3
lea ecx, [ebp - 0x118]
call fcn.00402286
lea ecx, [ebp - 0x130]
call fcn.00402286
lea ecx, [ebp - 0x184]
call fcn.00402286
lea ecx, [ebp - 0xa0]
call fcn.00402286
push 2
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2650]
test eax, eax
je 0x42c576
mov ecx, eax
call fcn.004281a3
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], bl
call fcn.0042d250
lea ecx, [ebp - 0x2678]
mov byte [ebp - 4], 0
call fcn.00428e72
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.0040c96e
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00440d0e
leave
ret