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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a7803
push eax
mov dword fs:[0], esp
sub esp, 0x234
mov edx, dword [esp + 0x244]
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0x40]
push edi
mov eax, dword [ebp]
mov esi, dword [ebp + 4]
push ecx
push edx
mov ecx, ebp
call dword [eax + 4]
test al, al
jne 0x4765d7
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi]
inc ecx
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x90]
mov eax, dword [0x635400]
xor ebp, ebp
cmp eax, ebp
je 0x476471
mov cl, byte [eax + 0x40]
test cl, cl
je 0x476471
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
lea eax, [esp + 0x44]
push eax
push str._RX_
push ebp
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635400]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb7d0
mov edx, dword [0x635400]
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 0x4764c7
lea edx, [esp + 0x44]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov dword [esp + 0x25c], ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x62fc58]
mov dword [esp + 0x258], 0xffffffff
call fcn.00401140
mov eax, dword [0x62fc60]
cmp eax, ebp
je 0x476d38
cmp dword [eax + 0x50], ebp
jle 0x476d38
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4765c6
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4765c6
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4765c1
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4765c1
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24c], 1
mov eax, dword [edx - 8]
test eax, eax
je 0x4765ad
mov al, byte [edi + 0x80]
test al, al
jne 0x4765ad
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x4765ad
lea ecx, [esp + 0x44]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x25c], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x258], 1
call fcn.004024b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4764e3
jmp 0x476d38
mov eax, dword [0x635400]
push str.PNRR
mov ecx, dword [eax + 8]
call sym.ETermProxy.exe_public:_class_CCSConnection____thiscall_CDBConnCollect::GetConnByName_char__
test eax, eax
jne 0x4767dc
mov eax, dword [esi + 0x7c]
mov edx, dword [esi]
inc eax
mov ecx, esi
push eax
push 0x60f9e8
call dword [edx + 0x90]
mov eax, dword [0x635400]
test eax, eax
je 0x476670
mov cl, byte [eax + 0x40]
test cl, cl
je 0x476670
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x44]
push ecx
push str._RX_
push 0
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 [0x635400]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb7d0
mov edx, dword [0x635400]
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 0x4766ca
lea edx, [esp + 0x44]
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 [esi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x25c], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x62fc58]
mov dword [esp + 0x258], 0xffffffff
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x476d38
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x476d38
mov ebx, 4
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4767cb
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4767cb
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4767c6
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4767c6
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24c], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x4767b2
mov al, byte [edi + 0x80]
test al, al
jne 0x4767b2
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4767b2
lea ecx, [esp + 0x44]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x25c], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x258], bl
call fcn.004024b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4766e9
jmp 0x476d38
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x24c], 6
cmp eax, ebx
je 0x47680b
push str.PNRR
mov ecx, eax
call fcn.004dc060
mov edi, eax
jmp 0x47680d
xor edi, edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24c], 0xffffffff
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp + 0x20]
push 0x60f9b8
push eax
mov dword [esp + 0x254], 7
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x476867
mov eax, dword [ebp + 0x24]
mov edx, dword [esi + 0x78]
push eax
mov ecx, eax
mov eax, dword [edx + 0x10c]
push ecx
push eax
lea ecx, [esp + 0x24]
push str.select__from_etdz_rec_where_account_group_d_AND_rec_time___s_00:00:00_AND_rec_time___s_23:59:59_ORDER_BY_rec_time_DESC
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
jmp 0x47688e
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
push edx
mov eax, edx
mov edx, dword [esi + 0x78]
push eax
push ecx
lea ecx, [esp + 0x24]
mov eax, dword [edx + 0x10c]
push eax
push str.select__from_etdz_rec_where_account_group_d_AND_account_s_AND_rec_time___s_00:00:00_AND_rec_time___s_23:59:59_ORDER_BY_rec_time_DESC
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
mov edx, dword [esp + 0x18]
push 3
push 3
push 1
push edx
mov ecx, edi
call fcn.004dc0f0
cmp eax, ebx
jne 0x476a99
mov edx, dword [esi + 0x7c]
mov ecx, esi
inc edx
mov eax, edx
mov dword [esi + 0x7c], edx
mov edx, dword [esi]
push eax
push 0x60f874
call dword [edx + 0x90]
mov eax, dword [0x635400]
cmp eax, ebx
je 0x47692b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47692b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x60f85c
push str._RX_
push ebx
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635400]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb7d0
mov eax, dword [0x635400]
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 0x47697f
push 0x60f85c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x25c], 8
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x62fc58]
mov byte [esp + 0x258], 7
call fcn.00401140
mov eax, dword [0x62fc60]
cmp eax, ebx
je 0x476a84
mov ecx, dword [eax + 0x50]
test ecx, ecx
jle 0x476a84
mov ecx, dword [eax + 0x4c]
mov ebp, dword [ecx + ebx*4]
test ebp, ebp
je 0x476a78
mov cl, byte [ebp + 0x88]
test cl, cl
je 0x476a78
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x476a73
mov eax, dword [ebp + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x476a73
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x24c], 9
mov eax, dword [edx - 8]
test eax, eax
je 0x476a62
mov al, byte [ebp + 0x80]
test al, al
jne 0x476a62
mov eax, dword [esi + 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 0x476a62
push 0x60f85c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x25c], 0xa
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebp
mov byte [esp + 0x258], 9
call fcn.004024b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x24c], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x476997
test edi, edi
je 0x476d24
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
jmp 0x476d24
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x24c], 0xb
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24c], 0xc
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x24c], 0xd
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x24c], 0xe
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
push 0x60fb9c
push ecx
mov byte [esp + 0x254], 0xf
call sub.MFC42.DLL_CString::Format
add esp, 8
mov ecx, edi
xor ebp, ebp
mov dword [esp + 0x10], ebx
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 [esi + 0x11b4]
cmp eax, edx
jl 0x476b44
mov dword [esi + 0x11b4], edx
mov ebx, dword [esi + 0x11b4]
mov ecx, edi
cmp ebx, edx
sete bl
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
jne 0x476c6b
lea ecx, [esp + 0x34]
push ecx
push str.price
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x11b4]
lea ecx, [eax + eax*4]
shl ecx, 1
cmp ebp, ecx
jl 0x476c54
lea edx, [eax + eax*4 + 5]
shl edx, 1
cmp ebp, edx
jge 0x476c54
lea eax, [esp + 0x28]
mov ecx, edi
push eax
push str.account
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x30]
push ecx
push 0x601d38
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esp + 0x38]
mov ecx, edi
push edx
push str.rec_time
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_COleDateTime__
lea eax, [esp + 0x28]
push 0xc
push eax
call fcn.004ec930
add esp, 8
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_COleDateTime::GetMinute
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_COleDateTime::GetHour
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_COleDateTime::GetDay
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_COleDateTime::GetMonth
push eax
lea ecx, [esp + 0x3c]
push 0x6020a0
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
add esp, 0x18
push edx
mov edx, dword [esp + 0x30]
push eax
push 0x1e
push ecx
lea eax, [ebp + 1]
push edx
push eax
lea ecx, [esp + 0x3c]
push str._3d_______s_______s___cRT:_s__5d_r
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x20
lea edx, [esp + 0x24]
lea ecx, [esp + 0x20]
push edx
call fcn.00592b6a
mov ecx, edi
inc ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::MoveNext_void_
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
je 0x476b5e
neg bl
sbb bl, bl
mov ecx, dword [esp + 0x10]
and bl, 2
lea edx, [esp + 0x24]
add bl, 0x2b
movsx eax, bl
push eax
push ecx
push ebp
push str._________________________________________________________r
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea eax, [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
call fcn.00592b6a
mov eax, dword [esp + 0x20]
mov edx, dword [esi]
push 0
push eax
mov ecx, esi
call dword [edx + 0x90]
test edi, edi
je 0x476cbc
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov eax, dword [esp + 0x254]
lea ecx, [esi + 0x11b0]
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x24c], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x24c], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24c], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x24c], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x24c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x24c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x240
ret 4