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

Disassembly:
push 0xffffffffffffffff
push 0x5ab430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
push eax
mov esi, dword [edi + 4]
call fcn.0048d860
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov al, byte [edi + 0x20]
mov dword [esp + 0x24], 0
test al, al
jne 0x48d9a9
mov eax, dword [esi + 0x11d0]
test eax, eax
jle 0x48d9a9
lea ecx, [esp + 0x2c]
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
push 0
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax]
push 0
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebx, dword [eax + 4]
push 0
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [eax + 8]
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], edx
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x30]
inc edi
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [esi + 0x11d0]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push ebp
push ebx
push edx
mov edx, dword [esi + 0x78]
add eax, 0x76c
push ecx
push edi
push eax
mov eax, dword [edx + 0x3c]
push eax
lea ecx, [esp + 0x30]
push str.UPDATE__q_rec__SET_q_cflagTrue__q_view_account_s__q_view_time_04d__02d__02d__02d:_02d:_02d_WHERE_id_d
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x38]
mov ecx, dword [0x637770]
add esp, 0x28
lea eax, [esp + 0x18]
mov ecx, dword [ecx + 8]
push edx
push str.PNRR
push eax
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48d9a9
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor ebp, ebp
lea ecx, [esi + 0x11bc]
mov dword [esi + 0x11d0], ebp
mov dword [esi + 0x11cc], ebp
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi]
inc ecx
push ecx
push 0x60dba8
mov ecx, esi
call dword [eax + 0x90]
mov eax, dword [0x637770]
cmp eax, ebp
je 0x48da40
mov cl, byte [eax + 0x40]
test cl, cl
je 0x48da40
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push 0x60dba8
push str._RX_
push ebp
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637770]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb4c0
mov edx, dword [0x637770]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c540
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x48da8e
push 0x60dba8
push ecx
mov ecx, esp
mov dword [esp + 0x34], 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 + 0x24], esp
push edx
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov byte [esp + 0x30], 0
call fcn.00401160
mov eax, dword [0x631fd0]
cmp eax, ebp
je 0x48db85
cmp dword [eax + 0x50], ebp
jle 0x48db85
mov bl, 2
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x48db79
mov cl, byte [edi + 0x88]
test cl, cl
je 0x48db79
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x48db74
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x48db74
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x24], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x48db66
mov al, byte [edi + 0x80]
test al, al
jne 0x48db66
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 0x48db66
push 0x60dba8
push ecx
mov ecx, esp
mov dword [esp + 0x20], 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 + 0x20], esp
push edx
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x30], bl
call fcn.00402500
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x48daa6
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 4