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

Disassembly:
push 0xffffffffffffffff
push 0x5afe9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0x40
mov dword [esp + 0x2c], ebx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov dword [esp + 0x58], 0
je 0x49fafc
push str.ESMS
mov ecx, eax
call fcn.004dd020
mov esi, eax
jmp 0x49fafe
xor esi, esi
or edi, 0xffffffff
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], edi
call sub.MFC42.DLL_CString::CString_1
push str.SELECT__FROM_request_list_WHERE_retry_count___5_order_by_retry_count_id_ASC
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], 1
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x30]
push 3
push 3
push 1
push eax
mov ecx, esi
call fcn.004dd0b0
test eax, eax
jne 0x49fb4f
test esi, esi
je 0x49fb46
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov dword [esp + 0x58], edi
jmp 0x4a0bfb
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jne 0x49fb6f
test esi, esi
je 0x49fb66
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov dword [esp + 0x58], edi
jmp 0x4a0bfb
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
mov byte [esp + 0x58], 5
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::MoveFirst_void_
lea ecx, [esp + 0x2c]
push ecx
push str.cb_addr
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esp + 0x18]
mov ecx, esi
push edx
push 0x606d50
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esp + 0x38]
mov ecx, esi
push eax
push str.office_code
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x10]
push ecx
push str.account
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
push str.type
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea eax, [esp + 0x24]
mov ecx, esi
push eax
push str.retry_count
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
test esi, esi
je 0x49fc2b
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x20]
cmp edx, 4
setge byte [esp + 0x34]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x58], 6
cmp eax, 4
jne 0x49fcbd
mov eax, dword [esp + 0x34]
lea edi, [ebx + 0x34]
push edi
push eax
push 4
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
mov byte [esp + 0x70], 7
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
mov byte [esp + 0x74], 8
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
mov byte [esp + 0x78], 9
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebx
mov byte [esp + 0x74], 6
call fcn.004a1510
jmp 0x49fda4
cmp eax, 5
jne 0x49fd3f
push 0x61aea0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
lea edi, [ebx + 0x34]
lea eax, [esp + 0x10]
push edi
push ecx
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
mov byte [esp + 0x70], 0xa
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov byte [esp + 0x74], 0xb
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
mov byte [esp + 0x78], 0xc
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebx
mov byte [esp + 0x74], 6
call fcn.004a16a0
jmp 0x49fda4
push 0x61ae98
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
lea edi, [ebx + 0x34]
lea edx, [esp + 0x10]
push edi
push eax
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov byte [esp + 0x70], 0xd
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
mov byte [esp + 0x74], 0xe
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebx
mov byte [esp + 0x70], 6
call fcn.004a1730
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push edi
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push str.__s___s___d_
push edx
mov byte [esp + 0x78], 0xf
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 0x20
test eax, eax
je 0x49fe49
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49fe49
add eax, 0x250
push eax
call ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push eax
push str._RX_
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac10]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c8d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x49fe95
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x68], 0x10
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635468]
mov byte [esp + 0x64], 0xf
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x49ff8a
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x49ff8a
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x49ff7e
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49ff7e
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49ff79
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49ff79
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x58], 0x11
mov eax, dword [edx - 8]
test eax, eax
je 0x49ff6b
mov al, byte [esi + 0x80]
test al, al
jne 0x49ff6b
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x49ff6b
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x68], 0x12
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x64], 0x11
call fcn.004024d0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x49feaf
lea ecx, [esp + 0x40]
push 0x1ff
push ecx
push edi
push edi
mov dword [esp + 0x50], 0
call fcn.004ec140
add esp, 0x10
test al, al
je 0x4a09b0
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
push 0x60e848
push edi
call esi
add esp, 8
test eax, eax
jne 0x4a07d0
push str.Success
push edi
call esi
add esp, 8
test eax, eax
jne 0x4a07d0
push str.SUCCESS
push edi
call esi
add esp, 8
test eax, eax
jne 0x4a07d0
push str.Fail0
push edi
call esi
add esp, 8
test eax, eax
jne 0x4a03fa
push str.Fail1
push edi
call esi
add esp, 8
test eax, eax
jne 0x4a03fa
push str.All_ticketno_is_exist
push edi
call esi
add esp, 8
test eax, eax
je 0x4a0219
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push edi
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push str.__s___s___d___s
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0x20
test eax, eax
je 0x4a00b7
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a00b7
add eax, 0x250
push eax
call ebx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push str._RX_
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac10]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c8d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4a0103
mov ecx, dword [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x68], 0x1c
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635468]
mov byte [esp + 0x64], 0xf
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x4a01fa
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a01fa
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov bl, 0x1d
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4a01ee
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a01ee
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a01e9
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a01e9
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x58], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4a01db
mov al, byte [esi + 0x80]
test al, al
jne 0x4a01db
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a01db
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x68], 0x1e
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x64], bl
call fcn.004024d0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a0125
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
lea edx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x2c]
call fcn.004a13c0
jmp 0x4a0b9f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push edi
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push 0x61adc8
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0x1c
test eax, eax
je 0x4a02a5
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a02a5
add eax, 0x250
push eax
call ebx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push str._RX_
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac10]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c8d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4a02f1
mov ecx, dword [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x68], 0x1f
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635468]
mov byte [esp + 0x64], 0xf
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x4a03e8
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a03e8
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov bl, 0x20
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4a03dc
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a03dc
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a03d7
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a03d7
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x58], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4a03c9
mov al, byte [esi + 0x80]
test al, al
jne 0x4a03c9
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a03c9
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x68], 0x21
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x64], bl
call fcn.004024d0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a0313
mov ecx, dword [esp + 0x24]
inc ecx
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
jmp 0x4a0b8c
mov al, byte [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
test al, al
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push edi
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
je 0x4a05e6
lea edx, [esp + 0x2c]
push 0x61ad90
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0x20
test eax, eax
je 0x4a0497
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a0497
add eax, 0x250
push eax
call ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push eax
push str._RX_
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac10]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c8d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4a04e3
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x68], 0x16
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635468]
mov byte [esp + 0x64], 0xf
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x4a05da
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a05da
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov bl, 0x17
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4a05ce
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a05ce
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a05c9
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a05c9
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x58], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4a05bb
mov al, byte [esi + 0x80]
test al, al
jne 0x4a05bb
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a05bb
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x68], 0x18
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x64], bl
call fcn.004024d0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a0505
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
jmp 0x4a0201
lea edx, [esp + 0x2c]
push 0x61ad58
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0x20
test eax, eax
je 0x4a065d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a065d
add eax, 0x250
push eax
call ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push eax
push str._RX_
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac10]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c8d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4a06a9
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x68], 0x19
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635468]
mov byte [esp + 0x64], 0xf
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x4a07a0
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a07a0
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov bl, 0x1a
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4a0794
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a0794
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a078f
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a078f
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x58], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4a0781
mov al, byte [esi + 0x80]
test al, al
jne 0x4a0781
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a0781
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x68], 0x1b
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x64], bl
call fcn.004024d0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a06cb
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x18]
inc ecx
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x30]
call fcn.004a1460
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4a0b9f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edi
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push 0x61ad28
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0x20
test eax, eax
je 0x4a0861
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a0861
add eax, 0x250
push eax
call ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push eax
push str._RX_
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac10]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c8d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4a08ad
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x68], 0x13
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635468]
mov byte [esp + 0x64], 0xf
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x4a09a4
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a09a4
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov bl, 0x14
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4a0998
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a0998
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a0993
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a0993
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x58], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4a0985
mov al, byte [esi + 0x80]
test al, al
jne 0x4a0985
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a0985
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x68], 0x15
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x64], bl
call fcn.004024d0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a08cf
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
jmp 0x4a0201
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push edi
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push 0x61acf0
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0x1c
test eax, eax
je 0x4a0a3c
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a0a3c
add eax, 0x250
push eax
call ebx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push str._RX_
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac10]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c8d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4a0a88
mov ecx, dword [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x68], 0x22
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635468]
mov byte [esp + 0x64], 0xf
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x4a0b7f
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a0b7f
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov bl, 0x23
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4a0b73
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a0b73
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a0b6e
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a0b6e
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x58], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4a0b60
mov al, byte [esi + 0x80]
test al, al
jne 0x4a0b60
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a0b60
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x68], 0x24
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x64], bl
call fcn.004024d0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a0aaa
mov ecx, dword [esp + 0x24]
inc ecx
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
lea edx, [esp + 0x20]
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x30]
call fcn.004a1460
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 1
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x30]
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