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

Disassembly:
push 0xffffffffffffffff
push 0x5b82e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
mov eax, dword [ecx + 0x318]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], eax
je 0x50ff31
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ebx
jle 0x50fe7f
mov esi, dword [esp + 0x60]
test esi, esi
je 0x50d90d
mov ecx, esi
call fcn.005131a0
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
mov ecx, dword [eax + 0x314]
mov eax, dword [ecx + edx*4]
test eax, eax
mov dword [esp + 0x40], eax
je 0x50fe64
mov ebx, eax
xor esi, esi
mov dword [esp + 0x1c], esi
mov byte [esp + 0x27], 0
mov eax, dword [ebx + 0x28]
mov byte [esp + 0x1b], 0
mov byte [esp + 0x3d], 0
mov edi, dword [eax]
mov dword [esp + 0x28], edi
cmp edi, esi
mov cl, byte [edi + 8]
mov dword [esp + 0x14], esi
mov byte [esp + 0x53], cl
mov dword [esp + 0x44], esi
je 0x50da8a
mov eax, dword [edi]
cmp eax, esi
je 0x50da8a
mov ebp, dword [sym.imp.MSVCRT.dll__strnicmp]
push 5
push str.SI:NW
push eax
call ebp
add esp, 0xc
test eax, eax
je 0x50d999
mov edx, dword [edi]
push 5
push str.SI_NW
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x50da90
mov eax, dword [edi]
lea ecx, [esp + 0x58]
push eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x58]
mov dword [esp + 0x32c], esi
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::MakeUpper
push 0x631fcc
push str.SI:NW
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::Replace
push 0x631fcc
push str.SI_NW
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::Replace
push 0x610c34
push 0x60dba8
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::Replace
push 0x610c34
push 0x603cac
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0x90]
call sub.MFC42.DLL_CStringArray::CStringArray
push 1
push 1
push 2
lea ecx, [esp + 0x9c]
push 0x2f
push ecx
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x348], 1
call sub.MFC42.DLL_CString::CString_2
call fcn.004ea520
mov eax, dword [esp + 0xb0]
add esp, 0x18
cmp eax, 2
je 0x50ff4a
lea ecx, [esp + 0x90]
mov byte [esp + 0x32c], 0
call fcn.005948d2
lea ecx, [esp + 0x58]
mov dword [esp + 0x32c], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x50da90
mov ebp, dword [sym.imp.MSVCRT.dll__strnicmp]
mov edx, dword [ebx + 4]
mov esi, str.qt_group
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x50dac0
test cl, cl
je 0x50daba
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x50dac0
add eax, 2
add esi, 2
test cl, cl
jne 0x50da9a
xor ebx, ebx
xor eax, eax
jmp 0x50dac7
sbb eax, eax
sbb eax, 0xffffffff
xor ebx, ebx
cmp eax, ebx
jne 0x50dc02
push 0x2c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebx
mov dword [esp + 0x32c], 0xb
je 0x50db1a
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 0x18], 0x5cf368
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov byte [esi + 0xc], 0
jmp 0x50db1c
xor esi, esi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x32c], 0xffffffff
mov byte [esi + 0xc], 1
xor eax, eax
mov edx, dword [ecx + 0x2f0]
mov dword [esp + 0x2c], esi
cmp edx, ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x48], eax
jle 0x50dbf9
jmp 0x50db4f
xor ebx, ebx
mov ecx, dword [ecx + 0x2ec]
mov eax, dword [ecx + eax*4]
lea esi, [eax + 0x20]
mov dword [esp + 0x38], esi
cmp dword [esi], 0
jle 0x50dbd2
add eax, 0x1c
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov ebp, dword [eax + ebx*4]
mov eax, dword [ebp + 0x70]
mov cl, byte [eax + 0x4d]
test cl, cl
jne 0x50dbcb
mov cl, byte [eax + 0xe1]
test cl, cl
je 0x50dbcb
mov ecx, dword [esp + 0x40]
add ecx, 0xc
cmp byte [ecx], 0
je 0x50dba6
mov eax, dword [eax + 0x20]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x50dbcb
mov edx, dword [esp + 0x2c]
push 0xffffffffffffffff
mov edi, dword [edx + 0x20]
lea esi, [edx + 0x18]
mov ecx, esi
lea eax, [edi + 1]
push eax
call fcn.00582dc0
mov ecx, dword [esi + 4]
mov dword [ecx + edi*4], ebp
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
mov eax, dword [esi]
inc ebx
cmp ebx, eax
jl 0x50db6b
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
inc eax
mov edx, dword [ecx + 0x2f0]
mov dword [esp + 0x48], eax
cmp eax, edx
jl 0x50db4d
mov ebp, dword [sym.imp.MSVCRT.dll__strnicmp]
mov esi, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x2c], esi
jmp 0x50e126
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x24]
call fcn.00511220
cmp eax, ebx
mov dword [esp + 0x2c], eax
jne 0x50ddd3
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x20]
mov ecx, ebp
mov edx, dword [esi + 8]
lea edi, [esi + 8]
push edx
call fcn.0058dcd0
xor ebx, ebx
cmp eax, ebx
je 0x50dc50
mov edx, dword [eax]
push ebx
push 0x624348
mov ecx, eax
call dword [edx + 0x90]
mov eax, dword [0x637770]
cmp eax, ebx
je 0x50dcb6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x50dcb6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push str.____ERROR:
push 0x603774
push ecx
mov dword [esp + 0x20], esp
mov eax, dword [edi]
mov ecx, esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x637770]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.____ERROR:
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x334], 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x603774
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x338], 0xd
mov dword [esp + 0x44], esp
mov eax, dword [edi]
mov ecx, esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x33c], 0xe
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x6101d4
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63234c]
mov dword [esp + 0x33c], 0xffffffff
call fcn.00458dc0
mov dword [esp + 0x10], esi
mov edi, dword [edi]
mov dword [esp + 0x32c], 0xf
push edi
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
push eax
call sub.MFC42.DLL_operatordelete
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x2c]
add esp, 8
xor edi, edi
cmp eax, ebx
jle 0x50dd74
mov ecx, dword [esi + 0x28]
mov ecx, dword [ecx + edi*4]
cmp ecx, ebx
je 0x50dd6c
push 1
call fcn.00509560
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jl 0x50dd5b
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x24]
call fcn.00582dc0
lea ecx, [esi + 0x24]
mov dword [esp + 0x32c], 0xffffffff
call fcn.004b9b70
push esi
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebp + 0x318]
mov edx, dword [esp + 0x58]
mov ecx, dword [ebp + 0x314]
lea esi, [ebp + 0x318]
sub eax, edx
add esp, 4
dec eax
lea edi, [ecx + edx*4]
je 0x50ddcc
shl eax, 2
lea ecx, [ecx + edx*4 + 4]
push eax
push ecx
push edi
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
dec dword [esi]
jmp 0x50fe64
mov eax, dword [eax + 8]
cmp eax, 5
jne 0x50def6
push 0x2c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebx
mov dword [esp + 0x32c], 0x10
je 0x50de2a
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 0x18], 0x5cf368
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov byte [esi + 0xc], 0
jmp 0x50de2c
xor esi, esi
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], esi
mov dword [esp + 0x32c], 0xffffffff
mov byte [esi + 0xc], 1
mov ecx, dword [edx + 0x2f0]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x48], eax
jle 0x50e116
mov ecx, edx
mov ecx, dword [ecx + 0x2ec]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x50de77
cmp ecx, 2
je 0x50de77
cmp ecx, 5
jne 0x50de7d
cmp dword [esp + 0x2c], eax
jne 0x50ded2
lea ecx, [eax + 0x20]
xor ebx, ebx
mov dword [esp + 0x38], ecx
cmp dword [ecx], 0
jle 0x50ded2
add eax, 0x1c
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov ebp, dword [eax + ebx*4]
mov eax, dword [ebp + 0x70]
mov cl, byte [eax + 0x4c]
test cl, cl
jne 0x50dec9
mov cl, byte [eax + 0x4d]
test cl, cl
jne 0x50dec9
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
mov edi, dword [ecx + 0x20]
lea esi, [ecx + 0x18]
mov ecx, esi
lea edx, [edi + 1]
push edx
call fcn.00582dc0
mov eax, dword [esi + 4]
mov dword [eax + edi*4], ebp
mov ecx, dword [esp + 0x38]
inc ebx
cmp ebx, dword [ecx]
jl 0x50de92
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
inc eax
mov edx, dword [ecx + 0x2f0]
mov dword [esp + 0x48], eax
cmp eax, edx
jl 0x50de5d
mov esi, dword [esp + 0x30]
jmp 0x50e116
cmp eax, 2
je 0x50df04
cmp eax, 3
jne 0x50e126
mov al, byte [esp + 0x53]
test al, al
jne 0x50e126
mov edx, dword [esp + 0x40]
mov al, byte [edx + 0x19]
test al, al
jne 0x50e126
mov eax, dword [edi]
push 2
push 0x6190e4
push eax
call ebp
add esp, 0xc
test eax, eax
je 0x50e004
mov ecx, dword [edi]
push 3
push 0x610cec
push ecx
call ebp
add esp, 0xc
test eax, eax
je 0x50e004
mov edx, dword [edi]
push 2
push 0x6113ec
push edx
call ebp
add esp, 0xc
test eax, eax
je 0x50e004
mov eax, dword [edi]
push 4
push str.DETR
push eax
call ebp
add esp, 0xc
test eax, eax
je 0x50e004
mov ecx, dword [edi]
push 4
push str.HELP
push ecx
call ebp
add esp, 0xc
test eax, eax
je 0x50e004
mov edx, dword [edi]
push 4
push str.DATE
push edx
call ebp
add esp, 0xc
test eax, eax
je 0x50e004
mov eax, dword [edi]
push 4
push str.CNTD
push eax
call ebp
add esp, 0xc
test eax, eax
je 0x50e004
mov ecx, dword [edi]
push 2
push 0x60c560
push ecx
call ebp
add esp, 0xc
test eax, eax
je 0x50e004
mov edx, dword [edi]
push 2
push 0x6195b4
push edx
call ebp
add esp, 0xc
test eax, eax
je 0x50e004
mov eax, dword [edi]
push 2
push 0x6242f8
push eax
call ebp
add esp, 0xc
test eax, eax
je 0x50e004
mov ecx, dword [edi]
push 2
push 0x6242f4
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x50e126
push 0x2c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebx
mov dword [esp + 0x32c], 0x11
je 0x50e04f
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 0x18], 0x5cf368
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov byte [esi + 0xc], 0
jmp 0x50e051
xor esi, esi
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], esi
mov dword [esp + 0x32c], 0xffffffff
mov byte [esi + 0xc], 1
mov ecx, dword [edx + 0x2f0]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x48], eax
jle 0x50e116
mov ecx, edx
mov ecx, dword [ecx + 0x2ec]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x50e09c
cmp ecx, 2
je 0x50e09c
cmp ecx, 5
jne 0x50e0a2
cmp dword [esp + 0x2c], eax
jne 0x50e0f7
lea ecx, [eax + 0x20]
xor ebx, ebx
mov dword [esp + 0x38], ecx
cmp dword [ecx], 0
jle 0x50e0f7
add eax, 0x1c
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov ebp, dword [eax + ebx*4]
mov eax, dword [ebp + 0x70]
mov cl, byte [eax + 0x4c]
test cl, cl
jne 0x50e0ee
mov cl, byte [eax + 0x4d]
test cl, cl
jne 0x50e0ee
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
mov edi, dword [ecx + 0x20]
lea esi, [ecx + 0x18]
mov ecx, esi
lea edx, [edi + 1]
push edx
call fcn.00582dc0
mov eax, dword [esi + 4]
mov dword [eax + edi*4], ebp
mov ecx, dword [esp + 0x38]
inc ebx
cmp ebx, dword [ecx]
jl 0x50e0b7
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
inc eax
mov edx, dword [ecx + 0x2f0]
mov dword [esp + 0x48], eax
cmp eax, edx
jl 0x50e082
mov esi, dword [esp + 0x30]
mov ebp, dword [sym.imp.MSVCRT.dll__strnicmp]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
xor ebx, ebx
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x32c], 0x12
mov dword [esp + 0x38], ebx
mov edx, dword [edi]
push 6
push str.LOCK02
push edx
mov byte [esp + 0x43], 0
mov byte [esp + 0x4b], 0
mov byte [esp + 0x5e], 0
call ebp
add esp, 0xc
test eax, eax
jne 0x50e1c4
mov eax, dword [edi]
lea ecx, [esp + 0x6c]
add eax, 6
push eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x6c]
mov byte [esp + 0x32c], 0x13
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x5c]
push 1
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004cf1e0
add esp, 0x10
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x6c]
mov byte [esp + 0x32c], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi]
push 3
push 0x6242f0
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x50e202
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx + 0x20]
cmp esi, ebx
jle 0x50e202
mov edx, ecx
mov ecx, dword [edx + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x70]
mov bl, byte [edx + 0x56]
test bl, bl
jne 0x50e1fd
inc eax
add ecx, 4
cmp eax, esi
jl 0x50e1e7
jmp 0x50e202
mov byte [esp + 0x52], 1
mov eax, dword [edi]
push 2
push 0x619118
push eax
call ebp
add esp, 0xc
test eax, eax
je 0x50e338
mov ecx, dword [esp + 0x28]
push 3
push 0x6242ec
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x50e338
mov eax, dword [esp + 0x28]
push 3
push 0x6242e8
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x50e338
mov edx, dword [esp + 0x28]
push 2
push 0x6242e4
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x50e338
mov ebx, dword [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx]
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jb 0x50e2c0
mov esi, dword [sym.imp.MSVCRT.dll__strnicmp]
push 2
push 0x6242e0
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x50e2c6
mov ecx, dword [ebx]
mov al, byte [ecx + 2]
cmp al, 0x20
je 0x50e338
push eax
call fcn.004ecad0
add esp, 4
test al, al
jne 0x50e338
jmp 0x50e2c6
mov esi, dword [sym.imp.MSVCRT.dll__strnicmp]
mov edx, dword [ebx]
push 2
push 0x6242dc
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x50e2ff
mov eax, dword [ebx]
push 3
push 0x6242d8
push eax
call esi
add esp, 0xc
test eax, eax
je 0x50e2ff
mov ecx, dword [ebx]
push 4
push str.TOUR
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x50e338
mov edx, dword [ebx]
push 2
push 0x6242cc
push edx
call esi
add esp, 0xc
test eax, eax
je 0x50e338
mov eax, dword [ebx]
push 2
push 0x6242c8
push eax
call esi
add esp, 0xc
test eax, eax
je 0x50e338
mov ecx, dword [ebx]
push 2
push 0x6242c4
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x50e3b6
mov ebx, dword [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
mov esi, 2
mov edx, dword [ebx]
mov byte [esp + 0x37], 1
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jle 0x50e3b0
mov al, byte [edx + esi]
cmp al, 0x30
jl 0x50e363
cmp al, 0x39
jle 0x50e376
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jl 0x50e358
jmp 0x50e3b0
add edx, esi
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
mov dword [esp + 0x3c], eax
mov edx, dword [ebx]
push 0x6242c0
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x50e3ab
mov eax, dword [ebx]
push 0x6242bc
push eax
call esi
add esp, 8
test eax, eax
je 0x50e3b0
mov byte [esp + 0x3f], 1
mov esi, dword [sym.imp.MSVCRT.dll__strnicmp]
mov al, byte [esp + 0x37]
mov byte [esp + 0x3e], 0
test al, al
je 0x50e409
mov ecx, dword [ebx]
push 2
push 0x619118
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x50e404
mov edx, dword [ebx]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jbe 0x50e404
mov dl, byte [edx + 3]
push edx
call fcn.004ecad0
add esp, 4
test al, al
jne 0x50e404
mov al, byte [esp + 0x3f]
mov byte [esp + 0x3e], 1
test al, al
je 0x50e409
mov byte [esp + 0x3e], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
mov edx, dword [eax + 0x20]
lea ecx, [eax + 0x20]
test edx, edx
mov dword [esp + 0x48], ecx
jle 0x50e8d9
mov ebx, dword [esp + 0x40]
add eax, 0x1c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax]
mov al, byte [esp + 0x53]
cmp al, 1
mov edi, dword [ecx + edx*4]
jne 0x50e490
mov ebp, dword [edi + 0x70]
mov esi, str.travelsky
mov eax, dword [ebp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x50e476
test cl, cl
je 0x50e472
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x50e476
add eax, 2
add esi, 2
test cl, cl
jne 0x50e452
xor eax, eax
jmp 0x50e47b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x50e887
cmp byte [ebp + 0x92], 1
je 0x50e887
cmp byte [esp + 0x52], 1
jne 0x50e4a5
mov eax, dword [edi + 0x70]
mov cl, byte [eax + 0x56]
test cl, cl
je 0x50e887
mov al, byte [edi + 0x12a]
test al, al
jne 0x50e4d8
mov ecx, dword [edi + 0x70]
mov al, byte [ecx + 0x100]
test al, al
jne 0x50e4d8
mov edx, dword [ebx + 8]
push 6
push 0x6235c8
push edx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x50e887
cmp byte [edi + 0xc35], 1
jne 0x50e4fd
mov eax, dword [ebx + 8]
push 6
push 0x6235c8
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x50e887
cmp byte [edi + 0xc34], 1
jne 0x50e522
mov ecx, dword [ebx + 8]
push 6
push 0x6235c8
push ecx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x50e887
cmp byte [edi + 0x12b], 1
jne 0x50e547
mov edx, dword [ebx + 8]
push 6
push 0x6235c8
push edx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x50e887
mov eax, dword [edi + 0x70]
mov cl, byte [eax + 0xc9]
test cl, cl
je 0x50e565
mov ecx, dword [edi + 0x34]
mov edx, dword [ecx + 0x78]
mov esi, dword [ecx + 0x7c]
cmp edx, esi
jge 0x50e887
mov cl, byte [eax + 0xc8]
test cl, cl
je 0x50e58a
mov ecx, dword [edi + 0x34]
mov edx, dword [ecx + 0x74]
mov esi, dword [ecx + 0x6c]
mov ebp, dword [ecx + 0x68]
add edx, esi
mov esi, dword [ecx + 0x70]
add esi, ebp
cmp edx, esi
jge 0x50e887
mov cl, byte [eax + 0xec]
test cl, cl
jne 0x50e638
mov cl, byte [esp + 0x37]
test cl, cl
je 0x50e638
mov cl, byte [esp + 0x3e]
test cl, cl
jne 0x50e62a
mov esi, dword [esp + 0x38]
test esi, esi
jle 0x50e887
mov cl, byte [eax + 0x57]
test cl, cl
je 0x50e887
mov eax, dword [eax + 0x5c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x50e638
mov al, byte [esp + 0x3f]
test al, al
jne 0x50e638
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::CString_1
push esi
lea ecx, [esp + 0x6c]
push 0x623824
push ecx
mov byte [esp + 0x338], 0x14
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x74]
mov ecx, dword [edi + 0x70]
add esp, 0xc
add ecx, 0x5c
push edx
call sub.MFC42.DLL_CString::Find_1
test eax, eax
mov byte [esp + 0x32c], 0x12
lea ecx, [esp + 0x68]
jge 0x50e623
call sub.MFC42.DLL_CString::CString
jmp 0x50e887
call sub.MFC42.DLL_CString::CString
jmp 0x50e638
mov cl, byte [eax + 0xe0]
test cl, cl
je 0x50e887
mov al, byte [ebx + 0x13]
test al, al
je 0x50e68d
mov esi, dword [esp + 0x28]
mov ebp, dword [sym.imp.MSVCRT.dll__strnicmp]
push 3
push 0x6113c0
mov eax, dword [esi]
push eax
call ebp
add esp, 0xc
test eax, eax
je 0x50e68d
mov ecx, dword [esi]
push 4
push 0x611360
push ecx
call ebp
add esp, 0xc
test eax, eax
je 0x50e68d
mov eax, dword [edi + 0x70]
lea edx, [ebx + 0xc]
add eax, 0x20
push edx
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x50e887
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x50e6b4
mov eax, dword [edi + 0x70]
mov eax, dword [eax + 0xa8]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x50e887
mov ecx, edi
call fcn.00507660
cmp eax, 0x1b
jne 0x50e6ce
mov al, byte [edi + 0x128]
test al, al
jne 0x510381
mov ecx, edi
call fcn.00507660
cmp eax, 0x1c
je 0x50e887
mov ecx, dword [ebx + 8]
lea esi, [edi + 0x98]
push ecx
push esi
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x50e738
mov ecx, edi
call fcn.00507660
cmp eax, 0xa
je 0x50e716
cmp eax, 0xb
je 0x50e716
cmp eax, 0xc
je 0x50e716
cmp eax, 0xd
je 0x50e716
cmp eax, 0xe
jne 0x50e738
mov eax, dword [edi + 0xd8]
xor edx, edx
mov dx, word [ebx + 0x16]
cmp eax, edx
jl 0x50e8a8
mov byte [esp + 0x27], 1
mov dword [esp + 0x14], edi
jmp 0x50e887
mov al, byte [edi + 0x90]
test al, al
je 0x50e760
cmp dword [edi + 0x120], 0xf
je 0x50e882
mov byte [esp + 0x3d], 1
mov dword [esp + 0x8c], esi
jmp 0x50e887
mov ecx, edi
call fcn.00507660
cmp eax, 0xb
je 0x50e882
cmp eax, 0xc
je 0x50e882
cmp eax, 0xd
je 0x50e882
cmp eax, 0xe
je 0x50e882
cmp eax, 0xa
jne 0x50e887
mov eax, dword [esp + 0x1c]
test eax, eax
mov eax, dword [edi + 0x70]
jne 0x50e7c8
mov ecx, dword [eax + 0xe4]
cmp ecx, 0xfffffff6
jle 0x50e87e
mov edx, dword [edi + 0x34]
add ecx, 0xa
mov eax, dword [edx + 0x78]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
jmp 0x50e87a
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
add eax, 0x20
lea esi, [ebx + 0xc]
mov eax, dword [eax]
push esi
push eax
call ebp
add esp, 8
test eax, eax
je 0x50e802
mov eax, dword [esp + 0x1c]
push esi
mov eax, dword [eax + 0x70]
add eax, 0x20
mov eax, dword [eax]
push eax
call ebp
add esp, 8
test eax, eax
je 0x50e887
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov eax, dword [edi + 0x70]
push esi
add eax, 0x20
mov eax, dword [eax]
push eax
call ebp
add esp, 8
test eax, eax
jne 0x50e851
mov ecx, dword [esp + 0x1c]
push esi
mov eax, dword [ecx + 0x70]
add eax, 0x20
mov eax, dword [eax]
push eax
call ebp
add esp, 8
test eax, eax
je 0x50e851
mov edx, dword [edi + 0x70]
mov ecx, dword [edx + 0xe4]
cmp ecx, 0xfffffff6
jle 0x50e87e
mov eax, dword [edi + 0x34]
add ecx, 0xa
mov eax, dword [eax + 0x78]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
jmp 0x50e87a
mov ecx, dword [edi + 0x70]
mov ecx, dword [ecx + 0xe4]
cmp ecx, 0xfffffff6
jle 0x50e882
mov edx, dword [edi + 0x34]
add ecx, 0xa
mov eax, dword [edx + 0x78]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
cmp eax, dword [esp + 0x44]
jae 0x50e882
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], edi
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
inc eax
mov dword [esp + 0x30], eax
mov edx, dword [ecx]
cmp eax, edx
jl 0x50e432
mov al, byte [esp + 0x27]
test al, al
jne 0x50e8b1
jmp 0x50e8dd
mov byte [esp + 0x1b], 1
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
test ecx, ecx
je 0x50f1c8
test eax, eax
jne 0x50f1c1
mov eax, ecx
mov byte [esp + 0x1b], 1
mov dword [esp + 0x1c], eax
jmp 0x50f30e
mov ebx, dword [esp + 0x40]
mov al, byte [esp + 0x37]
test al, al
je 0x50eac6
lea edx, [esp + 0x124]
push 0x624224
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x637770]
add esp, 8
test eax, eax
je 0x50e968
mov cl, byte [eax + 0x40]
test cl, cl
je 0x50e968
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x124]
push eax
push str._TX_
push 0
push ecx
mov dword [esp + 0x20], esp
mov edx, dword [ebx + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x637770]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x50e9be
lea ecx, [esp + 0x124]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x338], 0x24
mov dword [esp + 0x20], esp
mov edx, dword [ebx + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x632318]
mov byte [esp + 0x338], 0x12
call fcn.00454340
mov eax, dword [0x631fd0]
test eax, eax
je 0x50ecd3
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x50ecd3
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x50eab5
mov cl, byte [esi + 0x88]
test cl, cl
je 0x50eab5
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x50eab0
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x50eab0
mov ecx, dword [ebx + 4]
push ecx
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x7c]
mov byte [esp + 0x32c], 0x25
mov eax, dword [ecx - 8]
test eax, eax
je 0x50ea9f
mov al, byte [esi + 0x80]
test al, al
je 0x50ea9f
mov eax, dword [esi + 0x84]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x50ea9f
lea edx, [esp + 0x124]
lea eax, [esp + 0x7c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x338], 0x26
mov dword [esp + 0x20], esp
mov edx, dword [ebx + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x338], 0x25
call fcn.00402500
lea ecx, [esp + 0x7c]
mov byte [esp + 0x32c], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x50e9de
jmp 0x50ecd3
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x50ecef
mov cl, byte [esp + 0x3d]
push eax
test cl, cl
jne 0x50eaf6
lea edx, [esp + 0x128]
push 0x6241fc
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x50eb14
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x128]
push eax
push 0x623914
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov eax, dword [0x637770]
test eax, eax
je 0x50eb7d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x50eb7d
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [esp + 0x124]
push edx
push str._TX_
push 0
push ecx
mov dword [esp + 0x20], esp
mov eax, dword [ebx + 4]
mov ecx, esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x637770]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x50ebd3
lea ecx, [esp + 0x124]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x338], 0x27
mov dword [esp + 0x20], esp
mov edx, dword [ebx + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x632318]
mov byte [esp + 0x338], 0x12
call fcn.00454340
mov eax, dword [0x631fd0]
test eax, eax
je 0x50ecd3
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x50ecd3
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x50ecc7
mov cl, byte [esi + 0x88]
test cl, cl
je 0x50ecc7
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x50ecc2
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x50ecc2
mov ecx, dword [ebx + 4]
push ecx
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x70]
mov byte [esp + 0x32c], 0x28
mov eax, dword [ecx - 8]
test eax, eax
je 0x50ecb1
mov al, byte [esi + 0x80]
test al, al
je 0x50ecb1
mov eax, dword [esi + 0x84]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x50ecb1
lea edx, [esp + 0x124]
lea eax, [esp + 0x70]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x338], 0x29
mov dword [esp + 0x20], esp
mov edx, dword [ebx + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x338], 0x28
call fcn.00402500
lea ecx, [esp + 0x70]
mov byte [esp + 0x32c], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x50ebf3
mov eax, dword [ebx + 8]
mov ebp, dword [esp + 0x20]
push eax
mov ecx, ebp
call fcn.0058dcd0
test eax, eax
je 0x50f105
jmp 0x50f0f1
mov al, byte [esp + 0x3d]
test al, al
jne 0x50eefd
mov eax, dword [ebx + 8]
lea edx, [ebx + 0xc]
push edx
push eax
lea ecx, [esp + 0x12c]
push str.ERROR:_
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x637770]
add esp, 0x10
test eax, eax
je 0x50ed82
mov cl, byte [eax + 0x40]
test cl, cl
je 0x50ed82
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [esp + 0x124]
push edx
push str._TX_
push 0
push ecx
mov dword [esp + 0x20], esp
mov eax, dword [ebx + 4]
mov ecx, esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x637770]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x50edd8
lea ecx, [esp + 0x124]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x338], 0x2a
mov dword [esp + 0x20], esp
mov edx, dword [ebx + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x632318]
mov byte [esp + 0x338], 0x12
call fcn.00454340
mov eax, dword [0x631fd0]
test eax, eax
je 0x50eed8
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x50eed8
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x50eecc
mov cl, byte [esi + 0x88]
test cl, cl
je 0x50eecc
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x50eec7
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x50eec7
mov ecx, dword [ebx + 4]
push ecx
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x74]
mov byte [esp + 0x32c], 0x2b
mov eax, dword [ecx - 8]
test eax, eax
je 0x50eeb6
mov al, byte [esi + 0x80]
test al, al
je 0x50eeb6
mov eax, dword [esi + 0x84]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x50eeb6
lea edx, [esp + 0x124]
lea eax, [esp + 0x74]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x338], 0x2c
mov dword [esp + 0x20], esp
mov edx, dword [ebx + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x338], 0x2b
call fcn.00402500
lea ecx, [esp + 0x74]
mov byte [esp + 0x32c], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x50edf8
mov eax, dword [ebx + 8]
mov ebp, dword [esp + 0x20]
push eax
mov ecx, ebp
call fcn.0058dcd0
test eax, eax
je 0x50f105
mov edx, dword [eax]
push 0
push 0x6241b4
jmp 0x50f0fd
mov ecx, dword [esp + 0x8c]
lea eax, [ebx + 0xc]
push eax
push ecx
lea edx, [esp + 0x12c]
push 0x623914
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x637770]
add esp, 0x10
test eax, eax
je 0x50ef88
mov cl, byte [eax + 0x40]
test cl, cl
je 0x50ef88
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x124]
push eax
push str._TX_
push 0
push ecx
mov dword [esp + 0x20], esp
mov edx, dword [ebx + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x637770]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x50efde
lea ecx, [esp + 0x124]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x338], 0x2d
mov dword [esp + 0x20], esp
mov edx, dword [ebx + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x632318]
mov byte [esp + 0x338], 0x12
call fcn.00454340
mov eax, dword [0x631fd0]
test eax, eax
je 0x50f0de
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x50f0de
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x50f0d2
mov cl, byte [esi + 0x88]
test cl, cl
je 0x50f0d2
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x50f0cd
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x50f0cd
mov ecx, dword [ebx + 4]
push ecx
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x78]
mov byte [esp + 0x32c], 0x2e
mov eax, dword [ecx - 8]
test eax, eax
je 0x50f0bc
mov al, byte [esi + 0x80]
test al, al
je 0x50f0bc
mov eax, dword [esi + 0x84]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x50f0bc
lea edx, [esp + 0x124]
lea eax, [esp + 0x78]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x338], 0x2f
mov dword [esp + 0x20], esp
mov edx, dword [ebx + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x338], 0x2e
call fcn.00402500
lea ecx, [esp + 0x78]
mov byte [esp + 0x32c], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x50effe
mov eax, dword [ebx + 8]
mov ebp, dword [esp + 0x20]
push eax
mov ecx, ebp
call fcn.0058dcd0
test eax, eax
je 0x50f105
mov edx, dword [eax]
lea ecx, [esp + 0x124]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x90]
mov dword [esp + 0x10], ebx
mov eax, dword [ebx + 8]
mov byte [esp + 0x32c], 0x30
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebx + 4]
xor esi, esi
push eax
mov dword [ebx + 8], esi
call sub.MFC42.DLL_operatordelete
mov dword [ebx + 4], esi
mov eax, dword [ebx + 0x2c]
add esp, 8
cmp eax, esi
jle 0x50f158
mov edx, dword [ebx + 0x28]
mov edi, dword [edx + esi*4]
test edi, edi
je 0x50f150
mov eax, dword [edi]
push eax
call sub.MFC42.DLL_operatordelete
push edi
call sub.MFC42.DLL_operatordelete
add esp, 8
mov eax, dword [ebx + 0x2c]
inc esi
cmp esi, eax
jl 0x50f135
lea esi, [ebx + 0x24]
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00582dc0
mov eax, dword [esi + 4]
mov dword [esi], 0x5ce134
test eax, eax
je 0x50f17c
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push ebx
mov dword [esi], 0x5c4040
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebp + 0x318]
mov edx, dword [esp + 0x58]
mov ecx, dword [ebp + 0x314]
sub eax, edx
add esp, 4
dec eax
lea esi, [ecx + edx*4]
je 0x50f1b6
shl eax, 2
lea ecx, [ecx + edx*4 + 4]
push eax
push ecx
push esi
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
dec dword [ebp + 0x318]
jmp 0x50fe50
mov byte [ecx + 0x98], 0
mov cl, byte [esp + 0x1b]
test cl, cl
jne 0x50f30e
cmp byte [ebx + 0x1a], 1
jne 0x50f32a
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString_1
mov ebp, dword [esp + 0x20]
mov byte [esp + 0x32c], 0x31
mov edx, dword [ebx + 8]
mov ecx, ebp
push edx
call fcn.0058dcd0
mov esi, eax
mov eax, dword [ebx + 0x28]
lea edx, [esp + 0x80]
mov eax, dword [eax]
mov ecx, dword [eax]
push ecx
push 0x10
push 0x624190
push edx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x90]
mov eax, dword [esi]
add esp, 0x10
xor edi, edi
push edi
push ecx
mov ecx, esi
call dword [eax + 0x90]
mov dword [esp + 0x10], ebx
mov eax, dword [ebx + 8]
mov byte [esp + 0x32c], 0x32
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebx + 4]
mov dword [ebx + 8], edi
push eax
call sub.MFC42.DLL_operatordelete
mov dword [ebx + 4], edi
mov eax, dword [ebx + 0x2c]
add esp, 8
xor esi, esi
cmp eax, edi
jle 0x50f28a
mov edx, dword [ebx + 0x28]
mov edi, dword [edx + esi*4]
test edi, edi
je 0x50f282
mov eax, dword [edi]
push eax
call sub.MFC42.DLL_operatordelete
push edi
call sub.MFC42.DLL_operatordelete
add esp, 8
mov eax, dword [ebx + 0x2c]
inc esi
cmp esi, eax
jl 0x50f267
lea esi, [ebx + 0x24]
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00582dc0
mov eax, dword [esi + 4]
mov dword [esi], 0x5ce134
test eax, eax
je 0x50f2ae
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push ebx
mov dword [esi], 0x5c4040
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebp + 0x318]
mov edx, dword [esp + 0x58]
mov ecx, dword [ebp + 0x314]
sub eax, edx
add esp, 4
dec eax
lea esi, [ecx + edx*4]
je 0x50f2e8
shl eax, 2
lea ecx, [ecx + edx*4 + 4]
push eax
push ecx
push esi
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov eax, dword [ebp + 0x318]
lea ecx, [esp + 0x80]
dec eax
mov byte [esp + 0x32c], 0x12
mov dword [ebp + 0x318], eax
call sub.MFC42.DLL_CString::CString
jmp 0x50fe50
mov cl, byte [eax + 0x11b]
test cl, cl
jne 0x50f32a
cmp byte [ebx + 0x19], 1
jne 0x50f32a
mov byte [esp + 0x1b], 0
mov byte [eax + 0x11b], 1
test eax, eax
jne 0x50f337
inc dword [esp + 0x54]
jmp 0x50fe50
mov esi, str.XXX000
lea eax, [ebx + 0xc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x50f363
test cl, cl
je 0x50f35f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x50f363
add eax, 2
add esi, 2
test cl, cl
jne 0x50f33f
xor eax, eax
jmp 0x50f368
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x50f3ba
mov esi, dword [ebx + 0x2c]
xor ebp, ebp
test esi, esi
mov dword [esp + 0x14], esi
jle 0x50f3ba
mov eax, dword [ebx + 0x28]
push str.XXX000
mov eax, dword [eax + ebp*4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x50f3b5
mov edx, dword [esp + 0x1c]
mov edi, eax
mov ecx, dword [edx + 0x70]
mov esi, dword [ecx + 0x20]
mov ecx, dword [esi - 8]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
inc ebp
cmp ebp, esi
jl 0x50f379
mov al, byte [ebx + 0x14]
test al, al
je 0x50f3de
and eax, 0xff
mov edi, dword [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [edi + 0x11c], eax
jmp 0x50f3f1
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x70]
mov edx, dword [ecx + 0x80]
mov dword [edi + 0x11c], edx
lea eax, [edi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [0x637429]
test al, al
jne 0x50f4b3
mov esi, dword [edi + 0x94]
test esi, esi
mov dword [esp + 0x14], esi
je 0x50f4a9
mov eax, dword [esi + 8]
mov byte [esp + 0x32c], 0x33
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 4]
xor edi, edi
push eax
mov dword [esi + 8], edi
call sub.MFC42.DLL_operatordelete
mov dword [esi + 4], edi
mov eax, dword [esi + 0x2c]
add esp, 8
cmp eax, edi
jle 0x50f46a
mov eax, dword [esi + 0x28]
mov ebp, dword [eax + edi*4]
test ebp, ebp
je 0x50f462
mov eax, dword [ebp]
push eax
call sub.MFC42.DLL_operatordelete
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 8
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jl 0x50f446
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x24]
call fcn.00582dc0
mov eax, dword [esi + 0x28]
mov byte [esp + 0x32c], 0x12
test eax, eax
mov dword [esi + 0x24], 0x5ce134
je 0x50f495
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
mov dword [esi + 0x24], 0x5c4040
call sub.MFC42.DLL_operatordelete
mov edi, dword [esp + 0x20]
add esp, 4
mov dword [edi + 0x94], 0
mov ebp, dword [esp + 0x1c]
mov edx, dword [ebp + 0x50]
lea ecx, [ebp + 0x50]
call dword [edx + 0x1c]
lea eax, [ebx + 8]
or ecx, 0xffffffff
mov dword [esp + 0x14], eax
lea edx, [ebp + 0x98]
mov edi, dword [eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [esp + 0x1b]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test al, al
mov byte [ebp + 0x129], 0
je 0x50f7b6
mov al, byte [ebx + 0x18]
test al, al
jne 0x50f7b6
mov eax, dword [ebx + 0x2c]
cmp eax, 2
jne 0x50f576
mov ecx, dword [ebx + 0x28]
push 0x619690
mov eax, dword [ecx]
mov edx, dword [eax]
push edx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x50f5bc
lea edi, [ebx + 0x24]
mov dword [esp + 0x14], edi
mov eax, dword [ebx + 0x28]
add edi, 8
mov esi, dword [eax]
test esi, esi
je 0x50f554
mov eax, dword [esi]
push eax
call sub.MFC42.DLL_operatordelete
push esi
call sub.MFC42.DLL_operatordelete
add esp, 8
mov ecx, dword [edi]
dec ecx
je 0x50f572
mov edx, dword [esp + 0x14]
shl ecx, 2
mov eax, dword [edx + 4]
push ecx
lea edx, [eax + 4]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
dec dword [edi]
jmp 0x50f5bc
dec eax
test eax, eax
jle 0x50f5bc
mov edi, eax
mov eax, dword [ebx + 0x28]
mov esi, dword [eax]
test esi, esi
je 0x50f597
mov eax, dword [esi]
push eax
call sub.MFC42.DLL_operatordelete
push esi
call sub.MFC42.DLL_operatordelete
add esp, 8
mov ecx, dword [ebx + 0x2c]
dec ecx
je 0x50f5b2
mov eax, dword [ebx + 0x28]
shl ecx, 2
lea edx, [eax + 4]
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov ecx, dword [ebx + 0x2c]
dec ecx
dec edi
mov dword [ebx + 0x2c], ecx
jne 0x50f57d
lea eax, [ebp + 0x98]
push eax
lea eax, [esp + 0xa8]
push str.__s__________________
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x637770]
add esp, 0xc
test eax, eax
je 0x50f645
mov cl, byte [eax + 0x40]
test cl, cl
je 0x50f645
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x70]
lea ecx, [esp + 0xa4]
push 0
push ecx
push 0
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637770]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x50f69d
push 0
push ecx
lea edx, [esp + 0xac]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x334], 0x34
mov eax, dword [ebp + 0x70]
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x632318]
mov byte [esp + 0x338], 0x12
call fcn.00454340
mov eax, dword [0x631fd0]
test eax, eax
je 0x50fd5c
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x50fd5c
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov edi, dword [esp + 0x1c]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x50f7a5
mov cl, byte [esi + 0x88]
test cl, cl
je 0x50f7a5
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x50f7a0
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x50f7a0
mov ecx, dword [edi + 0x70]
add ecx, 0xa8
push ecx
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x84]
mov byte [esp + 0x32c], 0x35
mov eax, dword [ecx - 8]
test eax, eax
je 0x50f78c
mov al, byte [esi + 0x80]
test al, al
je 0x50f78c
mov eax, dword [esi + 0x84]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x50f78c
push eax
push ecx
lea edx, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x334], 0x36
mov eax, dword [edi + 0x70]
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x338], 0x35
call fcn.00402500
lea ecx, [esp + 0x84]
mov byte [esp + 0x32c], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x50f6c1
jmp 0x50fd5c
push edx
lea ecx, [esp + 0xa8]
push 0x624160
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [ebp + 0x34]
add esp, 0xc
test eax, eax
je 0x50f7db
mov ecx, ebp
call fcn.005073d0
mov al, byte [ebx + 0x19]
mov edx, dword [ebx + 0x28]
cmp al, 1
push str.rawins
mov esi, dword [edx]
sete al
mov byte [ebp + 0x11b], al
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x50fb85
mov edi, dword [esp + 0x1c]
xor bl, bl
mov eax, dword [edi + 0x70]
mov cl, byte [eax + 0x8e]
test cl, cl
je 0x50f837
mov ecx, dword [esi]
push 6
push 0x623988
push ecx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x50f837
mov bl, 1
mov edx, dword [edi + 0x70]
mov al, byte [edx + 0x8d]
test al, al
jne 0x50fb89
test bl, bl
jne 0x50fb89
push 0x14
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
mov dword [esp + 0x30], ebp
test ebp, ebp
mov byte [esp + 0x32c], 0x37
je 0x50f8db
mov eax, dword [esp + 0x40]
mov edi, 0x619690
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], edx
mov ebx, ecx
mov dword [ebp + 4], ebx
lea eax, [ebx + 1]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, ebx
mov esi, 0x619690
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [ebp], eax
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
mov byte [ebx + eax], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov byte [ebp + 8], 0
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov byte [ebp + 9], 0
mov dword [esp + 0x14], ebp
jmp 0x50f8e3
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x40]
mov byte [esp + 0x32c], 0x12
lea esi, [eax + 0x24]
mov edx, dword [esi + 8]
lea ebx, [esi + 8]
test edx, edx
mov dword [esp + 0x2c], ebx
jg 0x50fa05
mov eax, dword [esi + 4]
lea ebp, [esi + 4]
test eax, eax
jne 0x50f933
push 4
call sub.MFC42.DLL_operatornew
mov dword [ebp], eax
mov dword [eax], 0
add esp, 4
mov dword [esi + 0xc], 1
mov dword [ebx], 1
jmp 0x50fb61
lea ecx, [esi + 0xc]
mov dword [esp + 0x44], ecx
mov ecx, dword [ecx]
cmp ecx, 1
jl 0x50f961
cmp edx, 1
jge 0x50f956
mov ecx, 1
sub ecx, edx
lea edx, [eax + edx*4]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebx], 1
jmp 0x50fb61
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x50f98b
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x50f97f
mov eax, 4
jmp 0x50f98b
cmp eax, 0x400
jle 0x50f98b
mov eax, 0x400
add eax, ecx
cmp eax, 1
mov dword [esp + 0x30], eax
jg 0x50f99e
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x30]
lea edx, [ecx*4]
push edx
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov eax, dword [esp + 0x30]
mov esi, dword [ebp]
mov edi, ebx
mov ecx, dword [eax]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x30]
mov ecx, 1
mov eax, dword [esi]
sub ecx, eax
lea edi, [ebx + eax*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
add esp, 8
mov dword [ebp], ebx
mov dword [esi], 1
mov dword [ecx], eax
jmp 0x50fb61
lea ebx, [edx + 1]
mov dword [esp + 0x28], edx
test ebx, ebx
lea ebp, [esi + 4]
jne 0x50fa40
mov eax, dword [ebp]
test eax, eax
je 0x50fa2a
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp], 0
mov edx, dword [esp + 0x2c]
mov dword [esi + 0xc], 0
mov dword [edx], 0
jmp 0x50fb39
mov ecx, dword [ebp]
test ecx, ecx
jne 0x50fa6f
lea eax, [ebx*4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp], eax
push ebx
push eax
call fcn.005261a0
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0xc], ebx
mov dword [ecx], ebx
jmp 0x50fb39
mov edi, dword [esi + 0xc]
lea eax, [esi + 0xc]
cmp ebx, edi
mov dword [esp + 0x44], eax
jg 0x50fa9a
cmp ebx, edx
jle 0x50fa8f
mov eax, ebx
lea ecx, [ecx + edx*4]
sub eax, edx
push eax
push ecx
call fcn.005261a0
mov edx, dword [esp + 0x2c]
mov dword [edx], ebx
jmp 0x50fb39
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x50fac4
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x50fab8
mov eax, 4
jmp 0x50fac4
cmp eax, 0x400
jle 0x50fac4
mov eax, 0x400
add eax, edi
cmp ebx, eax
mov dword [esp + 0x30], eax
jl 0x50fad2
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x30]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x30]
mov esi, dword [ebp]
mov edi, eax
mov dword [esp + 0x3c], eax
mov ecx, dword [edx]
add esp, 4
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi]
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.005261a0
mov eax, dword [ebp]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
add esp, 4
mov dword [ebp], ecx
mov dword [esi], ebx
mov dword [eax], edx
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp]
lea edx, [ecx*4]
push edx
push eax
add eax, 4
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [ebp]
add esp, 0xc
push 1
push eax
call fcn.005261a0
mov edx, dword [esp + 0x14]
xor ecx, ecx
xor eax, eax
mov esi, dword [ebp]
add eax, 4
mov dword [eax + esi - 4], edx
mov esi, ecx
dec ecx
test esi, esi
jne 0x50fb69
mov ecx, dword [esp + 0x1c]
mov byte [ecx + 0x129], 1
mov edi, dword [esp + 0x1c]
mov eax, dword [0x637770]
test eax, eax
je 0x50fbf4
mov cl, byte [eax + 0x40]
test cl, cl
je 0x50fbf4
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x70]
lea edx, [esp + 0xa4]
push 0
push edx
push 0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637770]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x50fc4c
push 0
push ecx
lea edx, [esp + 0xac]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x334], 0x38
mov eax, dword [edi + 0x70]
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x632318]
mov byte [esp + 0x338], 0x12
call fcn.00454340
mov eax, dword [0x631fd0]
test eax, eax
je 0x50fd5c
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x50fd5c
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x50fd50
mov cl, byte [esi + 0x88]
test cl, cl
je 0x50fd50
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x50fd4b
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x50fd4b
mov ecx, dword [edi + 0x70]
add ecx, 0xa8
push ecx
lea ecx, [esp + 0x8c]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x88]
mov byte [esp + 0x32c], 0x39
mov eax, dword [ecx - 8]
test eax, eax
je 0x50fd37
mov al, byte [esi + 0x80]
test al, al
je 0x50fd37
mov eax, dword [esi + 0x84]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x50fd37
push eax
push ecx
lea edx, [esp + 0x90]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x334], 0x3a
mov eax, dword [edi + 0x70]
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x338], 0x39
call fcn.00402500
lea ecx, [esp + 0x88]
mov byte [esp + 0x32c], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x50fc6c
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x40]
xor ecx, ecx
mov cx, word [esi]
lea eax, [edi + 0x58]
push eax
mov dword [edi + 0x80], ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [edi + 0x50]
mov dword [edi + 0x94], esi
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov al, byte [esp + 0x1b]
test al, al
je 0x50fd98
add dword [edi + 0xd8], 2
jmp 0x50fda2
mov dword [edi + 0xd8], 2
push 0
push 0xc
mov ecx, edi
call fcn.00506ee0
mov al, byte [0x637429]
test al, al
jne 0x50fe50
mov eax, dword [esp + 0x48]
xor edx, edx
cmp dword [eax], 0
jle 0x50fe19
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + edx*4]
cmp eax, edi
je 0x50fe10
lea ebp, [eax + 0x98]
lea esi, [edi + 0x98]
mov eax, ebp
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x50fe04
test cl, cl
je 0x50fe00
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x50fe04
add eax, 2
add esi, 2
test cl, cl
jne 0x50fde0
xor eax, eax
jmp 0x50fe09
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x50fe10
mov byte [ebp], al
mov ecx, dword [esp + 0x48]
inc edx
cmp edx, dword [ecx]
jl 0x50fdc5
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
mov eax, dword [ecx + 0x318]
lea esi, [ecx + 0x318]
mov ecx, dword [ecx + 0x314]
sub eax, edx
dec eax
lea edi, [ecx + edx*4]
je 0x50fe4e
shl eax, 2
lea ecx, [ecx + edx*4 + 4]
push eax
push ecx
push edi
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
dec dword [esi]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x32c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
inc eax
cmp eax, ecx
mov dword [esp + 0x64], eax
jl 0x50d8ed
mov esi, dword [esp + 0x60]
xor ebx, ebx
mov ebp, esi
cmp esi, ebx
mov dword [esp + 0x4c], ebp
je 0x50ff31
mov eax, dword [esi + 4]
mov dword [esp + 0x32c], 0x3c
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x10]
mov dword [esi + 4], ebx
push eax
call sub.MFC42.DLL_operatordelete
mov al, byte [esi + 0xc]
add esp, 8
test al, al
mov dword [esi + 0x10], ebx
jne 0x50fedb
mov eax, dword [esi + 0x20]
xor edi, edi
cmp eax, ebx
jle 0x50fedb
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + edi*4]
cmp ecx, ebx
je 0x50fed3
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esi + 0x20]
inc edi
cmp edi, eax
jl 0x50fec3
mov eax, dword [esi + 0x1c]
add esi, 0x18
cmp eax, ebx
je 0x50fef1
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [ebp + 0x18], 0x5cf368
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x50ff0e
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x18], 0x5c4040
lea ecx, [ebp + 0x14]
mov dword [esp + 0x32c], 0xffffffff
call sub.MFC42.DLL_CString::CString
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x324]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x320
ret
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0x44]
add edx, 4
push edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x32c], 2
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x20]
xor edi, edi
mov byte [esp + 0x32c], 3
cmp dword [eax + 0x2f0], esi
jle 0x50ffeb
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x2ec]
mov ebx, dword [edx + edi*4]
test ebx, ebx
je 0x50ffd2
mov eax, dword [ebx + 0x20]
xor ebp, ebp
test eax, eax
jle 0x50ffd2
mov eax, dword [ebx + 0x1c]
mov esi, dword [eax + ebp*4]
test esi, esi
je 0x50ffca
mov eax, dword [esi + 0x70]
test eax, eax
je 0x50ffca
mov ecx, dword [esp + 0x44]
mov eax, dword [eax + 0x48]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x5100e4
mov eax, dword [ebx + 0x20]
inc ebp
cmp ebp, eax
jl 0x50ff9f
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x5100ed
mov edx, dword [esp + 0x20]
inc edi
cmp edi, dword [edx + 0x2f0]
jl 0x50ff85
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x28]
push eax
push 0x624138
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637770]
add esp, 0xc
cmp eax, esi
je 0x51006c
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51006c
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
lea ecx, [esp + 0x2c]
call fcn.0041a900
push eax
push 0x60b5c0
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x637770]
push str.runtime
push str.tdsms
mov eax, dword [edx + 0x44]
push eax
call fcn.004eb4c0
mov ecx, dword [0x637770]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x334], 4
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0x60b5c0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x338], 5
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x33c], 6
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6101d4
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63234c]
mov byte [esp + 0x33c], 3
call fcn.00458dc0
mov esi, dword [esp + 0x1c]
jmp 0x5101f8
mov dword [esp + 0x1c], esi
jmp 0x50ffd6
mov al, byte [esi + 0xc35]
test al, al
jne 0x5101f8
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x28]
push ecx
push 0x624114
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637770]
add esp, 0xc
test eax, eax
je 0x510184
mov cl, byte [eax + 0x40]
test cl, cl
je 0x510184
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x2c]
call fcn.0041a900
push eax
mov eax, dword [esi + 0x70]
push 0x60b5c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x637770]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x334], 7
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0x60b5c0
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x70]
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x33c], 8
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x33c], 9
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6101d4
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63234c]
mov byte [esp + 0x33c], 3
call fcn.00458dc0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5102d5
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x20]
mov ecx, dword [ebx + 8]
push ecx
mov ecx, ebp
call fcn.0058dcd0
xor edi, edi
cmp eax, edi
je 0x510230
mov ecx, dword [esp + 0x28]
mov edx, dword [eax]
push edi
push ecx
mov ecx, eax
call dword [edx + 0x90]
cmp ebx, edi
mov dword [esp + 0x4c], ebx
je 0x5102a2
mov eax, dword [ebx + 8]
mov byte [esp + 0x32c], 0xa
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebx + 4]
mov dword [ebx + 8], edi
push eax
call sub.MFC42.DLL_operatordelete
mov dword [ebx + 4], edi
mov eax, dword [ebx + 0x2c]
add esp, 8
xor esi, esi
cmp eax, edi
jle 0x51027d
mov edx, dword [ebx + 0x28]
mov ecx, dword [edx + esi*4]
cmp ecx, edi
je 0x510275
push 1
call fcn.00509560
mov eax, dword [ebx + 0x2c]
inc esi
cmp esi, eax
jl 0x510264
lea esi, [ebx + 0x24]
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.00582dc0
mov ecx, esi
mov byte [esp + 0x32c], 3
call fcn.004b9b70
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp + 0x318]
mov edx, dword [esp + 0x54]
mov ecx, dword [ebp + 0x314]
sub eax, edx
dec eax
lea esi, [ecx + edx*4]
je 0x5102cd
shl eax, 2
lea ecx, [ecx + edx*4 + 4]
push eax
push ecx
push esi
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
dec dword [ebp + 0x318]
jmp 0x510332
lea edx, [esi + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x40]
mov edx, dword [esi + 0x50]
lea ecx, [esi + 0x50]
mov dword [esi + 0x94], eax
call dword [edx + 0x1c]
push 0
push 0xc
mov ecx, esi
call fcn.00506ee0
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
mov eax, dword [edi + 0x318]
mov ecx, dword [edi + 0x314]
sub eax, edx
dec eax
lea esi, [ecx + edx*4]
je 0x51032c
shl eax, 2
lea ecx, [ecx + edx*4 + 4]
push eax
push ecx
push esi
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
dec dword [edi + 0x318]
lea ecx, [esp + 0x28]
mov byte [esp + 0x32c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x32c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x90]
mov byte [esp + 0x32c], 0
call fcn.005948d2
lea ecx, [esp + 0x58]
mov dword [esp + 0x32c], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x50ff31
mov eax, dword [edi + 0x70]
lea esi, [edi + 0x70]
test eax, eax
je 0x5104b8
mov eax, dword [eax + 0xbc]
mov ecx, edi
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
shl edx, 2
push edx
call sym.ETermProxy.exe_public:_bool___thiscall_CClientObject::CheckTimeout_int_
test al, al
jne 0x5104b8
mov eax, dword [0x637770]
test eax, eax
je 0x51041a
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51041a
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
push 0
push str.ERROR:_PID
push 0x60b5c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x637770]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str.ERROR:_PID
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x334], 0x15
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0x60b5c0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi]
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x33c], 0x16
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x33c], 0x17
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6101d4
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63234c]
mov byte [esp + 0x33c], 0x12
call fcn.00458dc0
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
mov edx, dword [ecx + 8]
lea edi, [ecx + 8]
push edx
mov ecx, ebx
call fcn.0058dcd0
test eax, eax
je 0x5105c8
mov edx, dword [eax]
push 0
push 0x6240d4
jmp 0x5105c0
mov byte [edi + 0x128], 0
mov eax, dword [0x637770]
test eax, eax
je 0x51052b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51052b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
push 0
push 0x62409c
push 0x60b5c0
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x637770]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x62409c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x334], 0x18
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0x60b5c0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi]
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x33c], 0x19
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x33c], 0x1a
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6101d4
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63234c]
mov byte [esp + 0x33c], 0x12
call fcn.00458dc0
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
mov edx, dword [ecx + 8]
lea edi, [ecx + 8]
push edx
mov ecx, ebx
call fcn.0058dcd0
test eax, eax
je 0x5105c8
mov edx, dword [eax]
push 0
push 0x62409c
mov ecx, eax
call dword [edx + 0x90]
mov esi, dword [esp + 0x40]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x4c], esi
je 0x51064b
mov edi, dword [edi]
mov byte [esp + 0x32c], 0x1b
push edi
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 4]
mov dword [esi + 8], ebp
push eax
call sub.MFC42.DLL_operatordelete
mov dword [esi + 4], ebp
mov eax, dword [esi + 0x2c]
add esp, 8
xor edi, edi
cmp eax, ebp
jle 0x510625
mov eax, dword [esi + 0x28]
mov ebp, dword [eax + edi*4]
test ebp, ebp
je 0x51061d
mov eax, dword [ebp]
push eax
call sub.MFC42.DLL_operatordelete
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 8
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jl 0x510601
xor ebp, ebp
push 0xffffffffffffffff
push ebp
lea ecx, [esi + 0x24]
call fcn.00582dc0
lea ecx, [esi + 0x24]
mov byte [esp + 0x32c], 0x12
call fcn.004b9b70
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebx + 0x318]
mov edx, dword [esp + 0x54]
mov ecx, dword [ebx + 0x314]
lea esi, [ebx + 0x318]
sub eax, edx
dec eax
lea edi, [ecx + edx*4]
je 0x51067c
shl eax, 2
lea ecx, [ecx + edx*4 + 4]
push eax
push ecx
push edi
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov ecx, dword [esi]
dec ecx
mov dword [esi], ecx
mov esi, dword [esp + 0x60]
cmp esi, ebp
mov dword [esp + 0x4c], esi
je 0x51070c
mov eax, dword [esi + 4]
mov byte [esp + 0x32c], 0x1d
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x10]
mov dword [esi + 4], ebp
push eax
call sub.MFC42.DLL_operatordelete
mov al, byte [esi + 0xc]
add esp, 8
test al, al
mov dword [esi + 0x10], ebp
jne 0x5106d8
mov eax, dword [esi + 0x20]
xor edi, edi
cmp eax, ebp
jle 0x5106d8
mov edx, dword [esi + 0x1c]
mov ecx, dword [edx + edi*4]
cmp ecx, ebp
je 0x5106d0
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x20]
inc edi
cmp edi, eax
jl 0x5106c0
push 0xffffffffffffffff
push ebp
lea ecx, [esi + 0x18]
call fcn.00582dc0
lea ecx, [esi + 0x18]
mov byte [esp + 0x32c], 0x1c
call fcn.00513090
lea ecx, [esi + 0x14]
mov byte [esp + 0x32c], 0x12
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x32c], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x50ff31