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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a8f91
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 0x474246
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 [0x637760]
xor ebp, ebp
cmp eax, ebp
je 0x4740da
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4740da
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 [0x637760]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c4d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x474133
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 [0x631fb8]
mov dword [esp + 0x2e0], 0xffffffff
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebp
je 0x474e74
cmp dword [eax + 0x50], ebp
jle 0x474e74
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x474235
mov cl, byte [esi + 0x88]
test cl, cl
je 0x474235
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x474230
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x474230
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 0x47421c
mov al, byte [esi + 0x80]
test al, al
jne 0x47421c
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 0x47421c
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.00402490
lea ecx, [esp + 0x14]
mov dword [esp + 0x2d4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47414f
jmp 0x474e74
mov eax, dword [0x637760]
push str.PNRR
mov ecx, dword [eax + 8]
call sym.ETermProxy.exe_public:_class_CCSConnection____thiscall_CDBConnCollect::GetConnByName_char__
test eax, eax
jne 0x47444b
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 [0x637760]
test eax, eax
je 0x4742df
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4742df
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 [0x637760]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c4d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x474339
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 [0x631fb8]
mov dword [esp + 0x2e0], 0xffffffff
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x474e74
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x474e74
mov ebx, 4
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x47443a
mov cl, byte [esi + 0x88]
test cl, cl
je 0x47443a
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x474435
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x474435
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 0x474421
mov al, byte [esi + 0x80]
test al, al
jne 0x474421
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 0x474421
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.00402490
lea ecx, [esp + 0x14]
mov dword [esp + 0x2d4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x474358
jmp 0x474e74
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 0x47447a
push str.PNRR
mov ecx, eax
call fcn.004db9f0
mov esi, eax
jmp 0x47447c
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 0x4744e1
dec eax
je 0x4744ce
dec eax
jne 0x4744f7
mov eax, dword [ecx + 0x3c]
lea ecx, [esp + 0x24]
push eax
push str._AND_account_s
push ecx
jmp 0x4744ef
mov edx, dword [ecx + 0x10c]
lea eax, [esp + 0x24]
push edx
push str._AND_account_group_d
push eax
jmp 0x4744ef
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 0x47452f
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 0x47453d
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.004dba80
cmp eax, ebx
jne 0x474752
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 [0x637760]
cmp eax, ebx
je 0x4745e2
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4745e2
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 [0x637760]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb100
mov eax, dword [0x637760]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c4d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x474636
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 [0x631fb8]
mov byte [esp + 0x2e0], 8
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebx
je 0x47473d
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x47473d
mov ecx, dword [eax + 0x4c]
mov ebp, dword [ecx + ebx*4]
test ebp, ebp
je 0x474731
mov cl, byte [ebp + 0x88]
test cl, cl
je 0x474731
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47472c
mov eax, dword [ebp + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47472c
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 0x47471b
mov al, byte [ebp + 0x80]
test al, al
jne 0x47471b
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 0x47471b
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.00402490
lea ecx, [esp + 0x14]
mov byte [esp + 0x2d4], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x474650
test esi, esi
je 0x474e4f
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x474e4f
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 [0x637760]
mov byte [esp + 0x2d4], 0x12
mov eax, dword [ecx + 0xc]
cmp eax, ebx
je 0x474be2
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x474be2
mov cl, byte [eax + 0x2e0]
test cl, cl
je 0x474be2
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 0x474849
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 0x474b61
mov eax, dword [edi + 0x11b4]
lea ecx, [eax + eax*4]
shl ecx, 1
cmp ebp, ecx
jl 0x474b4a
lea edx, [eax + eax*4 + 5]
shl edx, 1
cmp ebp, edx
jge 0x474b4a
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 0x474a91
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.004ea160
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.004ea160
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.004ea160
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.00594582
lea ecx, [esp + 0x68]
mov byte [esp + 0x2d4], 0x17
call fcn.00594582
lea ecx, [esp + 0x54]
mov byte [esp + 0x2d4], 0x16
call fcn.00594582
jmp 0x474a9f
push 0x611774
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x28]
push 0x10
push edx
call fcn.004ec140
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 0x474b01
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.0059453a
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 0x4748b0
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.0059453a
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.00594582
lea ecx, [esp + 0xb8]
mov byte [esp + 0x2d4], 0x13
call fcn.00594582
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2d4], 0x12
call fcn.00594582
jmp 0x474da8
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 0x474c20
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 0x474d79
mov eax, dword [edi + 0x11b4]
lea edx, [eax + eax*4]
shl edx, 1
cmp ebp, edx
jl 0x474d62
lea eax, [eax + eax*4 + 5]
shl eax, 1
cmp ebp, eax
jge 0x474d62
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.004ec140
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 0x474d23
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.0059453a
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 0x474c3a
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.0059453a
mov ecx, dword [esp + 0x20]
mov eax, dword [edi]
push 0
push ecx
mov ecx, edi
call dword [eax + 0x90]
test esi, esi
je 0x474dc5
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