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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a8e6d
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 0x486b26
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 [0x635400]
xor ebp, ebp
cmp eax, ebp
je 0x4869c0
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4869c0
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 [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 0x486a16
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 [0x62fc58]
mov dword [esp + 0x23c], 0xffffffff
call fcn.00401140
mov eax, dword [0x62fc60]
cmp eax, ebp
je 0x4871fc
cmp dword [eax + 0x50], ebp
jle 0x4871fc
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x486b15
mov cl, byte [edi + 0x88]
test cl, cl
je 0x486b15
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x486b10
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x486b10
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 0x486afc
mov al, byte [edi + 0x80]
test al, al
jne 0x486afc
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 0x486afc
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.004024b0
lea ecx, [esp + 0x18]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x486a32
jmp 0x4871fc
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 0x486b81
push str.XGSP
mov ecx, eax
call fcn.004dc060
mov ebp, eax
jmp 0x486b83
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.004dc0f0
test eax, eax
je 0x486ffe
mov ecx, ebp
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
je 0x486ffe
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
push 0x601170
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 0x486dd4
test ebp, ebp
je 0x486bf5
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 0x612b7c
mov ecx, esi
call dword [eax + 0x90]
mov eax, dword [0x635400]
test eax, eax
je 0x486c74
mov cl, byte [eax + 0x40]
test cl, cl
je 0x486c74
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push 0x612b6c
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 [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 0x486cc8
push 0x612b6c
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 [0x62fc58]
mov byte [esp + 0x23c], 3
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4871e8
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4871e8
mov bl, 9
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x486dc3
mov cl, byte [edi + 0x88]
test cl, cl
je 0x486dc3
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x486dbe
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x486dbe
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 0x486dad
mov al, byte [edi + 0x80]
test al, al
jne 0x486dad
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 0x486dad
push 0x612b6c
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.004024b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x486ce4
jmp 0x4871e8
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.004dc2c0
test ebp, ebp
je 0x486df5
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x486e07
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x486e09
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 0x612b58
mov ecx, esi
call dword [eax + 0x90]
mov eax, dword [0x635400]
test eax, eax
je 0x486e9e
mov cl, byte [eax + 0x40]
test cl, cl
je 0x486e9e
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push 0x612b48
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 [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 0x486ef2
push 0x612b48
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 [0x62fc58]
mov byte [esp + 0x23c], 3
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4871e8
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4871e8
mov bl, 0xc
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x486fed
mov cl, byte [edi + 0x88]
test cl, cl
je 0x486fed
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x486fe8
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x486fe8
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 0x486fd7
mov al, byte [edi + 0x80]
test al, al
jne 0x486fd7
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 0x486fd7
push 0x612b48
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.004024b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x230], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x486f0e
jmp 0x4871e8
mov eax, dword [esi + 0x7c]
mov edx, dword [esi]
inc eax
mov ecx, esi
push eax
push 0x6123d8
mov dword [esi + 0x7c], eax
call dword [edx + 0x90]
mov eax, dword [0x635400]
test eax, eax
je 0x487080
mov cl, byte [eax + 0x40]
test cl, cl
je 0x487080
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x6123c8
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 [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 0x4870d4
push 0x6123c8
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 [0x62fc58]
mov byte [esp + 0x23c], 3
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4871db
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x4871db
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x4871cf
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4871cf
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4871ca
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4871ca
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 0x4871b9
mov al, byte [edi + 0x80]
test al, al
jne 0x4871b9
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 0x4871b9
push 0x6123c8
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.004024b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x230], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x4870ee
test ebp, ebp
je 0x4871e8
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