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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a7971
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 0x474356
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 [0x635490]
xor ebp, ebp
cmp eax, ebp
je 0x4741ea
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4741ea
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 [0x635490]
push str.command
push str.esms
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]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x474243
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 [0x62fce8]
mov dword [esp + 0x2e0], 0xffffffff
call fcn.00401140
mov eax, dword [0x62fcf0]
cmp eax, ebp
je 0x474f84
cmp dword [eax + 0x50], ebp
jle 0x474f84
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x474345
mov cl, byte [esi + 0x88]
test cl, cl
je 0x474345
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x474340
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x474340
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 0x47432c
mov al, byte [esi + 0x80]
test al, al
jne 0x47432c
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 0x47432c
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.004024b0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2d4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47425f
jmp 0x474f84
mov eax, dword [0x635490]
push str.PNRR
mov ecx, dword [eax + 8]
call sym.ETermProxy.exe_public:_class_CCSConnection____thiscall_CDBConnCollect::GetConnByName_char__
test eax, eax
jne 0x47455b
mov eax, dword [edi + 0x7c]
mov edx, dword [edi]
inc eax
mov ecx, edi
push eax
push 0x60f9f8
call dword [edx + 0x90]
mov eax, dword [0x635490]
test eax, eax
je 0x4743ef
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4743ef
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x78]
push 0x60f9f8
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 [0x635490]
push str.command
push str.esms
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]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x474449
push 0x60f9f8
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 [0x62fce8]
mov dword [esp + 0x2e0], 0xffffffff
call fcn.00401140
mov eax, dword [0x62fcf0]
test eax, eax
je 0x474f84
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x474f84
mov ebx, 4
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x47454a
mov cl, byte [esi + 0x88]
test cl, cl
je 0x47454a
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x474545
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x474545
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 0x474531
mov al, byte [esi + 0x80]
test al, al
jne 0x474531
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 0x474531
push 0x60f9f8
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.004024b0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2d4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x474468
jmp 0x474f84
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 0x47458a
push str.PNRR
mov ecx, eax
call fcn.004dc2a0
mov esi, eax
jmp 0x47458c
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 0x4745f1
dec eax
je 0x4745de
dec eax
jne 0x474607
mov eax, dword [ecx + 0x3c]
lea ecx, [esp + 0x24]
push eax
push str._AND_account_s
push ecx
jmp 0x4745ff
mov edx, dword [ecx + 0x10c]
lea eax, [esp + 0x24]
push edx
push str._AND_account_group_d
push eax
jmp 0x4745ff
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 0x60f9c8
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 0x47463f
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 0x47464d
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.004dc330
cmp eax, ebx
jne 0x474862
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 0x60f884
call dword [edx + 0x90]
mov eax, dword [0x635490]
cmp eax, ebx
je 0x4746f2
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4746f2
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x78]
push 0x60f86c
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 [0x635490]
push str.command
push str.esms
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]
call fcn.0044c560
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x474746
push 0x60f86c
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 [0x62fce8]
mov byte [esp + 0x2e0], 8
call fcn.00401140
mov eax, dword [0x62fcf0]
cmp eax, ebx
je 0x47484d
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x47484d
mov ecx, dword [eax + 0x4c]
mov ebp, dword [ecx + ebx*4]
test ebp, ebp
je 0x474841
mov cl, byte [ebp + 0x88]
test cl, cl
je 0x474841
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47483c
mov eax, dword [ebp + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47483c
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 0x47482b
mov al, byte [ebp + 0x80]
test al, al
jne 0x47482b
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 0x47482b
push 0x60f86c
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.004024b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2d4], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x474760
test esi, esi
je 0x474f5f
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x474f5f
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 [0x635490]
mov byte [esp + 0x2d4], 0x12
mov eax, dword [ecx + 0xc]
cmp eax, ebx
je 0x474cf2
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x474cf2
mov cl, byte [eax + 0x2e0]
test cl, cl
je 0x474cf2
lea edx, [esp + 0x20]
push 0x60f7d4
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 0x474959
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 0x474c71
mov eax, dword [edi + 0x11b4]
lea ecx, [eax + eax*4]
shl ecx, 1
cmp ebp, ecx
jl 0x474c5a
lea edx, [eax + eax*4 + 5]
shl edx, 1
cmp ebp, edx
jge 0x474c5a
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 0x601d38
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 0x474ba1
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.004eaa70
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.004eaa70
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.004eaa70
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 0x60f7bc
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2d4], 0x18
call fcn.00592f92
lea ecx, [esp + 0x68]
mov byte [esp + 0x2d4], 0x17
call fcn.00592f92
lea ecx, [esp + 0x54]
mov byte [esp + 0x2d4], 0x16
call fcn.00592f92
jmp 0x474baf
push 0x60f7ac
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x28]
push 0x10
push edx
call fcn.004ecb70
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 0x6020a0
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 0x474c11
push 0x60a6fc
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.00592f4a
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 0x4749c0
neg bl
sbb bl, bl
lea ecx, [esp + 0x10]
and bl, 0xf5
add bl, 0x2b
movsx eax, bl
push eax
push ebp
push 0x60f6e4
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0x10]
lea ecx, [esp + 0x20]
push edx
call fcn.00592f4a
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.00592f92
lea ecx, [esp + 0xb8]
mov byte [esp + 0x2d4], 0x13
call fcn.00592f92
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2d4], 0x12
call fcn.00592f92
jmp 0x474eb8
lea eax, [esp + 0x20]
push 0x60f654
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 0x474d30
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 0x474e89
mov eax, dword [edi + 0x11b4]
lea edx, [eax + eax*4]
shl edx, 1
cmp ebp, edx
jl 0x474e72
lea eax, [eax + eax*4 + 5]
shl eax, 1
cmp ebp, eax
jge 0x474e72
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 0x601d38
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.004ecb70
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 0x6020a0
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 0x474e33
push 0x60a6fc
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.00592f4a
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 0x474d4a
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.00592f4a
mov ecx, dword [esp + 0x20]
mov eax, dword [edi]
push 0
push ecx
mov ecx, edi
call dword [eax + 0x90]
test esi, esi
je 0x474ed5
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