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

Disassembly:
push 0xffffffffffffffff
push 0x5af3c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x63ac10]
push ebx
push ebp
push esi
mov eax, dword [eax + 0xc]
xor ebx, ebx
mov esi, ecx
cmp eax, ebx
push edi
mov dword [esp + 0x28], esi
je 0x49a5ad
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x49a5ad
mov cl, byte [eax + 0x320]
test cl, cl
je 0x49a5ad
mov ecx, esi
call fcn.0049a5d0
mov al, byte [esp + 0x48]
test al, al
jne 0x49a1a2
mov eax, dword [0x63ac10]
cmp eax, ebx
je 0x49a138
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49a138
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push 0x61a57c
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63ac10]
push str.runtime
push 0x60677c
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x61a57c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x48], ebx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x4c], 1
mov ecx, esp
mov dword [esp + 0x3c], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x50], 2
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov dword [esp + 0x50], 0xffffffff
call fcn.004590c0
jmp 0x49a5ad
push str._SELECT_ins_route.id__ins_route.source_group_id__ins_route.dest_group_id___t_t_tins_route.disable__ins_route.ins_set__a.group_name__b.ins_route_enable_FROM___ins_route__t_t_tINNER_JOIN_group_list_a_ON_ins_route.dest_group_id__a.id___t_t_tINNER_JOIN_group_list_b_ON_ins_route.source_group_id__b.id__
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 3
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push str.select__from__s_where_disable0_and_ins_route_enable__1_order_by_source_group_id_id
push ecx
mov byte [esp + 0x4c], 4
call sub.MFC42.DLL_CString::Format
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 0x10
mov dword [esp + 0x48], eax
cmp eax, ebx
mov byte [esp + 0x40], 5
je 0x49a201
push str.XGSP
mov ecx, eax
call fcn.004dd020
mov edi, eax
jmp 0x49a203
xor edi, edi
mov edx, dword [esp + 0x14]
push 3
push 3
push 1
push edx
mov ecx, edi
mov byte [esp + 0x50], 4
call fcn.004dd0b0
cmp eax, ebx
jne 0x49a2fe
cmp edi, ebx
je 0x49a22e
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, dword [0x63ac10]
cmp eax, ebx
je 0x49a296
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49a296
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push str._v_ins_route_
push 0x606790
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63ac10]
push str.runtime
push 0x60677c
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str._v_ins_route_
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x48], 6
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x606790
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x4c], 7
mov ecx, esp
mov dword [esp + 0x38], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x50], 8
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x50], 4
call fcn.004590c0
jmp 0x49a58e
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 9
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x40], 0xa
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
jne 0x49a44d
lea ebx, [esi + 0x78]
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push str.source_group_id
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea ecx, [esp + 0x24]
push ecx
push str.dest_group_id
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea edx, [esp + 0x18]
mov ecx, edi
push edx
push str.group_name
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push str.ins_set
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
push 0x20
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
test esi, esi
mov byte [esp + 0x40], 0xb
je 0x49a3b1
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xc]
mov byte [esp + 0x40], 0xc
call sub.MFC42.DLL_CStringArray::CStringArray
jmp 0x49a3b3
xor esi, esi
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x18]
mov dword [esi], ecx
mov edx, dword [esp + 0x24]
push eax
lea ecx, [esi + 8]
mov byte [esp + 0x44], 0xa
mov dword [esi + 4], edx
call sub.MFC42.DLL_CString::operator_1
push 0x606ce8
push 0x61a3e4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x606ce8
push 0x60f69c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 1
push 0
push 0x32
lea ecx, [esi + 0xc]
push 0x2c
push ecx
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb790
mov ebp, dword [ebx + 8]
add esp, 0x18
mov ecx, ebx
lea eax, [ebp + 1]
push 0xffffffffffffffff
push eax
call fcn.0049f7f0
mov ecx, dword [ebx + 4]
mov dword [ecx + ebp*4], esi
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::MoveNext_void_
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
je 0x49a334
mov esi, dword [esp + 0x28]
test edi, edi
je 0x49a459
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov eax, dword [esi + 0x80]
test eax, eax
jle 0x49a572
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x80]
mov bl, 0xd
push eax
lea eax, [esp + 0x4c]
push 0x61a3c8
push eax
mov byte [esp + 0x4c], bl
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0xc
test eax, eax
je 0x49a4fd
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49a4fd
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x4c]
call fcn.0041a990
push eax
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63ac10]
push str.runtime
push 0x60677c
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
lea ecx, [esp + 0x48]
call fcn.0041a990
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x48], 0xe
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x4c], 0xf
mov ecx, esp
mov dword [esp + 0x38], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x50], 0x10
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x50], bl
call fcn.004590c0
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 4