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

Disassembly:
push 0xffffffffffffffff
push 0x5ab8db
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 0x49eb8c
push str.ESMS
mov ecx, eax
call fcn.004dc060
mov esi, eax
jmp 0x49eb8e
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.004dc0f0
test eax, eax
jne 0x49ebdf
test esi, esi
je 0x49ebd6
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov dword [esp + 0x58], edi
jmp 0x49fc8b
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jne 0x49ebff
test esi, esi
je 0x49ebf6
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov dword [esp + 0x58], edi
jmp 0x49fc8b
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 0x601d38
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 0x49ecbb
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 0x49ed4d
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.004a05a0
jmp 0x49ee34
cmp eax, 5
jne 0x49edcf
push 0x615f2c
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.004a0730
jmp 0x49ee34
push 0x615f24
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.004a07c0
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 [0x635400]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 0x20
test eax, eax
je 0x49eed9
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49eed9
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 [0x635400]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb7d0
mov edx, dword [0x635400]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x49ef25
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 [0x62fc58]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x49f01a
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x49f01a
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x49f00e
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49f00e
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49f009
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49f009
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 0x49effb
mov al, byte [esi + 0x80]
test al, al
jne 0x49effb
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 0x49effb
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.004024b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x49ef3f
lea ecx, [esp + 0x40]
push 0x1ff
push ecx
push edi
push edi
mov dword [esp + 0x50], 0
call fcn.004eb1e0
add esp, 0x10
test al, al
je 0x49fa40
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
push 0x609824
push edi
call esi
add esp, 8
test eax, eax
jne 0x49f860
push str.Success
push edi
call esi
add esp, 8
test eax, eax
jne 0x49f860
push str.SUCCESS
push edi
call esi
add esp, 8
test eax, eax
jne 0x49f860
push str.Fail0
push edi
call esi
add esp, 8
test eax, eax
jne 0x49f48a
push str.Fail1
push edi
call esi
add esp, 8
test eax, eax
jne 0x49f48a
push str.All_ticketno_is_exist
push edi
call esi
add esp, 8
test eax, eax
je 0x49f2a9
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 [0x635400]
add esp, 0x20
test eax, eax
je 0x49f147
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49f147
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 [0x635400]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb7d0
mov eax, dword [0x635400]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c560
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x49f193
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 [0x62fc58]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x49f28a
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x49f28a
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 0x49f27e
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49f27e
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49f279
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49f279
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 0x49f26b
mov al, byte [esi + 0x80]
test al, al
jne 0x49f26b
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x49f26b
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.004024b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x49f1b5
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.004a0450
jmp 0x49fc2f
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 0x615e54
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635400]
add esp, 0x1c
test eax, eax
je 0x49f335
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49f335
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 [0x635400]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb7d0
mov eax, dword [0x635400]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c560
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x49f381
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 [0x62fc58]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x49f478
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x49f478
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 0x49f46c
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49f46c
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49f467
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49f467
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 0x49f459
mov al, byte [esi + 0x80]
test al, al
jne 0x49f459
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x49f459
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.004024b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x49f3a3
mov ecx, dword [esp + 0x24]
inc ecx
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
jmp 0x49fc1c
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 0x49f676
lea edx, [esp + 0x2c]
push 0x615e1c
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635400]
add esp, 0x20
test eax, eax
je 0x49f527
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49f527
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 [0x635400]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb7d0
mov edx, dword [0x635400]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x49f573
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 [0x62fc58]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x49f66a
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x49f66a
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 0x49f65e
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49f65e
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49f659
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49f659
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 0x49f64b
mov al, byte [esi + 0x80]
test al, al
jne 0x49f64b
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x49f64b
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.004024b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x49f595
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
jmp 0x49f291
lea edx, [esp + 0x2c]
push 0x615de4
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635400]
add esp, 0x20
test eax, eax
je 0x49f6ed
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49f6ed
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 [0x635400]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb7d0
mov edx, dword [0x635400]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x49f739
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 [0x62fc58]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x49f830
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x49f830
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 0x49f824
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49f824
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49f81f
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49f81f
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 0x49f811
mov al, byte [esi + 0x80]
test al, al
jne 0x49f811
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x49f811
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.004024b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x49f75b
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.004a04f0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x49fc2f
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 0x615db4
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635400]
add esp, 0x20
test eax, eax
je 0x49f8f1
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49f8f1
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 [0x635400]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb7d0
mov edx, dword [0x635400]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x49f93d
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 [0x62fc58]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x49fa34
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x49fa34
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 0x49fa28
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49fa28
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49fa23
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49fa23
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 0x49fa15
mov al, byte [esi + 0x80]
test al, al
jne 0x49fa15
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x49fa15
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.004024b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x49f95f
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
jmp 0x49f291
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 0x615d7c
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635400]
add esp, 0x1c
test eax, eax
je 0x49facc
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49facc
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 [0x635400]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb7d0
mov eax, dword [0x635400]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c560
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x49fb18
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 [0x62fc58]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x49fc0f
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x49fc0f
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 0x49fc03
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49fc03
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49fbfe
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49fbfe
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 0x49fbf0
mov al, byte [esi + 0x80]
test al, al
jne 0x49fbf0
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x49fbf0
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.004024b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x49fb3a
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.004a04f0
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