Function at 0x4906e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5ab8a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x4913d5
cmp dword [esi + 0x78], ebx
je 0x4913d5
mov ebp, dword [esp + 0x28]
push str.QCPS
push ebp
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x490914
mov eax, dword [0x637760]
cmp eax, ebx
je 0x490792
mov cl, byte [eax + 0x40]
test cl, cl
je 0x490792
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push ebp
push str._TX_
push ebx
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x34], 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 0x4907de
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov dword [esp + 0x2c], ebx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebx
je 0x4908d7
cmp dword [eax + 0x50], ebx
jle 0x4908d7
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x4908cb
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4908cb
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4908c6
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4908c6
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], 1
mov eax, dword [edx - 8]
test eax, eax
je 0x4908b5
mov al, byte [edi + 0x80]
test al, al
jne 0x4908b5
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4908b5
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x28], 1
call fcn.00402490
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x4907f4
push 0x20
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x1c], 3
je 0x4908fd
push esi
mov ecx, eax
call fcn.004913f0
mov esi, eax
jmp 0x4908ff
xor esi, esi
push ebp
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.00491440
jmp 0x490f92
mov edi, dword [sym.imp.MSVCRT.dll__strnicmp]
push 5
push str.ACPAY
push ebp
call edi
add esp, 0xc
test eax, eax
je 0x4911e4
push 5
push str.CCPAY
push ebp
call edi
add esp, 0xc
test eax, eax
je 0x4911e4
push 5
push str.ADPAY
push ebp
call edi
add esp, 0xc
test eax, eax
je 0x4911e4
push 5
push str.CDPAY
push ebp
call edi
add esp, 0xc
test eax, eax
je 0x4911e4
push 5
push str.ASPAY
push ebp
call edi
add esp, 0xc
test eax, eax
je 0x4911e4
push 4
push 0x6163d0
push ebp
call edi
add esp, 0xc
test eax, eax
jne 0x490b89
mov eax, dword [0x637760]
test eax, eax
je 0x4909ff
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4909ff
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push ebp
push str._TX_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x34], 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 0x490a4f
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov dword [esp + 0x2c], 8
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x490b4c
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x490b4c
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x490b40
mov cl, byte [edi + 0x88]
test cl, cl
je 0x490b40
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x490b3b
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x490b3b
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], 9
mov eax, dword [edx - 8]
test eax, eax
je 0x490b2a
mov al, byte [edi + 0x80]
test al, al
jne 0x490b2a
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x490b2a
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x2c], 0xa
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x28], 9
call fcn.00402490
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x490a69
push 0x20
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x1c], 0xb
je 0x490b72
push esi
mov ecx, eax
call fcn.00491680
mov esi, eax
jmp 0x490b74
xor esi, esi
push ebp
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.004916d0
jmp 0x490f92
push 4
push str.QMOL
push ebp
call edi
add esp, 0xc
test eax, eax
jne 0x490d91
mov eax, dword [0x637760]
test eax, eax
je 0x490c05
mov cl, byte [eax + 0x40]
test cl, cl
je 0x490c05
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push ebp
push str._TX_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x34], 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 0x490c55
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov dword [esp + 0x2c], 0xc
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x490d52
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x490d52
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x490d46
mov cl, byte [edi + 0x88]
test cl, cl
je 0x490d46
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x490d41
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x490d41
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], 0xd
mov eax, dword [edx - 8]
test eax, eax
je 0x490d30
mov al, byte [edi + 0x80]
test al, al
jne 0x490d30
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x490d30
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x2c], 0xe
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x28], 0xd
call fcn.00402490
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x490c6f
push 0x28
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x1c], 0xf
je 0x490d7a
push 0
push esi
mov ecx, eax
call fcn.00491970
mov esi, eax
jmp 0x490d7c
xor esi, esi
push ebp
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.00491eb0
jmp 0x490f92
push 4
push str.QCNY
push ebp
call edi
add esp, 0xc
test eax, eax
jne 0x490fb3
mov eax, dword [0x637760]
test eax, eax
je 0x490e0d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x490e0d
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push ebp
push str._TX_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x34], 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 0x490e5d
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov dword [esp + 0x2c], 0x10
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x490f5a
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x490f5a
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x490f4e
mov cl, byte [edi + 0x88]
test cl, cl
je 0x490f4e
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x490f49
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x490f49
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], 0x11
mov eax, dword [edx - 8]
test eax, eax
je 0x490f38
mov al, byte [edi + 0x80]
test al, al
jne 0x490f38
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x490f38
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x2c], 0x12
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x28], 0x11
call fcn.00402490
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x490e77
push 0x20
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x1c], 0x13
je 0x490f80
push esi
mov ecx, eax
call fcn.004921b0
mov esi, eax
jmp 0x490f82
xor esi, esi
push ebp
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.00492200
test esi, esi
je 0x490f9e
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov al, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 4
push str.PTDZ
push ebp
call edi
add esp, 0xc
test eax, eax
jne 0x4913d5
mov eax, dword [0x637760]
test eax, eax
je 0x49102f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49102f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push ebp
push str._TX_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x34], 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 0x49107f
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov dword [esp + 0x2c], 0x14
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x49117c
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x49117c
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x491170
mov cl, byte [edi + 0x88]
test cl, cl
je 0x491170
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x49116b
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49116b
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], 0x15
mov eax, dword [edx - 8]
test eax, eax
je 0x49115a
mov al, byte [edi + 0x80]
test al, al
jne 0x49115a
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x49115a
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x2c], 0x16
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x28], 0x15
call fcn.00402490
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x491099
push 0x20
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x1c], 0x17
je 0x4911a2
push esi
mov ecx, eax
call fcn.00492290
mov esi, eax
jmp 0x4911a4
xor esi, esi
push ebp
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.004922e0
test esi, esi
mov bl, al
je 0x4911c2
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
test bl, bl
jne 0x4911cf
mov ecx, dword [str.ETDZ]
mov dword [ebp], ecx
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [0x637760]
test eax, eax
je 0x49124b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49124b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push ebp
push str._TX_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x34], 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 0x49129b
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov dword [esp + 0x2c], 4
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x491398
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x491398
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x49138c
mov cl, byte [edi + 0x88]
test cl, cl
je 0x49138c
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x491387
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x491387
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], 5
mov eax, dword [edx - 8]
test eax, eax
je 0x491376
mov al, byte [edi + 0x80]
test al, al
jne 0x491376
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x491376
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x2c], 6
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x28], 5
call fcn.00402490
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x4912b5
push 0x20
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x1c], 7
je 0x4913be
push esi
mov ecx, eax
call fcn.00491540
mov esi, eax
jmp 0x4913c0
xor esi, esi
push ebp
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.00491590
jmp 0x490f92
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret