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

Disassembly:
push 0xffffffffffffffff
push 0x5aa59d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
mov edx, dword [esp + 0x250]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x50]
mov dword [esp + 0x10], esi
mov eax, dword [esi]
mov edi, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call dword [eax + 4]
test al, al
jne 0x48501a
mov ecx, dword [edi + 0x7c]
mov eax, dword [edi]
inc ecx
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, edi
call dword [eax + 0x90]
mov eax, dword [0x637760]
xor ebp, ebp
cmp eax, ebp
je 0x484eb4
mov cl, byte [eax + 0x40]
test cl, cl
je 0x484eb4
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x78]
lea eax, [esp + 0x50]
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 [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 0x484f0a
lea edx, [esp + 0x50]
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 [edi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov dword [esp + 0x268], ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov dword [esp + 0x264], 0xffffffff
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebp
je 0x4855a1
cmp dword [eax + 0x50], ebp
jle 0x4855a1
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x485009
mov cl, byte [esi + 0x88]
test cl, cl
je 0x485009
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x485004
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x485004
mov ecx, dword [edi + 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 + 0x258], 1
mov eax, dword [edx - 8]
test eax, eax
je 0x484ff0
mov al, byte [esi + 0x80]
test al, al
jne 0x484ff0
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 0x484ff0
lea ecx, [esp + 0x50]
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 + 0x28], esp
push edx
mov byte [esp + 0x268], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x264], 1
call fcn.00402490
lea ecx, [esp + 0x10]
mov dword [esp + 0x258], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x484f26
jmp 0x4855a1
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x28]
mov edx, dword [edi + 0x78]
mov ecx, eax
push eax
mov eax, dword [edx + 0x10c]
push ecx
mov ecx, dword [esi + 0x24]
push eax
push ecx
lea edx, [esp + 0x38]
push str.select__from_qty_rec_WHERE_account_s_AND_account_group_d_and_rec_time____s_00:00:00_and_rec_time____s_23:59:59_order_by_id_ASC
push edx
mov dword [esp + 0x270], 3
call sub.MFC42.DLL_CString::Format
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 0x1c
mov dword [esp + 0x18], eax
xor ebp, ebp
mov byte [esp + 0x258], 4
cmp eax, ebp
je 0x48507e
push str.PNRR
mov ecx, eax
call fcn.004db9f0
mov esi, eax
jmp 0x485080
xor esi, esi
mov eax, dword [esp + 0x28]
push 3
push 3
push 1
push eax
mov ecx, esi
mov byte [esp + 0x268], 3
call fcn.004dba80
cmp eax, ebp
jne 0x485295
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 0x614284
call dword [edx + 0x90]
mov eax, dword [0x637760]
cmp eax, ebp
je 0x485125
mov cl, byte [eax + 0x40]
test cl, cl
je 0x485125
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x78]
push 0x614274
push str._RX_
push ebp
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 0x485179
push 0x614274
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 + 0x28], esp
push edx
mov byte [esp + 0x268], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x264], 3
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebp
je 0x485280
mov ecx, dword [eax + 0x50]
xor ebx, ebx
cmp ecx, ebp
jle 0x485280
mov ecx, dword [eax + 0x4c]
mov ebp, dword [ecx + ebx*4]
test ebp, ebp
je 0x485274
mov cl, byte [ebp + 0x88]
test cl, cl
je 0x485274
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x48526f
mov eax, dword [ebp + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x48526f
mov ecx, dword [edi + 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 + 0x258], 6
mov eax, dword [edx - 8]
test eax, eax
je 0x48525e
mov al, byte [ebp + 0x80]
test al, al
jne 0x48525e
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 0x48525e
push 0x614274
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 + 0x1c], esp
push edx
mov byte [esp + 0x268], 7
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebp
mov byte [esp + 0x264], 6
call fcn.00402490
lea ecx, [esp + 0x1c]
mov byte [esp + 0x258], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x485193
test esi, esi
je 0x48558d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x48558d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
push 0x6143f8
lea ecx, [esp + 0x24]
mov byte [esp + 0x25c], 8
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x258], 9
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0x11b4]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp ecx, eax
jl 0x4852e4
mov ecx, eax
mov dword [edi + 0x11b4], eax
cmp ecx, eax
lea ecx, [esp + 0x24]
sete bl
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x258], 0xa
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x258], 0xb
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x258], 0xc
call sub.MFC42.DLL_CString::CString_1
sub esp, 0x10
mov dword [esp + 0x48], 0
mov eax, esp
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], ebp
mov dword [esp + 0x28], esp
mov word [eax], 3
mov dword [eax + 8], 1
mov ecx, dword [edi + 0x11b4]
mov byte [esp + 0x268], 0xd
shl ecx, 3
push ecx
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::Move_long_int__class__variant_t_
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
jne 0x48549e
lea edx, [esp + 0x38]
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 + 0x24]
mov ecx, esi
push eax
push str.account
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x34]
push ecx
push str.opration
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esp + 0x2c]
mov ecx, esi
push edx
push str.oprator
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esp + 0x48]
mov ecx, esi
push eax
push 0x603f6c
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea ecx, [esp + 0x44]
push ecx
push str.auth_qty
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea edx, [esp + 0x4c]
mov ecx, esi
push edx
push str.remnant_qty
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea eax, [esp + 0x30]
mov ecx, esi
push eax
push str.remark
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x24]
push 0xb
push ecx
call fcn.004ec140
lea edx, [esp + 0x34]
push 0xa
push edx
call fcn.004ec140
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
add esp, 0x10
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_COleDateTime::GetMinute
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_COleDateTime::GetHour
push eax
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_COleDateTime::GetDay
push eax
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_COleDateTime::GetMonth
mov ecx, dword [edi + 0x11b4]
push eax
lea eax, [esp + 0x40]
lea edx, [ebp + ecx*8 + 1]
push edx
push str._3d___02d__02d__02d:_02d__s__s__s__6d__6d__6d__s_r
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x38
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.0059453a
mov ecx, esi
inc ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::MoveNext_void_
cmp ebp, 8
jl 0x485365
push str.________________________________________________________________________________r
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x14]
lea ecx, [esp + 0x20]
push edx
call fcn.0059453a
neg bl
sbb bl, bl
mov ecx, dword [esp + 0x1c]
and bl, 2
lea edx, [esp + 0x14]
add bl, 0x2b
movsx eax, bl
push eax
push ecx
push 0x61431c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
call fcn.0059453a
mov eax, dword [esp + 0x20]
mov edx, dword [edi]
push 0
push eax
mov ecx, edi
call dword [edx + 0x90]
test esi, esi
je 0x48550a
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x260]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x14]
call fcn.00466ca0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x258], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x258], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x258], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x258], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x258], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x258], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x250]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x24c
ret 4