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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b744c
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 + 0x40]
mov ecx, dword [ebp + 0x44]
mov byte [eax + ecx], 0
mov edx, dword [ebp + 0x40]
mov eax, dword [ebp + 0x3cc]
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 + 0x3c8]
test esi, esi
je 0x513a96
mov ecx, dword [ebp + 0x3cc]
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 + 0x3cc]
mov ecx, dword [ebp + 0x40]
mov esi, dword [ebp + 0x44]
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 + 0x3c8]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebp + 0x3cc]
add edx, ecx
mov dword [ebp + 0x3c8], ebx
mov eax, edx
mov dword [ebp + 0x3cc], edx
add esp, 4
mov byte [eax + ebx], 0
mov eax, dword [ebp + 0x78]
cmp eax, 2
jne 0x513bd3
mov ecx, dword [ebp + 0x38]
xor esi, esi
cmp ecx, esi
je 0x513b39
push esi
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x38]
push 2
mov edx, dword [eax + 4]
push edx
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x38]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x38]
cmp eax, 0x1bb
jne 0x513b2b
cmp ecx, esi
je 0x513b36
mov edx, dword [ecx]
push 1
call dword [edx + 4]
jmp 0x513b36
cmp ecx, esi
je 0x513b36
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [ebp + 0x38], 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 0x513b5b
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x513b5d
xor eax, eax
push esi
mov dword [ebp + 0x38], eax
push 0x3f
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x38]
push 1
push esi
mov dword [esp + 0x198], 0xffffffff
call sub.MFC42.DLL_CAsyncSocket::Create
mov eax, dword [ebp + 0x70]
mov cl, byte [eax + 0x9a]
test cl, cl
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx]
je 0x513bb3
mov eax, dword [eax + 0x9c]
push 0x162
push eax
call dword [edx + 0x4c]
push esi
push 5
mov ecx, ebp
call fcn.00506ff0
mov dword [ebp + 0x78], 3
jmp 0x516931
push 0x50
push str.web.travelsky.com
call dword [edx + 0x4c]
push esi
push 3
mov ecx, ebp
call fcn.00506ff0
mov dword [ebp + 0x78], 3
jmp 0x516931
cmp eax, 4
jne 0x513e18
mov eax, dword [str.AlteonP]
mov ecx, dword [0x624640]
mov dl, byte [0x624644]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x3c8]
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 0x513c36
mov edx, dword [ebp + 0x3c8]
mov dword [ebp + 0x3cc], ebx
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x3c8], ebx
jmp 0x51694e
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp + 0x168]
add esi, ecx
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x38]
mov byte [ebp + 0x180], al
cmp ecx, ebx
je 0x513ca4
push ebx
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x38]
push 2
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x38]
cmp eax, 0x1bb
jne 0x513c96
cmp ecx, ebx
je 0x513ca1
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x513ca1
cmp ecx, ebx
je 0x513ca1
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x38], 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 0x513cca
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x513ccc
xor eax, eax
push ebx
mov dword [ebp + 0x38], eax
push 0x3f
or esi, 0xffffffff
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x38]
push 1
push ebx
mov dword [esp + 0x198], esi
call sub.MFC42.DLL_CAsyncSocket::Create
mov eax, dword [ebp + 0x70]
mov cl, byte [eax + 0x9a]
test cl, cl
je 0x513d10
mov ecx, dword [ebp + 0x38]
mov eax, dword [eax + 0x9c]
push 0x162
push eax
mov edx, dword [ecx]
call dword [edx + 0x4c]
push ebx
push 5
jmp 0x513d22
mov ecx, dword [ebp + 0x38]
push 0x50
push str.web.travelsky.com
mov eax, dword [ecx]
call dword [eax + 0x4c]
push ebx
push 3
mov ecx, ebp
call fcn.00506ff0
mov dword [ebp + 0x78], 3
mov eax, dword [0x635490]
cmp eax, ebx
je 0x513d9d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x513d9d
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x70]
push ebx
push 0x624620
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x624620
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 2
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov dword [esp + 0x198], esi
call fcn.00458d40
jmp 0x516931
cmp eax, 6
jne 0x5140d9
mov eax, dword [0x624614]
mov ecx, dword [0x624618]
mov edx, dword [0x62461c]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x3c8]
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 0x51694e
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
push 0x601cb4
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
je 0x51694e
sub eax, esi
lea edi, [ebp + 0x1a8]
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 + 0x1a8], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x3c8]
lea eax, [esp + 0x50]
push eax
push ecx
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x51694e
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
push 0x6245e0
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
je 0x51694e
sub eax, esi
lea edi, [ebp + 0xe8]
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 + 0xe8], 0
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x513f60
push 0
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x38]
push 2
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x38]
cmp eax, 0x1bb
jne 0x513f4e
test ecx, ecx
je 0x513f59
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x513f59
test ecx, ecx
je 0x513f59
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x38], 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 0x513f86
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x513f88
xor eax, eax
push 0
mov dword [ebp + 0x38], eax
push 0x3f
or esi, 0xffffffff
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x38]
push 1
push 0
mov dword [esp + 0x198], esi
call sub.MFC42.DLL_CAsyncSocket::Create
mov eax, dword [ebp + 0x70]
mov cl, byte [eax + 0x9a]
test cl, cl
je 0x513fcf
mov ecx, dword [ebp + 0x38]
mov eax, dword [eax + 0x9c]
push 0x162
push eax
mov edx, dword [ecx]
call dword [edx + 0x4c]
push 0
push 5
jmp 0x513fe2
mov ecx, dword [ebp + 0x38]
push 0x50
push str.web.travelsky.com
mov eax, dword [ecx]
call dword [eax + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.00506ff0
mov eax, dword [0x635490]
test eax, eax
je 0x514057
mov cl, byte [eax + 0x40]
test cl, cl
je 0x514057
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x70]
push 0
push 0x6245c0
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x6245c0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 6
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov dword [esp + 0x198], esi
call fcn.00458d40
mov dword [ebp + 0x78], ebx
jmp 0x516931
cmp eax, 8
jne 0x514554
mov eax, dword [0x624614]
mov ecx, dword [0x624618]
mov edx, dword [0x62461c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x3c8]
lea eax, [esp + 0x30]
mov dword [esp + 0x38], edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
mov ecx, dword [ebp + 0x3cc]
add esp, 8
mov dword [esp + 0x24], ecx
add ecx, 0xfffffffc
xor esi, esi
test ecx, ecx
jle 0x516931
mov edi, dword [ebp + 0x3c8]
mov bl, 0xff
mov dl, 0x46
lea eax, [edi + 2]
cmp byte [eax - 2], bl
jne 0x51416f
cmp byte [eax - 1], 0xd8
jne 0x51416f
cmp byte [eax], bl
jne 0x51416f
cmp byte [eax + 1], 0xe0
jne 0x51416f
cmp byte [eax + 2], 0
jne 0x51416f
cmp byte [eax + 3], 0x10
jne 0x51416f
cmp byte [eax + 4], 0x4a
jne 0x51416f
cmp byte [eax + 5], dl
jne 0x51416f
cmp byte [eax + 6], 0x49
jne 0x51416f
cmp byte [eax + 7], dl
je 0x51417a
inc esi
inc eax
cmp esi, ecx
jl 0x514138
jmp 0x516931
cmp esi, 5
jle 0x5141c8
mov al, byte [edi + esi - 5]
cmp al, 0x61
movsx eax, al
jge 0x51418f
sub eax, 0x30
jmp 0x514192
sub eax, 0x57
mov cl, byte [edi + esi - 4]
cmp cl, 0x61
movsx edx, cl
jge 0x5141a3
sub edx, 0x30
jmp 0x5141a6
sub edx, 0x57
mov cl, byte [edi + esi - 3]
cmp cl, 0x61
movsx ecx, cl
jge 0x5141b7
sub ecx, 0x30
jmp 0x5141ba
sub ecx, 0x57
shl eax, 4
add eax, edx
shl eax, 4
add eax, ecx
test eax, eax
jg 0x5141cd
mov eax, 0x7d0
mov ecx, dword [esp + 0x24]
sub ecx, esi
cmp ecx, eax
jge 0x51430d
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp + 0x3cc]
lea eax, [esp + 0x20]
push edx
mov ebx, 9
push 0x6245a8
push eax
mov dword [esp + 0x194], ebx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635490]
add esp, 0xc
test eax, eax
je 0x51427c
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51427c
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 + 0x70]
push eax
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [esp + 0x198], bl
call fcn.00458d40
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x51694e
mov eax, dword [ebp + 0x3d0]
push eax
call sub.MFC42.DLL_operatordelete
mov ebx, dword [ebp + 0x3cc]
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 + 0x3cc]
mov ecx, dword [ebp + 0x3c8]
sub edx, esi
add ecx, esi
push edx
push ecx
push eax
mov dword [ebp + 0x3d0], eax
call fcn.004eb1d0
mov eax, dword [ebp + 0x3cc]
mov edx, dword [ebp + 0x3d0]
sub eax, esi
add esp, 0x14
shl eax, 1
mov dword [ebp + 0x3d4], eax
lea ecx, [esp + 0x24]
mov byte [edx + eax], 0
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp + 0x3cc]
lea ecx, [esp + 0x24]
sub eax, esi
mov ebx, 0xd
push eax
push 0x624590
push ecx
mov dword [esp + 0x194], ebx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635490]
add esp, 0xc
test eax, eax
je 0x514412
mov cl, byte [eax + 0x40]
test cl, cl
je 0x514412
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 + 0x70]
push eax
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [esp + 0x198], bl
call fcn.00458d40
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x5144da
push 0
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x38]
push 2
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x38]
cmp eax, 0x1bb
jne 0x5144c8
test ecx, ecx
je 0x5144d3
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x5144d3
test ecx, ecx
je 0x5144d3
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x38], 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 0x5144fd
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x5144ff
xor eax, eax
push 0
mov dword [ebp + 0x38], eax
push 0x3f
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x38]
push 1
push 0
mov byte [esp + 0x198], bl
call sub.MFC42.DLL_CAsyncSocket::Create
mov ecx, dword [ebp + 0x38]
push 0x1f9b
push str.ts.fly160.com
mov eax, dword [ecx]
call dword [eax + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.00506ff0
mov dword [ebp + 0x78], 0xb
mov dword [esp + 0x188], 0xffffffff
lea ecx, [esp + 0x24]
jmp 0x51692c
cmp eax, 0xc
jne 0x5150df
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x5145ad
push 0
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x38]
push 2
mov ecx, dword [eax + 4]
push ecx
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x38]
cmp eax, 0x1bb
jne 0x51459b
test ecx, ecx
je 0x5145a6
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x5145a6
test ecx, ecx
je 0x5145a6
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x38], 0
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp + 0x3c8]
mov ecx, dword [ebp + 0x3cc]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
push str.s1_
mov byte [eax + ecx], 0
mov edx, dword [ebp + 0x3c8]
push edx
mov dword [esp + 0x190], 0x12
call ebx
add esp, 8
test eax, eax
je 0x514fe6
push str.Ret
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x514d55
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 0x51487a
push str.Error
push esi
call ebx
mov esi, eax
push 0x601cb4
push esi
call ebx
add esp, 0x10
mov edx, eax
test esi, esi
je 0x5147b0
test edx, edx
je 0x5147b0
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.004edab0
mov eax, dword [0x635490]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 4
test eax, eax
je 0x514726
mov cl, byte [eax + 0x40]
test cl, cl
je 0x514726
add eax, 0x250
push eax
call ebx
push 0
lea ecx, [esp + 0x28]
call fcn.0041a850
push eax
mov eax, dword [ebp + 0x70]
push 0x6095c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635490]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [esp + 0x198], 0x13
call fcn.00458d40
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 0x12
call sub.MFC42.DLL_CString::CString
jmp 0x514e37
mov eax, dword [0x635490]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x51481f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51481f
add eax, 0x250
push eax
call ebx
mov eax, dword [ebp + 0x70]
push 0
push 0x624568
push 0x6095c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635490]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x624568
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x17
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x70]
push ecx
add eax, 0xa8
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 0x514e1a
cmp al, 0x31
jne 0x514c91
push str.VerifyCode
push esi
call ebx
mov esi, eax
push 0x601cb4
push esi
call ebx
add esp, 0x10
mov dword [esp + 0x24], eax
test esi, esi
je 0x514bc7
test eax, eax
je 0x514bc7
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.004edab0
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00512c60
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 0x601cb4
push esi
call ebx
add esp, 0x10
mov edx, eax
test esi, esi
je 0x514acd
test edx, edx
je 0x514acd
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.004edab0
mov eax, dword [0x635490]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 4
test eax, eax
je 0x514a44
mov cl, byte [eax + 0x40]
test cl, cl
je 0x514a44
add eax, 0x250
push eax
call ebx
push 0
lea ecx, [esp + 0x28]
call fcn.0041a850
mov edx, dword [ebp + 0x70]
push eax
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x70]
push ecx
add eax, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [esp + 0x198], 0x1c
call fcn.00458d40
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 0x1a
call sub.MFC42.DLL_CString::CString
jmp 0x514bb1
mov eax, dword [0x635490]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x514b3d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x514b3d
add eax, 0x250
push eax
call ebx
mov edx, dword [ebp + 0x70]
push 0
push 0x624544
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x624544
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x20
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [esp + 0x198], 0x1a
call fcn.00458d40
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0x12
call sub.MFC42.DLL_CString::CString
jmp 0x514e37
mov eax, dword [0x635490]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x514c36
mov cl, byte [eax + 0x40]
test cl, cl
je 0x514c36
add eax, 0x250
push eax
call ebx
mov eax, dword [ebp + 0x70]
push 0
push 0x624534
push 0x6095c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635490]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x624534
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x23
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x70]
push ecx
add eax, 0xa8
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 0x514e1a
mov eax, dword [0x635490]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x514cfd
mov cl, byte [eax + 0x40]
test cl, cl
je 0x514cfd
add eax, 0x250
push eax
call ebx
mov edx, dword [ebp + 0x70]
push 0
push esi
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x514e1a
mov eax, dword [0x635490]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test eax, eax
je 0x514dc4
mov cl, byte [eax + 0x40]
test cl, cl
je 0x514dc4
add eax, 0x250
push eax
call ebx
mov eax, dword [ebp + 0x70]
push 0
push 0x624524
push 0x6095c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635490]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x624524
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x29
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x70]
push ecx
add eax, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [esp + 0x198], 0x12
call fcn.00458d40
mov edi, dword [esp + 0x20]
mov eax, dword [edi - 8]
test eax, eax
jle 0x514fd2
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x3a8]
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 0x514e8c
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x514e8e
xor eax, eax
push 0
mov dword [ebp + 0x38], eax
push 0x3f
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x38]
push 1
push 0
mov byte [esp + 0x198], 0x12
call sub.MFC42.DLL_CAsyncSocket::Create
mov eax, dword [ebp + 0x70]
mov cl, byte [eax + 0x9a]
test cl, cl
je 0x514ed3
mov ecx, dword [ebp + 0x38]
mov eax, dword [eax + 0x9c]
push 0x162
push eax
mov edx, dword [ecx]
call dword [edx + 0x4c]
push 0
push 5
jmp 0x514ee6
mov ecx, dword [ebp + 0x38]
push 0x50
push str.web.travelsky.com
mov eax, dword [ecx]
call dword [eax + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.00506ff0
mov dword [ebp + 0x78], 0xf
mov eax, dword [0x635490]
test eax, eax
je 0x514f5e
mov cl, byte [eax + 0x40]
test cl, cl
je 0x514f5e
add eax, 0x250
push eax
call ebx
mov edx, dword [ebp + 0x70]
push 0
push 0x624508
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x624508
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x30
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [esp + 0x198], 0x12
call fcn.00458d40
mov dword [esp + 0x188], 0xffffffff
lea ecx, [esp + 0x20]
jmp 0x51692c
mov eax, dword [0x635490]
test eax, eax
je 0x515053
mov cl, byte [eax + 0x40]
test cl, cl
je 0x515053
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x70]
push 0
push 0x6244f4
push 0x6095c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635490]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x6244f4
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x2c
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x70]
push ecx
add eax, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [esp + 0x198], 0x12
call fcn.00458d40
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x51694e
cmp eax, 0x10
jne 0x515a56
mov ecx, dword [0x624614]
mov edx, dword [0x624618]
mov eax, dword [0x62461c]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x3c8]
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 0x51530c
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
push 0x601cb4
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
jne 0x515214
mov eax, dword [0x635490]
test eax, eax
je 0x5151b6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5151b6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x70]
push 0
push 0x6244e0
push 0x6095c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635490]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x6244e0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x33
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x70]
push ecx
add eax, 0xa8
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 0x5163e2
sub eax, esi
cmp eax, 0x200
jl 0x5152ee
mov eax, dword [0x635490]
test eax, eax
je 0x51528f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51528f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x70]
push 0
push 0x6244cc
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x6244cc
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x36
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x5163e2
mov ecx, eax
lea edi, [ebp + 0x1a8]
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 + 0x1a8], 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 + 0x3c8]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
je 0x515429
mov dword [ebp + 0x78], 0x17
mov eax, dword [0x635490]
test eax, eax
je 0x5153aa
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5153aa
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x70]
push 0
push 0x6244a4
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x6244a4
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x39
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov dword [esp + 0x198], 0xffffffff
call fcn.00458d40
jmp 0x515714
push 0x624494
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x20]
mov dword [esp + 0x188], 0x3c
push eax
call fcn.004ed9e0
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x3c8]
push ecx
push edx
call ebx
add esp, 0xc
test eax, eax
jne 0x51596a
mov eax, dword [ebp + 0x3c8]
push 0x624494
push eax
call ebx
add esp, 8
test eax, eax
jne 0x51596a
push 0x624480
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
push ecx
call fcn.004ed9e0
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0x3c8]
push edx
push eax
call ebx
add esp, 0xc
test eax, eax
jne 0x5158a0
mov ecx, dword [ebp + 0x3c8]
push 0x624480
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x5158a0
push 0x62445c
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x20]
push edx
call fcn.004ed9e0
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x3c8]
push eax
push ecx
call ebx
add esp, 0xc
test eax, eax
jne 0x51560b
mov edx, dword [ebp + 0x3c8]
push 0x62445c
push edx
call ebx
add esp, 8
test eax, eax
jne 0x51560b
mov eax, dword [0x635490]
test eax, eax
je 0x51557f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51557f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x70]
push 0
push 0x62444c
push 0x6095c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635490]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x62444c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x49
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x70]
push ecx
add eax, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [esp + 0x198], 0x3c
call fcn.00458d40
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x51694e
mov eax, dword [ebp + 0x78]
cmp eax, 0x10
mov eax, dword [0x635490]
jne 0x5157dd
test eax, eax
je 0x515685
mov cl, byte [eax + 0x40]
test cl, cl
je 0x515685
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x70]
push 0
push 0x624424
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x624424
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x43
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [esp + 0x198], 0x3c
call fcn.00458d40
lea ecx, [esp + 0x20]
mov dword [ebp + 0x78], 9
mov dword [esp + 0x188], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x515764
push 0
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x38]
push 2
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x38]
cmp eax, 0x1bb
jne 0x515752
test ecx, ecx
je 0x51575d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x51575d
test ecx, ecx
je 0x51575d
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x38], 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 0x51578a
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x51578c
xor eax, eax
push 0
mov dword [ebp + 0x38], eax
push 0x3f
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x38]
push 1
push 0
mov dword [esp + 0x198], 0xffffffff
call sub.MFC42.DLL_CAsyncSocket::Create
mov eax, dword [ebp + 0x70]
mov cl, byte [eax + 0x9a]
test cl, cl
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx]
jne 0x5160da
push 0x50
push str.web.travelsky.com
call dword [edx + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.00506ff0
jmp 0x516931
test eax, eax
je 0x515845
mov cl, byte [eax + 0x40]
test cl, cl
je 0x515845
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x70]
push 0
push 0x624414
push 0x6095c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635490]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x624414
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x46
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x70]
push ecx
add eax, 0xa8
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 0x515a2d
mov eax, dword [0x635490]
test eax, eax
je 0x51590e
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51590e
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x70]
push 0
push 0x6243f4
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x6243f4
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x40
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x515a2d
mov eax, dword [0x635490]
test eax, eax
je 0x5159d7
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5159d7
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x70]
push 0
push 0x6243dc
push 0x6095c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635490]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x6243dc
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x3d
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x70]
push ecx
add eax, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [esp + 0x198], 0x3c
call fcn.00458d40
mov dword [ebp + 0x78], 0x19
jmp 0x5155f2
cmp eax, 0xa
jne 0x515c01
mov eax, dword [0x635490]
test eax, eax
je 0x515acd
mov cl, byte [eax + 0x40]
test cl, cl
je 0x515acd
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x70]
push 0
push 0x6243c4
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x6243c4
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x4d
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
or esi, 0xffffffff
mov dword [esp + 0x198], esi
call fcn.00458d40
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x515b96
push 0
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x38]
push 2
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x38]
cmp eax, 0x1bb
jne 0x515b84
test ecx, ecx
je 0x515b8f
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x515b8f
test ecx, ecx
je 0x515b8f
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x38], 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 0x515bbc
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x515bbe
xor eax, eax
push 0
mov dword [ebp + 0x38], eax
push 0x3f
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x38]
push 1
push 0
mov dword [esp + 0x198], esi
call sub.MFC42.DLL_CAsyncSocket::Create
mov ecx, dword [ebp + 0x38]
push 0x50
push str.web.travelsky.com
mov eax, dword [ecx]
call dword [eax + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.00506ff0
mov dword [ebp + 0x78], 0xd
jmp 0x516931
cmp eax, 0xe
jne 0x5161c4
mov ecx, dword [0x624614]
mov edx, dword [0x624618]
mov eax, dword [0x62461c]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x3c8]
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 0x515f18
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
push 0x601cb4
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
jne 0x515d36
mov eax, dword [0x635490]
test eax, eax
je 0x515cd8
mov cl, byte [eax + 0x40]
test cl, cl
je 0x515cd8
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x70]
push 0
push 0x6243b0
push 0x6095c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635490]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x6243b0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x51
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x70]
push ecx
add eax, 0xa8
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 0x5163e2
mov ebx, eax
mov eax, dword [0x635490]
sub ebx, esi
cmp ebx, 0x200
jl 0x515e13
test eax, eax
je 0x515db4
mov cl, byte [eax + 0x40]
test cl, cl
je 0x515db4
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x70]
push 0
push 0x62439c
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x62439c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x54
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x5163e2
test eax, eax
je 0x515e7b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x515e7b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x70]
push 0
push 0x624384
push 0x6095c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635490]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x624384
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x57
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x70]
push ecx
add eax, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov dword [esp + 0x198], 0xffffffff
call fcn.00458d40
mov ecx, ebx
lea edi, [ebp + 0x1a8]
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 + 0x1a8], 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 + 0x3c8]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
je 0x5160f9
mov dword [ebp + 0x78], 0x17
mov eax, dword [0x635490]
test eax, eax
je 0x515fb6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x515fb6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x70]
push 0
push 0x624370
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x624370
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x5a
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
or esi, 0xffffffff
mov dword [esp + 0x198], esi
call fcn.00458d40
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x51607f
push 0
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x38]
push 2
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x38]
cmp eax, 0x1bb
jne 0x51606d
test ecx, ecx
je 0x516078
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x516078
test ecx, ecx
je 0x516078
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x38], 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 0x5160a5
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x5160a7
xor eax, eax
push 0
mov dword [ebp + 0x38], eax
push 0x3f
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x38]
push 1
push 0
mov dword [esp + 0x198], esi
call sub.MFC42.DLL_CAsyncSocket::Create
mov eax, dword [ebp + 0x70]
mov cl, byte [eax + 0x9a]
test cl, cl
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx]
je 0x5157c3
mov eax, dword [eax + 0x9c]
push 0x162
push eax
call dword [edx + 0x4c]
push 0
push 5
mov ecx, ebp
call fcn.00506ff0
jmp 0x516931
mov eax, dword [0x635490]
test eax, eax
je 0x516166
mov cl, byte [eax + 0x40]
test cl, cl
je 0x516166
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x70]
push 0
push 0x62435c
push 0x6095c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635490]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x62435c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x5d
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x70]
push ecx
add eax, 0xa8
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 0x5163e2
cmp eax, 0x18
jne 0x5162bf
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x51621d
push 0
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x38]
push 2
mov ecx, dword [eax + 4]
push ecx
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x38]
cmp eax, 0x1bb
jne 0x51620b
test ecx, ecx
je 0x516216
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x516216
test ecx, ecx
je 0x516216
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x38], 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 0x516243
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CClientSock::constructor_void_
jmp 0x516245
xor eax, eax
push 0
mov dword [ebp + 0x38], eax
push 0x3f
mov dword [eax + 8], ebp
mov ecx, dword [ebp + 0x38]
push 1
push 0
mov dword [esp + 0x198], 0xffffffff
call sub.MFC42.DLL_CAsyncSocket::Create
mov eax, dword [ebp + 0x70]
mov cl, byte [eax + 0x9a]
test cl, cl
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx]
je 0x51629e
mov eax, dword [eax + 0x9c]
push 0x162
push eax
call dword [edx + 0x4c]
push 0
push 5
mov ecx, ebp
call fcn.00506ff0
mov dword [ebp + 0x78], 0x11
jmp 0x516931
push 0x50
push str.web.travelsky.com
call dword [edx + 0x4c]
push 0
push 3
mov ecx, ebp
call fcn.00506ff0
mov dword [ebp + 0x78], 0x11
jmp 0x516931
cmp eax, 0x12
jne 0x516931
mov eax, dword [ebp + 0x3c8]
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 0x51694e
mov edi, str.connectString_
or ecx, 0xffffffff
xor eax, eax
push 0x624348
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
je 0x51694e
sub eax, esi
cmp eax, 0x100
jl 0x516407
mov eax, dword [0x635490]
test eax, eax
je 0x516388
mov cl, byte [eax + 0x40]
test cl, cl
je 0x516388
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x70]
push 0
push 0x624334
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x624334
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x190], 0x62
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov dword [esp + 0x198], 0xffffffff
call fcn.00458d40
jmp 0x51694e
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.004edd10
mov eax, dword [esp + 0x3c]
add esp, 0x10
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5164ac
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 0x51694e
mov ecx, dword [ebp + 0x3c8]
push str._Pids___Pid_id_____
push ecx
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x5164ed
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 0x51694e
mov edi, str._Pids___Pid_id_____
or ecx, 0xffffffff
xor eax, eax
push 0x601ca4
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call ebx
add esp, 8
test eax, eax
jne 0x516537
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 0x51694e
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 0x51666a
mov eax, dword [0x635490]
test eax, eax
je 0x5165cd
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5165cd
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x70]
push 0
push 0x624334
push 0x6095c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635490]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x624334
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x67
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x70]
push ecx
add eax, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [esp + 0x198], 0x66
call fcn.00458d40
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 0x51694e
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 + 0x70]
add ecx, 0x48
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x70]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp + 0x70]
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 + 0x70]
mov esi, 0x1bb
add ecx, 0x88
mov dword [ebp + 0x28], esi
call sub.MFC42.DLL_CString::operator
mov ecx, dword [ebp + 0x70]
mov byte [ecx + 0x92], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0x70]
push str.eterm_password
add ecx, 8
mov dword [ebp + 0xc18], eax
mov byte [ebp + 0x130], 0
call sub.MFC42.DLL_CString::operator
lea ebx, [ebp + 0x1a8]
lea edx, [ebp + 0x168]
push ebx
push edx
lea eax, [ebp + 0xc14]
push str.AlteonP_s__JSESSIONID_s
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635490]
add esp, 0x10
test eax, eax
je 0x5167a6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5167a6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x70]
push 0
push 0x6242d8
push 0x6095c0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x6242d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x190], 0x6a
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x70]
push ecx
add edx, 0xa8
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 0x60e204
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [esp + 0x198], 0x66
call fcn.00458d40
mov ecx, dword [ebp + 0x38]
xor edi, edi
cmp ecx, edi
je 0x516864
push edi
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [ebp + 0x38]
push 2
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_shutdown
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x38]
cmp eax, esi
jne 0x516856
cmp ecx, edi
je 0x516861
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x516861
cmp ecx, edi
je 0x516861
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x78], edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x20
jae 0x5168a2
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 0x51694e
lea esi, [ebp + 0xc10]
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 0x5168f8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x5168fa
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 + 0x3c8]
xor esi, esi
push ecx
mov dword [ebp + 0x3cc], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x3c8], esi
mov ecx, dword [esp + 0x180]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x17c
ret