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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5aaadd
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov edx, dword [esp + 0x228]
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x28]
mov eax, dword [edi]
mov esi, dword [edi + 4]
push ecx
push edx
mov ecx, edi
call dword [eax + 4]
test al, al
jne 0x486806
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi]
inc ecx
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x90]
mov eax, dword [0x637770]
xor ebp, ebp
cmp eax, ebp
je 0x4866a0
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4866a0
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
lea eax, [esp + 0x28]
push eax
push str._RX_
push ebp
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x28], 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 0x4866f6
lea edx, [esp + 0x28]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x20], 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 + 0x240], ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x23c], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
cmp eax, ebp
je 0x486edc
cmp dword [eax + 0x50], ebp
jle 0x486edc
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4867f5
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4867f5
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4867f0
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4867f0
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x18]
mov dword [esp + 0x230], 1
mov eax, dword [edx - 8]
test eax, eax
je 0x4867dc
mov al, byte [edi + 0x80]
test al, al
jne 0x4867dc
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 0x4867dc
lea ecx, [esp + 0x28]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], 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 + 0x240], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x23c], 1
call fcn.00402500
lea ecx, [esp + 0x18]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x486712
jmp 0x486edc
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x78]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x230], 3
mov ecx, dword [eax + 0x10c]
lea eax, [esp + 0x1c]
push ecx
push edx
push str.select__id___disable__from_pid_config_WHERE_align_name_s_AND_group_id_d
push eax
call sub.MFC42.DLL_CString::Format
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x230], 4
je 0x486861
push str.XGSP
mov ecx, eax
call fcn.004dbdb0
mov ebp, eax
jmp 0x486863
xor ebp, ebp
mov ecx, dword [esp + 0x1c]
push 3
push 3
push 1
push ecx
mov ecx, ebp
mov byte [esp + 0x240], 3
call fcn.004dbe40
test eax, eax
je 0x486cde
mov ecx, ebp
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
je 0x486cde
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
push 0x603170
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
push str.disable
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 0x24]
lea eax, [edi + 0x24]
cmp ecx, edx
jne 0x486ab4
test ebp, ebp
je 0x4868d5
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi]
inc ecx
push ecx
push 0x6148dc
mov ecx, esi
call dword [eax + 0x90]
mov eax, dword [0x637770]
test eax, eax
je 0x486954
mov cl, byte [eax + 0x40]
test cl, cl
je 0x486954
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push 0x6148cc
push str._RX_
push 0
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 [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 0x4869a8
push 0x6148cc
push ecx
mov ecx, esp
mov dword [esp + 0x18], 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 + 0x240], 8
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov byte [esp + 0x23c], 3
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x486ec8
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x486ec8
mov bl, 9
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x486aa3
mov cl, byte [edi + 0x88]
test cl, cl
je 0x486aa3
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x486a9e
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x486a9e
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x18]
mov byte [esp + 0x230], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x486a8d
mov al, byte [edi + 0x80]
test al, al
jne 0x486a8d
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 0x486a8d
push 0x6148cc
push ecx
mov ecx, esp
mov dword [esp + 0x18], 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 + 0x240], 0xa
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x23c], bl
call fcn.00402500
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4869c4
jmp 0x486ec8
push eax
push str.disable
mov ecx, ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::PutCollect_char_const___int_const__
mov ecx, ebp
call fcn.004dc010
test ebp, ebp
je 0x486ad5
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x486ae7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x486ae9
xor eax, eax
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + 0x20]
push 2
push ecx
push 0x465
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi]
inc ecx
push ecx
push 0x6148b8
mov ecx, esi
call dword [eax + 0x90]
mov eax, dword [0x637770]
test eax, eax
je 0x486b7e
mov cl, byte [eax + 0x40]
test cl, cl
je 0x486b7e
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push 0x6148a8
push str._RX_
push 0
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 [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 0x486bd2
push 0x6148a8
push ecx
mov ecx, esp
mov dword [esp + 0x18], 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 + 0x240], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov byte [esp + 0x23c], 3
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x486ec8
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x486ec8
mov bl, 0xc
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x486ccd
mov cl, byte [edi + 0x88]
test cl, cl
je 0x486ccd
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x486cc8
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x486cc8
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x14]
mov byte [esp + 0x230], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x486cb7
mov al, byte [edi + 0x80]
test al, al
jne 0x486cb7
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 0x486cb7
push 0x6148a8
push ecx
mov ecx, esp
mov dword [esp + 0x18], 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 + 0x240], 0xd
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x23c], bl
call fcn.00402500
lea ecx, [esp + 0x14]
mov byte [esp + 0x230], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x486bee
jmp 0x486ec8
mov eax, dword [esi + 0x7c]
mov edx, dword [esi]
inc eax
mov ecx, esi
push eax
push 0x614284
mov dword [esi + 0x7c], eax
call dword [edx + 0x90]
mov eax, dword [0x637770]
test eax, eax
je 0x486d60
mov cl, byte [eax + 0x40]
test cl, cl
je 0x486d60
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x614274
push str._RX_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x637770]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x486db4
push 0x614274
push ecx
mov ecx, esp
mov dword [esp + 0x18], 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 + 0x240], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov byte [esp + 0x23c], 3
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x486ebb
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x486ebb
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x486eaf
mov cl, byte [edi + 0x88]
test cl, cl
je 0x486eaf
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x486eaa
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x486eaa
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x14]
mov byte [esp + 0x230], 6
mov eax, dword [edx - 8]
test eax, eax
je 0x486e99
mov al, byte [edi + 0x80]
test al, al
jne 0x486e99
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 0x486e99
push 0x614274
push ecx
mov ecx, esp
mov dword [esp + 0x18], 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 + 0x240], 7
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x23c], 6
call fcn.00402500
lea ecx, [esp + 0x14]
mov byte [esp + 0x230], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x486dce
test ebp, ebp
je 0x486ec8
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x224
ret 4