Function at 0x402610
Capabilities:
Create http request
Get http content length
Hide graphical window

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 0x40988e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d8
mov eax, dword [0x40e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1ac], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], 0
call fcn.00401da0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1c4], ecx
cmp eax, ecx
jne 0x4026a0
mov edi, 1
jmp 0x4036d3
cmp dword [eax + 0x14], 0xf
mov esi, eax
mov dword [ebp - 0x1b4], eax
jbe 0x4026b6
mov esi, dword [eax]
mov dword [ebp - 0x1b4], esi
mov ecx, esi
mov dword [ebp - 0x78], 0
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4026d3
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x88]
call fcn.004075b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x88]
mov edi, dword [ebp - 0x74]
cmp edi, 0xf
mov esi, dword [ebp - 0x78]
cmova edx, dword [ebp - 0x88]
test esi, esi
je 0x40272e
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2f
je 0x40272a
nop dword [eax]
cmp ecx, edx
je 0x40272e
dec ecx
cmp byte [ecx], 0x2f
jne 0x402720
sub ecx, edx
jmp 0x402731
or ecx, 0xffffffff
lea edx, [ecx + 1]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xe8], xmm0
cmp esi, edx
jb 0x40387e
sub esi, edx
lea eax, [ebp - 0x88]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 0xf
push ecx
cmova eax, dword [ebp - 0x88]
lea ecx, [ebp - 0xe8]
add eax, edx
push eax
call fcn.004075b0
or dword [ebp - 0x1ac], 0x10
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xd0]
call fcn.00406930
mov byte [ebp - 4], 3
lea edx, [ebp - 0x88]
mov edi, dword [ebp - 0x74]
cmp edi, 0xf
mov esi, dword [ebp - 0x78]
cmova edx, dword [ebp - 0x88]
test esi, esi
je 0x4027df
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2f
je 0x4027db
cmp ecx, edx
je 0x4027df
dec ecx
cmp byte [ecx], 0x2f
jne 0x4027d1
sub ecx, edx
jmp 0x4027e2
or ecx, 0xffffffff
add ecx, 0xffffffdb
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xb8], xmm0
cmp esi, 0x25
jb 0x40387e
lea eax, [esi - 0x25]
cmp eax, ecx
cmovb ecx, eax
cmp edi, 0xf
lea eax, [ebp - 0x88]
cmova eax, dword [ebp - 0x88]
push ecx
add eax, 0x25
lea ecx, [ebp - 0xb8]
push eax
call fcn.004075b0
or dword [ebp - 0x1ac], 0x20
mov byte [ebp - 4], 4
lea esi, [ebp - 0xe8]
cmp dword [ebp - 0xd4], 0xf
mov edi, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xd8]
cmova esi, edi
mov dword [ebp - 0x1b0], edi
test eax, eax
je 0x402880
push eax
push 0x5f
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x402880
sub eax, esi
cmp eax, 0xffffffff
jne 0x402bd4
cmp dword [ebp - 0xa8], 0
je 0x402bd4
push 0xa8
lea eax, [ebp - 0x1a8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea eax, [ebp - 0xb8]
lea ecx, [ebp - 0x1a8]
push eax
call fcn.004051d0
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
push 0
push 0x40a359
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.004075b0
push 0x2f
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1a8]
call fcn.00407e80
mov edx, eax
add esp, 4
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
je 0x402a4d
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x402a1d
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x403879
cmp dword [ebp - 0x5c], 0xf
lea eax, [ebp - 0x70]
push 1
cmova eax, dword [ebp - 0x70]
push 0x40a3ec
push ecx
push eax
push ecx
push dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1dc]
call fcn.00407d90
or dword [ebp - 0x1ac], 8
mov byte [ebp - 4], 8
lea edx, [ebp - 0x1dc]
cmp dword [ebp - 0x1c8], 0xf
mov edi, dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x1c]
cmova edx, edi
mov esi, dword [ebp - 0x20]
sub eax, esi
mov ecx, dword [ebp - 0x1cc]
push ecx
push edx
cmp ecx, eax
ja 0x4029bf
cmp dword [ebp - 0x1c], 0xf
lea eax, [ecx + esi]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
add esi, eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x1cc]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x4029db
mov byte [ebp - 0x1c0], 0
push dword [ebp - 0x1c0]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00407880
mov edi, dword [ebp - 0x1dc]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c8]
cmp eax, 0xf
jbe 0x402a15
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x402a0b
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edi
call fcn.00408820
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.00402430
push 0x2f
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x1a8]
call fcn.00407e80
mov edx, eax
add esp, 4
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
jne 0x402921
mov edi, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x20]
mov eax, 0x7fffffff
mov esi, dword [ebp - 0xd8]
sub eax, edx
cmp eax, esi
jb 0x403879
cmp dword [ebp - 0x1c], 0xf
lea ecx, [ebp - 0x30]
push esi
cmova ecx, dword [ebp - 0x30]
lea eax, [ebp - 0xe8]
cmp dword [ebp - 0xd4], 0xf
cmova eax, edi
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1dc]
call fcn.00407d90
or dword [ebp - 0x1ac], 0x80
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xf
jbe 0x402ada
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402ad0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
movups xmm0, xmmword [ebp - 0x1dc]
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [ebp - 0x1cc]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
movq qword [ebp - 0xc0], xmm0
cmp ecx, 0xf
jbe 0x402b30
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402b26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp ecx, 0xf
jbe 0x402b7a
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402b70
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1a8]
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 - 0x1a8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x1ac], eax
lea ecx, [ebp - 0x198]
call fcn.00405120
lea ecx, [ebp - 0x190]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x148]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x1b0], eax
push 0
push 0
push 0
push 1
push str.Launcher_Tai_Game
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
je 0x402c50
push 0
push 0x84000000
push 0
push 0
push dword [ebp - 0x1b4]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
jne 0x402c16
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor esi, esi
jmp 0x402c50
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x40], 4
push eax
push 0x20000005
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x402c41
mov dword [ebp - 0x18], eax
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0xbc], 0xf
lea ecx, [ebp - 0xd0]
cmova ecx, dword [ebp - 0xd0]
call fcn.00401b90
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xa4]
cmp esi, eax
jne 0x402da3
cmp ecx, 0xf
jbe 0x402caf
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402ca5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xf
jbe 0x402ced
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402ce3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
cmp eax, 0xf
jbe 0x402d48
mov edx, dword [ebp - 0x1b0]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x402d3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x402d83
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402d79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov eax, dword [ebp - 0x1b8]
add eax, 0x30
mov dword [ebp - 0x1b8], eax
cmp eax, dword [ebp - 0x1c4]
jne 0x4026a0
jmp 0x4036cb
cmp ecx, 0xf
jbe 0x402dd7
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402dcd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xf
jbe 0x402e15
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402e0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
cmp eax, 0xf
jbe 0x402e6c
mov edx, dword [ebp - 0x1b0]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x402e62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x402ea9
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402e9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402e9f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00408820
add esp, 8
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0
push 0
push 0
push 0x74
push 0x217
push 1
call esi
sub eax, 0x74
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call esi
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
sub eax, 0x217
cdq
sub eax, edx
sar eax, 1
push eax
push 0x10800000
push 0x40a3f0
push str.STATIC
push 0
call esi
push 0
push 0
push 0
mov edi, eax
push edi
push 0xf
push 0x1f4
push 0x37
push 9
push 0x50000000
push 0
push str.msctls_progress32
push 0
mov dword [ebp - 0x1b4], edi
call esi
push 0
push 0
push 0
push edi
push 0xf
push 0x1f4
push 5
push 9
push 0x50000000
push 0x40a484
push str.STATIC
push 0
mov dword [ebp - 0x1e4], eax
call esi
push 0
push 0
push 0
push edi
push 0xf
push 0x1f4
push 0x1e
push 9
push 0x50000000
push 0x40a484
push str.STATIC
push 0
mov dword [ebp - 0x1c0], eax
call esi
push 5
push edi
mov dword [ebp - 0x1e0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1bc], ecx
cmp eax, ecx
je 0x4036c4
nop dword [eax]
cmp dword [eax + 0x14], 0xf
mov esi, eax
mov dword [ebp - 0x1ac], eax
jbe 0x402fb6
mov esi, dword [eax]
mov dword [ebp - 0x1ac], esi
mov ecx, esi
mov dword [ebp - 0x90], 0
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0xa0], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402fe0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xa0]
call fcn.004075b0
mov byte [ebp - 4], 9
lea edx, [ebp - 0xa0]
mov edi, dword [ebp - 0x8c]
cmp edi, 0xf
mov esi, dword [ebp - 0x90]
cmova edx, dword [ebp - 0xa0]
test esi, esi
je 0x40303e
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2f
je 0x40303a
nop dword [eax]
cmp ecx, edx
je 0x40303e
dec ecx
cmp byte [ecx], 0x2f
jne 0x403030
sub ecx, edx
jmp 0x403041
or ecx, 0xffffffff
lea edx, [ecx + 1]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x100], xmm0
cmp esi, edx
jb 0x40387e
sub esi, edx
lea eax, [ebp - 0xa0]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 0xf
push ecx
cmova eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x100]
add eax, edx
push eax
call fcn.004075b0
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x58]
call fcn.00406930
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0xa0]
mov edi, dword [ebp - 0x8c]
cmp edi, 0xf
mov esi, dword [ebp - 0x90]
cmova edx, dword [ebp - 0xa0]
test esi, esi
je 0x4030ee
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2f
je 0x4030ea
nop dword [eax]
cmp ecx, edx
je 0x4030ee
dec ecx
cmp byte [ecx], 0x2f
jne 0x4030e0
sub ecx, edx
jmp 0x4030f1
or ecx, 0xffffffff
add ecx, 0xffffffdb
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xb8], xmm0
cmp esi, 0x25
jb 0x40387e
lea eax, [esi - 0x25]
cmp eax, ecx
cmovb ecx, eax
cmp edi, 0xf
lea eax, [ebp - 0xa0]
cmova eax, dword [ebp - 0xa0]
push ecx
add eax, 0x25
lea ecx, [ebp - 0xb8]
push eax
call fcn.004075b0
mov byte [ebp - 4], 0xc
lea esi, [ebp - 0x100]
cmp dword [ebp - 0xec], 0xf
mov edi, dword [ebp - 0x100]
mov eax, dword [ebp - 0xf0]
cmova esi, edi
mov dword [ebp - 0x1b0], edi
test eax, eax
je 0x403188
push eax
push 0x5f
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x403188
sub eax, esi
cmp eax, 0xffffffff
jne 0x4034c6
cmp dword [ebp - 0xa8], 0
je 0x4034c6
push 0xa8
lea eax, [ebp - 0x1a8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea eax, [ebp - 0xb8]
lea ecx, [ebp - 0x1a8]
push eax
call fcn.004051d0
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x30]
push 0
push 0x40a359
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.004075b0
push 0x2f
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1a8]
call fcn.00407e80
mov edx, eax
add esp, 4
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
je 0x403355
nop dword [eax]
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x403325
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x403879
cmp dword [ebp - 0x5c], 0xf
lea eax, [ebp - 0x70]
push 1
cmova eax, dword [ebp - 0x70]
push 0x40a3ec
push ecx
push eax
push ecx
push dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1dc]
call fcn.00407d90
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x1dc]
cmp dword [ebp - 0x1c8], 0xf
mov edi, dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x1c]
cmova edx, edi
mov esi, dword [ebp - 0x20]
sub eax, esi
mov ecx, dword [ebp - 0x1cc]
push ecx
push edx
cmp ecx, eax
ja 0x4032c7
cmp dword [ebp - 0x1c], 0xf
lea eax, [ecx + esi]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
add esi, eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x1cc]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x4032e3
mov byte [ebp - 0x1c4], 0
push dword [ebp - 0x1c4]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00407880
mov edi, dword [ebp - 0x1dc]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x1c8]
cmp eax, 0xf
jbe 0x40331d
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x403313
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edi
call fcn.00408820
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.00402430
push 0x2f
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x1a8]
call fcn.00407e80
mov edx, eax
add esp, 4
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
jne 0x403230
mov edi, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x20]
mov eax, 0x7fffffff
mov esi, dword [ebp - 0xf0]
sub eax, edx
cmp eax, esi
jb 0x403879
cmp dword [ebp - 0x1c], 0xf
lea ecx, [ebp - 0x30]
push esi
cmova ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x100]
cmp dword [ebp - 0xec], 0xf
cmova eax, edi
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1dc]
call fcn.00407d90
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x4033d2
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4033c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
movups xmm0, xmmword [ebp - 0x1dc]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ebp - 0x1cc]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x1c]
movq qword [ebp - 0x48], xmm0
cmp ecx, 0xf
jbe 0x403422
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403418
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp ecx, 0xf
jbe 0x40346c
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403462
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x1a8]
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 - 0x1a8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x1ac], eax
lea ecx, [ebp - 0x198]
call fcn.00405120
lea ecx, [ebp - 0x190]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x148]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x1b0], eax
push 0
push 0
push 0
push 1
push str.Launcher_Tai_Game
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
je 0x403542
push 0
push 0x84000000
push 0
push 0
push dword [ebp - 0x1ac]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
jne 0x403508
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor esi, esi
jmp 0x403542
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x40], 4
push eax
push 0x20000005
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x403533
mov dword [ebp - 0x18], eax
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
cmova ecx, dword [ebp - 0x58]
call fcn.00401b90
cmp esi, eax
je 0x40359d
cmp dword [ebp - 0x44], 0xf
lea eax, [ebp - 0x58]
mov esi, dword [ebp - 0x1c0]
cmova eax, dword [ebp - 0x58]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [ebp - 0x1e0]
cmp dword [ebp - 0x44], 0xf
lea edx, [ebp - 0x58]
mov ecx, dword [ebp - 0x1ac]
cmova edx, dword [ebp - 0x58]
push esi
push dword [ebp - 0x1e4]
call fcn.00401240
add esp, 0xc
test al, al
je 0x40372f
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0xf
jbe 0x4035db
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4035d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x403613
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403609
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp eax, 0xf
jbe 0x403665
mov edx, dword [ebp - 0x1b0]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40365b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0xf
jbe 0x4036a3
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403699
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov eax, dword [ebp - 0x1b8]
add eax, 0x30
mov dword [ebp - 0x1b8], eax
cmp eax, dword [ebp - 0x1bc]
jne 0x402fa0
mov edi, dword [ebp - 0x1b4]
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
xor edi, edi
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
test eax, eax
je 0x403859
push ecx
mov edx, ecx
mov ecx, eax
call fcn.00407690
mov ecx, dword [ebp - 0x34]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x3c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 4
cmp ecx, 0x1000
jb 0x40384f
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40384f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0x10
push str.DEVELOPER___ANTIHACK___GAME
push 0x40a4c0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x1b4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0xf
jbe 0x403789
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40377f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x4037bd
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4037b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp eax, 0xf
jbe 0x40380b
mov edx, dword [ebp - 0x1b0]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x403801
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0xf
jbe 0x403845
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40383b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push ecx
push edx
call fcn.00408820
add esp, 8
mov edi, 1
jmp 0x4036cd
push ecx
push esi
call fcn.00408820
add esp, 8
mov eax, edi
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.004085e2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00401170
call fcn.00406fd0
int3