Function at 0x41ae20
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457fcd
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x4ec560]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x300]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2d8], edi
mov dword [ebp - 0x30c], eax
mov dword [ebp - 4], 0
call fcn.00419310
mov byte [ebp - 4], 1
mov eax, 1
lock xadd dword [0x4ee52c], eax
inc eax
cmp eax, 1
jne 0x41aed2
lea eax, [ebp - 0x2c8]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, 0x4ee530
xchg dword [ecx], eax
jmp 0x41aed7
mov ecx, 0x4ee530
xor esi, esi
lock xadd dword [ecx], esi
test esi, esi
jne 0x41beb2
push 0x60
mov byte [ebp - 4], 2
call sub.mfc140.dll_Ordinal_1507
add esp, 4
mov dword [ebp - 0x2e4], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x41af15
push 0xffffffffffffffff
lea ecx, [ebp - 0x300]
push ecx
mov ecx, eax
call fcn.00419600
mov esi, eax
jmp 0x41af17
xor esi, esi
mov dword [ebp - 0x2e4], esi
mov ecx, dword [ebp - 0x300]
push esi
mov byte [ebp - 4], 4
call fcn.00417230
mov dword [ebp - 0x2f8], esi
mov ecx, dword [ebp - 0x300]
lea eax, [ebp - 0x300]
push eax
mov byte [ebp - 4], 5
call fcn.00418aa0
mov esi, eax
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x318], esi
mov dword [ebp - 0x310], 0
push dword [ebp - 0x2ec]
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 6
push 0
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0
call fcn.004170b0
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x310], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 7
push edi
lea ecx, [ebp - 0xa8]
movups xmmword [ebp - 0xc8], xmm0
movups xmmword [ebp - 0xb8], xmm0
call fcn.00404740
push dword [ebp - 0x2e0]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 8
call fcn.00404740
movaps xmm0, xmmword [0x465600]
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x2e8], 0
call fcn.0044b890
mov dword [ebp - 0x2e4], eax
mov ecx, esi
lea eax, [ebp - 0x2e8]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0041e5b0
cmp dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2f4], 2
jne 0x41bed4
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp - 0x338], ecx
mov dword [ebp - 0x344], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x340], esi
mov dword [ebp - 0x2e4], ecx
mov dword [ebp - 0x33c], ecx
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x34]
or edi, 0xffffffff
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x2f4], ecx
test ecx, ecx
je 0x41b0d3
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x41b0d3
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x2f4]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x41b0d3
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x300]
lea eax, [ebp - 0x300]
push eax
call fcn.00418ae0
mov ecx, eax
mov dword [ebp - 0xec], 2
xor edx, edx
mov dword [ebp - 0x2e0], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x10c], ecx
movups xmmword [ebp - 0xe4], xmm0
lea eax, [ecx + 0x28]
mov byte [ebp - 0xe8], dl
push eax
movq qword [ebp - 0xd4], xmm0
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xe4], 2
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0x108], 0xffffffff
mov byte [ebp - 0x104], dl
mov dword [ebp - 0x100], edx
mov dword [ebp - 0xfc], edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x2e0]
mov eax, dword [ecx + 0x40]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], 0
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x41b17c
lea edx, [ebp - 0x108]
mov dword [eax + 0x18], edx
lea eax, [ebp - 0x108]
mov dword [ecx + 0x40], eax
lea eax, [ecx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
sub esp, 0xc
mov byte [ebp - 4], 0xd
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x41b1af
lock inc dword [esi + 4]
mov ecx, dword [ebp - 0x338]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2e4]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004173a0
mov ecx, dword [ebp - 0x34]
add esp, 0x18
mov dword [ebp - 0x2e4], ecx
test ecx, ecx
je 0x41b204
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x41b204
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x2e4]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x41b204
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x2c9]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x4a4]
call fcn.00418c50
push 1
push 0
lea eax, [ebp - 0x4a4]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x45c]
call dword [sym.imp.MSVCP140.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_]
lea eax, [ebp - 0x45c]
mov byte [ebp - 4], 0xf
push str.GET
push eax
call fcn.00416530
mov edx, eax
add esp, 8
mov eax, dword [ebp - 0x2d0]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x41b25e
mov eax, dword [eax]
push ecx
push eax
push edx
call fcn.00416cf0
add esp, 0xc
push str._HTTP_1.0_r_n
push eax
call fcn.00416530
add esp, 8
lea eax, [ebp - 0x45c]
push str.Host:
push eax
call fcn.00416530
mov edx, eax
add esp, 8
mov eax, dword [ebp - 0x2d8]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x41b29e
mov eax, dword [eax]
push ecx
push eax
push edx
call fcn.00416cf0
add esp, 0xc
push 0x465420
push eax
call fcn.00416530
add esp, 8
lea eax, [ebp - 0x45c]
push str.Accept:___r_n
push eax
call fcn.00416530
add esp, 8
lea eax, [ebp - 0x45c]
push str.Connection:_close_r_n_r_n
push eax
call fcn.00416530
add esp, 8
mov dword [ebp - 0x2d4], 0
lea eax, [ebp - 0x4a4]
mov dword [ebp - 0x2d8], eax
call fcn.0044b890
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x2d4]
push 0
push eax
push dword [ebp - 0x2ec]
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00418b20
add esp, 0x14
cmp dword [ebp - 0x2d4], 0
jne 0x41bee5
lea eax, [ebp - 0x2c9]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x390]
call fcn.00418c50
push 2
push 0x465420
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.00406170
lea eax, [ebp - 0x390]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d4], 0
call fcn.0044b890
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004183c0
add esp, 0x10
cmp dword [ebp - 0x2d4], 0
jne 0x41bef6
mov edx, dword [ebp - 0x60]
mov byte [ebp - 4], 0x10
cmp edx, 0x10
jb 0x41b3f8
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b3ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b3ee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004385b2
add esp, 8
mov eax, dword [ebp - 0x370]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov ecx, dword [eax]
mov eax, dword [ebp - 0x374]
mov eax, dword [eax]
sub ecx, eax
mov dword [ebp - 0x2d4], eax
xor edx, edx
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x6c], eax
mov ecx, eax
lea eax, [ebp - 0x2cc]
mov dword [ebp - 0x64], eax
mov eax, dword [ecx]
add edx, dword [ecx + 4]
add ecx, 8
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x2cc]
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 0x68], ecx
cmp ecx, eax
jne 0x41b441
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x334]
push eax
call fcn.0041add0
movups xmm0, xmmword [ebp - 0x78]
mov ecx, dword [ebp - 0x2d8]
lea eax, [ebp - 0x2c9]
add esp, 8
push eax
sub esp, 0x1c
mov eax, esp
sub esp, 0x1c
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x334]
mov dword [eax + 0x18], ecx
mov ecx, esp
mov eax, dword [ebp - 0x31c]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x324]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
lea ecx, [ebp - 0x44]
call fcn.00416270
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x2d8], eax
test ecx, ecx
je 0x41b4ff
push ecx
push 0xa
push eax
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x41b4ff
sub eax, dword [ebp - 0x2d8]
jmp 0x41b502
or eax, 0xffffffff
lea ecx, [eax + 1]
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x34], ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x48], 0xf
cmovb ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x30], 0x10
push ecx
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
push eax
mov byte [ebp - 0x5c], 0
call fcn.00406170
mov eax, dword [ebp - 0x304]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2e0], 4
cmp eax, ecx
je 0x41b56a
mov ecx, eax
call fcn.00405e60
mov eax, dword [ebp - 0x304]
movups xmm0, xmmword [ebp - 0x5c]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [eax + 0x10], xmm0
jmp 0x41b5a0
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x41b5a0
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b596
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b596
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004385b2
add esp, 8
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 0x10
cmp edx, 0x10
jb 0x41b5da
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b5d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b5d0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004385b2
add esp, 8
push 1
push 0
lea eax, [ebp - 0x390]
push eax
lea ecx, [ebp - 0x40c]
call dword [sym.imp.MSVCP140.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_]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.00416370
add esp, 8
lea eax, [ebp - 0x308]
lea ecx, [ebp - 0x40c]
push eax
call dword [sym.imp.MSVCP140.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__]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov eax, dword [ebp - 0x40c]
lea ecx, [ebp - 0x40c]
push 0xa
mov byte [ebp - 4], 0x15
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.00417ec0
mov eax, dword [ebp - 0x40c]
add esp, 0xc
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x400], 6
jne 0x41b6dc
mov ecx, 5
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x34], ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], 0xf
cmovb ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x30], 0x10
push ecx
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
push eax
mov byte [ebp - 0x2c], 0
call fcn.00406170
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2e0], 0xd
push str.HTTP_
push eax
call fcn.00416780
add esp, 8
mov byte [ebp - 0x2c9], 0
test al, al
je 0x41b6e3
mov byte [ebp - 0x2c9], 1
test byte [ebp - 0x2e0], 1
je 0x41b722
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x41b722
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b718
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b718
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004385b2
add esp, 8
cmp byte [ebp - 0x2c9], 0
je 0x41b8e0
push str.Invalid_response_n
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00416530
mov edx, dword [ebp - 0x60]
add esp, 8
cmp edx, 0x10
jb 0x41b778
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b76e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b76e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004385b2
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x41b7ae
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b7a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b7a4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004385b2
add esp, 8
lea ecx, [ebp - 0x40c]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea ecx, [ebp - 0x390]
call fcn.00419ab0
lea ecx, [ebp - 0x45c]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea ecx, [ebp - 0x4a4]
call fcn.00419ab0
lea ecx, [ebp - 0x10c]
call fcn.00419850
test esi, esi
je 0x41b80a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41b80a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x41b80a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x41b843
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b839
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b839
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004385b2
add esp, 8
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x41b894
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b88a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b88a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004385b2
add esp, 8
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
call fcn.004197e0
lock xadd dword [0x4ee52c], edi
dec edi
jne 0x41b8cb
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [ebp - 0x300]
call fcn.00419fb0
mov eax, 1
jmp 0x41be96
cmp dword [ebp - 0x308], 0xc8
je 0x41b9c6
push str.Response_returned_with_status_code
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00416530
add esp, 8
mov ecx, eax
push dword [ebp - 0x308]
call dword [sym.imp.MSVCP140.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_]
push 0x465470
push eax
call fcn.00416530
add esp, 8
lea ecx, [ebp - 0x74]
call fcn.00404a90
lea ecx, [ebp - 0x44]
call fcn.00404a90
lea ecx, [ebp - 0x40c]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea ecx, [ebp - 0x390]
call fcn.00419ab0
lea ecx, [ebp - 0x45c]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea ecx, [ebp - 0x4a4]
call fcn.00419ab0
lea ecx, [ebp - 0x10c]
call fcn.00419850
test esi, esi
je 0x41b98b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41b98b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x41b98b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x41b843
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b839
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b839
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 4
push 0x465498
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00406170
lea eax, [ebp - 0x390]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d4], 0
call fcn.0044b890
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004183c0
add esp, 0x10
cmp dword [ebp - 0x2d4], 0
jne 0x41bf07
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x15
call fcn.00404a90
mov eax, dword [ebp - 0x370]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x374]
mov eax, dword [eax]
sub ecx, eax
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x334]
mov dword [ebp - 0x2d8], ecx
push eax
call fcn.0041add0
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x3ac]
push eax
call fcn.00417340
add esp, 0x10
lea ecx, [ebp - 0x2c9]
movups xmm0, xmmword [eax]
push ecx
sub esp, 0x1c
mov ecx, esp
sub esp, 0x1c
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x334]
mov dword [ecx + 0x18], eax
mov ecx, esp
mov eax, dword [ebp - 0x31c]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x324]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
lea ecx, [ebp - 0x2c]
call fcn.00416270
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 4
cmovae eax, dword [ebp - 0x2c]
push 0x465498
push 0
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x17
push eax
call fcn.00417140
add esp, 0x14
lea ecx, [ebp - 0x2c]
add eax, 2
push eax
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.0041f150
mov ecx, dword [ebp - 0x2ec]
push eax
call fcn.0040e890
lea ecx, [ebp - 0x5c]
call fcn.00404a90
lea ecx, [ebp - 0x2c]
call fcn.00404a90
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x18
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp - 0x40c]
lea ecx, [ebp - 0x40c]
push 0xa
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.00417ec0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x41bbae
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x1c], 1
jne 0x41bb50
movzx eax, byte [eax]
cmp al, 0xd
jne 0x41bba5
xor eax, eax
jmp 0x41bbaa
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41bb50
mov eax, dword [ebp - 0x370]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x374]
mov eax, dword [eax]
sub ecx, eax
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x334]
mov dword [ebp - 0x2ec], ecx
push eax
call fcn.0041add0
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x3ac]
push eax
call fcn.00417340
add esp, 0x10
lea ecx, [ebp - 0x2c9]
movups xmm0, xmmword [eax]
push ecx
sub esp, 0x1c
mov ecx, esp
sub esp, 0x1c
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x334]
mov dword [ecx + 0x18], eax
mov ecx, esp
mov eax, dword [ebp - 0x31c]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x324]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
lea ecx, [ebp - 0x5c]
call fcn.00416270
mov ecx, dword [ebp - 0x30c]
push eax
call fcn.0040e890
lea ecx, [ebp - 0x5c]
call fcn.00404a90
mov dword [ebp - 0x2dc], 0
call fcn.0044b890
mov dword [ebp - 0x2d8], eax
nop dword [eax]
lea eax, [ebp - 0x390]
mov dword [ebp - 0x2ec], eax
lea eax, [ebp - 0x2dc]
push 0
push eax
push 1
lea eax, [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00418260
add esp, 0x14
test eax, eax
je 0x41bd96
mov eax, dword [ebp - 0x370]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x374]
mov eax, dword [eax]
sub ecx, eax
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x3ac]
mov dword [ebp - 0x2d0], ecx
push eax
call fcn.0041d2c0
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x334]
push eax
call fcn.0041add0
mov esi, dword [ebp - 0x394]
lea ecx, [ebp - 0x5c]
add esp, 0x10
mov dword [ebp - 0x4c], 0
mov eax, esi
mov dword [ebp - 0x48], 0xf
sub eax, dword [ebp - 0x31c]
mov byte [ebp - 0x5c], 0
push eax
call fcn.00406310
push dword [ebp - 0x2ec]
movups xmm0, xmmword [ebp - 0x3ac]
mov ecx, dword [ebp - 0x31c]
sub esp, 0x1c
mov eax, esp
sub esp, 0x1c
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x39c]
movq qword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x334]
mov dword [eax + 0x18], esi
mov eax, esp
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x324]
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x18], ecx
lea ecx, [ebp - 0x5c]
call fcn.00416830
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x30c]
push eax
mov byte [ebp - 4], 0x19
call fcn.00406010
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x18
call fcn.00405e60
jmp 0x41bc70
call fcn.0040d680
mov ecx, dword [ebp - 0x2d8]
cmp ecx, eax
mov eax, dword [ebp - 0x2dc]
jne 0x41bf18
cmp eax, 2
jne 0x41bf18
lea ecx, [ebp - 0x2c]
call fcn.00404a90
lea ecx, [ebp - 0x74]
call fcn.00404a90
lea ecx, [ebp - 0x44]
call fcn.00404a90
lea ecx, [ebp - 0x40c]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea ecx, [ebp - 0x390]
call fcn.00419ab0
lea ecx, [ebp - 0x45c]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea ecx, [ebp - 0x4a4]
call fcn.00419ab0
lea ecx, [ebp - 0x10c]
call fcn.00419850
lea ecx, [ebp - 0x344]
call fcn.004199b0
lea ecx, [ebp - 0x90]
call fcn.00404a90
lea ecx, [ebp - 0xa8]
call fcn.00404a90
lea ecx, [ebp - 0x318]
call fcn.004197e0
lock xadd dword [0x4ee52c], edi
dec edi
jne 0x41be46
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [ebp - 0x300]
call fcn.00419fb0
xor eax, eax
jmp 0x41be96
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004385c0
mov esp, ebp
pop ebp
ret
call fcn.0044b890
mov dword [ebp - 0x2ec], eax
lea eax, [ebp - 0x2f0]
push str.winsock
push eax
mov dword [ebp - 0x2f0], esi
call fcn.0040d260
push str.resolve
lea eax, [ebp - 0x2e8]
push eax
call fcn.0040d260
push str.write
lea eax, [ebp - 0x2d4]
push eax
call fcn.0040d260
push str.read_until
lea eax, [ebp - 0x2d4]
push eax
call fcn.0040d260
push str.read_until
lea eax, [ebp - 0x2d4]
push eax
call fcn.0040d260
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.00419590
push 0x478980
lea eax, [ebp - 0x138]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3