Function at 0x401da0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408bb3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x518
mov eax, dword [0x40d040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x50c], eax
mov dword [ebp - 0x504], eax
mov dword [ebp - 0x528], eax
xorps xmm0, xmm0
mov dword [ebp - 0x508], 1
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
push 0
push 0
push 0
push 1
mov dword [ebp - 4], 0
push str.Launcher_Tai_Game
mov dword [ebp - 0x508], 1
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [ebp - 0x500], edi
test edi, edi
je 0x4023b2
push 0
push 0x80000000
push 0
push 0
push str.http:__mufptxua.com_Tai_Game_Link_Server1.dat
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
mov dword [ebp - 0x504], esi
test esi, esi
jne 0x401e84
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4023b2
xorps xmm0, xmm0
mov dword [ebp - 0x43c], 0
movups xmmword [ebp - 0x44c], xmm0
mov dword [ebp - 0x438], 0xf
mov byte [ebp - 0x44c], 0
lea eax, [ebp - 0x434]
mov dword [ebp - 4], 1
push eax
push 0x3ff
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401f9d
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x401f97
cmp eax, 0x400
jae 0x4023d6
lea edi, [ebp - 0x418]
mov byte [ebp + eax - 0x418], 0
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x401f00
mov edx, dword [ebp - 0x438]
sub edi, ecx
mov ecx, dword [ebp - 0x43c]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x401f55
lea eax, [ecx + edi]
cmp edx, 0xf
mov dword [ebp - 0x43c], eax
lea esi, [ebp - 0x44c]
cmova esi, dword [ebp - 0x44c]
lea eax, [ebp - 0x418]
add esi, ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x504]
jmp 0x401f75
lea eax, [ebp - 0x418]
mov byte [ebp - 0x4fc], 0
push eax
push dword [ebp - 0x4fc]
lea ecx, [ebp - 0x44c]
push edi
call fcn.00406cc0
lea eax, [ebp - 0x434]
push eax
push 0x3ff
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x401ed2
mov edi, dword [ebp - 0x500]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push 0xa8
lea eax, [ebp - 0x4f8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea eax, [ebp - 0x44c]
lea ecx, [ebp - 0x4f8]
push eax
call fcn.00404990
xorps xmm0, xmm0
mov dword [ebp - 0x420], 0
movups xmmword [ebp - 0x430], xmm0
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4f8]
lea ecx, [ebp - 0x4f8]
push 0xa
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
lea edx, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x4f8]
call fcn.004072c0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
je 0x4022d7
cmp dword [ebp - 0x41c], 0xf
lea eax, [ebp - 0x430]
mov ecx, dword [ebp - 0x420]
lea edi, [ebp - 0x430]
cmova eax, dword [ebp - 0x430]
lea esi, [ebp - 0x430]
mov edx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
add eax, ecx
cmp dword [ebp - 0x41c], 0xf
mov dword [ebp - 0x500], ecx
cmova edi, dword [ebp - 0x430]
add edi, ecx
mov dword [ebp - 0x4fc], eax
cmp dword [ebp - 0x41c], 0xf
mov dword [ebp - 0x504], edi
cmova esi, dword [ebp - 0x430]
cmp esi, edi
je 0x40210d
movsx eax, byte [esi]
push eax
call edx
add esp, 4
test eax, eax
jne 0x4020b8
mov edx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
inc esi
cmp esi, edi
jne 0x4020a0
mov ecx, dword [ebp - 0x420]
mov edx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
mov dword [ebp - 0x500], ecx
cmp esi, edi
je 0x40210d
lea edi, [esi + 1]
cmp edi, dword [ebp - 0x504]
je 0x40210d
nop dword [eax]
movsx eax, byte [edi]
push eax
call edx
add esp, 4
test eax, eax
jne 0x4020f2
mov al, byte [edi]
mov byte [esi], al
inc esi
mov edx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
inc edi
cmp edi, dword [ebp - 0x504]
jne 0x4020e0
mov ecx, dword [ebp - 0x420]
mov dword [ebp - 0x500], ecx
cmp dword [ebp - 0x41c], 0xf
lea eax, [ebp - 0x430]
mov edx, esi
cmova eax, dword [ebp - 0x430]
sub dword [ebp - 0x4fc], esi
sub edx, eax
mov esi, dword [ebp - 0x500]
mov eax, esi
mov ecx, dword [ebp - 0x4fc]
sub eax, edx
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x41c], 0xf
mov dword [ebp - 0x4fc], ecx
lea ecx, [ebp - 0x430]
cmova ecx, dword [ebp - 0x430]
mov edi, dword [ebp - 0x4fc]
add ecx, edx
sub esi, edi
mov eax, esi
sub eax, edx
inc eax
push eax
lea eax, [ecx + edi]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [ebp - 0x420], esi
test esi, esi
je 0x401ffa
mov edi, dword [ebp - 0x41c]
lea edx, [ebp - 0x430]
cmp edi, 0xf
lea eax, [esi - 1]
cmova edx, dword [ebp - 0x430]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2f
je 0x4021be
nop dword [eax]
cmp ecx, edx
je 0x402272
dec ecx
cmp byte [ecx], 0x2f
jne 0x4021b0
sub ecx, edx
lea edx, [ecx + 1]
mov dword [ebp - 0x514], 0
mov dword [ebp - 0x510], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x524], xmm0
cmp esi, edx
jb 0x4023db
sub esi, edx
lea eax, [ebp - 0x430]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 0xf
push ecx
cmova eax, dword [ebp - 0x430]
lea ecx, [ebp - 0x524]
add eax, edx
push eax
call fcn.004069f0
or dword [ebp - 0x508], 2
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x50c]
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
je 0x40227a
lea eax, [ebp - 0x430]
mov ecx, esi
push eax
call fcn.00405e30
movups xmm0, xmmword [ebp - 0x524]
mov dword [esi + 0x28], 0
mov ecx, 0xf
mov dword [esi + 0x2c], 0
movups xmmword [esi + 0x18], xmm0
mov byte [ebp - 0x524], 0
movq xmm0, qword [ebp - 0x514]
movq qword [esi + 0x28], xmm0
add dword [edi + 4], 0x30
jmp 0x402296
or ecx, 0xffffffff
jmp 0x4021c0
lea eax, [ebp - 0x524]
mov ecx, edi
push eax
lea eax, [ebp - 0x430]
push eax
push esi
call fcn.00407470
mov ecx, dword [ebp - 0x510]
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x401ffa
mov edx, dword [ebp - 0x524]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4022c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4023a2
push ecx
push edx
call fcn.00407c60
add esp, 8
jmp 0x401ffa
mov ecx, dword [ebp - 0x41c]
cmp ecx, 0xf
jbe 0x402311
mov edx, dword [ebp - 0x430]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402307
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4023a2
push ecx
push edx
call fcn.00407c60
add esp, 8
mov eax, dword [ebp - 0x4f8]
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x4f8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x4fc], eax
lea ecx, [ebp - 0x4e8]
call fcn.004048e0
lea ecx, [ebp - 0x4e0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x498]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x438]
cmp ecx, 0xf
jbe 0x4023b2
mov edx, dword [ebp - 0x44c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4023a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4023a8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00407c60
add esp, 8
mov eax, dword [ebp - 0x50c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00407a22
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00407b53
call fcn.004064d0
int3