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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c0a3c
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 + 0x3d4]
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 + 0x3d0]
test esi, esi
je 0x519c46
mov ecx, dword [ebp + 0x3d4]
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 + 0x3d4]
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 + 0x3d0]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x3d4]
add edx, ecx
mov dword [ebp + 0x3d0], ebx
mov eax, edx
mov dword [ebp + 0x3d4], edx
add esp, 4
mov byte [eax + ebx], 0
mov eax, dword [ebp + 0x7c]
cmp eax, 2
jne 0x519d83
mov ecx, dword [ebp + 0x3c]
xor esi, esi
cmp ecx, esi
je 0x519ce9
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 0x519cdb
cmp ecx, esi
je 0x519ce6
mov edx, dword [ecx]
push 1
call dword [edx + 4]
jmp 0x519ce6
cmp ecx, esi
je 0x519ce6
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 0x519d0b
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x519d0d
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 0x519d63
mov eax, dword [eax + 0xa0]
push 0x162
push eax
call dword [edx + 0x4c]
push esi
push 5
mov ecx, ebp
call fcn.0050c150
mov dword [ebp + 0x7c], 3
jmp 0x51cae1
push 0x50
push str.web.travelsky.com
call dword [edx + 0x4c]
push esi
push 3
mov ecx, ebp
call fcn.0050c150
mov dword [ebp + 0x7c], 3
jmp 0x51cae1
cmp eax, 4
jne 0x519fc8
mov eax, dword [str.AlteonP]
mov ecx, dword [0x62fb80]
mov dl, byte [0x62fb84]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x3d0]
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 0x519de6
mov edx, dword [ebp + 0x3d0]
mov dword [ebp + 0x3d4], ebx
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x3d0], ebx
jmp 0x51cafe
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp + 0x170]
add esi, ecx
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x3c]
mov byte [ebp + 0x188], al
cmp ecx, ebx
je 0x519e54
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 0x519e46
cmp ecx, ebx
je 0x519e51
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x519e51
cmp ecx, ebx
je 0x519e51
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 0x519e7a
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x519e7c
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 0x519ec0
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 0x519ed2
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.0050c150
mov dword [ebp + 0x7c], 3
mov eax, dword [0x641030]
cmp eax, ebx
je 0x519f4d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x519f4d
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push ebx
push 0x62fb60
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x62fb60
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 2
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov dword [esp + 0x198], esi
call fcn.00459390
jmp 0x51cae1
cmp eax, 6
jne 0x51a289
mov eax, dword [0x62fb54]
mov ecx, dword [0x62fb58]
mov edx, dword [0x62fb5c]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x3d0]
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 0x51cafe
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
push 0x60cccc
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
je 0x51cafe
sub eax, esi
lea edi, [ebp + 0x1b0]
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 + 0x1b0], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x3d0]
lea eax, [esp + 0x50]
push eax
push ecx
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x51cafe
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
push 0x62fb20
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
je 0x51cafe
sub eax, esi
lea edi, [ebp + 0xf0]
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 + 0xf0], 0
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x51a110
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 0x51a0fe
test ecx, ecx
je 0x51a109
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x51a109
test ecx, ecx
je 0x51a109
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 0x51a136
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x51a138
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 0x51a17f
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 0x51a192
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.0050c150
mov eax, dword [0x641030]
test eax, eax
je 0x51a207
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51a207
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x62fb00
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x62fb00
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 6
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov dword [esp + 0x198], esi
call fcn.00459390
mov dword [ebp + 0x7c], ebx
jmp 0x51cae1
cmp eax, 8
jne 0x51a704
mov eax, dword [0x62fb54]
mov ecx, dword [0x62fb58]
mov edx, dword [0x62fb5c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x3d0]
lea eax, [esp + 0x30]
mov dword [esp + 0x38], edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
mov ecx, dword [ebp + 0x3d4]
add esp, 8
mov dword [esp + 0x24], ecx
add ecx, 0xfffffffc
xor esi, esi
test ecx, ecx
jle 0x51cae1
mov edi, dword [ebp + 0x3d0]
mov bl, 0xff
mov dl, 0x46
lea eax, [edi + 2]
cmp byte [eax - 2], bl
jne 0x51a31f
cmp byte [eax - 1], 0xd8
jne 0x51a31f
cmp byte [eax], bl
jne 0x51a31f
cmp byte [eax + 1], 0xe0
jne 0x51a31f
cmp byte [eax + 2], 0
jne 0x51a31f
cmp byte [eax + 3], 0x10
jne 0x51a31f
cmp byte [eax + 4], 0x4a
jne 0x51a31f
cmp byte [eax + 5], dl
jne 0x51a31f
cmp byte [eax + 6], 0x49
jne 0x51a31f
cmp byte [eax + 7], dl
je 0x51a32a
inc esi
inc eax
cmp esi, ecx
jl 0x51a2e8
jmp 0x51cae1
cmp esi, 5
jle 0x51a378
mov al, byte [edi + esi - 5]
cmp al, 0x61
movsx eax, al
jge 0x51a33f
sub eax, 0x30
jmp 0x51a342
sub eax, 0x57
mov cl, byte [edi + esi - 4]
cmp cl, 0x61
movsx edx, cl
jge 0x51a353
sub edx, 0x30
jmp 0x51a356
sub edx, 0x57
mov cl, byte [edi + esi - 3]
cmp cl, 0x61
movsx ecx, cl
jge 0x51a367
sub ecx, 0x30
jmp 0x51a36a
sub ecx, 0x57
shl eax, 4
add eax, edx
shl eax, 4
add eax, ecx
test eax, eax
jg 0x51a37d
mov eax, 0x7d0
mov ecx, dword [esp + 0x24]
sub ecx, esi
cmp ecx, eax
jge 0x51a4bd
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp + 0x3d4]
lea eax, [esp + 0x20]
push edx
mov ebx, 9
push 0x62fae8
push eax
mov dword [esp + 0x194], ebx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0xc
test eax, eax
je 0x51a42c
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51a42c
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x24]
call fcn.0041a850
mov edx, dword [ebp + 0x74]
push eax
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
lea ecx, [esp + 0x20]
call fcn.0041a850
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 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x198], bl
call fcn.00459390
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x51cafe
mov eax, dword [ebp + 0x3d8]
push eax
call sub.MFC42.DLL_operatordelete
mov ebx, dword [ebp + 0x3d4]
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 + 0x3d4]
mov ecx, dword [ebp + 0x3d0]
sub edx, esi
add ecx, esi
push edx
push ecx
push eax
mov dword [ebp + 0x3d8], eax
call fcn.004ecb80
mov eax, dword [ebp + 0x3d4]
mov edx, dword [ebp + 0x3d8]
sub eax, esi
add esp, 0x14
shl eax, 1
mov dword [ebp + 0x3dc], eax
lea ecx, [esp + 0x24]
mov byte [edx + eax], 0
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp + 0x3d4]
lea ecx, [esp + 0x24]
sub eax, esi
mov ebx, 0xd
push eax
push 0x62fad0
push ecx
mov dword [esp + 0x194], ebx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0xc
test eax, eax
je 0x51a5c2
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51a5c2
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x28]
call fcn.0041a850
mov edx, dword [ebp + 0x74]
push eax
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
lea ecx, [esp + 0x24]
call fcn.0041a850
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 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x198], bl
call fcn.00459390
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x51a68a
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 0x51a678
test ecx, ecx
je 0x51a683
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x51a683
test ecx, ecx
je 0x51a683
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 0x51a6ad
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x51a6af
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.0050c150
mov dword [ebp + 0x7c], 0xb
mov dword [esp + 0x188], 0xffffffff
lea ecx, [esp + 0x24]
jmp 0x51cadc
cmp eax, 0xc
jne 0x51b28f
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x51a75d
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 0x51a74b
test ecx, ecx
je 0x51a756
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x51a756
test ecx, ecx
je 0x51a756
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 + 0x3d0]
mov ecx, dword [ebp + 0x3d4]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
push str.s1_
mov byte [eax + ecx], 0
mov edx, dword [ebp + 0x3d0]
push edx
mov dword [esp + 0x190], 0x12
call ebx
add esp, 8
test eax, eax
je 0x51b196
push str.Ret
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x51af05
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 0x51aa2a
push str.Error
push esi
call ebx
mov esi, eax
push 0x60cccc
push esi
call ebx
add esp, 0x10
mov edx, eax
test esi, esi
je 0x51a960
test edx, edx
je 0x51a960
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.004ef340
mov eax, dword [0x641030]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 4
test eax, eax
je 0x51a8d6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51a8d6
add eax, 0x250
push eax
call ebx
push 0
lea ecx, [esp + 0x28]
call fcn.0041a850
push eax
mov eax, dword [ebp + 0x74]
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
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 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x198], 0x13
call fcn.00459390
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 0x12
call sub.MFC42.DLL_CString::CString
jmp 0x51afe7
mov eax, dword [0x641030]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x51a9cf
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51a9cf
add eax, 0x250
push eax
call ebx
mov eax, dword [ebp + 0x74]
push 0
push 0x62faa8
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
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 0x62faa8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x17
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x51afca
cmp al, 0x31
jne 0x51ae41
push str.VerifyCode
push esi
call ebx
mov esi, eax
push 0x60cccc
push esi
call ebx
add esp, 0x10
mov dword [esp + 0x24], eax
test esi, esi
je 0x51ad77
test eax, eax
je 0x51ad77
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.004ef340
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00518e10
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 0x60cccc
push esi
call ebx
add esp, 0x10
mov edx, eax
test esi, esi
je 0x51ac7d
test edx, edx
je 0x51ac7d
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.004ef340
mov eax, dword [0x641030]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 4
test eax, eax
je 0x51abf4
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51abf4
add eax, 0x250
push eax
call ebx
push 0
lea ecx, [esp + 0x28]
call fcn.0041a850
mov edx, dword [ebp + 0x74]
push eax
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x198], 0x1c
call fcn.00459390
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 0x1a
call sub.MFC42.DLL_CString::CString
jmp 0x51ad61
mov eax, dword [0x641030]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x51aced
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51aced
add eax, 0x250
push eax
call ebx
mov edx, dword [ebp + 0x74]
push 0
push 0x62fa84
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x62fa84
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x20
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x198], 0x1a
call fcn.00459390
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0x12
call sub.MFC42.DLL_CString::CString
jmp 0x51afe7
mov eax, dword [0x641030]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x51ade6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51ade6
add eax, 0x250
push eax
call ebx
mov eax, dword [ebp + 0x74]
push 0
push 0x62fa74
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
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 0x62fa74
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x23
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x51afca
mov eax, dword [0x641030]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x51aead
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51aead
add eax, 0x250
push eax
call ebx
mov edx, dword [ebp + 0x74]
push 0
push esi
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x6145d8
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 0x51afca
mov eax, dword [0x641030]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x51af74
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51af74
add eax, 0x250
push eax
call ebx
mov eax, dword [ebp + 0x74]
push 0
push 0x62fa64
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
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 0x62fa64
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x29
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x198], 0x12
call fcn.00459390
mov edi, dword [esp + 0x20]
mov eax, dword [edi - 8]
test eax, eax
jle 0x51b182
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x3b0]
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 0x51b03c
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x51b03e
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 0x51b083
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 0x51b096
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.0050c150
mov dword [ebp + 0x7c], 0xf
mov eax, dword [0x641030]
test eax, eax
je 0x51b10e
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51b10e
add eax, 0x250
push eax
call ebx
mov edx, dword [ebp + 0x74]
push 0
push 0x62fa48
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x62fa48
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x30
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x198], 0x12
call fcn.00459390
mov dword [esp + 0x188], 0xffffffff
lea ecx, [esp + 0x20]
jmp 0x51cadc
mov eax, dword [0x641030]
test eax, eax
je 0x51b203
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51b203
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x62fa34
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
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 0x62fa34
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x2c
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x198], 0x12
call fcn.00459390
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x51cafe
cmp eax, 0x10
jne 0x51bc06
mov ecx, dword [0x62fb54]
mov edx, dword [0x62fb58]
mov eax, dword [0x62fb5c]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x3d0]
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 0x51b4bc
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
push 0x60cccc
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
jne 0x51b3c4
mov eax, dword [0x641030]
test eax, eax
je 0x51b366
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51b366
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x62fa20
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
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 0x62fa20
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x33
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x51c592
sub eax, esi
cmp eax, 0x200
jl 0x51b49e
mov eax, dword [0x641030]
test eax, eax
je 0x51b43f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51b43f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x62fa0c
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x62fa0c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x36
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x51c592
mov ecx, eax
lea edi, [ebp + 0x1b0]
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 + 0x1b0], 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 + 0x3d0]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
je 0x51b5d9
mov dword [ebp + 0x7c], 0x17
mov eax, dword [0x641030]
test eax, eax
je 0x51b55a
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51b55a
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x62f9e4
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x62f9e4
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x39
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov dword [esp + 0x198], 0xffffffff
call fcn.00459390
jmp 0x51b8c4
push 0x62f9d4
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x20]
mov dword [esp + 0x188], 0x3c
push eax
call fcn.004ef270
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x3d0]
push ecx
push edx
call ebx
add esp, 0xc
test eax, eax
jne 0x51bb1a
mov eax, dword [ebp + 0x3d0]
push 0x62f9d4
push eax
call ebx
add esp, 8
test eax, eax
jne 0x51bb1a
push 0x62f9c0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
push ecx
call fcn.004ef270
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0x3d0]
push edx
push eax
call ebx
add esp, 0xc
test eax, eax
jne 0x51ba50
mov ecx, dword [ebp + 0x3d0]
push 0x62f9c0
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x51ba50
push 0x62f99c
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x20]
push edx
call fcn.004ef270
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x3d0]
push eax
push ecx
call ebx
add esp, 0xc
test eax, eax
jne 0x51b7bb
mov edx, dword [ebp + 0x3d0]
push 0x62f99c
push edx
call ebx
add esp, 8
test eax, eax
jne 0x51b7bb
mov eax, dword [0x641030]
test eax, eax
je 0x51b72f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51b72f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x62f98c
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
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 0x62f98c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x49
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x198], 0x3c
call fcn.00459390
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x51cafe
mov eax, dword [ebp + 0x7c]
cmp eax, 0x10
mov eax, dword [0x641030]
jne 0x51b98d
test eax, eax
je 0x51b835
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51b835
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x62f964
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x62f964
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x43
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x198], 0x3c
call fcn.00459390
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 0x51b914
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 0x51b902
test ecx, ecx
je 0x51b90d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x51b90d
test ecx, ecx
je 0x51b90d
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 0x51b93a
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x51b93c
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 0x51c28a
push 0x50
push str.web.travelsky.com
call dword [edx + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.0050c150
jmp 0x51cae1
test eax, eax
je 0x51b9f5
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51b9f5
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x62f954
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
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 0x62f954
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x46
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x51bbdd
mov eax, dword [0x641030]
test eax, eax
je 0x51babe
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51babe
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x62f934
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x62f934
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x40
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x51bbdd
mov eax, dword [0x641030]
test eax, eax
je 0x51bb87
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51bb87
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x62f91c
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
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 0x62f91c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x3d
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x198], 0x3c
call fcn.00459390
mov dword [ebp + 0x7c], 0x19
jmp 0x51b7a2
cmp eax, 0xa
jne 0x51bdb1
mov eax, dword [0x641030]
test eax, eax
je 0x51bc7d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51bc7d
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x62f904
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x62f904
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x4d
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
or esi, 0xffffffff
mov dword [esp + 0x198], esi
call fcn.00459390
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x51bd46
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 0x51bd34
test ecx, ecx
je 0x51bd3f
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x51bd3f
test ecx, ecx
je 0x51bd3f
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 0x51bd6c
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x51bd6e
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.0050c150
mov dword [ebp + 0x7c], 0xd
jmp 0x51cae1
cmp eax, 0xe
jne 0x51c374
mov ecx, dword [0x62fb54]
mov edx, dword [0x62fb58]
mov eax, dword [0x62fb5c]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x3d0]
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 0x51c0c8
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
push 0x60cccc
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
jne 0x51bee6
mov eax, dword [0x641030]
test eax, eax
je 0x51be88
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51be88
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x62f8f0
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
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 0x62f8f0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x51
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x51c592
mov ebx, eax
mov eax, dword [0x641030]
sub ebx, esi
cmp ebx, 0x200
jl 0x51bfc3
test eax, eax
je 0x51bf64
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51bf64
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x62f8dc
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x62f8dc
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x54
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x51c592
test eax, eax
je 0x51c02b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51c02b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x62f8c4
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
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 0x62f8c4
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x57
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov dword [esp + 0x198], 0xffffffff
call fcn.00459390
mov ecx, ebx
lea edi, [ebp + 0x1b0]
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 + 0x1b0], 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 + 0x3d0]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
je 0x51c2a9
mov dword [ebp + 0x7c], 0x17
mov eax, dword [0x641030]
test eax, eax
je 0x51c166
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51c166
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x62f8b0
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x62f8b0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x5a
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
or esi, 0xffffffff
mov dword [esp + 0x198], esi
call fcn.00459390
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x51c22f
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 0x51c21d
test ecx, ecx
je 0x51c228
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x51c228
test ecx, ecx
je 0x51c228
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 0x51c255
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x51c257
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 0x51b973
mov eax, dword [eax + 0xa0]
push 0x162
push eax
call dword [edx + 0x4c]
push 0
push 5
mov ecx, ebp
call fcn.0050c150
jmp 0x51cae1
mov eax, dword [0x641030]
test eax, eax
je 0x51c316
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51c316
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x62f89c
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
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 0x62f89c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x5d
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x51c592
cmp eax, 0x18
jne 0x51c46f
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x51c3cd
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 0x51c3bb
test ecx, ecx
je 0x51c3c6
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x51c3c6
test ecx, ecx
je 0x51c3c6
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 0x51c3f3
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x51c3f5
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 0x51c44e
mov eax, dword [eax + 0xa0]
push 0x162
push eax
call dword [edx + 0x4c]
push 0
push 5
mov ecx, ebp
call fcn.0050c150
mov dword [ebp + 0x7c], 0x11
jmp 0x51cae1
push 0x50
push str.web.travelsky.com
call dword [edx + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.0050c150
mov dword [ebp + 0x7c], 0x11
jmp 0x51cae1
cmp eax, 0x12
jne 0x51cae1
mov eax, dword [ebp + 0x3d0]
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 0x51cafe
mov edi, str.connectString_
or ecx, 0xffffffff
xor eax, eax
push 0x62f888
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
je 0x51cafe
sub eax, esi
cmp eax, 0x100
jl 0x51c5b7
mov eax, dword [0x641030]
test eax, eax
je 0x51c538
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51c538
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x62f874
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x62f874
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x62
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov dword [esp + 0x198], 0xffffffff
call fcn.00459390
jmp 0x51cafe
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.004ef5a0
mov eax, dword [esp + 0x3c]
add esp, 0x10
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x51c65c
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 0x51cafe
mov ecx, dword [ebp + 0x3d0]
push str._Pids___Pid_id_____
push ecx
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x51c69d
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 0x51cafe
mov edi, str._Pids___Pid_id_____
or ecx, 0xffffffff
xor eax, eax
push 0x60ccc0
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
jne 0x51c6e7
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 0x51cafe
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 0x51c81a
mov eax, dword [0x641030]
test eax, eax
je 0x51c77d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51c77d
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
push 0
push 0x62f874
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
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 0x62f874
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x67
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x198], 0x66
call fcn.00459390
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 0x51cafe
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 + 0xc20], eax
mov byte [ebp + 0x138], 0
call sub.MFC42.DLL_CString::operator
lea ebx, [ebp + 0x1b0]
lea edx, [ebp + 0x170]
push ebx
push edx
lea eax, [ebp + 0xc1c]
push str.AlteonP_s__JSESSIONID_s
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0x10
test eax, eax
je 0x51c956
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51c956
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push 0
push 0x62f818
push 0x6145d8
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 [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
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 0x62f818
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x6a
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6145d8
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 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x198], 0x66
call fcn.00459390
mov ecx, dword [ebp + 0x3c]
xor edi, edi
cmp ecx, edi
je 0x51ca14
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 0x51ca06
cmp ecx, edi
je 0x51ca11
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x51ca11
cmp ecx, edi
je 0x51ca11
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 0x51ca52
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 0x51cafe
lea esi, [ebp + 0xc18]
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 0x51caa8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x51caaa
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 + 0x3d0]
xor esi, esi
push ecx
mov dword [ebp + 0x3d4], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x3d0], esi
mov ecx, dword [esp + 0x180]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x17c
ret