Function at 0x4b50e0
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5b6875
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x4c]
mov eax, dword [0x641030]
test esi, esi
mov dword [esp + 0x44], 6
jne 0x4b52d8
test eax, eax
je 0x4b5184
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b5184
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.pUserClientA__NULL
push str._IF_
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x90], esp
push 0x63b90c
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x641030]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c9d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b51d3
push str.pUserClientA__NULL
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x50], 7
mov ecx, esp
mov dword [esp + 0x64], esp
push 0x63b90c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63b908]
mov byte [esp + 0x50], 6
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4b64b0
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b64b0
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov bl, 8
mov edx, dword [eax + 0x4c]
mov esi, dword [edx + edi*4]
test esi, esi
je 0x4b52c7
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b52c7
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 2]
test cl, cl
je 0x4b52c2
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b52c2
push 0x63b90c
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x80]
mov byte [esp + 0x44], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4b52b1
mov al, byte [esi + 0x80]
test al, al
jne 0x4b52b1
mov eax, dword [esi + 0x84]
push 0x63b90c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b52b1
push str.pUserClientA__NULL
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x50], 9
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0x63b90c
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.00402460
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b51f5
jmp 0x4b64b0
test eax, eax
je 0x4b6361
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4b62fe
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4b6147
mov edi, dword [edx + 4]
test edi, edi
je 0x4b6147
mov eax, dword [esi + 0x7c]
mov edi, dword [esp + 0x50]
test eax, eax
je 0x4b60c4
mov dl, byte [eax + 0x247]
test dl, dl
jne 0x4b60c4
push str.PNRR
call sym.ETermProxy.exe_public:_class_CCSConnection____thiscall_CDBConnCollect::GetConnByName_char__
test eax, eax
je 0x4b60c4
lea eax, [esp + 0x4c]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 0x10
call sub.MFC42.DLL_CString::CString_1
test edi, edi
mov byte [esp + 0x44], 0x11
jne 0x4b59e7
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x641030]
mov byte [esp + 0x44], 0x12
mov eax, dword [ecx + 0x1d4]
test eax, eax
je 0x4b545c
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4b545c
mov eax, dword [eax + 4]
test eax, eax
je 0x4b545c
mov dl, byte [eax + 0x340]
test dl, dl
je 0x4b545c
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4b545c
mov dl, byte [eax + 0x20b]
test dl, dl
je 0x4b545c
push ecx
lea edx, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x7c]
push ecx
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
mov byte [esp + 0x50], 0x13
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x7c]
mov byte [esp + 0x4c], 0x14
mov ecx, dword [eax + 0x10c]
add eax, 0x114
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x7c]
mov byte [esp + 0x54], 0x15
mov edx, dword [eax + 0x110]
add eax, 0x1fc
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x7c]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x64], 0x16
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x641030]
mov byte [esp + 0x60], 0x12
mov ecx, dword [ecx + 0x1d4]
call fcn.004a4f40
mov ecx, dword [0x641030]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4b5637
mov eax, dword [eax + 4]
test eax, eax
je 0x4b5637
mov cl, byte [eax + 0x2e0]
test cl, cl
je 0x4b5637
push ecx
lea edx, [esp + 0x58]
mov eax, esp
mov dword [esp + 0x58], esp
push edx
lea ecx, [esp + 0x54]
mov dword [eax], 0x93a80
call fcn.0042e750
push 1
push 2
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x1220]
lea edi, [esi + 0x1220]
push ecx
push eax
mov byte [esp + 0x4c], 0x17
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jle 0x4b54ef
lea edx, [esp + 0x34]
push 2
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::Left
mov dword [esp + 0x18], 1
mov eax, dword [eax]
mov byte [esp + 0x44], 0x18
mov dword [esp + 0x6c], eax
jmp 0x4b54f5
mov ecx, dword [edi]
mov dword [esp + 0x6c], ecx
push 0
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [eax]
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], edx
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 4]
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [eax + 8]
push 0
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x30], edx
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x50]
inc edi
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax + 0x14]
push 0
lea ecx, [esp + 0x58]
add ebp, 0x76c
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x34], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebx, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x58]
inc ebx
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
mov dl, byte [esp + 0x80]
add eax, 0x76c
xor ecx, ecx
test dl, dl
mov edx, dword [esp + 0x7c]
setne cl
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esi + 0x7c]
push edx
xor edx, edx
cmp byte [ecx + 0x85], dl
mov ecx, dword [esp + 0x7c]
setne dl
push edx
mov edx, dword [esp + 0x78]
push ecx
push edx
mov edx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x60]
push edx
push edi
push ebp
mov edx, dword [esp + 0x70]
push 2
push edx
push ebx
push eax
push ecx
push 1
lea eax, [esp + 0x6c]
push str._d:SELECT_TOP_1__FROM_booking_rec_WHERE_pnr_s_AND_rec_time____04d__02d__02d_00:00:00__d:INSERT_INTO_booking_rec_rec_time__account_group__account__pnr__is_cancel__is_protect__state__carrier_passenger_count_voyage_berth_departure_time__is_gj__VALUES__d__02d__02d__02d:_02d:_02d___d___s___s__0___d__HK___s__d__s___s__s___d_
push eax
call sub.MFC42.DLL_CString::Format
mov al, byte [esp + 0x78]
add esp, 0x60
test al, 1
mov dword [esp + 0x44], 0x17
je 0x4b5629
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x44], 0x12
lea ecx, [esp + 0x1c]
jmp 0x4b57d4
push ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], esp
mov eax, esp
push ecx
lea ecx, [esp + 0x54]
mov dword [eax], 0x93a80
call fcn.0042e750
push 1
push 2
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x54]
mov eax, dword [esi + 0x1220]
lea edi, [esi + 0x1220]
push edx
push eax
mov byte [esp + 0x4c], 0x19
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jle 0x4b56ac
lea eax, [esp + 0x24]
push 2
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::Left
mov dword [esp + 0x18], 2
mov ecx, dword [eax]
mov byte [esp + 0x44], 0x1a
mov dword [esp + 0x70], ecx
jmp 0x4b56b2
mov edx, dword [edi]
mov dword [esp + 0x70], edx
push 0
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax]
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x70], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [eax + 4]
push 0
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [eax + 8]
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], edx
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x30], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x50]
inc edi
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax + 0x14]
push 0
lea ecx, [esp + 0x84]
add ebp, 0x76c
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [eax + 0xc]
push 0
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebx, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x84]
inc ebx
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [esp + 0x70]
mov eax, dword [eax + 0x14]
mov ecx, dword [esi + 0x7c]
push edx
xor edx, edx
add eax, 0x76c
cmp byte [ecx + 0x85], dl
mov ecx, dword [esp + 0x68]
setne dl
push edx
mov edx, dword [esp + 0x64]
push ecx
push edx
mov edx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push edi
push ebp
push 2
push edx
push ebx
push eax
push ecx
push 1
lea eax, [esp + 0x58]
push str._d:SELECT_TOP_1__FROM_booking_rec_WHERE_pnr_s_AND_rec_time____04d__02d__02d_00:00:00__d:INSERT_INTO_booking_rec_rec_time__account_group__account__pnr__is_cancel__is_protect__state__carrier__VALUES__d__02d__02d__02d:_02d:_02d___d___s___s__0___d__HK___s_
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x4c
mov dword [esp + 0x44], 0x19
test byte [esp + 0x18], 2
je 0x4b57cb
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x44], 0x12
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
mov ecx, dword [eax + 0x1d4]
call fcn.004a5c70
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x10]
push ecx
push str._s___
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0xc
test eax, eax
je 0x4b5885
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b5885
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x64]
push eax
call fcn.0041a850
push eax
push 0
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c9d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b58d4
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x64]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
mov byte [esp + 0x54], 0x1b
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63b908]
mov byte [esp + 0x50], 0x12
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4b59d4
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b59d4
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov bl, 0x1c
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4b59c8
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b59c8
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b59c3
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b59c3
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x80]
mov byte [esp + 0x44], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4b59b2
mov al, byte [esi + 0x80]
test al, al
jne 0x4b59b2
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b59b2
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x64]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
mov byte [esp + 0x54], 0x1d
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.00402460
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b58f6
lea ecx, [esp + 0x38]
mov byte [esp + 0x44], 0x11
call sub.MFC42.DLL_CString::CString
jmp 0x4b60a4
cmp edi, 2
jne 0x4b5d25
push 1
push edi
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x70]
mov eax, dword [esi + 0x1220]
lea edi, [esi + 0x1220]
push ecx
push eax
mov byte [esp + 0x4c], 0x1e
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jle 0x4b5a46
lea edx, [esp + 0x38]
push 2
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::Left
mov dword [esp + 0x18], 4
mov eax, dword [eax]
mov byte [esp + 0x44], 0x1f
mov dword [esp + 0x80], eax
jmp 0x4b5a4f
mov ecx, dword [edi]
mov dword [esp + 0x80], ecx
push 0
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax]
push 0
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebx, dword [eax + 4]
push 0
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [eax + 8]
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x58], edx
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x70], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x50]
inc edi
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [esp + 0x80]
mov eax, dword [eax + 0x14]
mov edx, dword [esi + 0x7c]
push ecx
xor ecx, ecx
add eax, 0x76c
cmp byte [edx + 0x85], cl
mov edx, dword [esp + 0x60]
setne cl
push ecx
mov ecx, dword [esp + 0x6c]
push ecx
push edx
mov edx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push ebp
push ebx
push edx
mov edx, dword [esp + 0x8c]
push edx
push edi
push eax
push 2
push ecx
push 3
lea eax, [esp + 0x4c]
push str._d:UPDATE_booking_rec_SET_state__HX_WHERE_pnr_s__d:INSERT_INTO_booking_rec_rec_time__account_group__account__pnr__is_cancel__is_protect__state__carrier__VALUES__d__02d__02d__02d:_02d:_02d___d___s___s__0___d__XX___s_
push eax
call sub.MFC42.DLL_CString::Format
mov al, byte [esp + 0x58]
add esp, 0x40
test al, 4
mov dword [esp + 0x44], 0x1e
je 0x4b5b17
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
mov byte [esp + 0x44], 0x11
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
mov ecx, dword [eax + 0x1d4]
call fcn.004a5c70
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x10]
push ecx
push 0x622ec0
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0xc
test eax, eax
je 0x4b5bd1
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b5bd1
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x64]
push eax
call fcn.0041a850
push eax
push 0
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c9d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b5c20
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x64]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
mov byte [esp + 0x54], 0x20
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63b908]
mov byte [esp + 0x50], 0x11
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4b60a4
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b60a4
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov bl, 0x21
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4b5d14
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b5d14
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b5d0f
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b5d0f
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x80]
mov byte [esp + 0x44], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4b5cfe
mov al, byte [esi + 0x80]
test al, al
jne 0x4b5cfe
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b5cfe
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x64]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
mov byte [esp + 0x54], 0x22
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.00402460
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 0x11
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b5c42
jmp 0x4b60a4
mov eax, dword [0x641030]
mov ecx, dword [eax + 0x1d4]
test ecx, ecx
je 0x4b5d94
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov al, byte [ecx + 0x340]
test al, al
je 0x4b5d94
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4b5d94
mov cl, byte [eax + 0x20b]
test cl, cl
je 0x4b5d94
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x622eb8
call sub.MFC42.DLL_CString::CString_3
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
mov byte [esp + 0x50], 0x23
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
mov byte [esp + 0x4c], 0x11
mov ecx, dword [eax + 0x1d4]
call fcn.004a5190
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x14]
push ecx
push 3
push str._d:UPDATE_booking_rec_SET_state__RR_WHERE_pnr_s
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x641030]
mov ecx, dword [ecx + 0x1d4]
call fcn.004a5c70
push 0
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebx, dword [eax]
push 0
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax + 4]
push 0
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [eax + 8]
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x84], edx
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x74], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x50]
inc edi
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [esi + 0x7c]
mov ecx, dword [esp + 0x54]
mov eax, dword [eax + 0x14]
push ecx
mov cl, byte [esi + 0x83]
add eax, 0x76c
xor edx, edx
push 0x61a0b8
test cl, cl
setne dl
push edx
mov dl, byte [esi + 0x80]
xor ecx, ecx
test dl, dl
mov edx, dword [esi + 0x174]
setne cl
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x9c]
push ebx
push ebp
push ecx
push edx
push edi
push eax
push 2
lea eax, [esp + 0x5c]
push str._d:INSERT_INTO_etdz_rec_rec_time__account_group__group_name__account___pnr__tickets__price__bill_mode__fund_mode__tkt_count_enable__bill_retry_count__opration__etdz_dev__VALUES__d__02d__02d__02d:_02d:_02d___d___s___s___s___s___d___d___d___d__0___s___d_
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x4c
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
mov ecx, dword [eax + 0x1d4]
call fcn.004a5c70
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x10]
push ecx
push str._s__
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0xc
test eax, eax
je 0x4b5f55
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b5f55
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x64]
push eax
call fcn.0041a850
push eax
push 0
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c9d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b5fa4
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x64]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
mov byte [esp + 0x54], 0x24
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63b908]
mov byte [esp + 0x50], 0x11
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4b60a4
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b60a4
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov bl, 0x25
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4b6098
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b6098
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b6093
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b6093
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x80]
mov byte [esp + 0x44], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4b6082
mov al, byte [esi + 0x80]
test al, al
jne 0x4b6082
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b6082
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x64]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
mov byte [esp + 0x54], 0x26
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.00402460
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 0x11
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b5fc6
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x50]
cmp edi, 2
jne 0x4b60d7
push 0x619e00
lea ecx, [esp + 0x68]
call fcn.0059b7ac
push 0x616c88
lea ecx, [esp + 0x68]
call fcn.0059b7ac
lea eax, [esp + 0x60]
lea ecx, [esp + 0x64]
push eax
call fcn.0059ba4c
cmp edi, 1
mov esi, str.etdz
je 0x4b6102
mov esi, 0x6229f4
push 0
lea ecx, [esp + 0x68]
call fcn.0041a850
push eax
push 0
lea ecx, [esp + 0x68]
call fcn.0041a850
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x641030]
push esi
mov ecx, dword [eax + 0x90]
mov edx, dword [eax + 0xc0]
push ecx
push edx
call fcn.004ed3c0
add esp, 0x1c
jmp 0x4b64b0
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b61aa
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.g_pSysManager__m_pLicenseCheck__NULL
push str._IF_
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x90], esp
push 0x63b90c
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x641030]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c9d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b61f9
push str.g_pSysManager__m_pLicenseCheck__NULL
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x50], 0xd
mov ecx, esp
mov dword [esp + 0x64], esp
push 0x63b90c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63b908]
mov byte [esp + 0x50], 6
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4b64b0
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b64b0
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov bl, 0xe
mov edx, dword [eax + 0x4c]
mov esi, dword [edx + edi*4]
test esi, esi
je 0x4b62ed
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b62ed
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 2]
test cl, cl
je 0x4b62e8
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b62e8
push 0x63b90c
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x80]
mov byte [esp + 0x44], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4b62d7
mov al, byte [esi + 0x80]
test al, al
jne 0x4b62d7
mov eax, dword [esi + 0x84]
push 0x63b90c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b62d7
push str.g_pSysManager__m_pLicenseCheck__NULL
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x50], 0xf
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0x63b90c
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.00402460
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b621b
jmp 0x4b64b0
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b6361
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.g_pSysManager__m_pDBConnCollect__NULL
push str._IF_
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x90], esp
push 0x63b90c
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x641030]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c9d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b63b0
push str.g_pSysManager__m_pDBConnCollect__NULL
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x50], 0xa
mov ecx, esp
mov dword [esp + 0x64], esp
push 0x63b90c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63b908]
mov byte [esp + 0x50], 6
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4b64b0
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b64b0
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov bl, 0xb
mov edx, dword [eax + 0x4c]
mov esi, dword [edx + edi*4]
test esi, esi
je 0x4b64a4
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b64a4
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 2]
test cl, cl
je 0x4b649f
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b649f
push 0x63b90c
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x80]
mov byte [esp + 0x44], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4b648e
mov al, byte [esi + 0x80]
test al, al
jne 0x4b648e
mov eax, dword [esi + 0x84]
push 0x63b90c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b648e
push str.g_pSysManager__m_pDBConnCollect__NULL
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x50], 0xc
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0x63b90c
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.00402460
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b63d2
lea ecx, [esp + 0x5c]
mov byte [esp + 0x44], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov byte [esp + 0x44], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret