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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a8e90
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov edx, dword [esp + 0x240]
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x3c]
push edi
mov eax, dword [esi]
mov edi, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call dword [eax + 4]
test al, al
jne 0x484456
mov ecx, dword [edi + 0x7c]
mov eax, dword [edi]
inc ecx
lea edx, [esp + 0x40]
push ecx
push edx
mov ecx, edi
call dword [eax + 0x90]
mov eax, dword [0x635490]
xor ebp, ebp
cmp eax, ebp
je 0x4842f0
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4842f0
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x78]
lea eax, [esp + 0x40]
push eax
push str._RX_
push ebp
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x2c], 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 0x484346
lea edx, [esp + 0x40]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x24], 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 + 0x2c], esp
push eax
mov dword [esp + 0x258], ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x62fce8]
mov dword [esp + 0x254], 0xffffffff
call fcn.00401140
mov eax, dword [0x62fcf0]
cmp eax, ebp
je 0x484cbc
cmp dword [eax + 0x50], ebp
jle 0x484cbc
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x484445
mov cl, byte [esi + 0x88]
test cl, cl
je 0x484445
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x484440
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x484440
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 dword [esp + 0x248], 1
mov eax, dword [edx - 8]
test eax, eax
je 0x48442c
mov al, byte [esi + 0x80]
test al, al
jne 0x48442c
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 0x48442c
lea ecx, [esp + 0x40]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x28], 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 + 0x34], esp
push edx
mov byte [esp + 0x258], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x254], 1
call fcn.004024b0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x248], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x484362
jmp 0x484cbc
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov dword [esp + 0x248], 3
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x612454
push edx
mov byte [esp + 0x258], 4
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
push eax
push ecx
lea edx, [esp + 0x18]
push str.select_top_1__from_qty_rec_WHERE_account_s_and_rec_time__s_00:00:00_order_by_id_desc
push edx
mov byte [esp + 0x258], 5
call sub.MFC42.DLL_CString::Format
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 0x14
mov dword [esp + 0x20], eax
xor ebx, ebx
mov byte [esp + 0x248], 6
cmp eax, ebx
je 0x4844e9
push str.PNRR
mov ecx, eax
call fcn.004dc2a0
mov ebp, eax
jmp 0x4844eb
xor ebp, ebp
mov eax, dword [esp + 0x10]
push 3
push 3
push 1
push eax
mov ecx, ebp
mov byte [esp + 0x258], 5
call fcn.004dc330
cmp eax, ebx
jne 0x4846ff
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 0x6123e8
call dword [edx + 0x90]
mov eax, dword [0x635490]
cmp eax, ebx
je 0x484590
mov cl, byte [eax + 0x40]
test cl, cl
je 0x484590
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x78]
push 0x6123d8
push str._RX_
push ebx
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x30], 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 0x4845e4
push 0x6123d8
push ecx
mov ecx, esp
mov dword [esp + 0x28], 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 + 0x34], esp
push edx
mov byte [esp + 0x258], 7
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x62fce8]
mov byte [esp + 0x254], 5
call fcn.00401140
mov eax, dword [0x62fcf0]
cmp eax, ebx
je 0x4846e9
mov ecx, dword [eax + 0x50]
test ecx, ecx
jle 0x4846e9
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x4846dd
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4846dd
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4846d8
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4846d8
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 + 0x248], 8
mov eax, dword [edx - 8]
test eax, eax
je 0x4846c7
mov al, byte [esi + 0x80]
test al, al
jne 0x4846c7
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 0x4846c7
push 0x6123d8
push ecx
mov ecx, esp
mov dword [esp + 0x28], 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 + 0x34], esp
push edx
mov byte [esp + 0x258], 9
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x254], 8
call fcn.004024b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x4845fc
test ebp, ebp
je 0x484c86
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
jmp 0x484c86
mov ecx, ebp
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jne 0x48471a
push 0x6123bc
lea ecx, [esp + 0x1c]
call fcn.00592caa
jmp 0x48476a
lea ecx, [esp + 0x2c]
push ecx
push str.auth_qty
mov ecx, ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea edx, [esp + 0x30]
mov ecx, ebp
push edx
push str.remnant_qty
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
lea edx, [eax + ecx]
push edx
push ecx
push eax
lea eax, [esp + 0x20]
push 0x61237c
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00592f4a
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
mov eax, edx
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
push str.select_sum_qty__as_sum_remnant_qty__count___as_rec_count_from_qty_rec_WHERE_account_s__and_opration
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x24]
add esp, 0x14
mov ecx, ebp
push 3
push 3
push 1
push eax
call fcn.004dc330
lea ecx, [esp + 0x34]
push ecx
push str.sum_remnant_qty
mov ecx, ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
push str.rec_count
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x612280
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call fcn.00592f4a
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
mov edx, ecx
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push str.select_top_1_qty_from_qty_rec_WHERE_account_s__and_opration
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x24]
add esp, 0x14
mov ecx, ebp
push 3
push 3
push 1
push edx
call fcn.004dc330
lea eax, [esp + 0x34]
mov ecx, ebp
push eax
push 0x601f6c
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
mov edx, ecx
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push str.select_count___as_rec_count_from_qty_rec_WHERE_account_s__and_opration
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x24]
add esp, 0x14
mov ecx, ebp
push 3
push 3
push 1
push edx
call fcn.004dc330
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
push str.rec_count
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x612124
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00592f4a
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
mov eax, edx
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
push str.select_sum__qty__as_sum_qty__count___as_rec_count_from_qty_rec_WHERE_account_s__and_opration
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x24]
add esp, 0x14
mov ecx, ebp
push 3
push 3
push 1
push eax
call fcn.004dc330
lea ecx, [esp + 0x38]
push ecx
push str.sum_qty
mov ecx, ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
push str.rec_count
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x4848fa
mov eax, dword [esp + 0x24]
push ebx
push eax
lea ecx, [esp + 0x1c]
push 0x612044
push ecx
jmp 0x48490a
mov edx, dword [esp + 0x24]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x612014
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00592f4a
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
mov eax, edx
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
push str.select_sum_qty__as_sum_qty__count___as_rec_count_from_qty_rec_WHERE_account_s__and_opration
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x24]
add esp, 0x14
mov ecx, ebp
push 3
push 3
push 1
push eax
call fcn.004dc330
lea ecx, [esp + 0x38]
push ecx
push str.sum_qty
mov ecx, ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
push str.rec_count
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x611f3c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call fcn.00592f4a
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
push ecx
push edx
lea eax, [esp + 0x18]
push str.select_top_1__from__qty_rec_WHERE_account_s_and_rec_time__s_23:59:59_order_by_id_desc
push eax
call sub.MFC42.DLL_CString::Format
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 0x14
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x248], 0xa
je 0x4849e0
push str.PNRR
mov ecx, eax
call fcn.004dc2a0
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x4849e6
mov dword [esp + 0x1c], ebx
mov esi, ebx
mov ecx, dword [esp + 0x10]
push 3
push 3
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x258], 5
call fcn.004dc330
cmp eax, ebx
jne 0x484bff
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 0x6123e8
call dword [edx + 0x90]
mov eax, dword [0x635490]
cmp eax, ebx
je 0x484a8b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x484a8b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x78]
push 0x6123d8
push str._RX_
push ebx
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x30], 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 0x484adf
push 0x6123d8
push ecx
mov ecx, esp
mov dword [esp + 0x28], 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 + 0x34], esp
push edx
mov byte [esp + 0x258], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x62fce8]
mov byte [esp + 0x254], 5
call fcn.00401140
mov eax, dword [0x62fcf0]
cmp eax, ebx
je 0x484bea
mov ecx, dword [eax + 0x50]
xor ebp, ebp
cmp ecx, ebx
jle 0x484bea
mov bl, 0xc
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x484bda
mov cl, byte [esi + 0x88]
test cl, cl
je 0x484bda
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x484bd5
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x484bd5
mov ecx, dword [edi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x28]
mov byte [esp + 0x248], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x484bc4
mov al, byte [esi + 0x80]
test al, al
jne 0x484bc4
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 0x484bc4
push 0x6123d8
push ecx
mov ecx, esp
mov dword [esp + 0x28], 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 + 0x48], esp
push edx
mov byte [esp + 0x258], 0xd
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x254], bl
call fcn.004024b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x248], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x484afb
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x484c86
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x484c86
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jne 0x484c1a
push 0x611ec0
lea ecx, [esp + 0x1c]
call fcn.00592caa
jmp 0x484c6a
lea ecx, [esp + 0x2c]
push ecx
push str.auth_qty
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea edx, [esp + 0x30]
mov ecx, esi
push edx
push str.remnant_qty
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
lea edx, [eax + ecx]
push edx
push ecx
push eax
lea eax, [esp + 0x20]
push 0x611e7c
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00592f4a
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
push ebx
push eax
mov ecx, edi
call dword [edx + 0x90]
cmp esi, ebx
je 0x484c86
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
lea ecx, [esp + 0x10]
mov byte [esp + 0x248], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x248], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x248], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x240]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x23c
ret 4