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

Disassembly:
push 0xffffffffffffffff
push 0x5ab6d6
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 + 0x14], ebx
je 0x49ca11
call fcn.0049ca30
mov ecx, dword [0x635490]
xor ebp, ebp
push ebp
push ebp
push str.SELECT___FROM_carrier_rule_list
push str.XGSP
call fcn.0058fa20
mov esi, eax
cmp esi, ebp
jne 0x49c540
mov eax, dword [0x635490]
cmp eax, ebp
je 0x49c4c0
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49c4c0
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebp
push 0x615bcc
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 [0x635490]
push str.runtime
push 0x601760
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x615bcc
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x78], ebp
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 [0x63006c]
mov dword [esp + 0x80], 0xffffffff
call fcn.00458d40
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], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
jne 0x49c6be
jmp 0x49c577
xor ebp, ebp
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, ebp
mov dword [esp + 0x70], 3
je 0x49c67e
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
mov ecx, dword [esp + 0x34]
setne dl
push edx
push ecx
mov ecx, dword [esp + 0x40]
cmp ecx, ebp
mov ecx, dword [esp + 0x44]
setne dl
push edx
mov edx, dword [esp + 0x4c]
cmp ecx, ebp
setne cl
cmp edx, ebp
push ecx
setne dl
cmp edi, ebp
push edx
setne cl
push ecx
mov ecx, dword [esp + 0x60]
cmp ecx, ebp
mov ecx, dword [esp + 0x64]
setne dl
push edx
push ecx
mov ecx, eax
call fcn.0049d250
mov ebp, eax
mov edi, dword [ebx + 0x110]
push 0xffffffffffffffff
lea ecx, [ebx + 0x108]
mov dword [esp + 0x74], 0xffffffff
lea edx, [edi + 1]
push edx
call fcn.0056a200
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 0x49c575
xor ebp, ebp
mov eax, dword [ebx + 0x110]
mov dword [esp + 0x24], ebp
cmp eax, ebp
jle 0x49c8e7
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 6
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x635490]
push ebp
push ebp
push str.SELECT___FROM_carrier_rule_item
push str.XGSP
mov byte [esp + 0x80], 7
call fcn.0058fa20
mov esi, eax
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
jne 0x49c8ac
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.0049d220
mov edi, eax
cmp edi, ebp
je 0x49c896
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 + 0x10]
mov ecx, esi
push edx
push str.berth
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
push str.departure
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x18]
push ecx
push str.arrival
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
mov edx, dword [esp + 0x10]
push 0x60300c
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x49c7d7
push 0x62fcec
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 0x14
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
mov dword [esp + 0x54], ebp
test ebp, ebp
mov byte [esp + 0x70], 8
je 0x49c867
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
mov byte [esp + 0x7c], 9
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
mov byte [esp + 0x80], 0xa
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
mov byte [esp + 0x84], 0xb
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x60]
mov ecx, ebp
cmp edx, 1
mov byte [esp + 0x80], 8
sete al
push eax
call fcn.0049e530
mov ebx, eax
jmp 0x49c869
xor ebx, ebx
mov ebp, dword [edi + 0x20]
add edi, 0x18
push 0xffffffffffffffff
mov byte [esp + 0x74], 7
lea ecx, [ebp + 1]
push ecx
mov ecx, edi
call fcn.0056a200
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x24]
inc eax
mov dword [edx + ebp*4], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
xor ebp, ebp
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 0x49c736
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
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], ebp
jle 0x49ca11
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx + 0x110]
push ecx
push eax
lea edx, [esp + 0x1c]
push 0x615b80
push edx
mov dword [esp + 0x80], 0xc
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635490]
add esp, 0x10
cmp eax, ebp
je 0x49c992
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49c992
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebp
lea ecx, [esp + 0x18]
call fcn.0041a850
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 [0x635490]
push str.runtime
push 0x601760
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
lea ecx, [esp + 0x14]
call fcn.0041a850
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 [0x63006c]
mov byte [esp + 0x80], 0xc
call fcn.00458d40
lea ecx, [esp + 0x14]
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