Function at 0x516120
Capabilities:
Encode data using base64
Parse pe header

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bba9c
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x48]
mov byte [eax + ecx], 0
mov edx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x3d0]
lea ecx, [edx + eax + 1]
push ecx
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov byte [ebx], 0
mov esi, dword [ebp + 0x3cc]
test esi, esi
je 0x516186
mov ecx, dword [ebp + 0x3d0]
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x3d0]
mov ecx, dword [ebp + 0x44]
mov esi, dword [ebp + 0x48]
mov edi, ebx
add edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x3cc]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x3d0]
add edx, ecx
mov dword [ebp + 0x3cc], ebx
mov eax, edx
mov dword [ebp + 0x3d0], edx
add esp, 4
mov byte [eax + ebx], 0
mov eax, dword [ebp + 0x7c]
cmp eax, 2
jne 0x5162c3
mov ecx, dword [ebp + 0x3c]
xor esi, esi
cmp ecx, esi
je 0x516229
push esi
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x3c]
push 2
mov edx, dword [eax + 4]
push edx
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x3c]
cmp eax, 0x1bb
jne 0x51621b
cmp ecx, esi
je 0x516226
mov edx, dword [ecx]
push 1
call dword [edx + 4]
jmp 0x516226
cmp ecx, esi
je 0x516226
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [ebp + 0x3c], esi
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, esi
mov dword [esp + 0x188], esi
je 0x51624b
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x51624d
xor eax, eax
push esi
mov dword [ebp + 0x3c], eax
push 0x3f
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x3c]
push 1
push esi
mov dword [esp + 0x198], 0xffffffff
call sub.MFC42.DLL_CAsyncSocket::Create
mov eax, dword [ebp + 0x74]
mov cl, byte [eax + 0x9e]
test cl, cl
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
je 0x5162a3
mov eax, dword [eax + 0xa0]
push 0x162
push eax
call dword [edx + 0x4c]
push esi
push 5
mov ecx, ebp
call fcn.005087f0
mov dword [ebp + 0x7c], 3
jmp 0x519021
push 0x50
push str.web.travelsky.com
call dword [edx + 0x4c]
push esi
push 3
mov ecx, ebp
call fcn.005087f0
mov dword [ebp + 0x7c], 3
jmp 0x519021
cmp eax, 4
jne 0x516508
mov eax, dword [str.AlteonP]
mov ecx, dword [0x629788]
mov dl, byte [0x62978c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x3cc]
lea eax, [esp + 0x30]
mov byte [esp + 0x38], dl
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
jne 0x516326
mov edx, dword [ebp + 0x3cc]
mov dword [ebp + 0x3d0], ebx
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x3cc], ebx
jmp 0x51903e
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp + 0x16c]
add esi, ecx
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x3c]
mov byte [ebp + 0x184], al
cmp ecx, ebx
je 0x516394
push ebx
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x3c]
push 2
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x3c]
cmp eax, 0x1bb
jne 0x516386
cmp ecx, ebx
je 0x516391
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x516391
cmp ecx, ebx
je 0x516391
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x3c], ebx
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, ebx
mov dword [esp + 0x188], 1
je 0x5163ba
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x5163bc
xor eax, eax
push ebx
mov dword [ebp + 0x3c], eax
push 0x3f
or esi, 0xffffffff
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x3c]
push 1
push ebx
mov dword [esp + 0x198], esi
call sub.MFC42.DLL_CAsyncSocket::Create
mov eax, dword [ebp + 0x74]
mov cl, byte [eax + 0x9e]
test cl, cl
je 0x516400
mov ecx, dword [ebp + 0x3c]
mov eax, dword [eax + 0xa0]
push 0x162
push eax
mov edx, dword [ecx]
call dword [edx + 0x4c]
push ebx
push 5
jmp 0x516412
mov ecx, dword [ebp + 0x3c]
push 0x50
push str.web.travelsky.com
mov eax, dword [ecx]
call dword [eax + 0x4c]
push ebx
push 3
mov ecx, ebp
call fcn.005087f0
mov dword [ebp + 0x7c], 3
mov eax, dword [0x63ac20]
cmp eax, ebx
je 0x51648d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51648d
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push ebx
push 0x629768
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x629768
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 2
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x198], 3
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 4
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov dword [esp + 0x198], esi
call fcn.00458fc0
jmp 0x519021
cmp eax, 6
jne 0x5167c9
mov eax, dword [0x62975c]
mov ecx, dword [0x629760]
mov edx, dword [0x629764]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x3cc]
lea eax, [esp + 0x30]
push eax
push ecx
mov dword [esp + 0x40], edx
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x51903e
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
push 0x606ccc
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
je 0x51903e
sub eax, esi
lea edi, [ebp + 0x1ac]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0xc
mov esi, str.input_name_securitycode__type_hidden__value_
lea edi, [esp + 0x50]
mov byte [eax + ebp + 0x1ac], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x3cc]
lea eax, [esp + 0x50]
push eax
push ecx
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x51903e
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
push 0x629728
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
je 0x51903e
sub eax, esi
lea edi, [ebp + 0xec]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + ebp + 0xec], 0
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x516650
push 0
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x3c]
push 2
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x3c]
cmp eax, 0x1bb
jne 0x51663e
test ecx, ecx
je 0x516649
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x516649
test ecx, ecx
je 0x516649
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x3c], 0
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x188], 5
je 0x516676
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x516678
xor eax, eax
push 0
mov dword [ebp + 0x3c], eax
push 0x3f
or esi, 0xffffffff
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x3c]
push 1
push 0
mov dword [esp + 0x198], esi
call sub.MFC42.DLL_CAsyncSocket::Create
mov eax, dword [ebp + 0x74]
mov cl, byte [eax + 0x9e]
test cl, cl
je 0x5166bf
mov ecx, dword [ebp + 0x3c]
mov eax, dword [eax + 0xa0]
push 0x162
push eax
mov edx, dword [ecx]
call dword [edx + 0x4c]
push 0
push 5
jmp 0x5166d2
mov ecx, dword [ebp + 0x3c]
push 0x50
push str.web.travelsky.com
mov eax, dword [ecx]
call dword [eax + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.005087f0
mov eax, dword [0x63ac20]
test eax, eax
je 0x516747
mov cl, byte [eax + 0x40]
test cl, cl
je 0x516747
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x629708
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x629708
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 6
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ebx, 7
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x198], bl
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 8
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov dword [esp + 0x198], esi
call fcn.00458fc0
mov dword [ebp + 0x7c], ebx
jmp 0x519021
cmp eax, 8
jne 0x516c44
mov eax, dword [0x62975c]
mov ecx, dword [0x629760]
mov edx, dword [0x629764]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x3cc]
lea eax, [esp + 0x30]
mov dword [esp + 0x38], edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
mov ecx, dword [ebp + 0x3d0]
add esp, 8
mov dword [esp + 0x24], ecx
add ecx, 0xfffffffc
xor esi, esi
test ecx, ecx
jle 0x519021
mov edi, dword [ebp + 0x3cc]
mov bl, 0xff
mov dl, 0x46
lea eax, [edi + 2]
cmp byte [eax - 2], bl
jne 0x51685f
cmp byte [eax - 1], 0xd8
jne 0x51685f
cmp byte [eax], bl
jne 0x51685f
cmp byte [eax + 1], 0xe0
jne 0x51685f
cmp byte [eax + 2], 0
jne 0x51685f
cmp byte [eax + 3], 0x10
jne 0x51685f
cmp byte [eax + 4], 0x4a
jne 0x51685f
cmp byte [eax + 5], dl
jne 0x51685f
cmp byte [eax + 6], 0x49
jne 0x51685f
cmp byte [eax + 7], dl
je 0x51686a
inc esi
inc eax
cmp esi, ecx
jl 0x516828
jmp 0x519021
cmp esi, 5
jle 0x5168b8
mov al, byte [edi + esi - 5]
cmp al, 0x61
movsx eax, al
jge 0x51687f
sub eax, 0x30
jmp 0x516882
sub eax, 0x57
mov cl, byte [edi + esi - 4]
cmp cl, 0x61
movsx edx, cl
jge 0x516893
sub edx, 0x30
jmp 0x516896
sub edx, 0x57
mov cl, byte [edi + esi - 3]
cmp cl, 0x61
movsx ecx, cl
jge 0x5168a7
sub ecx, 0x30
jmp 0x5168aa
sub ecx, 0x57
shl eax, 4
add eax, edx
shl eax, 4
add eax, ecx
test eax, eax
jg 0x5168bd
mov eax, 0x7d0
mov ecx, dword [esp + 0x24]
sub ecx, esi
cmp ecx, eax
jge 0x5169fd
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp + 0x3d0]
lea eax, [esp + 0x20]
push edx
mov ebx, 9
push 0x6296f0
push eax
mov dword [esp + 0x194], ebx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0xc
test eax, eax
je 0x51696c
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51696c
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x24]
call fcn.0041a9a0
mov edx, dword [ebp + 0x74]
push eax
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
lea ecx, [esp + 0x20]
call fcn.0041a9a0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0xa
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x198], 0xb
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x198], bl
call fcn.00458fc0
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x51903e
mov eax, dword [ebp + 0x3d4]
push eax
call sub.MFC42.DLL_operatordelete
mov ebx, dword [ebp + 0x3d0]
mov eax, esi
neg eax
shl eax, 0x1f
sub eax, esi
add eax, ebx
lea ecx, [eax + eax + 2]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [ebp + 0x3d0]
mov ecx, dword [ebp + 0x3cc]
sub edx, esi
add ecx, esi
push edx
push ecx
push eax
mov dword [ebp + 0x3d4], eax
call fcn.004ebed0
mov eax, dword [ebp + 0x3d0]
mov edx, dword [ebp + 0x3d4]
sub eax, esi
add esp, 0x14
shl eax, 1
mov dword [ebp + 0x3d8], eax
lea ecx, [esp + 0x24]
mov byte [edx + eax], 0
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp + 0x3d0]
lea ecx, [esp + 0x24]
sub eax, esi
mov ebx, 0xd
push eax
push 0x6296d8
push ecx
mov dword [esp + 0x194], ebx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0xc
test eax, eax
je 0x516b02
mov cl, byte [eax + 0x40]
test cl, cl
je 0x516b02
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x28]
call fcn.0041a9a0
mov edx, dword [ebp + 0x74]
push eax
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
lea ecx, [esp + 0x24]
call fcn.0041a9a0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0xe
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x198], 0xf
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x198], bl
call fcn.00458fc0
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x516bca
push 0
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x3c]
push 2
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x3c]
cmp eax, 0x1bb
jne 0x516bb8
test ecx, ecx
je 0x516bc3
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x516bc3
test ecx, ecx
je 0x516bc3
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x3c], 0
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x188], 0x11
je 0x516bed
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x516bef
xor eax, eax
push 0
mov dword [ebp + 0x3c], eax
push 0x3f
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x3c]
push 1
push 0
mov byte [esp + 0x198], bl
call sub.MFC42.DLL_CAsyncSocket::Create
mov ecx, dword [ebp + 0x3c]
push 0x1f9b
push str.ts.fly160.com
mov eax, dword [ecx]
call dword [eax + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.005087f0
mov dword [ebp + 0x7c], 0xb
mov dword [esp + 0x188], 0xffffffff
lea ecx, [esp + 0x24]
jmp 0x51901c
cmp eax, 0xc
jne 0x5177cf
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x516c9d
push 0
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x3c]
push 2
mov ecx, dword [eax + 4]
push ecx
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x3c]
cmp eax, 0x1bb
jne 0x516c8b
test ecx, ecx
je 0x516c96
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x516c96
test ecx, ecx
je 0x516c96
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x3c], 0
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp + 0x3cc]
mov ecx, dword [ebp + 0x3d0]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
push str.s1_
mov byte [eax + ecx], 0
mov edx, dword [ebp + 0x3cc]
push edx
mov dword [esp + 0x190], 0x12
call ebx
add esp, 8
test eax, eax
je 0x5176d6
push str.Ret
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x517445
mov edi, str.Ret
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
mov al, byte [esi]
cmp al, 0x30
jne 0x516f6a
push str.Error
push esi
call ebx
mov esi, eax
push 0x606ccc
push esi
call ebx
add esp, 0x10
mov edx, eax
test esi, esi
je 0x516ea0
test edx, edx
je 0x516ea0
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x81]
mov byte [esp + 0x80], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, str.Error
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x80]
add esi, ecx
mov ecx, edx
sub ecx, esi
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_3
lea edx, [esp + 0x24]
mov byte [esp + 0x188], 0x13
push edx
call fcn.004ee690
mov eax, dword [0x63ac20]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 4
test eax, eax
je 0x516e16
mov cl, byte [eax + 0x40]
test cl, cl
je 0x516e16
add eax, 0x250
push eax
call ebx
push 0
lea ecx, [esp + 0x28]
call fcn.0041a9a0
push eax
mov eax, dword [ebp + 0x74]
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x190], 0x14
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x198], 0x15
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x16
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x198], 0x13
call fcn.00458fc0
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 0x12
call sub.MFC42.DLL_CString::CString
jmp 0x517527
mov eax, dword [0x63ac20]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x516f0f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x516f0f
add eax, 0x250
push eax
call ebx
mov eax, dword [ebp + 0x74]
push 0
push 0x6296b0
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x6296b0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x17
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x198], 0x18
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x19
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x51750a
cmp al, 0x31
jne 0x517381
push str.VerifyCode
push esi
call ebx
mov esi, eax
push 0x606ccc
push esi
call ebx
add esp, 0x10
mov dword [esp + 0x24], eax
test esi, esi
je 0x5172b7
test eax, eax
je 0x5172b7
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x81]
mov byte [esp + 0x80], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, str.VerifyCode
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x80]
add esi, ecx
mov ecx, dword [esp + 0x24]
sub ecx, esi
lea eax, [esp + 0x80]
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0x1a
push ecx
call fcn.004ee690
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00515350
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x18c], 0x1b
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x188], 0x1a
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
push str.Info
push ecx
call ebx
mov esi, eax
push 0x606ccc
push esi
call ebx
add esp, 0x10
mov edx, eax
test esi, esi
je 0x5171bd
test edx, edx
je 0x5171bd
mov edi, str.Info
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, edx
add esi, ecx
lea edi, [esp + 0x80]
sub eax, esi
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0x80], 0
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 0x1c
push ecx
call fcn.004ee690
mov eax, dword [0x63ac20]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 4
test eax, eax
je 0x517134
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517134
add eax, 0x250
push eax
call ebx
push 0
lea ecx, [esp + 0x28]
call fcn.0041a9a0
mov edx, dword [ebp + 0x74]
push eax
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x190], 0x1d
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x198], 0x1e
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x1f
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x198], 0x1c
call fcn.00458fc0
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 0x1a
call sub.MFC42.DLL_CString::CString
jmp 0x5172a1
mov eax, dword [0x63ac20]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x51722d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51722d
add eax, 0x250
push eax
call ebx
mov edx, dword [ebp + 0x74]
push 0
push 0x62968c
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x62968c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x20
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x198], 0x21
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x22
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x198], 0x1a
call fcn.00458fc0
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0x12
call sub.MFC42.DLL_CString::CString
jmp 0x517527
mov eax, dword [0x63ac20]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x517326
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517326
add eax, 0x250
push eax
call ebx
mov eax, dword [ebp + 0x74]
push 0
push 0x62967c
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x62967c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x23
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x198], 0x24
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x25
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x51750a
mov eax, dword [0x63ac20]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x5173ed
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5173ed
add eax, 0x250
push eax
call ebx
mov edx, dword [ebp + 0x74]
push 0
push esi
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x26
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x198], 0x27
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x28
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x51750a
mov eax, dword [0x63ac20]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x5174b4
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5174b4
add eax, 0x250
push eax
call ebx
mov eax, dword [ebp + 0x74]
push 0
push 0x62966c
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x62966c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x29
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x198], 0x2a
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x2b
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x198], 0x12
call fcn.00458fc0
mov edi, dword [esp + 0x20]
mov eax, dword [edi - 8]
test eax, eax
jle 0x5176c2
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x3ac]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x14
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x188], 0x2f
je 0x51757c
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x51757e
xor eax, eax
push 0
mov dword [ebp + 0x3c], eax
push 0x3f
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x3c]
push 1
push 0
mov byte [esp + 0x198], 0x12
call sub.MFC42.DLL_CAsyncSocket::Create
mov eax, dword [ebp + 0x74]
mov cl, byte [eax + 0x9e]
test cl, cl
je 0x5175c3
mov ecx, dword [ebp + 0x3c]
mov eax, dword [eax + 0xa0]
push 0x162
push eax
mov edx, dword [ecx]
call dword [edx + 0x4c]
push 0
push 5
jmp 0x5175d6
mov ecx, dword [ebp + 0x3c]
push 0x50
push str.web.travelsky.com
mov eax, dword [ecx]
call dword [eax + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.005087f0
mov dword [ebp + 0x7c], 0xf
mov eax, dword [0x63ac20]
test eax, eax
je 0x51764e
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51764e
add eax, 0x250
push eax
call ebx
mov edx, dword [ebp + 0x74]
push 0
push 0x629650
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x629650
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x30
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x198], 0x31
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x32
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x198], 0x12
call fcn.00458fc0
mov dword [esp + 0x188], 0xffffffff
lea ecx, [esp + 0x20]
jmp 0x51901c
mov eax, dword [0x63ac20]
test eax, eax
je 0x517743
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517743
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x62963c
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x62963c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x2c
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x198], 0x2d
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x2e
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x198], 0x12
call fcn.00458fc0
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x51903e
cmp eax, 0x10
jne 0x518146
mov ecx, dword [0x62975c]
mov edx, dword [0x629760]
mov eax, dword [0x629764]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x3cc]
lea ecx, [esp + 0x30]
push ecx
push edx
mov dword [esp + 0x40], eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x5179fc
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
push 0x606ccc
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
jne 0x517904
mov eax, dword [0x63ac20]
test eax, eax
je 0x5178a6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5178a6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x629628
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x629628
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x33
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x198], 0x34
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x35
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x518ad2
sub eax, esi
cmp eax, 0x200
jl 0x5179de
mov eax, dword [0x63ac20]
test eax, eax
je 0x51797f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51797f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x629614
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x629614
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x36
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x198], 0x37
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x38
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x518ad2
mov ecx, eax
lea edi, [ebp + 0x1ac]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + ebp + 0x1ac], 0
mov ecx, 6
mov esi, str.methodqueryEtermConfig
lea edi, [esp + 0x50]
lea eax, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x3cc]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
je 0x517b19
mov dword [ebp + 0x7c], 0x17
mov eax, dword [0x63ac20]
test eax, eax
je 0x517a9a
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517a9a
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x6295ec
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x6295ec
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x39
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x198], 0x3a
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x3b
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov dword [esp + 0x198], 0xffffffff
call fcn.00458fc0
jmp 0x517e04
push 0x6295dc
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x20]
mov dword [esp + 0x188], 0x3c
push eax
call fcn.004ee5c0
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x3cc]
push ecx
push edx
call ebx
add esp, 0xc
test eax, eax
jne 0x51805a
mov eax, dword [ebp + 0x3cc]
push 0x6295dc
push eax
call ebx
add esp, 8
test eax, eax
jne 0x51805a
push 0x6295c8
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
push ecx
call fcn.004ee5c0
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0x3cc]
push edx
push eax
call ebx
add esp, 0xc
test eax, eax
jne 0x517f90
mov ecx, dword [ebp + 0x3cc]
push 0x6295c8
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x517f90
push 0x6295a4
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x20]
push edx
call fcn.004ee5c0
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x3cc]
push eax
push ecx
call ebx
add esp, 0xc
test eax, eax
jne 0x517cfb
mov edx, dword [ebp + 0x3cc]
push 0x6295a4
push edx
call ebx
add esp, 8
test eax, eax
jne 0x517cfb
mov eax, dword [0x63ac20]
test eax, eax
je 0x517c6f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517c6f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x629594
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x629594
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x49
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x198], 0x4a
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x4b
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x198], 0x3c
call fcn.00458fc0
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x51903e
mov eax, dword [ebp + 0x7c]
cmp eax, 0x10
mov eax, dword [0x63ac20]
jne 0x517ecd
test eax, eax
je 0x517d75
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517d75
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x62956c
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x62956c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x43
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x198], 0x44
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x45
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x198], 0x3c
call fcn.00458fc0
lea ecx, [esp + 0x20]
mov dword [ebp + 0x7c], 9
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x517e54
push 0
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x3c]
push 2
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x3c]
cmp eax, 0x1bb
jne 0x517e42
test ecx, ecx
je 0x517e4d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x517e4d
test ecx, ecx
je 0x517e4d
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x3c], 0
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x188], 0x4c
je 0x517e7a
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x517e7c
xor eax, eax
push 0
mov dword [ebp + 0x3c], eax
push 0x3f
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x3c]
push 1
push 0
mov dword [esp + 0x198], 0xffffffff
call sub.MFC42.DLL_CAsyncSocket::Create
mov eax, dword [ebp + 0x74]
mov cl, byte [eax + 0x9e]
test cl, cl
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
jne 0x5187ca
push 0x50
push str.web.travelsky.com
call dword [edx + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.005087f0
jmp 0x519021
test eax, eax
je 0x517f35
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517f35
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x62955c
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x62955c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x46
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x198], 0x47
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x48
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x51811d
mov eax, dword [0x63ac20]
test eax, eax
je 0x517ffe
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517ffe
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x62953c
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x62953c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x40
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x198], 0x41
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x42
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x51811d
mov eax, dword [0x63ac20]
test eax, eax
je 0x5180c7
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5180c7
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x629524
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x629524
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x3d
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x198], 0x3e
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x3f
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x198], 0x3c
call fcn.00458fc0
mov dword [ebp + 0x7c], 0x19
jmp 0x517ce2
cmp eax, 0xa
jne 0x5182f1
mov eax, dword [0x63ac20]
test eax, eax
je 0x5181bd
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5181bd
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x62950c
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x62950c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x4d
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x198], 0x4e
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x4f
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
or esi, 0xffffffff
mov dword [esp + 0x198], esi
call fcn.00458fc0
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x518286
push 0
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x3c]
push 2
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x3c]
cmp eax, 0x1bb
jne 0x518274
test ecx, ecx
je 0x51827f
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x51827f
test ecx, ecx
je 0x51827f
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x3c], 0
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x188], 0x50
je 0x5182ac
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x5182ae
xor eax, eax
push 0
mov dword [ebp + 0x3c], eax
push 0x3f
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x3c]
push 1
push 0
mov dword [esp + 0x198], esi
call sub.MFC42.DLL_CAsyncSocket::Create
mov ecx, dword [ebp + 0x3c]
push 0x50
push str.web.travelsky.com
mov eax, dword [ecx]
call dword [eax + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.005087f0
mov dword [ebp + 0x7c], 0xd
jmp 0x519021
cmp eax, 0xe
jne 0x5188b4
mov ecx, dword [0x62975c]
mov edx, dword [0x629760]
mov eax, dword [0x629764]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x3cc]
lea ecx, [esp + 0x30]
push ecx
push edx
mov dword [esp + 0x40], eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x518608
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
push 0x606ccc
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
jne 0x518426
mov eax, dword [0x63ac20]
test eax, eax
je 0x5183c8
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5183c8
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x6294f8
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x6294f8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x51
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x198], 0x52
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x53
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x518ad2
mov ebx, eax
mov eax, dword [0x63ac20]
sub ebx, esi
cmp ebx, 0x200
jl 0x518503
test eax, eax
je 0x5184a4
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5184a4
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x6294e4
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x6294e4
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x54
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x198], 0x55
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x56
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x518ad2
test eax, eax
je 0x51856b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51856b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x6294cc
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x6294cc
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x57
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x198], 0x58
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x59
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov dword [esp + 0x198], 0xffffffff
call fcn.00458fc0
mov ecx, ebx
lea edi, [ebp + 0x1ac]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebx + ebp + 0x1ac], 0
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
mov ecx, 6
mov esi, str.methodqueryEtermConfig
lea edi, [esp + 0x50]
lea eax, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x3cc]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
je 0x5187e9
mov dword [ebp + 0x7c], 0x17
mov eax, dword [0x63ac20]
test eax, eax
je 0x5186a6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5186a6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x6294b8
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x6294b8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x5a
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x198], 0x5b
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x5c
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
or esi, 0xffffffff
mov dword [esp + 0x198], esi
call fcn.00458fc0
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x51876f
push 0
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x3c]
push 2
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x3c]
cmp eax, 0x1bb
jne 0x51875d
test ecx, ecx
je 0x518768
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x518768
test ecx, ecx
je 0x518768
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x3c], 0
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x188], 0x60
je 0x518795
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x518797
xor eax, eax
push 0
mov dword [ebp + 0x3c], eax
push 0x3f
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x3c]
push 1
push 0
mov dword [esp + 0x198], esi
call sub.MFC42.DLL_CAsyncSocket::Create
mov eax, dword [ebp + 0x74]
mov cl, byte [eax + 0x9e]
test cl, cl
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
je 0x517eb3
mov eax, dword [eax + 0xa0]
push 0x162
push eax
call dword [edx + 0x4c]
push 0
push 5
mov ecx, ebp
call fcn.005087f0
jmp 0x519021
mov eax, dword [0x63ac20]
test eax, eax
je 0x518856
mov cl, byte [eax + 0x40]
test cl, cl
je 0x518856
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x6294a4
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x6294a4
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x5d
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x198], 0x5e
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x5f
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x518ad2
cmp eax, 0x18
jne 0x5189af
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x51890d
push 0
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x3c]
push 2
mov ecx, dword [eax + 4]
push ecx
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x3c]
cmp eax, 0x1bb
jne 0x5188fb
test ecx, ecx
je 0x518906
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x518906
test ecx, ecx
je 0x518906
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x3c], 0
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x188], 0x61
je 0x518933
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x518935
xor eax, eax
push 0
mov dword [ebp + 0x3c], eax
push 0x3f
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x3c]
push 1
push 0
mov dword [esp + 0x198], 0xffffffff
call sub.MFC42.DLL_CAsyncSocket::Create
mov eax, dword [ebp + 0x74]
mov cl, byte [eax + 0x9e]
test cl, cl
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
je 0x51898e
mov eax, dword [eax + 0xa0]
push 0x162
push eax
call dword [edx + 0x4c]
push 0
push 5
mov ecx, ebp
call fcn.005087f0
mov dword [ebp + 0x7c], 0x11
jmp 0x519021
push 0x50
push str.web.travelsky.com
call dword [edx + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.005087f0
mov dword [ebp + 0x7c], 0x11
jmp 0x519021
cmp eax, 0x12
jne 0x519021
mov eax, dword [ebp + 0x3cc]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
push str.connectString_
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x51903e
mov edi, str.connectString_
or ecx, 0xffffffff
xor eax, eax
push 0x629490
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
je 0x51903e
sub eax, esi
cmp eax, 0x100
jl 0x518af7
mov eax, dword [0x63ac20]
test eax, eax
je 0x518a78
mov cl, byte [eax + 0x40]
test cl, cl
je 0x518a78
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x62947c
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x62947c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x62
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x198], 0x63
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x64
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov dword [esp + 0x198], 0xffffffff
call fcn.00458fc0
jmp 0x51903e
mov ecx, eax
lea edi, [esp + 0x80]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
mov byte [esp + eax + 0x80], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x28]
mov dword [esp + 0x188], 0x65
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x28]
lea ecx, [esp + 0x2c]
push eax
push ecx
lea edi, [esp + 0x88]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x88]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x190], 0x66
push ecx
push edx
call fcn.004ee8f0
mov eax, dword [esp + 0x3c]
add esp, 0x10
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x518b9c
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0x65
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x51903e
mov ecx, dword [ebp + 0x3cc]
push str._Pids___Pid_id_____
push ecx
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x518bdd
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0x65
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x51903e
mov edi, str._Pids___Pid_id_____
or ecx, 0xffffffff
xor eax, eax
push 0x606cc0
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
jne 0x518c27
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0x65
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x51903e
xor edx, edx
mov ecx, eax
mov dword [esp + 0x41], edx
sub ecx, esi
mov dword [esp + 0x45], edx
cmp ecx, 0x10
mov dword [esp + 0x49], edx
mov byte [esp + 0x40], 0
mov word [esp + 0x4d], dx
mov byte [esp + 0x4f], dl
jl 0x518d5a
mov eax, dword [0x63ac20]
test eax, eax
je 0x518cbd
mov cl, byte [eax + 0x40]
test cl, cl
je 0x518cbd
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x62947c
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x62947c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x67
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x198], 0x68
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x69
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x198], 0x66
call fcn.00458fc0
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0x65
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x51903e
mov edx, ecx
lea edi, [esp + 0x40]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x40]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x74]
add ecx, 0x4c
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x74]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp + 0x74]
lea edx, [esp + 0x28]
push edx
add ecx, 4
call sub.MFC42.DLL_CString::operator_1
mov edi, str.122.119.97.12
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.000C29
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x74]
mov esi, 0x1bb
add ecx, 0x8c
mov dword [ebp + 0x28], esi
call sub.MFC42.DLL_CString::operator
mov ecx, dword [ebp + 0x74]
mov byte [ecx + 0x96], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0x74]
push str.eterm_password
add ecx, 8
mov dword [ebp + 0xc1c], eax
mov byte [ebp + 0x134], 0
call sub.MFC42.DLL_CString::operator
lea ebx, [ebp + 0x1ac]
lea edx, [ebp + 0x16c]
push ebx
push edx
lea eax, [ebp + 0xc18]
push str.AlteonP_s__JSESSIONID_s
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0x10
test eax, eax
je 0x518e96
mov cl, byte [eax + 0x40]
test cl, cl
je 0x518e96
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x629420
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x629420
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x6a
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x198], 0x6b
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x198], 0x6c
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x198], 0x66
call fcn.00458fc0
mov ecx, dword [ebp + 0x3c]
xor edi, edi
cmp ecx, edi
je 0x518f54
push edi
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x3c]
push 2
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x3c]
cmp eax, esi
jne 0x518f46
cmp ecx, edi
je 0x518f51
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x518f51
cmp ecx, edi
je 0x518f51
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x3c], edi
mov dword [ebp + 0x7c], edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x20
jae 0x518f92
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0x65
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x51903e
lea esi, [ebp + 0xc14]
push ebx
mov ecx, esi
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x3c]
push 0x20
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, esi
mov byte [esp + 0x18c], 0x6d
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x188], 0x66
call sub.MFC42.DLL_CString::CString
mov ecx, esi
call sub.MFC42.DLL_CString::MakeUpper
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x518fe8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x518fea
xor eax, eax
mov eax, dword [eax + 0x20]
push 1
push ebp
push 0x402
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0x65
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x188], 0xffffffff
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 0x3cc]
xor esi, esi
push ecx
mov dword [ebp + 0x3d0], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x3cc], esi
mov ecx, dword [esp + 0x180]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x17c
ret