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

Disassembly:
push 0xffffffffffffffff
push 0x5b4a8b
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 0x49fc2c
push str.ESMS
mov ecx, eax
call fcn.004ddd00
mov esi, eax
jmp 0x49fc2e
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.004ddd90
test eax, eax
jne 0x49fc7f
test esi, esi
je 0x49fc76
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov dword [esp + 0x58], edi
jmp 0x4a0d2b
mov ecx, esi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jne 0x49fc9f
test esi, esi
je 0x49fc96
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov dword [esp + 0x58], edi
jmp 0x4a0d2b
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 0x60cd50
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 0x49fd5b
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 0x49fded
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.004a1640
jmp 0x49fed4
cmp eax, 5
jne 0x49fe6f
push 0x620e3c
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.004a17d0
jmp 0x49fed4
push 0x620e34
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.004a1860
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 [0x641030]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 0x20
test eax, eax
je 0x49ff79
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49ff79
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 [0x641030]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c9d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x49ffc5
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 [0x63b908]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4a00ba
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4a00ba
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x4a00ae
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a00ae
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a00a9
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a00a9
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 0x4a009b
mov al, byte [esi + 0x80]
test al, al
jne 0x4a009b
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 0x4a009b
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.00402460
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x49ffdf
lea ecx, [esp + 0x40]
push 0x1ff
push ecx
push edi
push edi
mov dword [esp + 0x50], 0
call fcn.004ecdd0
add esp, 0x10
test al, al
je 0x4a0ae0
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
push 0x614848
push edi
call esi
add esp, 8
test eax, eax
jne 0x4a0900
push str.Success
push edi
call esi
add esp, 8
test eax, eax
jne 0x4a0900
push str.SUCCESS
push edi
call esi
add esp, 8
test eax, eax
jne 0x4a0900
push str.Fail0
push edi
call esi
add esp, 8
test eax, eax
jne 0x4a052a
push str.Fail1
push edi
call esi
add esp, 8
test eax, eax
jne 0x4a052a
push str.All_ticketno_is_exist
push edi
call esi
add esp, 8
test eax, eax
je 0x4a0349
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 [0x641030]
add esp, 0x20
test eax, eax
je 0x4a01e7
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a01e7
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 [0x641030]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4a0233
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 [0x63b908]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4a032a
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a032a
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 0x4a031e
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a031e
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a0319
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a0319
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 0x4a030b
mov al, byte [esi + 0x80]
test al, al
jne 0x4a030b
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a030b
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.00402460
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a0255
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.004a14f0
jmp 0x4a0ccf
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 0x620d64
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0x1c
test eax, eax
je 0x4a03d5
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a03d5
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 [0x641030]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4a0421
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 [0x63b908]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4a0518
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a0518
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 0x4a050c
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a050c
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a0507
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a0507
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 0x4a04f9
mov al, byte [esi + 0x80]
test al, al
jne 0x4a04f9
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a04f9
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.00402460
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a0443
mov ecx, dword [esp + 0x24]
inc ecx
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
jmp 0x4a0cbc
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 0x4a0716
lea edx, [esp + 0x2c]
push 0x620d2c
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0x20
test eax, eax
je 0x4a05c7
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a05c7
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 [0x641030]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c9d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4a0613
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 [0x63b908]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4a070a
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a070a
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 0x4a06fe
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a06fe
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a06f9
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a06f9
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 0x4a06eb
mov al, byte [esi + 0x80]
test al, al
jne 0x4a06eb
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a06eb
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.00402460
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a0635
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
jmp 0x4a0331
lea edx, [esp + 0x2c]
push 0x620cf4
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0x20
test eax, eax
je 0x4a078d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a078d
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 [0x641030]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c9d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4a07d9
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 [0x63b908]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4a08d0
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a08d0
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 0x4a08c4
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a08c4
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a08bf
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a08bf
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 0x4a08b1
mov al, byte [esi + 0x80]
test al, al
jne 0x4a08b1
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a08b1
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.00402460
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a07fb
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.004a1590
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4a0ccf
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 0x620cc4
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0x20
test eax, eax
je 0x4a0991
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a0991
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 [0x641030]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c9d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4a09dd
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 [0x63b908]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4a0ad4
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a0ad4
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 0x4a0ac8
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a0ac8
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a0ac3
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a0ac3
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 0x4a0ab5
mov al, byte [esi + 0x80]
test al, al
jne 0x4a0ab5
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a0ab5
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.00402460
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a09ff
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
jmp 0x4a0331
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 0x620c8c
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0x1c
test eax, eax
je 0x4a0b6c
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4a0b6c
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 [0x641030]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4a0bb8
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 [0x63b908]
mov byte [esp + 0x64], 0xf
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4a0caf
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4a0caf
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 0x4a0ca3
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4a0ca3
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4a0c9e
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a0c9e
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 0x4a0c90
mov al, byte [esi + 0x80]
test al, al
jne 0x4a0c90
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a0c90
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.00402460
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4a0bda
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.004a1590
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