Function at 0x50f470
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5baf97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x318
mov eax, dword [ecx + 0x318]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], eax
je 0x511c40
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ebx
jle 0x511b8e
mov esi, dword [esp + 0x64]
test esi, esi
je 0x50f4dd
mov ecx, esi
call fcn.00515220
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
mov ecx, dword [eax + 0x314]
mov eax, dword [ecx + edx*4]
test eax, eax
mov dword [esp + 0x14], eax
je 0x511b73
mov ebp, eax
xor ebx, ebx
mov byte [esp + 0x2f], bl
mov byte [esp + 0x23], bl
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x60], ebx
mov byte [esp + 0x47], bl
mov edi, dword [eax]
cmp edi, ebx
mov dword [esp + 0x38], edi
mov cl, byte [edi + 8]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x5b], cl
mov dword [esp + 0x1c], ebx
je 0x50f65f
mov eax, dword [edi]
cmp eax, ebx
je 0x50f65f
mov esi, dword [sym.imp.MSVCRT.dll__strnicmp]
push 5
push str.SI:NW
push eax
call esi
add esp, 0xc
test eax, eax
je 0x50f566
mov edx, dword [edi]
push 5
push str.SI_NW
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x50f65f
mov eax, dword [edi]
lea ecx, [esp + 0x4c]
push eax
call sub.MFC42.DLL_CString::CString_3
xor esi, esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x330], esi
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::MakeUpper
push 0x63547c
push str.SI:NW
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::Replace
push 0x63547c
push str.SI_NW
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::Replace
push 0x613e34
push 0x610c80
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::Replace
push 0x613e34
push 0x606220
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0x94]
call sub.MFC42.DLL_CStringArray::CStringArray
push 1
push 1
push 2
lea ecx, [esp + 0xa0]
push 0x2f
push ecx
push ecx
lea edx, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x34c], 1
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb770
mov eax, dword [esp + 0xb4]
add esp, 0x18
cmp eax, esi
je 0x511c59
cmp eax, 2
je 0x511d54
lea ecx, [esp + 0x94]
mov byte [esp + 0x330], 0
call fcn.005971b2
lea ecx, [esp + 0x4c]
mov dword [esp + 0x330], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov esi, str.qt_group
mov ebp, dword [eax + 4]
mov eax, ebp
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x50f697
test cl, cl
je 0x50f691
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x50f697
add eax, 2
add esi, 2
test cl, cl
jne 0x50f66d
xor ebx, ebx
xor eax, eax
jmp 0x50f69e
sbb eax, eax
sbb eax, 0xffffffff
xor ebx, ebx
cmp eax, ebx
jne 0x50f7dd
push 0x2c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebx
mov dword [esp + 0x330], 0x12
je 0x50f6f1
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 0x18], 0x5d2390
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 0x50f6f3
xor esi, esi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], esi
mov dword [esp + 0x330], 0xffffffff
mov byte [esi + 0xc], 1
mov ecx, dword [eax + 0x2f0]
mov dword [esp + 0x64], esi
cmp ecx, ebx
mov dword [esp + 0x28], ebx
jle 0x50f7c8
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov edx, dword [ecx + 0x2ec]
mov eax, dword [edx + eax*4]
lea esi, [eax + 0x20]
mov dword [esp + 0x40], esi
cmp dword [esi], 0
jle 0x50f7ad
add eax, 0x1c
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov ebp, dword [edx + ebx*4]
mov eax, dword [ebp + 0x74]
mov cl, byte [eax + 0x51]
test cl, cl
jne 0x50f7a6
mov cl, byte [eax + 0xe5]
test cl, cl
je 0x50f7a6
mov ecx, dword [esp + 0x14]
add ecx, 0xc
cmp byte [ecx], 0
je 0x50f781
mov eax, dword [eax + 0x24]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x50f7a6
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
mov edi, dword [edx + 0x20]
lea esi, [edx + 0x18]
mov ecx, esi
lea eax, [edi + 1]
push eax
call fcn.0054c510
mov ecx, dword [esi + 4]
mov dword [ecx + edi*4], ebp
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov eax, dword [esi]
inc ebx
cmp ebx, eax
jl 0x50f746
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
inc eax
mov ecx, dword [edx + 0x2f0]
mov dword [esp + 0x28], eax
cmp eax, ecx
jl 0x50f720
mov eax, dword [esp + 0x30]
mov ebp, dword [sym.imp.MSVCRT.dll__strnicmp]
mov dword [esp + 0x28], eax
xor ebx, ebx
jmp 0x50fd17
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push ebp
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x28]
call fcn.00513220
cmp eax, ebx
mov dword [esp + 0x28], eax
jne 0x50f9ae
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esi + 8]
lea edi, [esi + 8]
push ecx
mov ecx, ebp
call fcn.00591660
xor ebx, ebx
cmp eax, ebx
je 0x50f82b
mov edx, dword [eax]
push ebx
push 0x627694
mov ecx, eax
call dword [edx + 0x90]
mov eax, dword [0x63ac20]
cmp eax, ebx
je 0x50f891
mov cl, byte [eax + 0x40]
test cl, cl
je 0x50f891
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push str.____ERROR:
push 0x606790
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 [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
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 + 0x338], 0x13
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x606790
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x33c], 0x14
mov dword [esp + 0x4c], esp
mov eax, dword [edi]
mov ecx, esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x340], 0x15
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov dword [esp + 0x340], 0xffffffff
call fcn.00458fc0
mov dword [esp + 0x10], esi
mov edi, dword [edi]
mov dword [esp + 0x330], 0x16
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 0x50f94f
mov ecx, dword [esi + 0x28]
mov ecx, dword [ecx + edi*4]
cmp ecx, ebx
je 0x50f947
push 1
call fcn.0050b080
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jl 0x50f936
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x24]
call fcn.0054c510
lea ecx, [esi + 0x24]
mov dword [esp + 0x330], 0xffffffff
call fcn.004bad50
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 0x50f9a7
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 0x511b73
mov eax, dword [eax + 8]
cmp eax, 5
jne 0x50fae1
push 0x2c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebx
mov dword [esp + 0x330], 0x17
je 0x50fa05
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 0x18], 0x5d2390
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 0x50fa07
xor esi, esi
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], esi
mov dword [esp + 0x330], 0xffffffff
mov byte [esi + 0xc], 1
mov ecx, dword [edx + 0x2f0]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x48], eax
jle 0x50facc
mov ecx, edx
mov ecx, dword [ecx + 0x2ec]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x50fa52
cmp ecx, 2
je 0x50fa52
cmp ecx, 5
jne 0x50fa58
cmp dword [esp + 0x28], eax
jne 0x50faad
lea ecx, [eax + 0x20]
xor ebx, ebx
mov dword [esp + 0x40], ecx
cmp dword [ecx], 0
jle 0x50faad
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 + 0x74]
mov cl, byte [eax + 0x50]
test cl, cl
jne 0x50faa4
mov cl, byte [eax + 0x51]
test cl, cl
jne 0x50faa4
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.0054c510
mov eax, dword [esi + 4]
mov dword [eax + edi*4], ebp
mov ecx, dword [esp + 0x40]
inc ebx
cmp ebx, dword [ecx]
jl 0x50fa6d
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
inc eax
mov edx, dword [ecx + 0x2f0]
mov dword [esp + 0x48], eax
cmp eax, edx
jl 0x50fa38
mov esi, dword [esp + 0x30]
mov ebp, dword [sym.imp.MSVCRT.dll__strnicmp]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x28], esi
xor ebx, ebx
jmp 0x50fd17
cmp eax, 2
je 0x50faef
cmp eax, 3
jne 0x50fd11
mov al, byte [esp + 0x5b]
test al, al
jne 0x50fd11
mov edx, dword [esp + 0x14]
mov al, byte [edx + 0x19]
test al, al
jne 0x50fd11
mov eax, dword [edi]
mov ebp, dword [sym.imp.MSVCRT.dll__strnicmp]
push 2
push 0x61c2f4
push eax
call ebp
add esp, 0xc
test eax, eax
je 0x50fbf5
mov ecx, dword [edi]
push 3
push 0x613eec
push ecx
call ebp
add esp, 0xc
test eax, eax
je 0x50fbf5
mov edx, dword [edi]
push 2
push 0x6145ec
push edx
call ebp
add esp, 0xc
test eax, eax
je 0x50fbf5
mov eax, dword [edi]
push 4
push str.DETR
push eax
call ebp
add esp, 0xc
test eax, eax
je 0x50fbf5
mov ecx, dword [edi]
push 4
push str.HELP
push ecx
call ebp
add esp, 0xc
test eax, eax
je 0x50fbf5
mov edx, dword [edi]
push 4
push str.DATE
push edx
call ebp
add esp, 0xc
test eax, eax
je 0x50fbf5
mov eax, dword [edi]
push 4
push str.CNTD
push eax
call ebp
add esp, 0xc
test eax, eax
je 0x50fbf5
mov ecx, dword [edi]
push 2
push 0x60f638
push ecx
call ebp
add esp, 0xc
test eax, eax
je 0x50fbf5
mov edx, dword [edi]
push 2
push 0x61c7c4
push edx
call ebp
add esp, 0xc
test eax, eax
je 0x50fbf5
mov eax, dword [edi]
push 2
push 0x627644
push eax
call ebp
add esp, 0xc
test eax, eax
je 0x50fbf5
mov ecx, dword [edi]
push 2
push 0x627640
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x50fd17
push 0x2c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebx
mov dword [esp + 0x330], 0x18
je 0x50fc40
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 0x18], 0x5d2390
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 0x50fc42
xor esi, esi
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], esi
mov dword [esp + 0x330], 0xffffffff
mov byte [esi + 0xc], 1
mov ecx, dword [edx + 0x2f0]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x48], eax
jle 0x50fd07
mov ecx, edx
mov ecx, dword [ecx + 0x2ec]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x50fc8d
cmp ecx, 2
je 0x50fc8d
cmp ecx, 5
jne 0x50fc93
cmp dword [esp + 0x28], eax
jne 0x50fce8
lea ecx, [eax + 0x20]
xor ebx, ebx
mov dword [esp + 0x40], ecx
cmp dword [ecx], 0
jle 0x50fce8
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 + 0x74]
mov cl, byte [eax + 0x50]
test cl, cl
jne 0x50fcdf
mov cl, byte [eax + 0x51]
test cl, cl
jne 0x50fcdf
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.0054c510
mov eax, dword [esi + 4]
mov dword [eax + edi*4], ebp
mov ecx, dword [esp + 0x40]
inc ebx
cmp ebx, dword [ecx]
jl 0x50fca8
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
inc eax
mov edx, dword [ecx + 0x2f0]
mov dword [esp + 0x48], eax
cmp eax, edx
jl 0x50fc73
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x28], esi
xor ebx, ebx
mov ebp, dword [sym.imp.MSVCRT.dll__strnicmp]
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x330], 0x19
mov dword [esp + 0x30], ebx
mov edx, dword [edi]
push 6
push str.LOCK02
push edx
mov byte [esp + 0x43], 0
mov byte [esp + 0x52], 0
mov byte [esp + 0x5f], 0
call ebp
add esp, 0xc
test eax, eax
jne 0x50fdb5
mov eax, dword [edi]
lea ecx, [esp + 0x70]
add eax, 6
push eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x70]
mov byte [esp + 0x330], 0x1a
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x5c]
push 1
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004d03f0
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 + 0x70]
mov byte [esp + 0x330], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi]
push 3
push 0x62763c
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x50fdf3
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx + 0x20]
cmp esi, ebx
jle 0x50fdf3
mov edx, ecx
mov ecx, dword [edx + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x74]
mov bl, byte [edx + 0x5a]
test bl, bl
jne 0x50fdee
inc eax
add ecx, 4
cmp eax, esi
jl 0x50fdd8
jmp 0x50fdf3
mov byte [esp + 0x53], 1
mov eax, dword [edi]
push 2
push 0x61c328
push eax
call ebp
add esp, 0xc
test eax, eax
je 0x50ff29
mov ecx, dword [esp + 0x38]
push 3
push 0x627638
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x50ff29
mov eax, dword [esp + 0x38]
push 3
push 0x627634
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x50ff29
mov edx, dword [esp + 0x38]
push 2
push 0x627630
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x50ff29
mov esi, dword [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi]
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jb 0x50fead
push 2
push 0x62762c
push edx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x50fead
mov ecx, dword [esi]
mov al, byte [ecx + 2]
cmp al, 0x20
je 0x50ff29
push eax
call fcn.004edd20
add esp, 4
test al, al
jne 0x50ff29
mov edx, dword [esi]
mov edi, dword [sym.imp.MSVCRT.dll__strnicmp]
push 2
push 0x627628
push edx
call edi
add esp, 0xc
test eax, eax
jne 0x50feec
mov eax, dword [esi]
push 3
push 0x627624
push eax
call edi
add esp, 0xc
test eax, eax
je 0x50feec
mov ecx, dword [esi]
push 4
push str.TOUR
push ecx
call edi
add esp, 0xc
test eax, eax
jne 0x50ff29
mov edx, dword [esi]
push 2
push 0x627618
push edx
call edi
add esp, 0xc
test eax, eax
je 0x50ff29
mov eax, dword [esi]
push 2
push 0x627614
push eax
call edi
add esp, 0xc
test eax, eax
je 0x50ff29
mov ecx, dword [esi]
push 2
push 0x627610
push ecx
call edi
add esp, 0xc
test eax, eax
jne 0x50ffab
mov ebx, dword [esp + 0x38]
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 0x50ffa1
mov al, byte [esi + edx]
cmp al, 0x30
jl 0x50ff54
cmp al, 0x39
jle 0x50ff67
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 0x50ff49
jmp 0x50ffa1
add esi, edx
push esi
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
mov dword [esp + 0x34], eax
mov edx, dword [ebx]
push 0x62760c
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x50ff9c
mov eax, dword [ebx]
push 0x627608
push eax
call esi
add esp, 8
test eax, eax
je 0x50ffa1
mov byte [esp + 0x46], 1
mov esi, dword [esp + 0x38]
mov edi, dword [sym.imp.MSVCRT.dll__strnicmp]
mov al, byte [esp + 0x37]
mov byte [esp + 0x45], 0
test al, al
je 0x50fffe
mov ecx, dword [esi]
push 2
push 0x61c328
push ecx
call edi
add esp, 0xc
test eax, eax
jne 0x50fff9
mov edx, dword [esi]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jbe 0x50fff9
mov dl, byte [edx + 3]
push edx
call fcn.004edd20
add esp, 4
test al, al
jne 0x50fff9
mov al, byte [esp + 0x46]
mov byte [esp + 0x45], 1
test al, al
je 0x50fffe
mov byte [esp + 0x45], 0
mov eax, dword [esp + 0x28]
xor edx, edx
mov dword [esp + 0x40], edx
mov esi, dword [eax + 0x20]
lea ecx, [eax + 0x20]
test esi, esi
mov dword [esp + 0x48], ecx
jle 0x510550
mov esi, dword [sym.imp.MSVCRT.dll_strncmp]
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
add eax, 0x1c
mov dword [esp + 0x10], eax
jmp 0x510035
mov esi, dword [sym.imp.MSVCRT.dll_strncmp]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov al, byte [esp + 0x5b]
cmp al, 1
mov edi, dword [ecx + edx*4]
jne 0x510095
mov ebp, dword [edi + 0x74]
mov esi, str.travelsky
mov eax, dword [ebp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x510075
test cl, cl
je 0x510071
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x510075
add eax, 2
add esi, 2
test cl, cl
jne 0x510051
xor eax, eax
jmp 0x51007a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x51052d
cmp byte [ebp + 0x96], 1
je 0x51052d
mov esi, dword [sym.imp.MSVCRT.dll_strncmp]
cmp byte [esp + 0x53], 1
jne 0x5100aa
mov eax, dword [edi + 0x74]
mov cl, byte [eax + 0x5a]
test cl, cl
je 0x51052d
mov al, byte [edi + 0x12e]
test al, al
jne 0x51018d
mov eax, dword [edi + 0x74]
cmp byte [eax + 0x114], 1
jne 0x510167
mov al, byte [edi + 0xc3e]
test al, al
je 0x510149
mov ecx, dword [esp + 0x38]
push 4
push 0x614560
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x51018d
mov al, byte [edi + 0x94]
test al, al
je 0x51052d
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 8]
lea eax, [edi + 0x9c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x510130
test cl, cl
je 0x51012c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x510130
add eax, 2
add esi, 2
test cl, cl
jne 0x51010c
xor eax, eax
jmp 0x510135
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x51052d
mov ebp, dword [esp + 0x14]
mov esi, dword [sym.imp.MSVCRT.dll_strncmp]
jmp 0x510191
mov eax, dword [esp + 0x14]
push 6
push 0x62686c
mov ecx, dword [eax + 8]
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x51052d
jmp 0x51018d
mov cl, byte [eax + 0x104]
test cl, cl
jne 0x51018d
mov edx, dword [esp + 0x14]
push 6
push 0x62686c
mov eax, dword [edx + 8]
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x51052d
mov ebp, dword [esp + 0x14]
cmp byte [edi + 0xc3d], 1
jne 0x5101bf
mov ecx, dword [edi + 0x74]
mov al, byte [ecx + 0x114]
test al, al
jne 0x5101bf
mov edx, dword [ebp + 8]
push 6
push 0x62686c
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x51052d
cmp byte [edi + 0xc3c], 1
jne 0x5101e0
mov eax, dword [ebp + 8]
push 6
push 0x62686c
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x51052d
cmp byte [edi + 0x12f], 1
jne 0x510201
mov ecx, dword [ebp + 8]
push 6
push 0x62686c
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x51052d
mov eax, dword [edi + 0x74]
mov cl, byte [eax + 0xcd]
test cl, cl
je 0x51021f
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx + 0x78]
mov esi, dword [ecx + 0x7c]
cmp edx, esi
jge 0x51052d
mov cl, byte [eax + 0xcc]
test cl, cl
je 0x510242
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx + 0x74]
mov esi, dword [ecx + 0x6c]
add edx, esi
mov esi, dword [ecx + 0x70]
add esi, dword [ecx + 0x68]
cmp edx, esi
jge 0x51052d
mov cl, byte [eax + 0xf0]
test cl, cl
jne 0x5102f0
mov cl, byte [esp + 0x37]
test cl, cl
je 0x5102f0
mov cl, byte [esp + 0x45]
test cl, cl
jne 0x5102e2
mov esi, dword [esp + 0x30]
test esi, esi
jle 0x51052d
mov cl, byte [eax + 0x5b]
test cl, cl
je 0x51052d
mov eax, dword [eax + 0x60]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5102f0
mov al, byte [esp + 0x46]
test al, al
jne 0x5102f0
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_1
push esi
lea ecx, [esp + 0x70]
push 0x626b20
push ecx
mov byte [esp + 0x33c], 0x1b
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x78]
mov ecx, dword [edi + 0x74]
add esp, 0xc
add ecx, 0x60
push edx
call sub.MFC42.DLL_CString::Find_1
test eax, eax
mov byte [esp + 0x330], 0x19
lea ecx, [esp + 0x6c]
jge 0x5102db
call sub.MFC42.DLL_CString::CString
jmp 0x51052d
call sub.MFC42.DLL_CString::CString
jmp 0x5102f0
mov cl, byte [eax + 0xe4]
test cl, cl
je 0x51052d
mov al, byte [ebp + 0x13]
test al, al
je 0x510343
mov esi, dword [esp + 0x38]
push 3
push 0x6145c0
mov eax, dword [esi]
push eax
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x510343
mov ecx, dword [esi]
push 4
push 0x614560
push ecx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x510343
mov eax, dword [edi + 0x74]
lea edx, [ebp + 0xc]
add eax, 0x24
push edx
mov eax, dword [eax]
push eax
call ebx
add esp, 8
test eax, eax
jne 0x51052d
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x510366
mov eax, dword [edi + 0x74]
mov eax, dword [eax + 0xac]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x51052d
mov ecx, edi
call fcn.00508f90
cmp eax, 0x1b
jne 0x510380
mov al, byte [edi + 0x12c]
test al, al
jne 0x51238c
mov ecx, edi
call fcn.00508f90
cmp eax, 0x1c
je 0x51052d
mov ecx, dword [ebp + 8]
lea esi, [edi + 0x9c]
push ecx
push esi
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x5103ea
mov ecx, edi
call fcn.00508f90
cmp eax, 0xa
je 0x5103c8
cmp eax, 0xb
je 0x5103c8
cmp eax, 0xc
je 0x5103c8
cmp eax, 0xd
je 0x5103c8
cmp eax, 0xe
jne 0x5103ea
mov eax, dword [edi + 0xdc]
xor edx, edx
mov dx, word [ebp + 0x16]
cmp eax, edx
jl 0x5105e9
mov byte [esp + 0x2f], 1
mov dword [esp + 0x1c], edi
jmp 0x51052d
mov al, byte [edi + 0x94]
test al, al
je 0x510412
cmp dword [edi + 0x124], 0xf
je 0x510528
mov byte [esp + 0x47], 1
mov dword [esp + 0x90], esi
jmp 0x51052d
mov ecx, edi
call fcn.00508f90
cmp eax, 0xb
je 0x510528
cmp eax, 0xc
je 0x510528
cmp eax, 0xd
je 0x510528
cmp eax, 0xe
je 0x510528
cmp eax, 0xa
jne 0x51052d
mov eax, dword [esp + 0x18]
test eax, eax
mov eax, dword [edi + 0x74]
jne 0x51047a
mov ecx, dword [eax + 0xe8]
cmp ecx, 0xfffffff6
jle 0x510524
mov edx, dword [edi + 0x38]
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 0x510520
add eax, 0x24
lea esi, [ebp + 0xc]
push esi
mov eax, dword [eax]
push eax
call ebx
add esp, 8
test eax, eax
je 0x5104a8
mov eax, dword [esp + 0x18]
push esi
mov eax, dword [eax + 0x74]
add eax, 0x24
mov eax, dword [eax]
push eax
call ebx
add esp, 8
test eax, eax
je 0x51052d
mov eax, dword [edi + 0x74]
push esi
add eax, 0x24
mov eax, dword [eax]
push eax
call ebx
add esp, 8
test eax, eax
jne 0x5104f7
mov ecx, dword [esp + 0x18]
push esi
mov eax, dword [ecx + 0x74]
add eax, 0x24
mov eax, dword [eax]
push eax
call ebx
add esp, 8
test eax, eax
je 0x5104f7
mov edx, dword [edi + 0x74]
mov ecx, dword [edx + 0xe8]
cmp ecx, 0xfffffff6
jle 0x510524
mov eax, dword [edi + 0x38]
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 0x510520
mov ecx, dword [edi + 0x74]
mov ecx, dword [ecx + 0xe8]
cmp ecx, 0xfffffff6
jle 0x510528
mov edx, dword [edi + 0x38]
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 + 0x60]
jae 0x510528
mov dword [esp + 0x60], eax
mov dword [esp + 0x18], edi
mov byte [esp + 0x2f], 1
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
inc edx
mov dword [esp + 0x40], edx
mov ecx, dword [eax]
cmp edx, ecx
jl 0x51002f
mov al, byte [esp + 0x2f]
test al, al
jne 0x5105f2
mov al, byte [esp + 0x37]
test al, al
je 0x5107b4
lea ecx, [esp + 0x128]
push 0x627570
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x63ac20]
add esp, 8
test eax, eax
je 0x51061e
mov cl, byte [eax + 0x40]
test cl, cl
je 0x51061e
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0x128]
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 [0x63ac20]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
jmp 0x510622
mov byte [esp + 0x23], 1
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x510ecf
test eax, eax
jne 0x510ec8
mov eax, ecx
mov byte [esp + 0x23], 1
mov dword [esp + 0x18], eax
jmp 0x51101e
mov ebx, dword [esp + 0x14]
call fcn.0044c870
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x510678
lea ecx, [esp + 0x128]
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 + 0x33c], 0x2b
mov dword [esp + 0x28], esp
mov edx, dword [ebx + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357c8]
mov byte [esp + 0x33c], 0x19
call fcn.004544d0
mov eax, dword [0x635480]
test eax, eax
je 0x510784
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x510784
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x510778
mov cl, byte [esi + 0x88]
test cl, cl
je 0x510778
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x510773
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x510773
mov ecx, dword [ebx + 4]
push ecx
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x80]
mov byte [esp + 0x330], 0x2c
mov eax, dword [ecx - 8]
test eax, eax
je 0x51075f
mov al, byte [esi + 0x80]
test al, al
je 0x51075f
mov eax, dword [esi + 0x84]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x51075f
lea edx, [esp + 0x128]
lea eax, [esp + 0x80]
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 + 0x33c], 0x2d
mov dword [esp + 0x28], esp
mov edx, dword [ebx + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x33c], 0x2c
call fcn.004024f0
lea ecx, [esp + 0x80]
mov byte [esp + 0x330], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x510698
mov eax, dword [ebx + 8]
mov ebp, dword [esp + 0x24]
push eax
mov ecx, ebp
call fcn.00591660
test eax, eax
je 0x510e08
mov edx, dword [eax]
lea ecx, [esp + 0x128]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x90]
jmp 0x510e08
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5109e7
mov cl, byte [esp + 0x47]
push eax
test cl, cl
jne 0x5107e4
lea edx, [esp + 0x12c]
push 0x627548
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x510802
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x12c]
push eax
push 0x626c10
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov eax, dword [0x63ac20]
test eax, eax
je 0x510871
mov cl, byte [eax + 0x40]
test cl, cl
je 0x510871
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x128]
push edx
push str._TX_
push 0
push ecx
mov dword [esp + 0x20], esp
mov eax, dword [edi + 4]
mov ecx, esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac20]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
jmp 0x510875
mov edi, dword [esp + 0x14]
call fcn.0044c870
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x5108cb
lea ecx, [esp + 0x128]
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 + 0x33c], 0x2e
mov dword [esp + 0x28], esp
mov edx, dword [edi + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357c8]
mov byte [esp + 0x33c], 0x19
call fcn.004544d0
mov eax, dword [0x635480]
test eax, eax
je 0x5109cb
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x5109cb
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x5109bf
mov cl, byte [esi + 0x88]
test cl, cl
je 0x5109bf
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x5109ba
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5109ba
mov ecx, dword [edi + 4]
push ecx
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x74]
mov byte [esp + 0x330], 0x2f
mov eax, dword [ecx - 8]
test eax, eax
je 0x5109a9
mov al, byte [esi + 0x80]
test al, al
je 0x5109a9
mov eax, dword [esi + 0x84]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x5109a9
lea edx, [esp + 0x128]
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 + 0x33c], 0x30
mov dword [esp + 0x28], esp
mov edx, dword [edi + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x33c], 0x2f
call fcn.004024f0
lea ecx, [esp + 0x74]
mov byte [esp + 0x330], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x5108eb
mov eax, dword [edi + 8]
mov ebp, dword [esp + 0x24]
push eax
mov ecx, ebp
call fcn.00591660
test eax, eax
je 0x510e04
jmp 0x510df0
mov al, byte [esp + 0x47]
mov edi, dword [esp + 0x14]
test al, al
jne 0x510bf9
mov eax, dword [edi + 8]
lea edx, [edi + 0xc]
push edx
push eax
lea ecx, [esp + 0x130]
push str.ERROR:_
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x63ac20]
add esp, 0x10
test eax, eax
je 0x510a7e
mov cl, byte [eax + 0x40]
test cl, cl
je 0x510a7e
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [esp + 0x128]
push edx
push str._TX_
push 0
push ecx
mov dword [esp + 0x20], esp
mov eax, dword [edi + 4]
mov ecx, esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac20]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c870
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x510ad4
lea ecx, [esp + 0x128]
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 + 0x33c], 0x31
mov dword [esp + 0x28], esp
mov edx, dword [edi + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357c8]
mov byte [esp + 0x33c], 0x19
call fcn.004544d0
mov eax, dword [0x635480]
test eax, eax
je 0x510bd4
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x510bd4
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x510bc8
mov cl, byte [esi + 0x88]
test cl, cl
je 0x510bc8
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x510bc3
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x510bc3
mov ecx, dword [edi + 4]
push ecx
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x78]
mov byte [esp + 0x330], 0x32
mov eax, dword [ecx - 8]
test eax, eax
je 0x510bb2
mov al, byte [esi + 0x80]
test al, al
je 0x510bb2
mov eax, dword [esi + 0x84]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x510bb2
lea edx, [esp + 0x128]
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 + 0x33c], 0x33
mov dword [esp + 0x28], esp
mov edx, dword [edi + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x33c], 0x32
call fcn.004024f0
lea ecx, [esp + 0x78]
mov byte [esp + 0x330], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x510af4
mov eax, dword [edi + 8]
mov ebp, dword [esp + 0x24]
push eax
mov ecx, ebp
call fcn.00591660
test eax, eax
je 0x510e04
mov edx, dword [eax]
push 0
push 0x627500
jmp 0x510dfc
mov ecx, dword [esp + 0x90]
lea eax, [edi + 0xc]
push eax
push ecx
lea edx, [esp + 0x130]
push 0x626c10
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x63ac20]
add esp, 0x10
test eax, eax
je 0x510c84
mov cl, byte [eax + 0x40]
test cl, cl
je 0x510c84
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x128]
push eax
push str._TX_
push 0
push ecx
mov dword [esp + 0x20], esp
mov edx, dword [edi + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac20]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c870
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x510cda
lea ecx, [esp + 0x128]
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 + 0x33c], 0x34
mov dword [esp + 0x28], esp
mov edx, dword [edi + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357c8]
mov byte [esp + 0x33c], 0x19
call fcn.004544d0
mov eax, dword [0x635480]
test eax, eax
je 0x510ddd
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x510ddd
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x510dd1
mov cl, byte [esi + 0x88]
test cl, cl
je 0x510dd1
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x510dcc
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x510dcc
mov ecx, dword [edi + 4]
push ecx
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x7c]
mov byte [esp + 0x330], 0x35
mov eax, dword [ecx - 8]
test eax, eax
je 0x510dbb
mov al, byte [esi + 0x80]
test al, al
je 0x510dbb
mov eax, dword [esi + 0x84]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x510dbb
lea edx, [esp + 0x128]
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 + 0x33c], 0x36
mov dword [esp + 0x28], esp
mov edx, dword [edi + 4]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x33c], 0x35
call fcn.004024f0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x330], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x510cfa
mov eax, dword [edi + 8]
mov ebp, dword [esp + 0x24]
push eax
mov ecx, ebp
call fcn.00591660
test eax, eax
je 0x510e04
mov edx, dword [eax]
lea ecx, [esp + 0x128]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x90]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
mov eax, dword [ebx + 8]
mov byte [esp + 0x330], 0x37
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 0x510e5b
mov edx, dword [ebx + 0x28]
mov edi, dword [edx + esi*4]
test edi, edi
je 0x510e53
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 0x510e38
lea esi, [ebx + 0x24]
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.0054c510
mov dword [esi], 0x5d115c
mov eax, dword [esi + 4]
test eax, eax
je 0x510e7f
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi], 0x5c7050
mov eax, dword [esp + 0x10]
push eax
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 0x510ebd
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 0x511b5f
mov byte [ecx + 0x9c], 0
mov cl, byte [esp + 0x23]
test cl, cl
jne 0x51101e
cmp byte [edi + 0x1a], 1
jne 0x51103a
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString_1
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
mov byte [esp + 0x330], 0x38
mov ecx, ebp
mov edx, dword [ebx + 8]
push edx
call fcn.00591660
mov esi, eax
mov eax, dword [ebx + 0x28]
lea edx, [esp + 0x84]
mov eax, dword [eax]
mov ecx, dword [eax]
push ecx
push 0x10
push 0x6274dc
push edx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x94]
mov eax, dword [esi]
add esp, 0x10
push 0
push ecx
mov ecx, esi
call dword [eax + 0x90]
mov dword [esp + 0x10], ebx
mov edi, ebx
mov byte [esp + 0x330], 0x39
mov eax, dword [edi + 8]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [edi + 4]
xor esi, esi
push eax
mov dword [edi + 8], esi
call sub.MFC42.DLL_operatordelete
mov dword [edi + 4], esi
mov eax, dword [edi + 0x2c]
add esp, 8
test eax, eax
jle 0x510f9a
mov edx, dword [edi + 0x28]
mov edi, dword [edx + esi*4]
test edi, edi
je 0x510f8e
mov eax, dword [edi]
push eax
call sub.MFC42.DLL_operatordelete
push edi
call sub.MFC42.DLL_operatordelete
add esp, 8
mov eax, dword [esp + 0x14]
inc esi
mov edi, eax
cmp esi, dword [eax + 0x2c]
jl 0x510f73
lea esi, [edi + 0x24]
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.0054c510
mov dword [esi], 0x5d115c
mov eax, dword [esi + 4]
test eax, eax
je 0x510fbe
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push ebx
mov dword [esi], 0x5c7050
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 0x510ff8
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 + 0x84]
dec eax
mov dword [ebp + 0x318], eax
mov byte [esp + 0x330], 0x19
call sub.MFC42.DLL_CString::CString
jmp 0x511b5f
mov cl, byte [eax + 0x11f]
test cl, cl
jne 0x51103a
cmp byte [edi + 0x19], 1
jne 0x51103a
mov byte [esp + 0x23], 0
mov byte [eax + 0x11f], 1
test eax, eax
jne 0x511047
inc dword [esp + 0x54]
jmp 0x511b5f
mov esi, str.XXX000
lea eax, [edi + 0xc]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x511077
test cl, cl
je 0x511073
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x511077
add eax, 2
add esi, 2
test cl, cl
jne 0x51104f
xor eax, eax
jmp 0x51107c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5110ce
mov ebx, dword [edi + 0x2c]
xor ebp, ebp
test ebx, ebx
jle 0x5110ca
mov eax, dword [esp + 0x14]
push str.XXX000
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx + ebp*4]
mov edx, dword [eax]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x5110c5
mov ecx, dword [esp + 0x18]
mov edi, eax
mov edx, dword [ecx + 0x74]
mov esi, dword [edx + 0x24]
mov ecx, dword [esi - 8]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc ebp
cmp ebp, ebx
jl 0x511089
mov edi, dword [esp + 0x14]
mov al, byte [edi + 0x14]
test al, al
je 0x5110f2
and eax, 0xff
mov esi, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 3
mov dword [esi + 0x120], ecx
jmp 0x511105
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 0x74]
mov eax, dword [edx + 0x84]
mov dword [esi + 0x120], eax
lea eax, [esi + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [0x63a8d9]
test al, al
jne 0x5111cc
lea ebp, [esi + 0x98]
mov dword [esp + 0x1c], ebp
mov esi, dword [ebp]
test esi, esi
mov dword [esp + 0x40], esi
je 0x5111c5
mov eax, dword [esi + 8]
mov byte [esp + 0x330], 0x3a
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 4]
xor ebx, ebx
push eax
mov dword [esi + 8], ebx
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 0x51118b
mov ecx, dword [esi + 0x28]
mov ebp, dword [ecx + edi*4]
cmp ebp, ebx
je 0x51117f
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 0x511163
mov ebp, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x24]
call fcn.0054c510
mov byte [esp + 0x330], 0x19
mov dword [esi + 0x24], 0x5d115c
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x5111b5
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
mov dword [esi + 0x24], 0x5c7050
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp], 0
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx + 0x54]
lea ecx, [ebx + 0x54]
call dword [edx + 0x1c]
mov ebp, dword [esp + 0x14]
or ecx, 0xffffffff
lea edx, [ebx + 0x9c]
lea eax, [ebp + 8]
mov dword [esp + 0x1c], eax
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 + 0x23]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test al, al
mov byte [ebx + 0x12d], 0
je 0x5114c6
mov al, byte [ebp + 0x18]
test al, al
jne 0x5114c6
mov eax, dword [ebp + 0x2c]
cmp eax, 2
jne 0x511288
mov ecx, dword [ebp + 0x28]
push 0x61c8a0
mov eax, dword [ecx]
mov edx, dword [eax]
push edx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x5112ce
mov eax, dword [ebp + 0x28]
lea edi, [ebp + 0x2c]
mov esi, dword [eax]
test esi, esi
je 0x51126a
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 0x511284
mov eax, dword [ebp + 0x28]
shl ecx, 2
lea edx, [eax + 4]
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
dec dword [edi]
jmp 0x5112ce
dec eax
test eax, eax
jle 0x5112ce
mov edi, eax
mov eax, dword [ebp + 0x28]
mov esi, dword [eax]
test esi, esi
je 0x5112a9
mov eax, dword [esi]
push eax
call sub.MFC42.DLL_operatordelete
push esi
call sub.MFC42.DLL_operatordelete
add esp, 8
mov ecx, dword [ebp + 0x2c]
dec ecx
je 0x5112c4
mov eax, dword [ebp + 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 [ebp + 0x2c]
dec ecx
dec edi
mov dword [ebp + 0x2c], ecx
jne 0x51128f
lea eax, [ebx + 0x9c]
push eax
lea eax, [esp + 0xac]
push str.__s__________________
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x63ac20]
add esp, 0xc
test eax, eax
je 0x511357
mov cl, byte [eax + 0x40]
test cl, cl
je 0x511357
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebx + 0x74]
lea ecx, [esp + 0xa8]
push 0
push ecx
push 0
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c870
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x5113af
push 0
push ecx
lea edx, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x338], 0x3b
mov eax, dword [ebx + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x6357c8]
mov byte [esp + 0x33c], 0x19
call fcn.004544d0
mov eax, dword [0x635480]
test eax, eax
je 0x511a6e
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x511a6e
mov edi, dword [esp + 0x18]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x5114b5
mov cl, byte [esi + 0x88]
test cl, cl
je 0x5114b5
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x5114b0
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5114b0
mov ecx, dword [edi + 0x74]
add ecx, 0xac
push ecx
lea ecx, [esp + 0x8c]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x88]
mov byte [esp + 0x330], 0x3c
mov eax, dword [ecx - 8]
test eax, eax
je 0x51149c
mov al, byte [esi + 0x80]
test al, al
je 0x51149c
mov eax, dword [esi + 0x84]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x51149c
push eax
push ecx
lea edx, [esp + 0x90]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x338], 0x3d
mov eax, dword [edi + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x33c], 0x3c
call fcn.004024f0
lea ecx, [esp + 0x88]
mov byte [esp + 0x330], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x5113cd
jmp 0x511a6e
push edx
lea ecx, [esp + 0xac]
push 0x6274ac
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [ebx + 0x38]
add esp, 0xc
test eax, eax
je 0x5114eb
mov ecx, ebx
call fcn.00508d00
mov al, byte [ebp + 0x19]
mov edx, dword [ebp + 0x28]
cmp al, 1
push str.rawins
mov esi, dword [edx]
sete al
mov byte [ebx + 0x11f], al
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x511892
mov edi, dword [esp + 0x18]
xor bl, bl
mov eax, dword [edi + 0x74]
mov cl, byte [eax + 0x92]
test cl, cl
je 0x511547
mov ecx, dword [esi]
push 6
push 0x626c84
push ecx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x511547
mov bl, 1
mov edx, dword [edi + 0x74]
mov al, byte [edx + 0x91]
test al, al
jne 0x511896
test bl, bl
jne 0x511896
push 0x14
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
mov dword [esp + 0x30], ebp
test ebp, ebp
mov byte [esp + 0x330], 0x3e
je 0x5115eb
mov eax, dword [esp + 0x14]
mov edi, 0x61c8a0
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x40], 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 + 0x1c], 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, 0x61c8a0
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 [eax + ebx], 0
mov byte [ebp + 8], 0
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 0xc], ecx
mov edx, dword [esp + 0x40]
mov dword [ebp + 0x10], edx
mov byte [ebp + 9], 0
mov dword [esp + 0x1c], ebp
jmp 0x5115f3
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x330], 0x19
lea esi, [eax + 0x24]
lea ebx, [esi + 8]
mov dword [esp + 0x28], ebx
mov edx, dword [ebx]
test edx, edx
jg 0x511714
mov eax, dword [esi + 4]
lea ebp, [esi + 4]
test eax, eax
jne 0x511642
push 4
call sub.MFC42.DLL_operatornew
mov dword [ebp], eax
mov dword [eax], 0
mov dword [esi + 0xc], 1
add esp, 4
mov dword [ebx], 1
jmp 0x51186e
lea ecx, [esi + 0xc]
mov dword [esp + 0x60], ecx
mov ecx, dword [ecx]
cmp ecx, 1
jl 0x511670
cmp edx, 1
jge 0x511665
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 0x51186e
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x51169a
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x51168e
mov eax, 4
jmp 0x51169a
cmp eax, 0x400
jle 0x51169a
mov eax, 0x400
add eax, ecx
cmp eax, 1
mov dword [esp + 0x30], eax
jg 0x5116ad
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 + 0x2c]
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 + 0x2c]
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 + 0x68]
mov dword [ebp], ebx
mov dword [esi], 1
mov eax, dword [esp + 0x38]
add esp, 8
mov dword [ecx], eax
jmp 0x51186e
lea ebx, [edx + 1]
mov dword [esp + 0x38], edx
test ebx, ebx
lea ebp, [esi + 4]
jne 0x51174f
mov eax, dword [ebp]
test eax, eax
je 0x511739
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp], 0
mov dword [esi + 0xc], 0
mov edx, dword [esp + 0x28]
mov dword [edx], 0
jmp 0x511848
mov ecx, dword [ebp]
test ecx, ecx
jne 0x51177e
lea eax, [ebx*4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp], eax
push ebx
push eax
call fcn.00575750
mov dword [esi + 0xc], ebx
mov ecx, dword [esp + 0x28]
mov dword [ecx], ebx
jmp 0x511848
mov edi, dword [esi + 0xc]
lea eax, [esi + 0xc]
cmp ebx, edi
mov dword [esp + 0x60], eax
jg 0x5117a9
cmp ebx, edx
jle 0x51179e
mov eax, ebx
lea ecx, [ecx + edx*4]
sub eax, edx
push eax
push ecx
call fcn.00575750
mov edx, dword [esp + 0x28]
mov dword [edx], ebx
jmp 0x511848
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x5117d3
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x5117c7
mov eax, 4
jmp 0x5117d3
cmp eax, 0x400
jle 0x5117d3
mov eax, 0x400
add eax, edi
cmp ebx, eax
mov dword [esp + 0x30], eax
jl 0x5117e1
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 + 0x2c]
mov dword [esp + 0x44], eax
mov esi, dword [ebp]
mov edi, 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 + 0x28]
mov ecx, dword [esi]
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.00575750
mov eax, dword [ebp]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
mov dword [ebp], ecx
mov dword [esi], ebx
mov edx, dword [esp + 0x34]
add esp, 4
mov dword [eax], edx
mov ecx, dword [esp + 0x38]
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
mov dword [eax], 0
mov edx, dword [esp + 0x1c]
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 0x511876
mov eax, dword [esp + 0x18]
mov byte [eax + 0x12d], 1
mov edi, dword [esp + 0x18]
mov eax, dword [0x63ac20]
test eax, eax
je 0x511902
mov cl, byte [eax + 0x40]
test cl, cl
je 0x511902
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x74]
lea ecx, [esp + 0xa8]
push 0
push ecx
push 0
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c870
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x51195a
push 0
push ecx
lea edx, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x338], 0x3f
mov eax, dword [edi + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x6357c8]
mov byte [esp + 0x33c], 0x19
call fcn.004544d0
mov eax, dword [0x635480]
test eax, eax
je 0x511a6a
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x511a6a
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x511a5e
mov cl, byte [esi + 0x88]
test cl, cl
je 0x511a5e
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x511a59
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x511a59
mov ecx, dword [edi + 0x74]
add ecx, 0xac
push ecx
lea ecx, [esp + 0x90]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x8c]
mov byte [esp + 0x330], 0x40
mov eax, dword [ecx - 8]
test eax, eax
je 0x511a45
mov al, byte [esi + 0x80]
test al, al
je 0x511a45
mov eax, dword [esi + 0x84]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x511a45
push eax
push ecx
lea edx, [esp + 0x94]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x338], 0x41
mov eax, dword [edi + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x33c], 0x40
call fcn.004024f0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x330], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x51197a
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
xor ecx, ecx
mov cx, word [ebp]
lea eax, [edi + 0x5c]
mov dword [edi + 0x84], ecx
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [edi + 0x54]
mov dword [edi + 0x98], ebp
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov al, byte [esp + 0x23]
test al, al
je 0x511aa7
add dword [edi + 0xdc], 2
jmp 0x511ab1
mov dword [edi + 0xdc], 2
push 0
push 0xc
mov ecx, edi
call fcn.005087f0
mov al, byte [0x63a8d9]
test al, al
jne 0x511b5f
mov eax, dword [esp + 0x48]
xor edx, edx
cmp dword [eax], 0
jle 0x511b28
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + edx*4]
cmp eax, edi
je 0x511b1f
lea ebp, [eax + 0x9c]
lea esi, [edi + 0x9c]
mov eax, ebp
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x511b13
test cl, cl
je 0x511b0f
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x511b13
add eax, 2
add esi, 2
test cl, cl
jne 0x511aef
xor eax, eax
jmp 0x511b18
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x511b1f
mov byte [ebp], al
mov ecx, dword [esp + 0x48]
inc edx
cmp edx, dword [ecx]
jl 0x511ad4
mov ecx, dword [esp + 0x24]
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 0x511b5d
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 + 0x330], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x68], eax
jl 0x50f4bd
mov esi, dword [esp + 0x64]
xor ebx, ebx
mov ebp, esi
cmp esi, ebx
mov dword [esp + 0x3c], ebp
je 0x511c40
mov eax, dword [esi + 4]
mov dword [esp + 0x330], 0x43
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 0x511bea
mov eax, dword [esi + 0x20]
xor edi, edi
cmp eax, ebx
jle 0x511bea
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + edi*4]
cmp ecx, ebx
je 0x511be2
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esi + 0x20]
inc edi
cmp edi, eax
jl 0x511bd2
mov eax, dword [esi + 0x1c]
add esi, 0x18
cmp eax, ebx
je 0x511c00
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], 0x5d2390
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x511c1d
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x18], 0x5c7050
lea ecx, [ebp + 0x14]
mov dword [esp + 0x330], 0xffffffff
call sub.MFC42.DLL_CString::CString
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x328]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x324
ret
mov edx, dword [ebp + 8]
mov ebx, dword [esp + 0x24]
push edx
mov ecx, ebx
call fcn.00591660
cmp eax, esi
je 0x511c7c
mov edx, dword [eax]
push esi
push 0x627484
mov ecx, eax
call dword [edx + 0x90]
cmp ebp, esi
mov dword [esp + 0x3c], ebp
je 0x511cef
mov eax, dword [ebp + 8]
mov byte [esp + 0x330], 2
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebp + 4]
xor esi, esi
push eax
mov dword [ebp + 8], esi
call sub.MFC42.DLL_operatordelete
mov dword [ebp + 4], esi
mov eax, dword [ebp + 0x2c]
add esp, 8
test eax, eax
jle 0x511cc9
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x511cc1
push 1
call fcn.0050b080
mov eax, dword [ebp + 0x2c]
inc esi
cmp esi, eax
jl 0x511cb0
lea esi, [ebp + 0x24]
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.0054c510
mov ecx, esi
mov byte [esp + 0x330], 1
call fcn.004bad50
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebx + 0x318]
mov edx, dword [esp + 0x54]
mov ecx, dword [ebx + 0x314]
sub eax, edx
dec eax
lea esi, [ecx + edx*4]
je 0x511d1a
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 [ebx + 0x318]
lea ecx, [esp + 0x94]
dec eax
mov byte [esp + 0x330], 0
mov dword [ebx + 0x318], eax
call fcn.005971b2
lea ecx, [esp + 0x4c]
mov dword [esp + 0x330], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x511c40
mov edx, dword [esp + 0x98]
lea ecx, [esp + 0x28]
add edx, 4
push edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x330], 3
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x24]
mov byte [esp + 0x330], 4
mov dword [esp + 0x48], esi
mov eax, dword [eax + 0x2f0]
cmp eax, esi
jle 0x511e03
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
mov edx, dword [ecx + 0x2ec]
mov ebp, dword [edx + eax*4]
test ebp, ebp
je 0x511de4
mov eax, dword [ebp + 0x20]
xor edi, edi
test eax, eax
jle 0x511de4
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x511dd8
mov eax, dword [esi + 0x74]
test eax, eax
je 0x511dd8
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 0x4c]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x511de2
mov eax, dword [ebp + 0x20]
inc edi
cmp edi, eax
jl 0x511db1
jmp 0x511de4
mov ebx, esi
test ebx, ebx
jne 0x511edf
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
inc eax
mov edx, dword [ecx + 0x2f0]
mov dword [esp + 0x48], eax
cmp eax, edx
jl 0x511d93
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x18]
push edx
push 0x627464
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0xc
test eax, eax
je 0x511e88
mov cl, byte [eax + 0x40]
test cl, cl
je 0x511e88
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x1c]
call fcn.0041a9a0
push eax
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x63547c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x338], 5
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x33c], 6
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x63547c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x340], 7
mov ecx, esp
mov dword [esp + 0x2c], esp
jmp 0x5120eb
mov al, byte [ebx + 0xc3d]
test al, al
jne 0x511fd2
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x18]
push ecx
push 0x627440
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0xc
test eax, eax
je 0x511f76
mov cl, byte [eax + 0x40]
test cl, cl
je 0x511f76
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x1c]
call fcn.0041a9a0
push eax
mov eax, dword [ebx + 0x74]
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x338], 8
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebx + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x340], 9
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x340], 0xa
mov ecx, esp
mov dword [esp + 0x2c], esp
jmp 0x5120eb
mov ecx, ebx
call fcn.00508f90
cmp eax, 0x1b
jne 0x512108
mov al, byte [ebx + 0x12c]
test al, al
je 0x512108
mov byte [ebx + 0x12c], 0
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
push 0x627404
push ecx
call sub.MFC42.DLL_CString::Format
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x144], 1
mov eax, dword [0x63ac20]
add esp, 0xc
test eax, eax
je 0x512095
mov cl, byte [eax + 0x40]
test cl, cl
je 0x512095
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x1c]
call fcn.0041a9a0
mov edx, dword [ebx + 0x74]
push eax
push 0x60e5d8
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x338], 0xb
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebx + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x340], 0xc
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x340], 0xd
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x340], 4
call fcn.00458fc0
mov ecx, dword [esp + 0x18]
xor ebp, ebp
cmp dword [ecx - 8], ebp
je 0x5121e6
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov ecx, ebx
mov edx, dword [esi + 8]
push edx
call fcn.00591660
cmp eax, ebp
je 0x51213e
mov ecx, dword [esp + 0x18]
mov edx, dword [eax]
push ebp
push ecx
mov ecx, eax
call dword [edx + 0x90]
cmp esi, ebp
mov dword [esp + 0x3c], esi
je 0x5121b0
mov eax, dword [esi + 8]
mov byte [esp + 0x330], 0xe
push eax
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 0x51218b
mov edx, dword [esi + 0x28]
mov ecx, dword [edx + edi*4]
cmp ecx, ebp
je 0x512183
push 1
call fcn.0050b080
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jl 0x512172
lea edi, [esi + 0x24]
push 0xffffffffffffffff
push ebp
mov ecx, edi
call fcn.0054c510
mov ecx, edi
mov byte [esp + 0x330], 4
call fcn.004bad50
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]
sub eax, edx
dec eax
lea esi, [ecx + edx*4]
je 0x5121db
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 [ebx + 0x318]
jmp 0x512325
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebx + 0x5c]
push edx
call esi
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0x54]
lea ecx, [ebx + 0x54]
mov dword [ebx + 0x98], eax
call dword [edx + 0x1c]
mov eax, dword [0x63ac20]
cmp eax, ebp
je 0x512270
mov cl, byte [eax + 0x40]
test cl, cl
je 0x512270
add eax, 0x250
push eax
call esi
mov eax, dword [esp + 0x38]
mov edx, dword [ebx + 0x74]
push ebp
add edx, 0xac
mov ecx, dword [eax]
push ecx
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
mov edx, dword [esp + 0x38]
push ecx
mov dword [esp + 0x40], esp
mov ecx, esp
mov eax, dword [edx]
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x338], 0xf
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebx + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x340], 0x10
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x340], 0x11
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x340], 4
call fcn.00458fc0
push ebp
push 0xc
mov ecx, ebx
call fcn.005087f0
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
mov eax, dword [esi + 0x318]
mov ecx, dword [esi + 0x314]
sub eax, edx
dec eax
lea edi, [ecx + edx*4]
je 0x51231f
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 + 0x318]
mov esi, dword [esp + 0x64]
cmp esi, ebp
je 0x51233d
mov ecx, esi
call fcn.00515220
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x330], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x330], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x94]
mov byte [esp + 0x330], 0
call fcn.005971b2
lea ecx, [esp + 0x4c]
mov dword [esp + 0x330], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x511c40
mov eax, dword [edi + 0x74]
lea esi, [edi + 0x74]
test eax, eax
je 0x5124bf
mov eax, dword [eax + 0xc0]
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 0x5124bf
mov eax, dword [0x63ac20]
test eax, eax
je 0x512425
mov cl, byte [eax + 0x40]
test cl, cl
je 0x512425
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
push 0
push str.ERROR:_PID
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.ERROR:_PID
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x338], 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x340], 0x1d
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x340], 0x1e
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x340], 0x19
call fcn.00458fc0
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x24]
lea edi, [ebp + 8]
push ecx
mov ecx, ebx
call fcn.00591660
test eax, eax
je 0x5125cb
mov edx, dword [eax]
push 0
push 0x6273c4
jmp 0x5125c3
mov byte [edi + 0x12c], 0
mov eax, dword [0x63ac20]
test eax, eax
je 0x512532
mov cl, byte [eax + 0x40]
test cl, cl
je 0x512532
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
push 0
push 0x62738c
push 0x60e5d8
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x62738c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x338], 0x1f
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x340], 0x20
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x340], 0x21
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x340], 0x19
call fcn.00458fc0
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x24]
lea edi, [ebp + 8]
push ecx
mov ecx, ebx
call fcn.00591660
test eax, eax
je 0x5125cb
mov edx, dword [eax]
push 0
push 0x62738c
mov ecx, eax
call dword [edx + 0x90]
mov esi, ebp
test ebp, ebp
mov dword [esp + 0x3c], esi
je 0x512649
mov edi, dword [edi]
mov byte [esp + 0x330], 0x22
push edi
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 0x512624
mov eax, dword [esi + 0x28]
mov ebp, dword [eax + edi*4]
test ebp, ebp
je 0x51261c
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 0x512600
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x24]
call fcn.0054c510
lea ecx, [esi + 0x24]
mov byte [esp + 0x330], 0x19
call fcn.004bad50
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 0x51267a
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]
xor ebx, ebx
dec ecx
mov dword [esi], ecx
mov esi, dword [esp + 0x64]
cmp esi, ebx
mov dword [esp + 0x3c], esi
je 0x51270c
mov eax, dword [esi + 4]
mov byte [esp + 0x330], 0x24
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 0x5126d8
mov eax, dword [esi + 0x20]
xor edi, edi
cmp eax, ebx
jle 0x5126d8
mov edx, dword [esi + 0x1c]
mov ecx, dword [edx + edi*4]
cmp ecx, ebx
je 0x5126d0
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x20]
inc edi
cmp edi, eax
jl 0x5126c0
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x18]
call fcn.0054c510
lea ecx, [esi + 0x18]
mov byte [esp + 0x330], 0x23
call fcn.00515110
lea ecx, [esi + 0x14]
mov byte [esp + 0x330], 0x19
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x330], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x511c40