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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5af450
push eax
mov eax, dword [0x637770]
mov dword fs:[0], esp
sub esp, 0x40
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebp
xor ebp, ebp
push esi
mov esi, dword [esp + 0x5c]
cmp eax, ebp
push edi
je 0x4b540e
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b540e
add eax, 0x250
push eax
call ebx
mov eax, dword [esi + 0x78]
push str._ITIN
push 0x631fcc
push ebp
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x637770]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b545e
push str._ITIN
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov dword [esp + 0x68], ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x64], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
cmp eax, ebp
je 0x4b555b
cmp dword [eax + 0x50], ebp
jle 0x4b555b
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b554f
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b554f
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b554a
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b554a
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x60]
mov dword [esp + 0x58], 1
mov eax, dword [edx - 8]
test eax, eax
je 0x4b5539
mov al, byte [edi + 0x80]
test al, al
jne 0x4b5539
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4b5539
push str._ITIN
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x64], 1
call fcn.00402500
lea ecx, [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b5474
mov eax, dword [esi + 0x1224]
lea edi, [esi + 0x1224]
mov dword [esp + 0x14], edi
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4b5740
mov eax, dword [0x637770]
test eax, eax
je 0x4b55dd
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b55dd
add eax, 0x250
push eax
call ebx
mov edx, dword [esi + 0x78]
push str.m_strItinReq
push 0x631fcc
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637770]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb4c0
mov edx, dword [0x637770]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c540
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b5631
push str.m_strItinReq
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov dword [esp + 0x68], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x64], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x4b5732
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b5732
mov ebx, 4
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b5726
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b5726
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b5721
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b5721
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x60]
mov dword [esp + 0x58], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x4b5710
mov al, byte [edi + 0x80]
test al, al
jne 0x4b5710
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4b5710
push str.m_strItinReq
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x68], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x64], bl
call fcn.00402500
lea ecx, [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b5650
mov ecx, dword [esp + 0x14]
call sub.MFC42.DLL_CString::Empty
jmp 0x4b64c1
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 0
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [edi]
push str.ITTN
push eax
mov dword [esp + 0x60], 6
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x4b5796
mov eax, dword [esp + 0x24]
push eax
call fcn.0059a2a0
mov edi, eax
add esp, 4
test edi, edi
je 0x4b5bad
mov ecx, dword [esp + 0x14]
push edi
call sub.MFC42.DLL_CString::operator
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov edi, dword [eax]
mov dword [esp + 0x34], edi
call sub.MFC42.DLL_CString::CString_1
push edi
lea ecx, [esp + 0x14]
push str._ITTN__s
push ecx
mov byte [esp + 0x64], 0xa
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637770]
add esp, 0xc
test eax, eax
je 0x4b5828
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b5828
add eax, 0x250
push eax
call ebx
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x78]
push edx
push 0x631fcc
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x637770]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b5876
mov ecx, dword [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x68], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov byte [esp + 0x64], 0xa
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x4b5973
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b5973
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b5967
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b5967
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b5962
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b5962
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x30]
mov byte [esp + 0x58], 0xc
mov eax, dword [edx - 8]
test eax, eax
je 0x4b5954
mov al, byte [edi + 0x80]
test al, al
jne 0x4b5954
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x4b5954
mov ecx, dword [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x68], 0xd
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x64], 0xc
call fcn.00402500
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0xa
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b5896
mov edi, dword [esp + 0x34]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
push 0x61a220
push edi
call ebx
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4b599d
push str.RIINV
push edi
call ebx
mov ebp, eax
add esp, 8
test ebp, ebp
setne bl
test ebp, ebp
jne 0x4b5d6b
mov edi, dword [esp + 0x34]
push 0x61a210
push edi
call dword [sym.imp.MSVCRT.dll_strstr]
mov ebp, eax
add esp, 8
test ebp, ebp
setne byte [esp + 0x60]
test ebp, ebp
jne 0x4b5d6b
push str.VOIDINVOICE
push edi
call dword [sym.imp.MSVCRT.dll_strstr]
mov ebp, eax
add esp, 8
test ebp, ebp
setne byte [esp + 0x60]
test ebp, ebp
jne 0x4b5d6b
mov eax, dword [0x637770]
test eax, eax
je 0x4b5a56
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b5a56
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push str.PRINV_VTINV
push 0x631fcc
push ebp
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x637770]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b5aa4
push str.PRINV_VTINV
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x68], 0xe
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov byte [esp + 0x64], 0xa
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x4b5b9f
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b5b9f
mov bl, 0xf
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b5b93
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b5b93
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b5b8e
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b5b8e
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x60]
mov byte [esp + 0x58], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4b5b80
mov al, byte [edi + 0x80]
test al, al
jne 0x4b5b80
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4b5b80
push str.PRINV_VTINV
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x68], 0x10
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x64], bl
call fcn.00402500
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 0xa
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b5ac0
mov ecx, dword [esp + 0x14]
call sub.MFC42.DLL_CString::Empty
jmp 0x4b64a2
mov eax, dword [0x637770]
test eax, eax
je 0x4b5c14
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b5c14
add eax, 0x250
push eax
call ebx
mov edx, dword [esi + 0x78]
push 0x61a1c0
push 0x631fcc
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637770]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb4c0
mov edx, dword [0x637770]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c540
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b5c62
push 0x61a1c0
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x68], 7
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov byte [esp + 0x64], 6
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x4b5d5d
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b5d5d
mov bl, 8
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b5d51
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b5d51
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b5d4c
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b5d4c
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x60]
mov byte [esp + 0x58], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4b5d3e
mov al, byte [edi + 0x80]
test al, al
jne 0x4b5d3e
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4b5d3e
push 0x61a1c0
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x68], 9
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x64], bl
call fcn.00402500
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b5c7e
mov ecx, dword [esp + 0x14]
call sub.MFC42.DLL_CString::Empty
jmp 0x4b64b0
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 0x11
call sub.MFC42.DLL_CString::CString_1
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x58], 0x12
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x24
jae 0x4b5f5e
mov eax, dword [0x637770]
test eax, eax
je 0x4b5e07
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b5e07
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x61a1a0
push 0x631fcc
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x637770]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b5e55
push 0x61a1a0
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x68], 0x13
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov byte [esp + 0x64], 0x12
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x4b5f50
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b5f50
mov bl, 0x14
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b5f44
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b5f44
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b5f3f
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b5f3f
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x60]
mov byte [esp + 0x58], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4b5f31
mov al, byte [edi + 0x80]
test al, al
jne 0x4b5f31
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4b5f31
push 0x61a1a0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x68], 0x15
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x64], bl
call fcn.00402500
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b5e71
mov ecx, dword [esp + 0x14]
call sub.MFC42.DLL_CString::Empty
jmp 0x4b6486
test bl, bl
jne 0x4b6134
mov al, byte [esp + 0x60]
test al, al
jne 0x4b6134
mov eax, dword [0x637770]
test eax, eax
je 0x4b5fdd
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b5fdd
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push str.bIsTP__bIsVT__false
push 0x631fcc
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x637770]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b602b
push str.bIsTP__bIsVT__false
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x68], 0x16
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov byte [esp + 0x64], 0x12
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x4b6126
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b6126
mov bl, 0x17
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b611a
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b611a
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b6115
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b6115
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x60]
mov byte [esp + 0x58], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4b6107
mov al, byte [edi + 0x80]
test al, al
jne 0x4b6107
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4b6107
push str.bIsTP__bIsVT__false
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x68], 0x18
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x64], bl
call fcn.00402500
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b6047
mov ecx, dword [esp + 0x14]
call sub.MFC42.DLL_CString::Empty
jmp 0x4b6486
lea eax, [ebp + 6]
mov ecx, dword [ebp + 6]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x20]
mov dl, byte [eax + 0xc]
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x50], dl
mov byte [esp + 0x51], 0
call sub.MFC42.DLL_CString::operator
add ebp, 0x1a
mov ecx, dword [ebp]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x40]
mov edx, dword [ebp + 4]
push ecx
mov dword [esp + 0x48], edx
lea ecx, [esp + 0x20]
mov ax, word [ebp + 8]
mov byte [esp + 0x4e], 0
mov word [esp + 0x4c], ax
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CTime::GetTickCount
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_1
test bl, bl
mov byte [esp + 0x58], 0x19
mov eax, 0x60a2bc
jne 0x4b61b9
mov eax, 0x60a2b8
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_3
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 0x1a
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax]
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebx, dword [eax + 4]
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 8]
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x64], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [eax + 0xc]
push 0
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x1c]
inc edi
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x78]
push edx
push edx
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
push edx
mov edx, dword [esp + 0x34]
push edx
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x10c]
push edx
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x4c]
push ebp
push ebx
push edx
add eax, 0x76c
push ecx
push edi
push eax
push 2
lea edx, [esp + 0x60]
push str._d:INSERT_INTO_pt_rec_rec_time__group_id__account__itin_type__ticket_no__itin_no__remark__VALUES__d__02d__02d__02d:_02d:_02d___d___s___s___s___s___s_
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x38
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x64], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x637770]
mov ecx, dword [ecx + 0x1d4]
call fcn.004a4890
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x61a0b0
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637770]
add esp, 0x14
test eax, eax
je 0x4b6316
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b6316
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x78]
push eax
push 0x631fcc
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637770]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb4c0
mov edx, dword [0x637770]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c540
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b6364
mov edx, dword [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x68], 0x1b
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov byte [esp + 0x64], 0x1a
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x4b6461
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b6461
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b6455
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b6455
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b6450
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b6450
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x34]
mov byte [esp + 0x58], 0x1c
mov eax, dword [edx - 8]
test eax, eax
je 0x4b6442
mov al, byte [edi + 0x80]
test al, al
jne 0x4b6442
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x4b6442
mov ecx, dword [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x68], 0x1d
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x64], 0x1c
call fcn.00402500
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 0x1a
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b6384
mov ecx, dword [esp + 0x14]
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x58], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret 4