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

Disassembly:
push 0xffffffffffffffff
push 0x5b006b
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 0x49fa8c
push str.ESMS
mov ecx, eax
call fcn.004dcfd0
mov esi, eax
jmp 0x49fa8e
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.004dd060
test eax, eax
jne 0x49fadf
test esi, esi
je 0x49fad6
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov dword [esp + 0x58], edi
jmp 0x4a0b8b
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jne 0x49faff
test esi, esi
je 0x49faf6
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov dword [esp + 0x58], edi
jmp 0x4a0b8b
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 0x49fbbb
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 0x49fc4d
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.004a14a0
jmp 0x49fd34
cmp eax, 5
jne 0x49fccf
push 0x61ae9c
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.004a1630
jmp 0x49fd34
push 0x61ae94
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.004a16c0
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 [0x63ac20]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 0x20
test eax, eax
je 0x49fdd9
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49fdd9
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 [0x63ac20]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c870
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x49fe25
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 [0x635478]
mov byte [esp + 0x64], 0xf
call fcn.00401160
mov eax, dword [0x635480]
test eax, eax
je 0x49ff1a
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x49ff1a
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x49ff0e
mov cl, byte [esi + 0x88]
test cl, cl
je 0x49ff0e
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49ff09
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49ff09
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 0x49fefb
mov al, byte [esi + 0x80]
test al, al
jne 0x49fefb
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 0x49fefb
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.004024f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x49fe3f
lea ecx, [esp + 0x40]
push 0x1ff
push ecx
push edi
push edi
mov dword [esp + 0x50], 0
call fcn.004ec120
add esp, 0x10
test al, al
je 0x4a0940
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
push 0x60e848
push edi
call esi
add esp, 8
test eax, eax
jne 0x4a0760
push str.Success
push edi
call esi
add esp, 8
test eax, eax
jne 0x4a0760
push str.SUCCESS
push edi
call esi
add esp, 8
test eax, eax
jne 0x4a0760
push str.Fail0
push edi
call esi
add esp, 8
test eax, eax
jne 0x4a038a
push str.Fail1
push edi
call esi
add esp, 8
test eax, eax
jne 0x4a038a
push str.All_ticketno_is_exist
push edi
call esi
add esp, 8
test eax, eax
je 0x4a01a9
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 [0x63ac20]
add esp, 0x20
test eax, eax
je 0x4a0047
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a0047
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 [0x63ac20]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c870
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4a0093
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 [0x635478]
mov byte [esp + 0x64], 0xf
call fcn.00401160
mov eax, dword [0x635480]
test eax, eax
je 0x4a018a
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a018a
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 0x4a017e
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a017e
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a0179
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a0179
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 0x4a016b
mov al, byte [esi + 0x80]
test al, al
jne 0x4a016b
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a016b
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.004024f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a00b5
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.004a1350
jmp 0x4a0b2f
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 0x61adc4
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0x1c
test eax, eax
je 0x4a0235
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a0235
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 [0x63ac20]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c870
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4a0281
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 [0x635478]
mov byte [esp + 0x64], 0xf
call fcn.00401160
mov eax, dword [0x635480]
test eax, eax
je 0x4a0378
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a0378
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 0x4a036c
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a036c
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a0367
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a0367
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 0x4a0359
mov al, byte [esi + 0x80]
test al, al
jne 0x4a0359
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a0359
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.004024f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a02a3
mov ecx, dword [esp + 0x24]
inc ecx
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
jmp 0x4a0b1c
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 0x4a0576
lea edx, [esp + 0x2c]
push 0x61ad8c
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0x20
test eax, eax
je 0x4a0427
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a0427
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 [0x63ac20]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c870
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4a0473
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 [0x635478]
mov byte [esp + 0x64], 0xf
call fcn.00401160
mov eax, dword [0x635480]
test eax, eax
je 0x4a056a
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a056a
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 0x4a055e
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a055e
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a0559
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a0559
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 0x4a054b
mov al, byte [esi + 0x80]
test al, al
jne 0x4a054b
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a054b
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.004024f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a0495
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
jmp 0x4a0191
lea edx, [esp + 0x2c]
push 0x61ad54
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0x20
test eax, eax
je 0x4a05ed
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a05ed
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 [0x63ac20]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c870
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4a0639
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 [0x635478]
mov byte [esp + 0x64], 0xf
call fcn.00401160
mov eax, dword [0x635480]
test eax, eax
je 0x4a0730
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a0730
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 0x4a0724
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a0724
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a071f
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a071f
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 0x4a0711
mov al, byte [esi + 0x80]
test al, al
jne 0x4a0711
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a0711
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.004024f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a065b
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.004a13f0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4a0b2f
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 0x61ad24
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0x20
test eax, eax
je 0x4a07f1
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a07f1
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 [0x63ac20]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c870
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4a083d
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 [0x635478]
mov byte [esp + 0x64], 0xf
call fcn.00401160
mov eax, dword [0x635480]
test eax, eax
je 0x4a0934
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a0934
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 0x4a0928
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a0928
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a0923
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a0923
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 0x4a0915
mov al, byte [esi + 0x80]
test al, al
jne 0x4a0915
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a0915
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.004024f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a085f
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
jmp 0x4a0191
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 0x61acec
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0x1c
test eax, eax
je 0x4a09cc
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a09cc
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 [0x63ac20]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c870
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4a0a18
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 [0x635478]
mov byte [esp + 0x64], 0xf
call fcn.00401160
mov eax, dword [0x635480]
test eax, eax
je 0x4a0b0f
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a0b0f
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 0x4a0b03
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a0b03
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a0afe
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a0afe
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 0x4a0af0
mov al, byte [esi + 0x80]
test al, al
jne 0x4a0af0
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a0af0
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.004024f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a0a3a
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.004a13f0
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