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

Disassembly:
push 0xffffffffffffffff
push 0x5ad6e5
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 [0x635400]
test esi, esi
mov dword [esp + 0x44], 6
jne 0x4b4408
test eax, eax
je 0x4b42b4
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b42b4
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 0x62fc5c
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x635400]
push str.command
push str.esms
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]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b4303
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 0x62fc5c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x62fc58]
mov byte [esp + 0x50], 6
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4b55e0
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b55e0
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 0x4b43f7
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b43f7
call fcn.0044c560
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 2]
test cl, cl
je 0x4b43f2
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b43f2
push 0x62fc5c
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 0x4b43e1
mov al, byte [esi + 0x80]
test al, al
jne 0x4b43e1
mov eax, dword [esi + 0x84]
push 0x62fc5c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b43e1
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 0x62fc5c
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.004024b0
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b4325
jmp 0x4b55e0
test eax, eax
je 0x4b5491
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4b542e
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4b5277
mov edi, dword [edx + 4]
test edi, edi
je 0x4b5277
mov eax, dword [esi + 0x78]
mov edi, dword [esp + 0x50]
test eax, eax
je 0x4b51f4
mov dl, byte [eax + 0x247]
test dl, dl
jne 0x4b51f4
push str.PNRR
call sym.ETermProxy.exe_public:_class_CCSConnection____thiscall_CDBConnCollect::GetConnByName_char__
test eax, eax
je 0x4b51f4
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 0x4b4b17
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x635400]
mov byte [esp + 0x44], 0x12
mov eax, dword [ecx + 0x1d4]
test eax, eax
je 0x4b458c
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4b458c
mov eax, dword [eax + 4]
test eax, eax
je 0x4b458c
mov dl, byte [eax + 0x340]
test dl, dl
je 0x4b458c
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4b458c
mov dl, byte [eax + 0x20b]
test dl, dl
je 0x4b458c
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 + 0x78]
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 + 0x78]
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 + 0x78]
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 + 0x78]
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 [0x635400]
mov byte [esp + 0x60], 0x12
mov ecx, dword [ecx + 0x1d4]
call fcn.004a3e40
mov ecx, dword [0x635400]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4b4767
mov eax, dword [eax + 4]
test eax, eax
je 0x4b4767
mov cl, byte [eax + 0x2e0]
test cl, cl
je 0x4b4767
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.0042e840
push 1
push 2
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x121c]
lea edi, [esi + 0x121c]
push ecx
push eax
mov byte [esp + 0x4c], 0x17
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jle 0x4b461f
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 0x4b4625
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 + 0x78]
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 0x4b4759
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x44], 0x12
lea ecx, [esp + 0x1c]
jmp 0x4b4904
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.0042e840
push 1
push 2
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x54]
mov eax, dword [esi + 0x121c]
lea edi, [esi + 0x121c]
push edx
push eax
mov byte [esp + 0x4c], 0x19
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jle 0x4b47dc
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 0x4b47e2
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 + 0x78]
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 0x4b48fb
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 [0x635400]
mov ecx, dword [eax + 0x1d4]
call fcn.004a4b70
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 [0x635400]
add esp, 0xc
test eax, eax
je 0x4b49b5
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b49b5
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.0041a8d0
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 [0x635400]
push str.command
push str.esms
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]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b4a04
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 [0x62fc58]
mov byte [esp + 0x50], 0x12
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4b4b04
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b4b04
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 0x4b4af8
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b4af8
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b4af3
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b4af3
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 0x4b4ae2
mov al, byte [esi + 0x80]
test al, al
jne 0x4b4ae2
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b4ae2
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.004024b0
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b4a26
lea ecx, [esp + 0x38]
mov byte [esp + 0x44], 0x11
call sub.MFC42.DLL_CString::CString
jmp 0x4b51d4
cmp edi, 2
jne 0x4b4e55
push 1
push edi
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x70]
mov eax, dword [esi + 0x121c]
lea edi, [esi + 0x121c]
push ecx
push eax
mov byte [esp + 0x4c], 0x1e
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jle 0x4b4b76
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 0x4b4b7f
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 + 0x78]
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 0x4b4c47
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 [0x635400]
mov ecx, dword [eax + 0x1d4]
call fcn.004a4b70
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x10]
push ecx
push 0x617fac
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635400]
add esp, 0xc
test eax, eax
je 0x4b4d01
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b4d01
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.0041a8d0
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 [0x635400]
push str.command
push str.esms
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]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b4d50
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 [0x62fc58]
mov byte [esp + 0x50], 0x11
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4b51d4
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b51d4
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 0x4b4e44
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b4e44
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b4e3f
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b4e3f
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 0x4b4e2e
mov al, byte [esi + 0x80]
test al, al
jne 0x4b4e2e
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b4e2e
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.004024b0
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 0x11
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b4d72
jmp 0x4b51d4
mov eax, dword [0x635400]
mov ecx, dword [eax + 0x1d4]
test ecx, ecx
je 0x4b4ec4
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov al, byte [ecx + 0x340]
test al, al
je 0x4b4ec4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4b4ec4
mov cl, byte [eax + 0x20b]
test cl, cl
je 0x4b4ec4
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x617fa4
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 [0x635400]
mov byte [esp + 0x4c], 0x11
mov ecx, dword [eax + 0x1d4]
call fcn.004a4090
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 [0x635400]
mov ecx, dword [ecx + 0x1d4]
call fcn.004a4b70
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 + 0x78]
mov ecx, dword [esp + 0x54]
mov eax, dword [eax + 0x14]
push ecx
mov cl, byte [esi + 0x83]
add eax, 0x76c
xor edx, edx
push 0x60ee5c
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 [0x635400]
mov ecx, dword [eax + 0x1d4]
call fcn.004a4b70
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 [0x635400]
add esp, 0xc
test eax, eax
je 0x4b5085
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b5085
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.0041a8d0
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 [0x635400]
push str.command
push str.esms
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]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b50d4
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 [0x62fc58]
mov byte [esp + 0x50], 0x11
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4b51d4
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b51d4
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 0x4b51c8
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b51c8
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b51c3
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b51c3
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 0x4b51b2
mov al, byte [esi + 0x80]
test al, al
jne 0x4b51b2
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b51b2
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.004024b0
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 0x11
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b50f6
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 0x4b5207
push 0x60ec44
lea ecx, [esp + 0x68]
call fcn.005928ca
push 0x60bb98
lea ecx, [esp + 0x68]
call fcn.005928ca
lea eax, [esp + 0x60]
lea ecx, [esp + 0x64]
push eax
call fcn.00592b6a
cmp edi, 1
mov esi, str.etdz
je 0x4b5232
mov esi, 0x617af8
push 0
lea ecx, [esp + 0x68]
call fcn.0041a8d0
push eax
push 0
lea ecx, [esp + 0x68]
call fcn.0041a8d0
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x635400]
push esi
mov ecx, dword [eax + 0x90]
mov edx, dword [eax + 0xc0]
push ecx
push edx
call fcn.004eb7d0
add esp, 0x1c
jmp 0x4b55e0
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b52da
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 0x62fc5c
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x635400]
push str.command
push str.esms
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]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b5329
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 0x62fc5c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x62fc58]
mov byte [esp + 0x50], 6
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4b55e0
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b55e0
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 0x4b541d
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b541d
call fcn.0044c560
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 2]
test cl, cl
je 0x4b5418
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b5418
push 0x62fc5c
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 0x4b5407
mov al, byte [esi + 0x80]
test al, al
jne 0x4b5407
mov eax, dword [esi + 0x84]
push 0x62fc5c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b5407
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 0x62fc5c
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.004024b0
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b534b
jmp 0x4b55e0
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b5491
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 0x62fc5c
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x635400]
push str.command
push str.esms
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]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b54e0
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 0x62fc5c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x62fc58]
mov byte [esp + 0x50], 6
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4b55e0
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b55e0
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 0x4b55d4
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b55d4
call fcn.0044c560
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 2]
test cl, cl
je 0x4b55cf
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b55cf
push 0x62fc5c
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 0x4b55be
mov al, byte [esi + 0x80]
test al, al
jne 0x4b55be
mov eax, dword [esi + 0x84]
push 0x62fc5c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b55be
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 0x62fc5c
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.004024b0
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b5502
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