Function at 0x510660
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5bf679
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
mov eax, dword [esp + 0x194]
push ebx
push ebp
mov dword [esp + 0x1c], ecx
push esi
mov esi, dword [eax + 0x74]
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov edi, dword [esp + 0x1a0]
lea ecx, [esi + 0xa8]
xor ebx, ebx
push ecx
push 0x60c170
mov ecx, edi
mov dword [esp + 0x1a0], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea eax, [esi + 8]
mov ecx, edi
push eax
push str.account_type
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esi + 0xb0]
mov ecx, edi
push edx
push str.term_type
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esi + 0xac]
mov ecx, edi
push eax
push str.align_name
mov dword [esp + 0x24], eax
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
push esi
push str.account
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esi + 4]
mov ecx, edi
push eax
push str.password
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ebp, [esi + 0x28]
mov ecx, edi
push ebp
push str.si_code_1
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [ebp]
push 1
push 1
push 6
mov edx, dword [eax - 8]
push 0x3b
cmp edx, ebx
lea edx, [esi + 0x2c]
setne cl
push edx
push ecx
mov byte [esi + 0x93], cl
mov ecx, esp
mov dword [esp + 0x30], esp
push ebp
call sub.MFC42.DLL_CString::CString_2
call fcn.004ec420
add esp, 0x18
lea eax, [esi + 0x48]
mov ecx, edi
push eax
push str.cata_code
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esi + 0x4c]
push ecx
push str.pid_no
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esi + 0xc]
mov ecx, edi
push edx
push str.server_ip
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esi + 0x10]
mov ecx, edi
push eax
push str.server_port
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea ebp, [esi + 0x24]
mov ecx, edi
push ebp
push str.office_code
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
mov ecx, ebp
call sub.MFC42.DLL_CString::MakeUpper
lea eax, [esi + 0xd4]
mov ecx, edi
push eax
push str.group_office_code
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x64]
push ecx
push str.group_expire_date
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_COleDateTime__
lea edx, [esi + 0x118]
mov ecx, edi
push edx
push str.bind_ip
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push 0x61473c
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x63b90c
push ecx
call ebp
add esp, 8
test eax, eax
je 0x51084c
mov edx, dword [esp + 0x10]
push 0x60e2e4
push edx
call ebp
add esp, 8
test eax, eax
setne al
jmp 0x510866
mov eax, dword [esi + 0x10]
cmp eax, 0x1bb
je 0x510861
cmp eax, 0x1ba
je 0x510861
xor eax, eax
jmp 0x510866
mov eax, 1
lea ecx, [esp + 0x54]
mov byte [esi + 0x14], al
push ecx
push str.si_update_time
mov ecx, edi
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], ebx
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_COleDateTime__
cmp dword [esp + 0x5c], ebx
jne 0x5108fb
lea edx, [esp + 0x80]
lea ecx, [esp + 0x54]
push edx
call sub.MFC42.DLL_COleDateTime::GetAsSystemTime
push ecx
lea eax, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0xffffffffffffffff
push eax
call sub.MFC42.DLL_CTime::CTime
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, eax
call fcn.0042e750
mov ecx, dword [esp + 0x14]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 0x5a
jle 0x5108f1
xor eax, eax
jmp 0x5108f8
mov eax, 0x5a
sub eax, edx
mov dword [esi + 0x40], eax
mov eax, dword [esi + 8]
push str.travelsky
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x510934
push esi
lea ecx, [esi + 0x64]
call sub.MFC42.DLL_CString::operator_1
lea ebp, [esi + 4]
lea ecx, [esi + 0x68]
push ebp
call sub.MFC42.DLL_CString::operator_1
mov ecx, esi
call sub.MFC42.DLL_CString::Empty
mov ecx, ebp
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_COleDateTime::GetAsSystemTime
mov ax, word [esp + 0x70]
cmp ax, 0x7d0
jae 0x510956
mov word [esp + 0x70], 0x7d0
jmp 0x510963
cmp ax, 0x7f5
jbe 0x510963
mov word [esp + 0x70], 0x7f5
lea edx, [esp + 0x70]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CTime::CTime
push ebx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0xc]
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax + 0x10]
push ebx
lea ecx, [esp + 0x24]
inc ebp
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push 0x3b
push 0x3b
push 0x17
add eax, 0x76c
push ecx
push ebp
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CTime::CTime_1
mov edx, dword [eax]
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x24], edx
call sub.MFC42.DLL_CTime::GetTickCount
push ecx
mov ecx, dword [esp + 0x24]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], ecx
lea ecx, [esp + 0x64]
call fcn.0041fd10
cmp eax, ebx
je 0x510afc
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x90]
mov eax, dword [edx]
push eax
push 0x62d530
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x641030]
add esp, 0xc
cmp eax, ebx
je 0x510a70
cmp byte [eax + 0x40], bl
je 0x510a70
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [esp + 0x90]
push ebx
push edx
push 0x6145d8
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x641030]
push str.runtime
push 0x60c77c
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 + 0x94]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x1a0], 1
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x6145d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x1a4], 2
mov ecx, esp
mov dword [esp + 0x20], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x1a8], 3
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x60c778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x1a8], bl
call fcn.00459390
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x51100d
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
cmp byte [eax + 0xe], bl
je 0x510ce6
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], 4
push ecx
push str.extern_info
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.pid_time
call sub.MFC42.DLL_CString::CString_3
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x1a4], 5
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x20]
mov byte [esp + 0x1a0], 4
push eax
call fcn.004ed5c0
add esp, 0xc
lea ebp, [esi + 0x108]
push eax
mov ecx, ebp
mov byte [esp + 0x19c], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], 4
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x28]
call fcn.00511030
cmp al, bl
jne 0x510cd6
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x90]
mov edx, dword [ecx]
push edx
push 0x62d514
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x641030]
add esp, 0xc
cmp eax, ebx
je 0x510c39
cmp byte [eax + 0x40], bl
je 0x510c39
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x90]
push ebx
push ecx
push 0x6145d8
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x641030]
push str.runtime
push 0x60c77c
mov eax, dword [edx + 0x44]
push eax
call fcn.004ed3c0
mov ecx, dword [0x641030]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
push ecx
lea eax, [esp + 0x94]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x1a0], 7
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x6145d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x1a4], 8
mov ecx, esp
mov dword [esp + 0x30], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x1a8], 9
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x60c778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x1a8], 4
call fcn.00459390
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x51100d
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esi + 4]
lea ecx, [esp + 0x2c]
push eax
push esi
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [esp + 0x2c]
xor eax, eax
xor ecx, ecx
mov byte [esp + 0x198], 0xa
mov edx, dword [edx - 8]
cmp edx, ebx
jle 0x510d1b
mov ebp, dword [esp + 0x2c]
movsx ebp, byte [ecx + ebp]
add eax, ebp
inc ecx
cmp ecx, edx
jl 0x510d0c
cdq
mov ecx, 0x19
idiv ecx
mov ecx, edi
add edx, 0x1e
mov dword [esi + 0xf8], edx
lea edx, [esp + 0x50]
push edx
push str.tss_control
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov ebp, dword [esp + 0x50]
lea ecx, [esp + 0x4c]
cmp ebp, ebx
push ecx
setne al
push str.ticket_control
mov ecx, edi
mov byte [esi + 0x5a], al
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov eax, dword [esp + 0x4c]
mov ecx, edi
cmp eax, ebx
lea eax, [esp + 0x34]
setne dl
push eax
push str.auto_control
mov byte [esi + 0x5b], dl
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov ecx, dword [esp + 0x34]
mov ebp, 1
cmp ecx, ebp
lea edx, [esp + 0x10]
sete cl
mov byte [esi + 0x5c], cl
push edx
push str.mdev
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x510dd4
push eax
lea eax, [esi + 0x60]
push 0x622278
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esi + 0xe8]
push ecx
push str.sel_level
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea edx, [esi + 0xb4]
mov ecx, edi
push edx
push str.group_id
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea eax, [esi + 0x20]
mov ecx, edi
push eax
push str.group_name
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esi + 0x54]
push ecx
push str.av_share
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea eax, [esi + 0x70]
mov ecx, edi
push eax
push str.extern_info
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esi + 0x74]
mov ecx, edi
push edx
push str.group_extern_info
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esp + 0x40]
mov ecx, edi
push eax
push str.dial_vpn
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x48]
cmp ecx, ebp
push edx
sete cl
mov byte [esi + 0x58], cl
push str.q_enable
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x3c]
cmp eax, ebp
push ecx
sete al
push str.ins_control_enable
mov ecx, edi
mov byte [esi + 0xe5], al
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x30]
cmp edx, ebp
push eax
sete dl
push str.today_ins_control_enable
mov ecx, edi
mov byte [esi + 0xcc], dl
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x44]
cmp ecx, ebp
push edx
sete cl
mov byte [esi + 0xcd], cl
push str.flow_optmize
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
cmp dword [esp + 0x44], ebp
sete al
mov byte [esi + 0xce], al
mov al, byte [0x63c0b8]
cmp al, bl
jne 0x510fa8
mov ebp, dword [esp + 0x1a4]
mov ecx, dword [ebp + 0x38]
add ecx, 0x78
push ecx
push str.today_ins_count
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov edx, dword [ebp + 0x38]
mov ecx, edi
add edx, 0x54
push edx
push str.today_switch_count
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov eax, dword [ebp + 0x38]
mov ecx, edi
add eax, 0x7c
push eax
push str.today_max_ins_count
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push ecx
push str.today_add_ins_count
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
jge 0x510f45
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [ebp + 0x38]
mov edx, dword [eax + 0x7c]
add edx, ecx
mov dword [eax + 0x7c], edx
mov al, byte [esi + 0xcc]
cmp al, bl
je 0x510fd2
mov edx, dword [ebp + 0x38]
mov ecx, edi
add edx, 0x68
push edx
push str.max_ins_count
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov eax, dword [ebp + 0x38]
mov ecx, edi
add eax, 0x6c
push eax
push str.curr_ins_count
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov ecx, dword [ebp + 0x38]
add ecx, 0x70
push ecx
push str.add_ins_count
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov edx, dword [ebp + 0x38]
mov ecx, edi
add edx, 0x74
push edx
push str.add_ins_curr
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
jmp 0x510fd2
mov eax, dword [esp + 0x1a4]
mov byte [esi + 0xcc], 1
mov ecx, dword [eax + 0x38]
mov dword [ecx + 0x68], 2
mov edx, dword [eax + 0x38]
mov dword [edx + 0x6c], ebx
mov ecx, dword [eax + 0x38]
mov dword [ecx + 0x70], ebx
mov edx, dword [eax + 0x38]
mov dword [edx + 0x74], ebx
lea ecx, [esi + 0x70]
mov byte [esi + 0x50], bl
mov byte [esi + 0x51], bl
call sub.MFC42.DLL_CString::MakeUpper
mov ecx, esi
call fcn.00516f40
lea ecx, [esp + 0x2c]
mov byte [esp + 0x198], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0x190]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18c
ret 8