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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5aa8b8
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov edx, dword [esp + 0x238]
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x38]
mov eax, dword [edi]
mov esi, dword [edi + 4]
push ecx
push edx
mov ecx, edi
call dword [eax + 4]
test al, al
jne 0x486fa6
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi]
inc ecx
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x90]
mov eax, dword [0x637760]
xor ebp, ebp
cmp eax, ebp
je 0x486e40
mov cl, byte [eax + 0x40]
test cl, cl
je 0x486e40
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
lea eax, [esp + 0x38]
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 0x486e96
lea edx, [esp + 0x38]
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 [esi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov dword [esp + 0x250], ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov dword [esp + 0x24c], 0xffffffff
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebp
je 0x4876f5
cmp dword [eax + 0x50], ebp
jle 0x4876f5
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x486f95
mov cl, byte [edi + 0x88]
test cl, cl
je 0x486f95
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x486f90
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x486f90
mov ecx, dword [esi + 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 + 0x240], 1
mov eax, dword [edx - 8]
test eax, eax
je 0x486f7c
mov al, byte [edi + 0x80]
test al, al
jne 0x486f7c
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 0x486f7c
lea ecx, [esp + 0x38]
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 [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x250], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x24c], 1
call fcn.00402490
lea ecx, [esp + 0x10]
mov dword [esp + 0x240], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x486eb2
jmp 0x4876f5
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x78]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x240], 3
mov ecx, dword [eax + 0x10c]
lea eax, [esp + 0x20]
push ecx
push edx
push str.select__id___ins_control_enable___add_ins_count___add_ins_curr__from__client_config__WHERE__account__s_AND__group__d
push eax
call sub.MFC42.DLL_CString::Format
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 0x14
mov dword [esp + 0x18], eax
xor ebp, ebp
mov byte [esp + 0x240], 4
cmp eax, ebp
je 0x487007
push str.XGSP
mov ecx, eax
call fcn.004db9f0
mov ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x48700d
mov dword [esp + 0x10], ebp
mov ebx, ebp
mov ecx, dword [esp + 0x20]
push 3
push 3
push 1
push ecx
mov ecx, ebx
mov byte [esp + 0x250], 3
call fcn.004dba80
cmp eax, ebp
je 0x4874f5
mov ecx, ebx
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
je 0x4874f5
lea edx, [esp + 0x2c]
mov ecx, ebx
push edx
push 0x603170
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
push str.ins_control_enable
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
cmp dword [esp + 0x28], ebp
jne 0x487253
mov edx, dword [esi + 0x7c]
mov ecx, esi
inc edx
mov eax, edx
mov dword [esi + 0x7c], edx
mov edx, dword [esi]
push eax
push 0x614948
call dword [edx + 0x90]
mov eax, dword [0x637760]
cmp eax, ebp
je 0x4870ed
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4870ed
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x614930
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 0x487141
push 0x614930
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 + 0x250], 8
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x24c], 3
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebp
je 0x487246
mov ecx, dword [eax + 0x50]
test ecx, ecx
jle 0x487246
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x48723a
mov cl, byte [edi + 0x88]
test cl, cl
je 0x48723a
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x487235
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x487235
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x10]
mov byte [esp + 0x240], 9
mov eax, dword [edx - 8]
test eax, eax
je 0x487224
mov al, byte [edi + 0x80]
test al, al
jne 0x487224
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 0x487224
push 0x614930
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 + 0x250], 0xa
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x24c], 9
call fcn.00402490
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x487159
test ebx, ebx
je 0x4876e1
jmp 0x4876d9
lea ecx, [esp + 0x24]
push ecx
push str.add_ins_count
mov ecx, ebx
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea edx, [esp + 0x30]
mov ecx, ebx
push edx
push str.add_ins_curr
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0x24]
add eax, ecx
lea ecx, [esp + 0x14]
push ecx
push str.add_ins_count
mov ecx, ebx
mov dword [esp + 0x1c], eax
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::PutCollect_char_const___int_const__
mov ecx, ebx
call fcn.004dbc50
cmp ebx, ebp
je 0x4872a6
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebp
je 0x4872b8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4872ba
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + 0x20]
push 2
push ecx
push 0x464
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov ebx, dword [edi + 0x24]
mov edx, eax
sub edx, ecx
sub eax, ecx
add edx, ebx
mov byte [esp + 0x240], 0xb
push edx
push eax
lea eax, [esp + 0x24]
push 0x614910
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 0x7c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi]
add esp, 0x10
inc eax
push eax
push ecx
mov ecx, esi
call dword [edx + 0x90]
mov eax, dword [0x637760]
cmp eax, ebp
je 0x487386
mov cl, byte [eax + 0x40]
test cl, cl
je 0x487386
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x78]
push edx
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 0x4873da
mov ecx, dword [esp + 0x1c]
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 [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x250], 0xc
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x24c], 0xb
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebp
je 0x4874df
mov ecx, dword [eax + 0x50]
test ecx, ecx
jle 0x4874df
mov bl, 0xd
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4874d3
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4874d3
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4874ce
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4874ce
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 + 0x240], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4874bd
mov al, byte [edi + 0x80]
test al, al
jne 0x4874bd
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 0x4874bd
mov ecx, dword [esp + 0x1c]
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 [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x250], 0xe
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x24c], bl
call fcn.00402490
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 0xb
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4873f4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x240], 3
call sub.MFC42.DLL_CString::CString
jmp 0x4876e1
mov edx, dword [esi + 0x7c]
mov ecx, esi
inc edx
mov eax, edx
mov dword [esi + 0x7c], edx
mov edx, dword [esi]
push eax
push 0x614284
call dword [edx + 0x90]
mov eax, dword [0x637760]
cmp eax, ebp
je 0x487578
mov cl, byte [eax + 0x40]
test cl, cl
je 0x487578
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 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 0x4875cc
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 [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x250], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x24c], 3
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebp
je 0x4876d5
mov ecx, dword [eax + 0x50]
test ecx, ecx
jle 0x4876d5
mov bl, 6
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4876c5
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4876c5
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4876c0
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4876c0
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 + 0x240], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4876af
mov al, byte [edi + 0x80]
test al, al
jne 0x4876af
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 0x4876af
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 [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x250], 7
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x24c], bl
call fcn.00402490
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4875e6
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x4876e1
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
lea ecx, [esp + 0x20]
mov dword [esp + 0x240], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x234
ret 4