Function at 0x4742b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a92d1
push eax
mov dword fs:[0], esp
sub esp, 0x2bc
mov edx, dword [esp + 0x2cc]
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0xc8]
push edi
mov eax, dword [ebp]
mov edi, dword [ebp + 4]
push ecx
push edx
mov ecx, ebp
call dword [eax + 4]
test al, al
jne 0x4744e6
mov ecx, dword [edi + 0x7c]
mov eax, dword [edi]
inc ecx
lea edx, [esp + 0xcc]
push ecx
push edx
mov ecx, edi
call dword [eax + 0x90]
mov eax, dword [0x637770]
xor ebp, ebp
cmp eax, ebp
je 0x47437a
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47437a
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x78]
lea eax, [esp + 0xcc]
push eax
push str._RX_
push ebp
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637770]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb4c0
mov edx, dword [0x637770]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c540
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4743d3
lea edx, [esp + 0xcc]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov dword [esp + 0x2e4], ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x2e0], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
cmp eax, ebp
je 0x475114
cmp dword [eax + 0x50], ebp
jle 0x475114
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x4744d5
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4744d5
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4744d0
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4744d0
mov ecx, dword [edi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2d4], 1
mov eax, dword [edx - 8]
test eax, eax
je 0x4744bc
mov al, byte [esi + 0x80]
test al, al
jne 0x4744bc
mov eax, dword [edi + 0x78]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x4744bc
lea ecx, [esp + 0xcc]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x2e4], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x2e0], 1
call fcn.00402500
lea ecx, [esp + 0x14]
mov dword [esp + 0x2d4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4743ef
jmp 0x475114
mov eax, dword [0x637770]
push str.PNRR
mov ecx, dword [eax + 8]
call sym.ETermProxy.exe_public:_class_CCSConnection____thiscall_CDBConnCollect::GetConnByName_char__
test eax, eax
jne 0x4746eb
mov eax, dword [edi + 0x7c]
mov edx, dword [edi]
inc eax
mov ecx, edi
push eax
push 0x6119c0
call dword [edx + 0x90]
mov eax, dword [0x637770]
test eax, eax
je 0x47457f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47457f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x78]
push 0x6119c0
push str._RX_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637770]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb4c0
mov edx, dword [0x637770]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c540
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4745d9
push 0x6119c0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov dword [esp + 0x2e4], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x2e0], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x475114
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x475114
mov ebx, 4
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x4746da
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4746da
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4746d5
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4746d5
mov ecx, dword [edi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2d4], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x4746c1
mov al, byte [esi + 0x80]
test al, al
jne 0x4746c1
mov eax, dword [edi + 0x78]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4746c1
push 0x6119c0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x2e4], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x2e0], bl
call fcn.00402500
lea ecx, [esp + 0x14]
mov dword [esp + 0x2d4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4745f8
jmp 0x475114
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
xor ebx, ebx
mov dword [esp + 0x2d4], 6
cmp eax, ebx
je 0x47471a
push str.PNRR
mov ecx, eax
call fcn.004dbdb0
mov esi, eax
jmp 0x47471c
xor esi, esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x2d4], 0xffffffff
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov dword [esp + 0x2d4], 7
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [edi + 0x78]
mov byte [esp + 0x2d4], 8
mov eax, dword [ecx + 0x88]
dec eax
je 0x474781
dec eax
je 0x47476e
dec eax
jne 0x474797
mov eax, dword [ecx + 0x3c]
lea ecx, [esp + 0x24]
push eax
push str._AND_account_s
push ecx
jmp 0x47478f
mov edx, dword [ecx + 0x10c]
lea eax, [esp + 0x24]
push edx
push str._AND_account_group_d
push eax
jmp 0x47478f
mov ecx, dword [ecx + 0x3c]
lea edx, [esp + 0x24]
push ecx
push str._AND__is_protect0_OR_account_s_
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, dword [ebp + 0x20]
push 0x611990
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
mov ecx, dword [ebp + 0x24]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x24]
mov edx, ecx
push eax
push ecx
push edx
jne 0x4747cf
mov eax, dword [edi + 0x78]
lea edx, [esp + 0x40]
mov ecx, dword [eax + 0x10c]
push ecx
push str.select__from_booking_rec_where_state__XX_AND_account_group_d_AND_rec_time___s_00:00:00_AND_rec_time___s_23:59:59__s_ORDER_BY_rec_time_DESC
push edx
jmp 0x4747dd
mov eax, dword [ebp + 0x20]
lea ecx, [esp + 0x40]
push eax
push str.select__from_booking_rec_where_state__XX_AND_account_s_AND_rec_time___s_00:00:00_AND_rec_time___s_23:59:59__s_ORDER_BY_rec_time_DESC
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x4c]
add esp, 0x18
mov ecx, esi
push 3
push 3
push 1
push edx
call fcn.004dbe40
cmp eax, ebx
jne 0x4749f2
mov edx, dword [edi + 0x7c]
mov ecx, edi
inc edx
mov eax, edx
mov dword [edi + 0x7c], edx
mov edx, dword [edi]
push eax
push 0x61184c
call dword [edx + 0x90]
mov eax, dword [0x637770]
cmp eax, ebx
je 0x474882
mov cl, byte [eax + 0x40]
test cl, cl
je 0x474882
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x78]
push 0x611834
push str._RX_
push ebx
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x637770]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4748d6
push 0x611834
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x2e4], 9
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov byte [esp + 0x2e0], 8
call fcn.00401160
mov eax, dword [0x631fd0]
cmp eax, ebx
je 0x4749dd
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x4749dd
mov ecx, dword [eax + 0x4c]
mov ebp, dword [ecx + ebx*4]
test ebp, ebp
je 0x4749d1
mov cl, byte [ebp + 0x88]
test cl, cl
je 0x4749d1
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4749cc
mov eax, dword [ebp + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4749cc
mov ecx, dword [edi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x14]
mov byte [esp + 0x2d4], 0xa
mov eax, dword [edx - 8]
test eax, eax
je 0x4749bb
mov al, byte [ebp + 0x80]
test al, al
jne 0x4749bb
mov eax, dword [edi + 0x78]
mov ecx, dword [ebp + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4749bb
push 0x611834
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x2e4], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebp
mov byte [esp + 0x2e0], 0xa
call fcn.00402500
lea ecx, [esp + 0x14]
mov byte [esp + 0x2d4], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x4748f0
test esi, esi
je 0x4750ef
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x4750ef
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x2d4], 0xc
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x2d4], 0xd
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x2d4], 0xe
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2d4], 0xf
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x2d4], 0x10
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x2d4], 0x11
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x637770]
mov byte [esp + 0x2d4], 0x12
mov eax, dword [ecx + 0xc]
cmp eax, ebx
je 0x474e82
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x474e82
mov cl, byte [eax + 0x2e0]
test cl, cl
je 0x474e82
lea edx, [esp + 0x20]
push 0x61179c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 8
mov ecx, esi
xor ebp, ebp
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [edi + 0x11b4]
cmp eax, edx
jl 0x474ae9
mov dword [edi + 0x11b4], edx
mov ebx, dword [edi + 0x11b4]
lea ecx, [esp + 0xa4]
cmp ebx, edx
sete bl
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0xb8]
mov byte [esp + 0x2d4], 0x13
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x90]
mov byte [esp + 0x2d4], 0x14
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x40]
mov byte [esp + 0x2d4], 0x15
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
mov byte [esp + 0x2d4], 0x16
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
jne 0x474e01
mov eax, dword [edi + 0x11b4]
lea ecx, [eax + eax*4]
shl ecx, 1
cmp ebp, ecx
jl 0x474dea
lea edx, [eax + eax*4 + 5]
shl edx, 1
cmp ebp, edx
jge 0x474dea
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push str.account
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x3c]
push ecx
push 0x603d38
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esp + 0x44]
mov ecx, esi
push edx
push str.rec_time
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_COleDateTime__
lea eax, [esp + 0x30]
mov ecx, esi
push eax
push str.state
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x1c]
push ecx
push str.carrier
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esp + 0x50]
mov ecx, esi
push edx
push str.is_protect
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
push str.passenger_count
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x474d31
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x68]
mov byte [esp + 0x2d4], 0x17
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2d4], 0x18
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov byte [esp + 0x2d4], 0x19
push ecx
push str.voyage
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
push 1
push 1
push 8
lea edx, [esp + 0x60]
push 0x7c
push edx
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004ea520
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
push str.berth
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
push 1
push 1
push 8
lea edx, [esp + 0x74]
push 0x7c
push edx
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004ea520
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
push str.departure_time
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
push 1
push 1
push 8
lea edx, [esp + 0x88]
push 0x7c
push edx
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004ea520
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x84]
add esp, 0x18
mov edx, dword [ecx]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x5c]
push ecx
lea ecx, [esp + 0x48]
mov eax, dword [edx]
push eax
push 0x611784
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2d4], 0x18
call fcn.005948d2
lea ecx, [esp + 0x68]
mov byte [esp + 0x2d4], 0x17
call fcn.005948d2
lea ecx, [esp + 0x54]
mov byte [esp + 0x2d4], 0x16
call fcn.005948d2
jmp 0x474d3f
push 0x611774
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x28]
push 0x10
push edx
call fcn.004ec500
add esp, 8
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_COleDateTime::GetMinute
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_COleDateTime::GetHour
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_COleDateTime::GetDay
push eax
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_COleDateTime::GetMonth
push eax
lea eax, [esp + 0x48]
push 0x6040a0
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x34]
add esp, 0x18
mov eax, dword [ecx - 8]
test eax, eax
jne 0x474da1
push 0x60c6fc
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
push ecx
push 0x1e
lea eax, [ebp + 1]
push edx
push eax
lea ecx, [esp + 0x34]
push str._3d_____s___cRT:_s____2d____s____s___s___s_r
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x2c
lea edx, [esp + 0x10]
lea ecx, [esp + 0x20]
push edx
call fcn.0059488a
mov ecx, esi
inc ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::MoveNext_void_
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
je 0x474b50
neg bl
sbb bl, bl
lea ecx, [esp + 0x10]
and bl, 0xf5
add bl, 0x2b
movsx eax, bl
push eax
push ebp
push 0x6116ac
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0x10]
lea ecx, [esp + 0x20]
push edx
call fcn.0059488a
lea ecx, [esp + 0x40]
mov byte [esp + 0x2d4], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x90]
mov byte [esp + 0x2d4], 0x14
call fcn.005948d2
lea ecx, [esp + 0xb8]
mov byte [esp + 0x2d4], 0x13
call fcn.005948d2
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2d4], 0x12
call fcn.005948d2
jmp 0x475048
lea eax, [esp + 0x20]
push 0x61161c
push eax
call sub.MFC42.DLL_CString::Format
add esp, 8
mov ecx, esi
xor ebp, ebp
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
mov ecx, eax
mov eax, 0x66666667
imul ecx
mov eax, dword [edi + 0x11b4]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp eax, edx
jl 0x474ec0
mov dword [edi + 0x11b4], edx
mov ebx, dword [edi + 0x11b4]
mov ecx, esi
cmp ebx, edx
sete bl
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
jne 0x475019
mov eax, dword [edi + 0x11b4]
lea edx, [eax + eax*4]
shl edx, 1
cmp ebp, edx
jl 0x475002
lea eax, [eax + eax*4 + 5]
shl eax, 1
cmp ebp, eax
jge 0x475002
lea ecx, [esp + 0x28]
push ecx
push str.account
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esp + 0x3c]
mov ecx, esi
push edx
push 0x603d38
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esp + 0x44]
mov ecx, esi
push eax
push str.rec_time
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_COleDateTime__
lea ecx, [esp + 0x30]
push ecx
push str.state
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
push str.carrier
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esp + 0x50]
mov ecx, esi
push eax
push str.is_protect
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea ecx, [esp + 0x28]
push 0x10
push ecx
call fcn.004ec500
add esp, 8
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_COleDateTime::GetMinute
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_COleDateTime::GetHour
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_COleDateTime::GetDay
push eax
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_COleDateTime::GetMonth
push eax
lea edx, [esp + 0x48]
push 0x6040a0
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x34]
add esp, 0x18
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x474fc3
push 0x60c6fc
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0x1e
push ecx
lea eax, [ebp + 1]
push edx
push eax
lea ecx, [esp + 0x2c]
push str._3d_______s_______s___cRT:_s_____s_______s_r
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x24
lea edx, [esp + 0x10]
lea ecx, [esp + 0x20]
push edx
call fcn.0059488a
mov ecx, esi
inc ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::MoveNext_void_
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
je 0x474eda
neg bl
sbb bl, bl
lea ecx, [esp + 0x10]
and bl, 0xf5
add bl, 0x2b
movsx eax, bl
push eax
push ebp
push str.________________________________________________________________________r__
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0x10]
lea ecx, [esp + 0x20]
push edx
call fcn.0059488a
mov ecx, dword [esp + 0x20]
mov eax, dword [edi]
push 0
push ecx
mov ecx, edi
call dword [eax + 0x90]
test esi, esi
je 0x475065
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x2dc]
lea ecx, [edi + 0x11b0]
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x2d4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x2d4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2d4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x2d4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x2d4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x2d4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2d4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x2d4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov dword [esp + 0x2d4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2cc]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c8
ret 4