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

Disassembly:
push 0xffffffffffffffff
push 0x5af8b6
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 0x49d621
call fcn.0049d640
mov ecx, dword [0x63ac10]
xor ebp, ebp
push ebp
push ebp
push str.SELECT___FROM_carrier_rule_list
push str.XGSP
call fcn.00593a10
mov esi, eax
cmp esi, ebp
jne 0x49d150
mov eax, dword [0x63ac10]
cmp eax, ebp
je 0x49d0d0
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49d0d0
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebp
push 0x61ab30
push 0x606790
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac10]
push str.runtime
push 0x60677c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 0x61ab30
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x78], ebp
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x606790
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 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov dword [esp + 0x80], 0xffffffff
call fcn.004590c0
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 0x49d2ce
jmp 0x49d187
xor ebp, ebp
lea ecx, [esp + 0x48]
push ecx
push 0x606170
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 0x49d28e
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.0049de60
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.0049f7f0
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 0x49d185
xor ebp, ebp
mov eax, dword [ebx + 0x110]
mov dword [esp + 0x24], ebp
cmp eax, ebp
jle 0x49d4f7
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 [0x63ac10]
push ebp
push ebp
push str.SELECT___FROM_carrier_rule_item
push str.XGSP
mov byte [esp + 0x80], 7
call fcn.00593a10
mov esi, eax
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
jne 0x49d4bc
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.0049de30
mov edi, eax
cmp edi, ebp
je 0x49d4a6
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 0x608024
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x49d3e7
push 0x63546c
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 0x49d477
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.0049f140
mov ebx, eax
jmp 0x49d479
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.0049f7f0
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 0x49d346
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 0x49d621
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 0x61aae4
push edx
mov dword [esp + 0x80], 0xc
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0x10
cmp eax, ebp
je 0x49d5a2
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49d5a2
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebp
lea ecx, [esp + 0x18]
call fcn.0041a990
push eax
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac10]
push str.runtime
push 0x60677c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
lea ecx, [esp + 0x14]
call fcn.0041a990
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 0x60e5d8
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 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x80], 0xc
call fcn.004590c0
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