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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a3799
push eax
mov al, byte [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
mov ebx, ecx
xor ecx, ecx
push ebp
test al, al
sete cl
push esi
mov esi, ecx
push edi
lea ecx, [ebx + 0x11c]
push esi
mov byte [ebx + 0x114], al
call sub.MFC42.DLL_CWnd::EnableWindow
lea ecx, [ebx + 0x394]
push esi
call sub.MFC42.DLL_CWnd::EnableWindow
push esi
lea ecx, [ebx + 0x204]
call sub.MFC42.DLL_CWnd::EnableWindow
push esi
push 0x573
mov ecx, ebx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push esi
push 0x4d3
mov ecx, ebx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push esi
push 0x4d2
mov ecx, ebx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
mov al, byte [esp + 0x7c]
test al, al
mov eax, 0x60e338
jne 0x4423f3
mov eax, 0x60e31c
push eax
push 0x426
mov ecx, ebx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
push esi
push 0x42c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
mov edx, dword [esp + 0x7c]
mov ecx, ebx
and edx, 0xff
push edx
push 0x42d
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 0x20
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0x3f4]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 4
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
push eax
push 7
push 0x1019
push ecx
call ebp
mov al, byte [esp + 0x7c]
mov edi, 0x60e310
test al, al
jne 0x442474
mov edi, 0x60e150
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x4c]
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x58]
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 7
and ecx, 3
push 0x101a
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x3f4]
push ecx
call ebp
mov edx, dword [esp + 0x58]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, ebx
push 1
call sub.MFC42.DLL_CWnd::UpdateData
mov eax, dword [ebx + 0x3f4]
push 0
push 0
push 0x1009
push eax
call ebp
lea ecx, [ebx + 0x514]
call sub.MFC42.DLL_CString::Empty
push 0
mov ecx, ebx
call sub.MFC42.DLL_CWnd::UpdateData
push 0x631fbc
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x24]
mov dword [esp + 0x74], 0
push ecx
lea ecx, [ebx + 0x244]
call fcn.004e9070
or esi, 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x74], esi
call sub.MFC42.DLL_CString::CString
push 0x631fbc
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_3
lea edx, [esp + 0x24]
lea ecx, [ebx + 0x2ec]
push edx
mov dword [esp + 0x78], 1
call fcn.004e9070
lea ecx, [esp + 0x24]
mov dword [esp + 0x74], esi
call sub.MFC42.DLL_CString::CString
push 0x631fbc
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x24]
lea ecx, [ebx + 0x15c]
push eax
mov dword [esp + 0x78], 2
call fcn.004e9070
lea ecx, [esp + 0x24]
mov dword [esp + 0x74], esi
call sub.MFC42.DLL_CString::CString
mov ecx, ebx
call fcn.00441f60
push str.select__FROM__q_rec__where_11
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov dword [esp + 0x74], 3
call sub.MFC42.DLL_CString::CString_1
lea ebp, [ebx + 0x118]
mov byte [esp + 0x74], 4
mov ecx, ebp
call sub.MFC42.DLL_CString::Empty
mov al, byte [esp + 0x7c]
test al, al
jne 0x442818
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 5
call sub.MFC42.DLL_CString::CString_1
lea esi, [ebx + 0x510]
push 0
mov ecx, esi
mov byte [esp + 0x78], 6
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [eax + 0xc]
push 0
mov dword [esp + 0x28], ecx
mov ecx, esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0x10]
push 0
mov ecx, esi
inc edi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x24]
add eax, 0x76c
push edx
push edi
push eax
lea eax, [esp + 0x2c]
push 0x60e2d0
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov ecx, esi
push 0
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [eax + 0xc]
push 0
mov dword [esp + 0x28], ecx
mov ecx, esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0x10]
push 0
mov ecx, esi
inc edi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x24]
add eax, 0x76c
push edx
push edi
push eax
lea eax, [esp + 0x28]
push str._04d__02d__02d_23:59:59
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add esp, 0x14
lea eax, [esp + 0x14]
push ecx
push edx
push str._AND_rec_time__s_AND_rec_time__s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.0059453a
mov edx, dword [ebx + 0x13c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push edx
call edi
mov esi, eax
test esi, esi
jl 0x442721
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x10]
lea ecx, [ebx + 0x11c]
push eax
push esi
mov byte [esp + 0x7c], 7
call sub.MFC42.DLL_CComboBox::GetLBText
mov ecx, dword [esp + 0x10]
push 0x60e280
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x442713
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push 0x60e268
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.0059453a
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 6
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebx + 0x3b4]
push 0
push 0
push 0x147
push edx
call edi
mov esi, eax
test esi, esi
jle 0x442789
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x10]
lea ecx, [ebx + 0x394]
push eax
push esi
mov byte [esp + 0x7c], 8
call sub.MFC42.DLL_CComboBox::GetLBText
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push str._AND_q_type_s
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.0059453a
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
push str._AND_q_flagFalse
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 8
lea edx, [esp + 0x14]
mov ecx, ebp
push edx
call fcn.0059453a
mov eax, dword [ebx + 0x224]
push 0
push 0
push 0x147
push eax
call edi
cmp eax, 1
jne 0x4427d7
lea ecx, [esp + 0x14]
push str._AND_q_cflagFalse
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 8
lea edx, [esp + 0x14]
push edx
jmp 0x4427f3
cmp eax, 2
jne 0x4427fa
lea eax, [esp + 0x14]
push str._AND_q_cflagTrue
push eax
call sub.MFC42.DLL_CString::Format
add esp, 8
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.0059453a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 4
call sub.MFC42.DLL_CString::CString
jmp 0x442836
lea edx, [esp + 0x14]
push str._AND_q_flagTrue
push edx
call sub.MFC42.DLL_CString::Format
add esp, 8
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.0059453a
push ebp
lea ecx, [esp + 0x1c]
call fcn.0059453a
push str.__ORDER_BY_ID_DESC
lea ecx, [esp + 0x1c]
call fcn.0059429a
mov ecx, dword [esp + 0x18]
push 0
push 0
push ecx
mov ecx, dword [0x637760]
push str.PNRR
call fcn.0058fec0
mov ebp, eax
xor edi, edi
cmp ebp, edi
mov dword [esp + 0x38], ebp
jne 0x44288e
mov edx, dword [ebx + 0x20]
push 0x40
push 0x6030cc
push 0x60e1d8
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x442d13
mov ecx, ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
cmp eax, edi
mov dword [esp + 0x3c], eax
je 0x442cb2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
mov byte [esp + 0x74], 9
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], edi
xor esi, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
jne 0x442ba8
push 0x34
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
test edi, edi
mov byte [esp + 0x74], 0xa
je 0x442985
lea ecx, [edi + 4]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 8]
mov byte [esp + 0x74], 0xb
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0xc]
mov byte [esp + 0x74], 0xc
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x10]
mov byte [esp + 0x74], 0xd
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x18]
mov byte [esp + 0x74], 0xe
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x1c]
mov byte [esp + 0x74], 0xf
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x20]
mov byte [esp + 0x74], 0x10
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x24]
mov byte [esp + 0x74], 0x11
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x28]
mov byte [esp + 0x74], 0x12
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x2c]
mov byte [esp + 0x74], 0x13
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x30]
mov byte [esp + 0x74], 0x14
call sub.MFC42.DLL_CString::CString_1
jmp 0x442987
xor edi, edi
mov eax, dword [ebx + 0x524]
lea ecx, [ebx + 0x51c]
mov dword [esp + 0x28], eax
inc eax
push 0xffffffffffffffff
push eax
mov byte [esp + 0x7c], 9
call fcn.00582a70
mov eax, dword [ebx + 0x520]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x2c]
mov dword [eax + ecx*4], edi
push edx
push 0x603170
mov ecx, ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
push ecx
push str.q_flag
mov ecx, ebp
mov dword [edi], eax
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov eax, dword [esp + 0x20]
mov ecx, ebp
test eax, eax
lea eax, [esp + 0x10]
setne dl
push eax
push str.q_flag_Time
mov byte [edi + 0x14], dl
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], 0x13
jne 0x442a2f
push 0xb
lea edx, [esp + 0x34]
push 5
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [edi + 0x24]
mov byte [esp + 0x78], 0x15
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 9
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
push str.q_cflag
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
test ecx, ecx
setne cl
mov byte [edi + 0x15], cl
push edx
push str.q_data
mov ecx, ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esp + 0x10]
lea ecx, [edi + 0x18]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x40]
push ecx
push str.rec_time
mov ecx, ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_COleDateTime__
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_COleDateTime::GetMinute
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_COleDateTime::GetHour
push eax
lea edx, [esp + 0x18]
push str._02d:_02d
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [edi + 4]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
push ecx
push str.office_code
mov ecx, ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esp + 0x10]
lea ecx, [edi + 8]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push str.q_type
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edi + 0xc]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
push str.account
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esp + 0x10]
lea ecx, [edi + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x442b17
inc dword [esp + 0x24]
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
push str.q_view_account
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esp + 0x10]
lea ecx, [edi + 0x1c]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
push ecx
push str.q_view_Time
mov ecx, ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], 0x13
jne 0x442b80
push 0xb
lea eax, [esp + 0x38]
push 5
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [edi + 0x20]
mov byte [esp + 0x78], 0x16
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 9
call sub.MFC42.DLL_CString::CString
jmp 0x442b84
inc dword [esp + 0x1c]
mov ecx, edi
call fcn.004437c0
mov ecx, edi
call fcn.00443b40
mov ecx, ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::MoveNext_void_
mov ecx, ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
je 0x4428dc
mov eax, dword [ebx + 0x524]
test eax, eax
jle 0x442c96
lea edi, [ebx + 0x3d4]
mov ecx, dword [ebx + 0x520]
lea eax, [esi + 1]
push eax
lea edx, [esp + 0x14]
mov ebp, dword [ecx + esi*4]
push 0x603d44
push edx
mov dword [esp + 0x3c], eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, edi
push 0
push 0
push 0
push 0
push eax
push esi
push 1
call sub.MFC42.DLL_CListCtrl::InsertItem
mov eax, dword [ebp + 4]
mov ecx, edi
push eax
push 1
push esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [ebp + 8]
mov ecx, edi
push eax
push 2
push esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [ebp + 0xc]
mov ecx, edi
push eax
push 3
push esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [ebp + 0x10]
mov ecx, edi
push eax
push 4
push esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [ebp + 0x28]
mov ecx, edi
push eax
push 5
push esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [ebp + 0x30]
mov ecx, edi
push eax
push 6
push esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov al, byte [esp + 0x7c]
test al, al
je 0x442c57
mov eax, dword [ebp + 0x24]
jmp 0x442c5a
mov eax, dword [ebp + 0x20]
push eax
push 7
push esi
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov ebp, dword [ebp]
mov ecx, edi
push ebp
push 0
push 0
push 0
push 0
push 4
push 0
push esi
call sub.MFC42.DLL_CListCtrl::SetItem
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::MoveNext_void_
cmp esi, dword [ebx + 0x524]
jl 0x442bbc
xor edi, edi
mov ecx, ebx
push edi
call sub.MFC42.DLL_CWnd::UpdateData
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push edx
push eax
lea eax, [ebx + 0x518]
push 0x60e164
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov ecx, ebx
push edi
call sub.MFC42.DLL_CWnd::UpdateData
mov ecx, dword [ebx + 0x3f4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push 0x1004
push ecx
call esi
cmp eax, edi
jle 0x442d13
push 3
push 2
push edi
lea ecx, [ebx + 0x3d4]
call sub.MFC42.DLL_CListCtrl::SetItemState
mov edx, dword [ebx + 0x3f4]
push edi
push edi
push 0x1013
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x74], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4