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

Disassembly:
push 0xffffffffffffffff
push 0x5ab2f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
mov ebx, ecx
push ebp
push esi
mov al, byte [ebx + 0xdc]
push edi
test al, al
mov dword [esp + 0x10], ebx
je 0x49c7f0
call fcn.0049c810
mov ecx, dword [0x635400]
xor edi, edi
push edi
push edi
push str.SELECT___FROM_carrier_rule_list
push str.XGSP
call fcn.0058f640
mov esi, eax
cmp esi, edi
jne 0x49c340
mov eax, dword [0x635400]
cmp eax, edi
je 0x49c2c0
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49c2c0
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
push 0x615bbc
push 0x601774
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x635400]
push str.runtime
push 0x601760
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]
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x615bbc
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x78], edi
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x601774
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x7c], 1
mov ecx, esp
mov dword [esp + 0x30], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x80], 2
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x60175c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x62ffdc]
mov dword [esp + 0x80], 0xffffffff
call fcn.00458cb0
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov ecx, esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
jne 0x49c4c2
jmp 0x49c377
xor edi, edi
lea ecx, [esp + 0x48]
push ecx
push 0x601170
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea edx, [esp + 0x44]
mov ecx, esi
push edx
push str.gj_enable
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea eax, [esp + 0x40]
mov ecx, esi
push eax
push str.gn_carrier_ss_enable
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea ecx, [esp + 0x3c]
push ecx
push str.gj_carrier_ss_enable
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea edx, [esp + 0x38]
mov ecx, esi
push edx
push str.today_fly_disable
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea eax, [esp + 0x34]
mov ecx, esi
push eax
push str.max_passenger_enable
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea ecx, [esp + 0x30]
push ecx
push str.max_passenger_count
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea edx, [esp + 0x2c]
mov ecx, esi
push edx
push str.max_pnr_enable
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push str.max_pnr_count
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
push 0x2c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, edi
mov dword [esp + 0x70], 3
je 0x49c480
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x30]
cmp ecx, edi
mov ecx, dword [esp + 0x34]
setne dl
push edx
push ecx
mov ecx, dword [esp + 0x40]
cmp ecx, edi
mov ecx, dword [esp + 0x44]
setne dl
push edx
mov edx, dword [esp + 0x4c]
cmp ecx, edi
setne cl
cmp edx, edi
push ecx
setne dl
cmp ebp, edi
mov ebp, dword [esp + 0x58]
setne cl
cmp ebp, edi
push edx
push ecx
mov ecx, dword [esp + 0x64]
setne dl
push edx
push ecx
mov ecx, eax
call fcn.0049d030
mov ebp, eax
jmp 0x49c482
xor ebp, ebp
mov edi, dword [ebx + 0x110]
push 0xffffffffffffffff
lea ecx, [ebx + 0x108]
mov dword [esp + 0x74], 0xffffffff
lea edx, [edi + 1]
push edx
call fcn.00533060
mov eax, dword [ebx + 0x10c]
mov ecx, esi
mov dword [eax + edi*4], ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::MoveNext_void_
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
je 0x49c375
xor edi, edi
mov eax, dword [ebx + 0x110]
mov dword [esp + 0x24], edi
cmp eax, edi
jle 0x49c6c6
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x70], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 6
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x635400]
push edi
push edi
push str.SELECT___FROM_carrier_rule_item
push str.XGSP
mov byte [esp + 0x80], 7
call fcn.0058f640
mov esi, eax
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
jne 0x49c68b
lea ecx, [esp + 0x4c]
push ecx
push str.rule_id
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov edx, dword [esp + 0x4c]
mov ecx, ebx
push edx
call fcn.0049d000
mov ebp, eax
cmp ebp, edi
je 0x49c675
lea eax, [esp + 0x50]
mov ecx, esi
push eax
push str.sd_disable
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea ecx, [esp + 0x20]
push ecx
push str.carrier
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
push str.berth
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esp + 0x18]
mov ecx, esi
push eax
push str.departure
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x14]
push ecx
push str.arrival
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
push 0x14
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x54], edi
test edi, edi
mov byte [esp + 0x70], 8
je 0x49c646
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x64], esp
push eax
mov byte [esp + 0x7c], 9
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
mov byte [esp + 0x80], 0xa
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
mov byte [esp + 0x84], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x60]
mov byte [esp + 0x80], 8
cmp ecx, 1
sete cl
push ecx
mov ecx, edi
call fcn.0049e310
mov ebx, eax
jmp 0x49c648
xor ebx, ebx
lea edi, [ebp + 0x18]
push 0xffffffffffffffff
mov ecx, edi
mov byte [esp + 0x74], 7
mov ebp, dword [edi + 8]
lea edx, [ebp + 1]
push edx
call fcn.00533060
mov eax, dword [edi + 4]
mov dword [eax + ebp*4], ebx
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x24], eax
xor edi, edi
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::MoveNext_void_
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
je 0x49c53a
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x70], 0xffffffff
call sub.MFC42.DLL_CString::CString
cmp dword [ebx + 0x110], edi
jle 0x49c7f0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx + 0x110]
push ecx
push eax
lea edx, [esp + 0x18]
push 0x615b70
push edx
mov dword [esp + 0x80], 0xc
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635400]
add esp, 0x10
cmp eax, edi
je 0x49c771
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49c771
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
lea ecx, [esp + 0x14]
call fcn.0041a8d0
push eax
push 0x6095c0
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x635400]
push str.runtime
push 0x601760
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]
lea ecx, [esp + 0x10]
call fcn.0041a8d0
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x78], 0xd
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x7c], 0xe
mov ecx, esp
mov dword [esp + 0x68], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x80], 0xf
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x60175c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x62ffdc]
mov byte [esp + 0x80], 0xc
call fcn.00458cb0
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret