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

Disassembly:
push 0xffffffffffffffff
push 0x5ad20b
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 0x49e50c
push str.ESMS
mov ecx, eax
call fcn.004db9f0
mov esi, eax
jmp 0x49e50e
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.004dba80
test eax, eax
jne 0x49e55f
test esi, esi
je 0x49e556
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov dword [esp + 0x58], edi
jmp 0x49f60b
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jne 0x49e57f
test esi, esi
je 0x49e576
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov dword [esp + 0x58], edi
jmp 0x49f60b
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 0x603d38
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 0x49e63b
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 0x49e6cd
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.0049ff20
jmp 0x49e7b4
cmp eax, 5
jne 0x49e74f
push 0x617c2c
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.004a00b0
jmp 0x49e7b4
push 0x617c24
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.004a0140
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 [0x637760]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 0x20
test eax, eax
je 0x49e859
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49e859
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 [0x637760]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c4d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x49e8a5
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 [0x631fb8]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x49e99a
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x49e99a
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x49e98e
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49e98e
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49e989
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49e989
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 0x49e97b
mov al, byte [esi + 0x80]
test al, al
jne 0x49e97b
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 0x49e97b
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.00402490
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x49e8bf
lea ecx, [esp + 0x40]
push 0x1ff
push ecx
push edi
push edi
mov dword [esp + 0x50], 0
call fcn.004eab10
add esp, 0x10
test al, al
je 0x49f3c0
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
push 0x60b824
push edi
call esi
add esp, 8
test eax, eax
jne 0x49f1e0
push str.Success
push edi
call esi
add esp, 8
test eax, eax
jne 0x49f1e0
push str.SUCCESS
push edi
call esi
add esp, 8
test eax, eax
jne 0x49f1e0
push str.Fail0
push edi
call esi
add esp, 8
test eax, eax
jne 0x49ee0a
push str.Fail1
push edi
call esi
add esp, 8
test eax, eax
jne 0x49ee0a
push str.All_ticketno_is_exist
push edi
call esi
add esp, 8
test eax, eax
je 0x49ec29
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 [0x637760]
add esp, 0x20
test eax, eax
je 0x49eac7
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49eac7
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 [0x637760]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb100
mov eax, dword [0x637760]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c4d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x49eb13
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 [0x631fb8]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x49ec0a
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x49ec0a
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 0x49ebfe
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49ebfe
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49ebf9
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49ebf9
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 0x49ebeb
mov al, byte [esi + 0x80]
test al, al
jne 0x49ebeb
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x49ebeb
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.00402490
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x49eb35
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.0049fdd0
jmp 0x49f5af
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 0x617b54
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637760]
add esp, 0x1c
test eax, eax
je 0x49ecb5
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49ecb5
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 [0x637760]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb100
mov eax, dword [0x637760]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c4d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x49ed01
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 [0x631fb8]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x49edf8
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x49edf8
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 0x49edec
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49edec
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49ede7
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49ede7
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 0x49edd9
mov al, byte [esi + 0x80]
test al, al
jne 0x49edd9
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x49edd9
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.00402490
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x49ed23
mov ecx, dword [esp + 0x24]
inc ecx
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
jmp 0x49f59c
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 0x49eff6
lea edx, [esp + 0x2c]
push 0x617b1c
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637760]
add esp, 0x20
test eax, eax
je 0x49eea7
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49eea7
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 [0x637760]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c4d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x49eef3
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 [0x631fb8]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x49efea
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x49efea
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 0x49efde
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49efde
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49efd9
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49efd9
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 0x49efcb
mov al, byte [esi + 0x80]
test al, al
jne 0x49efcb
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x49efcb
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.00402490
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x49ef15
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
jmp 0x49ec11
lea edx, [esp + 0x2c]
push 0x617ae4
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637760]
add esp, 0x20
test eax, eax
je 0x49f06d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49f06d
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 [0x637760]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c4d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x49f0b9
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 [0x631fb8]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x49f1b0
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x49f1b0
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 0x49f1a4
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49f1a4
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49f19f
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49f19f
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 0x49f191
mov al, byte [esi + 0x80]
test al, al
jne 0x49f191
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x49f191
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.00402490
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x49f0db
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.0049fe70
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x49f5af
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 0x617ab4
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637760]
add esp, 0x20
test eax, eax
je 0x49f271
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49f271
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 [0x637760]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c4d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x49f2bd
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 [0x631fb8]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x49f3b4
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x49f3b4
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 0x49f3a8
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49f3a8
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49f3a3
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49f3a3
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 0x49f395
mov al, byte [esi + 0x80]
test al, al
jne 0x49f395
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x49f395
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.00402490
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x49f2df
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
jmp 0x49ec11
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 0x617a7c
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637760]
add esp, 0x1c
test eax, eax
je 0x49f44c
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49f44c
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 [0x637760]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb100
mov eax, dword [0x637760]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c4d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x49f498
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 [0x631fb8]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x49f58f
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x49f58f
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 0x49f583
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49f583
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49f57e
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49f57e
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 0x49f570
mov al, byte [esi + 0x80]
test al, al
jne 0x49f570
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x49f570
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.00402490
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x49f4ba
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.0049fe70
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