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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bb88c
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 0x515ed6
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 0x516013
mov ecx, dword [ebp + 0x3c]
xor esi, esi
cmp ecx, esi
je 0x515f79
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 0x515f6b
cmp ecx, esi
je 0x515f76
mov edx, dword [ecx]
push 1
call dword [edx + 4]
jmp 0x515f76
cmp ecx, esi
je 0x515f76
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 0x515f9b
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x515f9d
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 0x515ff3
mov eax, dword [eax + 0xa0]
push 0x162
push eax
call dword [edx + 0x4c]
push esi
push 5
mov ecx, ebp
call fcn.005087c0
mov dword [ebp + 0x7c], 3
jmp 0x518d71
push 0x50
push str.web.travelsky.com
call dword [edx + 0x4c]
push esi
push 3
mov ecx, ebp
call fcn.005087c0
mov dword [ebp + 0x7c], 3
jmp 0x518d71
cmp eax, 4
jne 0x516258
mov eax, dword [str.AlteonP]
mov ecx, dword [0x629770]
mov dl, byte [0x629774]
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 0x516076
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 0x518d8e
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 0x5160e4
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 0x5160d6
cmp ecx, ebx
je 0x5160e1
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x5160e1
cmp ecx, ebx
je 0x5160e1
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 0x51610a
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x51610c
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 0x516150
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 0x516162
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.005087c0
mov dword [ebp + 0x7c], 3
mov eax, dword [0x63ac10]
cmp eax, ebx
je 0x5161dd
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5161dd
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push ebx
push 0x629750
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x629750
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov dword [esp + 0x198], esi
call fcn.004590c0
jmp 0x518d71
cmp eax, 6
jne 0x516519
mov eax, dword [0x629744]
mov ecx, dword [0x629748]
mov edx, dword [0x62974c]
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 0x518d8e
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 0x518d8e
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 0x518d8e
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
push 0x629710
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
je 0x518d8e
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 0x5163a0
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 0x51638e
test ecx, ecx
je 0x516399
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x516399
test ecx, ecx
je 0x516399
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 0x5163c6
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x5163c8
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 0x51640f
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 0x516422
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.005087c0
mov eax, dword [0x63ac10]
test eax, eax
je 0x516497
mov cl, byte [eax + 0x40]
test cl, cl
je 0x516497
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x6296f0
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x6296f0
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov dword [esp + 0x198], esi
call fcn.004590c0
mov dword [ebp + 0x7c], ebx
jmp 0x518d71
cmp eax, 8
jne 0x516994
mov eax, dword [0x629744]
mov ecx, dword [0x629748]
mov edx, dword [0x62974c]
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 0x518d71
mov edi, dword [ebp + 0x3cc]
mov bl, 0xff
mov dl, 0x46
lea eax, [edi + 2]
cmp byte [eax - 2], bl
jne 0x5165af
cmp byte [eax - 1], 0xd8
jne 0x5165af
cmp byte [eax], bl
jne 0x5165af
cmp byte [eax + 1], 0xe0
jne 0x5165af
cmp byte [eax + 2], 0
jne 0x5165af
cmp byte [eax + 3], 0x10
jne 0x5165af
cmp byte [eax + 4], 0x4a
jne 0x5165af
cmp byte [eax + 5], dl
jne 0x5165af
cmp byte [eax + 6], 0x49
jne 0x5165af
cmp byte [eax + 7], dl
je 0x5165ba
inc esi
inc eax
cmp esi, ecx
jl 0x516578
jmp 0x518d71
cmp esi, 5
jle 0x516608
mov al, byte [edi + esi - 5]
cmp al, 0x61
movsx eax, al
jge 0x5165cf
sub eax, 0x30
jmp 0x5165d2
sub eax, 0x57
mov cl, byte [edi + esi - 4]
cmp cl, 0x61
movsx edx, cl
jge 0x5165e3
sub edx, 0x30
jmp 0x5165e6
sub edx, 0x57
mov cl, byte [edi + esi - 3]
cmp cl, 0x61
movsx ecx, cl
jge 0x5165f7
sub ecx, 0x30
jmp 0x5165fa
sub ecx, 0x57
shl eax, 4
add eax, edx
shl eax, 4
add eax, ecx
test eax, eax
jg 0x51660d
mov eax, 0x7d0
mov ecx, dword [esp + 0x24]
sub ecx, esi
cmp ecx, eax
jge 0x51674d
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 0x6296d8
push eax
mov dword [esp + 0x194], ebx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0xc
test eax, eax
je 0x5166bc
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5166bc
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x24]
call fcn.0041a990
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
lea ecx, [esp + 0x20]
call fcn.0041a990
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x198], bl
call fcn.004590c0
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x518d8e
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.004ebef0
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 0x6296c0
push ecx
mov dword [esp + 0x194], ebx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0xc
test eax, eax
je 0x516852
mov cl, byte [eax + 0x40]
test cl, cl
je 0x516852
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x28]
call fcn.0041a990
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
lea ecx, [esp + 0x24]
call fcn.0041a990
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x198], bl
call fcn.004590c0
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x51691a
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 0x516908
test ecx, ecx
je 0x516913
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x516913
test ecx, ecx
je 0x516913
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 0x51693d
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x51693f
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.005087c0
mov dword [ebp + 0x7c], 0xb
mov dword [esp + 0x188], 0xffffffff
lea ecx, [esp + 0x24]
jmp 0x518d6c
cmp eax, 0xc
jne 0x51751f
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x5169ed
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 0x5169db
test ecx, ecx
je 0x5169e6
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x5169e6
test ecx, ecx
je 0x5169e6
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 0x517426
push str.Ret
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x517195
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 0x516cba
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 0x516bf0
test edx, edx
je 0x516bf0
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.004ee6b0
mov eax, dword [0x63ac10]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 4
test eax, eax
je 0x516b66
mov cl, byte [eax + 0x40]
test cl, cl
je 0x516b66
add eax, 0x250
push eax
call ebx
push 0
lea ecx, [esp + 0x28]
call fcn.0041a990
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 [0x63ac10]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x198], 0x13
call fcn.004590c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 0x12
call sub.MFC42.DLL_CString::CString
jmp 0x517277
mov eax, dword [0x63ac10]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x516c5f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x516c5f
add eax, 0x250
push eax
call ebx
mov eax, dword [ebp + 0x74]
push 0
push 0x629698
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 [0x63ac10]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
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 0x629698
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 0x51725a
cmp al, 0x31
jne 0x5170d1
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 0x517007
test eax, eax
je 0x517007
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.004ee6b0
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.005150a0
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 0x516f0d
test edx, edx
je 0x516f0d
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.004ee6b0
mov eax, dword [0x63ac10]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 4
test eax, eax
je 0x516e84
mov cl, byte [eax + 0x40]
test cl, cl
je 0x516e84
add eax, 0x250
push eax
call ebx
push 0
lea ecx, [esp + 0x28]
call fcn.0041a990
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x198], 0x1c
call fcn.004590c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 0x1a
call sub.MFC42.DLL_CString::CString
jmp 0x516ff1
mov eax, dword [0x63ac10]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x516f7d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x516f7d
add eax, 0x250
push eax
call ebx
mov edx, dword [ebp + 0x74]
push 0
push 0x629674
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x629674
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x198], 0x1a
call fcn.004590c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0x12
call sub.MFC42.DLL_CString::CString
jmp 0x517277
mov eax, dword [0x63ac10]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x517076
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517076
add eax, 0x250
push eax
call ebx
mov eax, dword [ebp + 0x74]
push 0
push 0x629664
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 [0x63ac10]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
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 0x629664
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 0x51725a
mov eax, dword [0x63ac10]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x51713d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51713d
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x51725a
mov eax, dword [0x63ac10]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x517204
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517204
add eax, 0x250
push eax
call ebx
mov eax, dword [ebp + 0x74]
push 0
push 0x629654
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 [0x63ac10]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
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 0x629654
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x198], 0x12
call fcn.004590c0
mov edi, dword [esp + 0x20]
mov eax, dword [edi - 8]
test eax, eax
jle 0x517412
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 0x5172cc
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x5172ce
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 0x517313
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 0x517326
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.005087c0
mov dword [ebp + 0x7c], 0xf
mov eax, dword [0x63ac10]
test eax, eax
je 0x51739e
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51739e
add eax, 0x250
push eax
call ebx
mov edx, dword [ebp + 0x74]
push 0
push 0x629638
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x629638
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x198], 0x12
call fcn.004590c0
mov dword [esp + 0x188], 0xffffffff
lea ecx, [esp + 0x20]
jmp 0x518d6c
mov eax, dword [0x63ac10]
test eax, eax
je 0x517493
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517493
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x629624
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 [0x63ac10]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
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 0x629624
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x198], 0x12
call fcn.004590c0
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x518d8e
cmp eax, 0x10
jne 0x517e96
mov ecx, dword [0x629744]
mov edx, dword [0x629748]
mov eax, dword [0x62974c]
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 0x51774c
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 0x517654
mov eax, dword [0x63ac10]
test eax, eax
je 0x5175f6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5175f6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x629610
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 [0x63ac10]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
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 0x629610
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 0x518822
sub eax, esi
cmp eax, 0x200
jl 0x51772e
mov eax, dword [0x63ac10]
test eax, eax
je 0x5176cf
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5176cf
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x6295fc
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x6295fc
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 0x518822
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 0x517869
mov dword [ebp + 0x7c], 0x17
mov eax, dword [0x63ac10]
test eax, eax
je 0x5177ea
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5177ea
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x6295d4
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x6295d4
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov dword [esp + 0x198], 0xffffffff
call fcn.004590c0
jmp 0x517b54
push 0x6295c4
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x20]
mov dword [esp + 0x188], 0x3c
push eax
call fcn.004ee5e0
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x3cc]
push ecx
push edx
call ebx
add esp, 0xc
test eax, eax
jne 0x517daa
mov eax, dword [ebp + 0x3cc]
push 0x6295c4
push eax
call ebx
add esp, 8
test eax, eax
jne 0x517daa
push 0x6295b0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
push ecx
call fcn.004ee5e0
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0x3cc]
push edx
push eax
call ebx
add esp, 0xc
test eax, eax
jne 0x517ce0
mov ecx, dword [ebp + 0x3cc]
push 0x6295b0
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x517ce0
push 0x62958c
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x20]
push edx
call fcn.004ee5e0
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x3cc]
push eax
push ecx
call ebx
add esp, 0xc
test eax, eax
jne 0x517a4b
mov edx, dword [ebp + 0x3cc]
push 0x62958c
push edx
call ebx
add esp, 8
test eax, eax
jne 0x517a4b
mov eax, dword [0x63ac10]
test eax, eax
je 0x5179bf
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5179bf
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x62957c
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 [0x63ac10]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
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 0x62957c
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x198], 0x3c
call fcn.004590c0
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x518d8e
mov eax, dword [ebp + 0x7c]
cmp eax, 0x10
mov eax, dword [0x63ac10]
jne 0x517c1d
test eax, eax
je 0x517ac5
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517ac5
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x629554
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x629554
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x198], 0x3c
call fcn.004590c0
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 0x517ba4
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 0x517b92
test ecx, ecx
je 0x517b9d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x517b9d
test ecx, ecx
je 0x517b9d
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 0x517bca
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x517bcc
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 0x51851a
push 0x50
push str.web.travelsky.com
call dword [edx + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.005087c0
jmp 0x518d71
test eax, eax
je 0x517c85
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517c85
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x629544
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 [0x63ac10]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
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 0x629544
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 0x517e6d
mov eax, dword [0x63ac10]
test eax, eax
je 0x517d4e
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517d4e
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x629524
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x629524
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 0x517e6d
mov eax, dword [0x63ac10]
test eax, eax
je 0x517e17
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517e17
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x62950c
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 [0x63ac10]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
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 0x62950c
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x198], 0x3c
call fcn.004590c0
mov dword [ebp + 0x7c], 0x19
jmp 0x517a32
cmp eax, 0xa
jne 0x518041
mov eax, dword [0x63ac10]
test eax, eax
je 0x517f0d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x517f0d
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x6294f4
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x6294f4
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
or esi, 0xffffffff
mov dword [esp + 0x198], esi
call fcn.004590c0
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x517fd6
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 0x517fc4
test ecx, ecx
je 0x517fcf
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x517fcf
test ecx, ecx
je 0x517fcf
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 0x517ffc
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x517ffe
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.005087c0
mov dword [ebp + 0x7c], 0xd
jmp 0x518d71
cmp eax, 0xe
jne 0x518604
mov ecx, dword [0x629744]
mov edx, dword [0x629748]
mov eax, dword [0x62974c]
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 0x518358
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 0x518176
mov eax, dword [0x63ac10]
test eax, eax
je 0x518118
mov cl, byte [eax + 0x40]
test cl, cl
je 0x518118
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x6294e0
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 [0x63ac10]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
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 0x6294e0
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 0x518822
mov ebx, eax
mov eax, dword [0x63ac10]
sub ebx, esi
cmp ebx, 0x200
jl 0x518253
test eax, eax
je 0x5181f4
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5181f4
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x6294cc
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x6294cc
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 0x518822
test eax, eax
je 0x5182bb
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5182bb
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x6294b4
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 [0x63ac10]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
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 0x6294b4
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov dword [esp + 0x198], 0xffffffff
call fcn.004590c0
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 0x518539
mov dword [ebp + 0x7c], 0x17
mov eax, dword [0x63ac10]
test eax, eax
je 0x5183f6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5183f6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x6294a0
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x6294a0
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
or esi, 0xffffffff
mov dword [esp + 0x198], esi
call fcn.004590c0
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x5184bf
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 0x5184ad
test ecx, ecx
je 0x5184b8
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x5184b8
test ecx, ecx
je 0x5184b8
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 0x5184e5
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x5184e7
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 0x517c03
mov eax, dword [eax + 0xa0]
push 0x162
push eax
call dword [edx + 0x4c]
push 0
push 5
mov ecx, ebp
call fcn.005087c0
jmp 0x518d71
mov eax, dword [0x63ac10]
test eax, eax
je 0x5185a6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5185a6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x62948c
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 [0x63ac10]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
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 0x62948c
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 0x518822
cmp eax, 0x18
jne 0x5186ff
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x51865d
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 0x51864b
test ecx, ecx
je 0x518656
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x518656
test ecx, ecx
je 0x518656
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 0x518683
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x518685
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 0x5186de
mov eax, dword [eax + 0xa0]
push 0x162
push eax
call dword [edx + 0x4c]
push 0
push 5
mov ecx, ebp
call fcn.005087c0
mov dword [ebp + 0x7c], 0x11
jmp 0x518d71
push 0x50
push str.web.travelsky.com
call dword [edx + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.005087c0
mov dword [ebp + 0x7c], 0x11
jmp 0x518d71
cmp eax, 0x12
jne 0x518d71
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 0x518d8e
mov edi, str.connectString_
or ecx, 0xffffffff
xor eax, eax
push 0x629478
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
je 0x518d8e
sub eax, esi
cmp eax, 0x100
jl 0x518847
mov eax, dword [0x63ac10]
test eax, eax
je 0x5187c8
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5187c8
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x629464
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x629464
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov dword [esp + 0x198], 0xffffffff
call fcn.004590c0
jmp 0x518d8e
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.004ee910
mov eax, dword [esp + 0x3c]
add esp, 0x10
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5188ec
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 0x518d8e
mov ecx, dword [ebp + 0x3cc]
push str._Pids___Pid_id_____
push ecx
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x51892d
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 0x518d8e
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 0x518977
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 0x518d8e
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 0x518aaa
mov eax, dword [0x63ac10]
test eax, eax
je 0x518a0d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x518a0d
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x629464
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 [0x63ac10]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
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 0x629464
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x198], 0x66
call fcn.004590c0
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 0x518d8e
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 [0x63ac10]
add esp, 0x10
test eax, eax
je 0x518be6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x518be6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x629408
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 [0x63ac10]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x629408
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 0x6132c0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x198], 0x66
call fcn.004590c0
mov ecx, dword [ebp + 0x3c]
xor edi, edi
cmp ecx, edi
je 0x518ca4
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 0x518c96
cmp ecx, edi
je 0x518ca1
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x518ca1
cmp ecx, edi
je 0x518ca1
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 0x518ce2
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 0x518d8e
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 0x518d38
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x518d3a
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