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

Disassembly:
push 0xffffffffffffffff
push 0x5b1e75
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 [0x63ac20]
test esi, esi
mov dword [esp + 0x44], 6
jne 0x4b5308
test eax, eax
je 0x4b51b4
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b51b4
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 0x63547c
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac20]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c870
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b5203
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 0x63547c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x635478]
mov byte [esp + 0x50], 6
call fcn.00401160
mov eax, dword [0x635480]
test eax, eax
je 0x4b64e0
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b64e0
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 0x4b52f7
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b52f7
call fcn.0044c870
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 2]
test cl, cl
je 0x4b52f2
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b52f2
push 0x63547c
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 0x4b52e1
mov al, byte [esi + 0x80]
test al, al
jne 0x4b52e1
mov eax, dword [esi + 0x84]
push 0x63547c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b52e1
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 0x63547c
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.004024f0
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b5225
jmp 0x4b64e0
test eax, eax
je 0x4b6391
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4b632e
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4b6177
mov edi, dword [edx + 4]
test edi, edi
je 0x4b6177
mov eax, dword [esi + 0x7c]
mov edi, dword [esp + 0x50]
test eax, eax
je 0x4b60f4
mov dl, byte [eax + 0x247]
test dl, dl
jne 0x4b60f4
push str.PNRR
call sym.ETermProxy.exe_public:_class_CCSConnection____thiscall_CDBConnCollect::GetConnByName_char__
test eax, eax
je 0x4b60f4
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 0x4b5a17
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x63ac20]
mov byte [esp + 0x44], 0x12
mov eax, dword [ecx + 0x1d4]
test eax, eax
je 0x4b548c
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4b548c
mov eax, dword [eax + 4]
test eax, eax
je 0x4b548c
mov dl, byte [eax + 0x340]
test dl, dl
je 0x4b548c
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4b548c
mov dl, byte [eax + 0x20b]
test dl, dl
je 0x4b548c
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 [0x63ac20]
mov byte [esp + 0x60], 0x12
mov ecx, dword [ecx + 0x1d4]
call fcn.004a4d40
mov ecx, dword [0x63ac20]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4b5667
mov eax, dword [eax + 4]
test eax, eax
je 0x4b5667
mov cl, byte [eax + 0x2e0]
test cl, cl
je 0x4b5667
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.0042e8e0
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 0x4b551f
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 0x4b5525
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 0x4b5659
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x44], 0x12
lea ecx, [esp + 0x1c]
jmp 0x4b5804
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.0042e8e0
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 0x4b56dc
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 0x4b56e2
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 0x4b57fb
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 [0x63ac20]
mov ecx, dword [eax + 0x1d4]
call fcn.004a5a70
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 [0x63ac20]
add esp, 0xc
test eax, eax
je 0x4b58b5
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b58b5
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.0041a9a0
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 [0x63ac20]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c870
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b5904
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 [0x635478]
mov byte [esp + 0x50], 0x12
call fcn.00401160
mov eax, dword [0x635480]
test eax, eax
je 0x4b5a04
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b5a04
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 0x4b59f8
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b59f8
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b59f3
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b59f3
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 0x4b59e2
mov al, byte [esi + 0x80]
test al, al
jne 0x4b59e2
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b59e2
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.004024f0
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b5926
lea ecx, [esp + 0x38]
mov byte [esp + 0x44], 0x11
call sub.MFC42.DLL_CString::CString
jmp 0x4b60d4
cmp edi, 2
jne 0x4b5d55
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 0x4b5a76
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 0x4b5a7f
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 0x4b5b47
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 [0x63ac20]
mov ecx, dword [eax + 0x1d4]
call fcn.004a5a70
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x10]
push ecx
push 0x61cf1c
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0xc
test eax, eax
je 0x4b5c01
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b5c01
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.0041a9a0
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 [0x63ac20]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c870
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b5c50
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 [0x635478]
mov byte [esp + 0x50], 0x11
call fcn.00401160
mov eax, dword [0x635480]
test eax, eax
je 0x4b60d4
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b60d4
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 0x4b5d44
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b5d44
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b5d3f
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b5d3f
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 0x4b5d2e
mov al, byte [esi + 0x80]
test al, al
jne 0x4b5d2e
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b5d2e
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.004024f0
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 0x11
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b5c72
jmp 0x4b60d4
mov eax, dword [0x63ac20]
mov ecx, dword [eax + 0x1d4]
test ecx, ecx
je 0x4b5dc4
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov al, byte [ecx + 0x340]
test al, al
je 0x4b5dc4
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4b5dc4
mov cl, byte [eax + 0x20b]
test cl, cl
je 0x4b5dc4
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x61cf14
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 [0x63ac20]
mov byte [esp + 0x4c], 0x11
mov ecx, dword [eax + 0x1d4]
call fcn.004a4f90
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 [0x63ac20]
mov ecx, dword [ecx + 0x1d4]
call fcn.004a5a70
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 0x61403c
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 [0x63ac20]
mov ecx, dword [eax + 0x1d4]
call fcn.004a5a70
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 [0x63ac20]
add esp, 0xc
test eax, eax
je 0x4b5f85
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b5f85
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.0041a9a0
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 [0x63ac20]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c870
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b5fd4
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 [0x635478]
mov byte [esp + 0x50], 0x11
call fcn.00401160
mov eax, dword [0x635480]
test eax, eax
je 0x4b60d4
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b60d4
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 0x4b60c8
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b60c8
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b60c3
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b60c3
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 0x4b60b2
mov al, byte [esi + 0x80]
test al, al
jne 0x4b60b2
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b60b2
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.004024f0
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 0x11
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b5ff6
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 0x4b6107
push 0x613d9c
lea ecx, [esp + 0x68]
call fcn.00596eca
push 0x610c80
lea ecx, [esp + 0x68]
call fcn.00596eca
lea eax, [esp + 0x60]
lea ecx, [esp + 0x64]
push eax
call fcn.0059716a
cmp edi, 1
mov esi, str.etdz
je 0x4b6132
mov esi, 0x61ca68
push 0
lea ecx, [esp + 0x68]
call fcn.0041a9a0
push eax
push 0
lea ecx, [esp + 0x68]
call fcn.0041a9a0
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac20]
push esi
mov ecx, dword [eax + 0x90]
mov edx, dword [eax + 0xc0]
push ecx
push edx
call fcn.004ec710
add esp, 0x1c
jmp 0x4b64e0
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b61da
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 0x63547c
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac20]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c870
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b6229
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 0x63547c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x635478]
mov byte [esp + 0x50], 6
call fcn.00401160
mov eax, dword [0x635480]
test eax, eax
je 0x4b64e0
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b64e0
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 0x4b631d
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b631d
call fcn.0044c870
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 2]
test cl, cl
je 0x4b6318
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b6318
push 0x63547c
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 0x4b6307
mov al, byte [esi + 0x80]
test al, al
jne 0x4b6307
mov eax, dword [esi + 0x84]
push 0x63547c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b6307
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 0x63547c
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.004024f0
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b624b
jmp 0x4b64e0
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b6391
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 0x63547c
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac20]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c870
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b63e0
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 0x63547c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x635478]
mov byte [esp + 0x50], 6
call fcn.00401160
mov eax, dword [0x635480]
test eax, eax
je 0x4b64e0
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4b64e0
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 0x4b64d4
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4b64d4
call fcn.0044c870
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 2]
test cl, cl
je 0x4b64cf
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b64cf
push 0x63547c
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 0x4b64be
mov al, byte [esi + 0x80]
test al, al
jne 0x4b64be
mov eax, dword [esi + 0x84]
push 0x63547c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b64be
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 0x63547c
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.004024f0
lea ecx, [esp + 0x80]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4b6402
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