Function at 0x509fa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bf017
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd0]
push edi
xor edi, edi
cmp esi, edi
mov ebp, ecx
je 0x50b7e8
mov byte [ebp + 0x408], 0
call fcn.0050cad0
cmp eax, 0xa
je 0x50a1a9
cmp eax, 0xb
je 0x50a1a9
cmp eax, 0xc
je 0x50a1a9
cmp eax, 0xd
je 0x50a1a9
cmp eax, 0xe
je 0x50a1a9
mov eax, dword [esi + 8]
mov ecx, dword [0x641030]
push eax
call fcn.00595f30
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp eax, edi
je 0x50a115
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax]
inc ecx
push ecx
push 0x62cf2c
mov ecx, eax
call dword [edx + 0x94]
mov eax, dword [0x641030]
cmp eax, edi
je 0x50a0a2
mov cl, byte [eax + 0x40]
test cl, cl
je 0x50a0a2
add eax, 0x250
push eax
call ebx
push edi
push 0x62cf0c
push 0x6145d8
push ecx
lea edx, [ebp + 0xa0]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x641030]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x62cf0c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0xd4], edi
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x6145d8
call sub.MFC42.DLL_CString::CString_3
push ecx
lea edx, [ebp + 0xa0]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0xdc], 1
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0xdc], 2
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x6192e0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov dword [esp + 0xdc], 0xffffffff
call fcn.00459390
lea eax, [ebp + 0x5c]
push eax
call ebx
call fcn.0044c9d0
mov cl, byte [eax + 0x21a]
test cl, cl
jne 0x50a19e
mov dword [esp + 0x14], esi
mov eax, dword [esi + 8]
mov dword [esp + 0xcc], 3
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
push eax
call sub.MFC42.DLL_operatordelete
mov dword [esi + 4], edi
mov eax, dword [esi + 0x2c]
add esp, 8
xor ebx, ebx
cmp eax, edi
jle 0x50a176
mov ecx, dword [esi + 0x28]
mov ecx, dword [ecx + ebx*4]
cmp ecx, edi
je 0x50a16e
push 1
call fcn.0050ec40
mov eax, dword [esi + 0x2c]
inc ebx
cmp ebx, eax
jl 0x50a15d
lea ebx, [esi + 0x24]
push 0xffffffffffffffff
push edi
mov ecx, ebx
call fcn.005343d0
mov ecx, ebx
mov dword [esp + 0xcc], 0xffffffff
call fcn.004bae30
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x9c], edi
jmp 0x50b7dd
cmp dword [esi + 0x2c], edi
jne 0x50a245
call fcn.0044c9d0
mov cl, byte [eax + 0x21a]
test cl, cl
jne 0x50a235
mov dword [esp + 0x14], esi
mov eax, dword [esi + 8]
mov dword [esp + 0xcc], 4
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
push eax
call sub.MFC42.DLL_operatordelete
mov dword [esi + 4], edi
mov eax, dword [esi + 0x2c]
add esp, 8
xor ebx, ebx
cmp eax, edi
jle 0x50a20d
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + ebx*4]
cmp ecx, edi
je 0x50a205
push 1
call fcn.0050ec40
mov eax, dword [esi + 0x2c]
inc ebx
cmp ebx, eax
jl 0x50a1f4
lea ebx, [esi + 0x24]
push 0xffffffffffffffff
push edi
mov ecx, ebx
call fcn.005343d0
mov ecx, ebx
mov dword [esp + 0xcc], 0xffffffff
call fcn.004bae30
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x9c], edi
mov eax, 1
jmp 0x50bd87
mov ecx, ebp
call sym.ETermProxy.exe_public:_void___thiscall_CClientObject::StartTimer_void_
push 0
push 0xb
mov ecx, ebp
call fcn.0050c150
mov byte [ebp + 0x121], 0
mov ecx, dword [esi + 0x28]
mov edi, dword [sym.imp.MSVCRT.dll__stricmp]
push 0x62cf04
mov ebx, dword [ecx]
mov edx, dword [ebx]
push edx
call edi
add esp, 8
test eax, eax
jne 0x50a58c
mov eax, dword [ebp + 0x128]
mov byte [ebp + 0x98], 1
cmp eax, 0x3c
jge 0x50a29f
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0xbc]
mov dword [ebp + 0x128], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0xa
mov ecx, ebp
mov dword [ebp + 0xe4], eax
call fcn.0050c150
mov edx, dword [esi + 8]
mov ecx, dword [0x641030]
push edx
call fcn.00595f30
mov ebx, eax
test ebx, ebx
je 0x50a4f6
lea eax, [esp + 0x44]
push str.LOCK01_SUCCESS
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esi + 0x1c]
mov edx, dword [ebx]
add esp, 8
inc eax
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x94]
mov edx, dword [ebp + 0x74]
lea edi, [esp + 0x44]
or ecx, 0xffffffff
mov eax, dword [edx + 0x24]
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
lea eax, [esp + 0x4c]
push ecx
push eax
lea ecx, [ebx + 0x98]
call fcn.004b0230
mov eax, dword [0x641030]
test eax, eax
je 0x50a389
mov cl, byte [eax + 0x40]
test cl, cl
je 0x50a389
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push str.____LOCK01
push str._RX_
push 0
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x50a3e8
push str.____LOCK01
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov dword [esp + 0xdc], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63bc58]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004548d0
mov eax, dword [0x63b910]
test eax, eax
je 0x50a4fd
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x50a4fd
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x50a4e8
mov cl, byte [edi + 0x88]
test cl, cl
je 0x50a4e8
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x50a4e3
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x50a4e3
mov ecx, dword [ebp + 0x74]
add ecx, 0xac
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xcc], 6
mov eax, dword [ecx - 8]
test eax, eax
je 0x50a4cf
mov al, byte [edi + 0x80]
test al, al
je 0x50a4cf
mov eax, dword [edi + 0x84]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x50a4cf
push str.____LOCK01
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0xdc], 7
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0xd8], 6
call fcn.00402460
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x50a402
jmp 0x50a4fd
mov byte [ebp + 0x98], 0
lea ecx, [ebp + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0044c9d0
mov cl, byte [eax + 0x21a]
test cl, cl
jne 0x50b214
mov dword [esp + 0x14], esi
mov eax, dword [esi + 8]
mov dword [esp + 0xcc], 8
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 0x50a568
mov edx, dword [esi + 0x28]
mov ecx, dword [edx + edi*4]
cmp ecx, ebx
je 0x50a560
push 1
call fcn.0050ec40
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jl 0x50a54f
push 0xffffffffffffffff
push ebx
lea edi, [esi + 0x24]
mov ecx, edi
call fcn.005343d0
mov ecx, edi
mov dword [esp + 0xcc], 0xffffffff
call fcn.004bae30
jmp 0x50b20b
mov ecx, dword [ebx]
push str.UNLOCK01
push ecx
call edi
add esp, 8
test eax, eax
jne 0x50a874
push eax
push 0xe
mov ecx, ebp
mov byte [ebp + 0x98], al
call fcn.0050c150
mov edx, dword [esi + 8]
mov ecx, dword [0x641030]
push edx
call fcn.00595f30
mov ebx, eax
test ebx, ebx
je 0x50a7f1
lea eax, [esp + 0x44]
push str.UNLOCK01_SUCCESS
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esi + 0x1c]
mov edx, dword [ebx]
add esp, 8
inc eax
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x94]
mov edx, dword [ebp + 0x74]
lea edi, [esp + 0x44]
or ecx, 0xffffffff
mov eax, dword [edx + 0x24]
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
lea eax, [esp + 0x4c]
push ecx
push eax
lea ecx, [ebx + 0x98]
call fcn.004b0230
mov eax, dword [0x641030]
test eax, eax
je 0x50a684
mov cl, byte [eax + 0x40]
test cl, cl
je 0x50a684
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push str.____UNLOCK01
push str._RX_
push 0
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x50a6e3
push str.____UNLOCK01
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov dword [esp + 0xdc], 9
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63bc58]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004548d0
mov eax, dword [0x63b910]
test eax, eax
je 0x50a7f8
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x50a7f8
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x50a7e3
mov cl, byte [edi + 0x88]
test cl, cl
je 0x50a7e3
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x50a7de
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x50a7de
mov ecx, dword [ebp + 0x74]
add ecx, 0xac
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xcc], 0xa
mov eax, dword [ecx - 8]
test eax, eax
je 0x50a7ca
mov al, byte [edi + 0x80]
test al, al
je 0x50a7ca
mov eax, dword [edi + 0x84]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x50a7ca
push str.____UNLOCK01
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0xdc], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0xd8], 0xa
call fcn.00402460
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x50a6fd
jmp 0x50a7f8
mov byte [ebp + 0x98], 0
lea ecx, [ebp + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0044c9d0
mov cl, byte [eax + 0x21a]
test cl, cl
jne 0x50b214
mov dword [esp + 0x14], esi
mov eax, dword [esi + 8]
mov dword [esp + 0xcc], 0xc
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 0x50a86b
mov edx, dword [esi + 0x28]
mov ebx, dword [edx + edi*4]
test ebx, ebx
je 0x50a863
mov eax, dword [ebx]
push eax
call sub.MFC42.DLL_operatordelete
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 8
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jl 0x50a848
push 0xffffffffffffffff
push 0
jmp 0x50a56b
mov ecx, dword [ebx]
push 6
push str.LOCK02
push ecx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x50aed4
cmp byte [ebp + 0x98], 1
jne 0x50ab09
cmp dword [ebp + 0x128], 0xf
je 0x50ae27
mov edx, dword [esi + 8]
mov ecx, dword [0x641030]
push edx
call fcn.00595f30
mov ebx, eax
test ebx, ebx
je 0x50ae27
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0xe4], eax
mov eax, dword [ebp + 0x74]
lea edx, [ebp + 0xa0]
mov ecx, dword [eax + 0xac]
lea eax, [esp + 0x44]
push ecx
push edx
push 0x62ce90
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esi + 0x1c]
mov edx, dword [ebx]
add esp, 0x10
inc eax
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x94]
mov edx, dword [ebp + 0x74]
lea edi, [esp + 0x44]
or ecx, 0xffffffff
mov eax, dword [edx + 0x24]
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
lea eax, [esp + 0x4c]
push ecx
push eax
lea ecx, [ebx + 0x98]
call fcn.004b0230
mov eax, dword [0x641030]
test eax, eax
je 0x50a999
mov cl, byte [eax + 0x40]
test cl, cl
je 0x50a999
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push str.____PID_LOCK_SUCCESS
push str._RX_
push 0
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x50a9f8
push str.____PID_LOCK_SUCCESS
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov dword [esp + 0xdc], 0xd
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63bc58]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004548d0
mov eax, dword [0x63b910]
test eax, eax
je 0x50ae27
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x50ae27
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x50aaf8
mov cl, byte [edi + 0x88]
test cl, cl
je 0x50aaf8
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x50aaf3
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x50aaf3
mov ecx, dword [ebp + 0x74]
add ecx, 0xac
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xcc], 0xe
mov eax, dword [ecx - 8]
test eax, eax
je 0x50aadf
mov al, byte [edi + 0x80]
test al, al
je 0x50aadf
mov eax, dword [edi + 0x84]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x50aadf
push str.____PID_LOCK_SUCCESS
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0xdc], 0xf
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0xd8], 0xe
call fcn.00402460
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x50aa12
jmp 0x50ae27
mov edx, dword [esi + 4]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x641030]
call fcn.00516b80
test eax, eax
mov dword [esp + 0x28], eax
je 0x50abb2
mov edx, dword [eax + 0x20]
xor ecx, ecx
test edx, edx
mov dword [esp + 0x18], ecx
jle 0x50abb2
mov edx, dword [eax + 0x1c]
mov ebx, dword [edx + ecx*4]
cmp ebx, ebp
je 0x50aba2
lea eax, [ebx + 0xa0]
lea edi, [ebp + 0xa0]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x50ab77
test cl, cl
je 0x50ab73
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x50ab77
add eax, 2
add edi, 2
test cl, cl
jne 0x50ab53
xor eax, eax
jmp 0x50ab7c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x50ab9e
mov ecx, ebx
mov byte [ebx + 0xa0], al
mov byte [ebx + 0x98], al
call fcn.0050cba0
push 1
push 0xa
mov ecx, ebx
call fcn.0050c150
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0x20]
inc ecx
cmp ecx, edx
mov dword [esp + 0x18], ecx
jl 0x50ab3d
mov byte [ebp + 0x98], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0xe4], eax
mov eax, dword [ebp + 0x74]
push 0
push 0xa
mov ecx, dword [eax + 0xbc]
mov dword [ebp + 0x128], ecx
mov ecx, ebp
call fcn.0050c150
mov edx, dword [esi + 8]
mov ecx, dword [0x641030]
push edx
call fcn.00595f30
mov ebx, eax
test ebx, ebx
je 0x50ae27
mov eax, dword [ebp + 0x74]
lea edx, [esp + 0x44]
mov ecx, dword [eax + 0xac]
push ecx
push 0x62ce64
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esi + 0x1c]
mov eax, dword [ebx]
add esp, 0xc
inc ecx
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, ebx
call dword [eax + 0x94]
mov eax, dword [ebp + 0x74]
lea edi, [esp + 0x44]
or ecx, 0xffffffff
mov eax, dword [eax + 0x24]
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
push ecx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [ebx + 0x98]
call fcn.004b0230
mov eax, dword [0x641030]
test eax, eax
je 0x50acbc
mov cl, byte [eax + 0x40]
test cl, cl
je 0x50acbc
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push str.____PID_LOCK_SUCCESS
push str._RX_
push 0
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x50ad1b
push str.____PID_LOCK_SUCCESS
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov dword [esp + 0xdc], 0x10
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63bc58]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004548d0
mov eax, dword [0x63b910]
test eax, eax
je 0x50ae27
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x50ae27
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x50ae1b
mov cl, byte [edi + 0x88]
test cl, cl
je 0x50ae1b
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x50ae16
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x50ae16
mov ecx, dword [ebp + 0x74]
add ecx, 0xac
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xcc], 0x11
mov eax, dword [ecx - 8]
test eax, eax
je 0x50ae02
mov al, byte [edi + 0x80]
test al, al
je 0x50ae02
mov eax, dword [edi + 0x84]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x50ae02
push str.____PID_LOCK_SUCCESS
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0xdc], 0x12
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0xd8], 0x11
call fcn.00402460
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x50ad35
lea ecx, [ebp + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0044c9d0
mov cl, byte [eax + 0x21a]
test cl, cl
jne 0x50b214
mov dword [esp + 0x14], esi
mov eax, dword [esi + 8]
mov dword [esp + 0xcc], 0x13
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 0x50ae9a
mov edx, dword [esi + 0x28]
mov ebx, dword [edx + edi*4]
test ebx, ebx
je 0x50ae92
mov eax, dword [ebx]
push eax
call sub.MFC42.DLL_operatordelete
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 8
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jl 0x50ae77
lea edi, [esi + 0x24]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.005343d0
mov eax, dword [edi + 4]
mov dword [esp + 0xcc], 0xffffffff
test eax, eax
mov dword [edi], 0x5d628c
je 0x50aec9
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [edi], 0x5cc040
jmp 0x50b20b
mov ecx, dword [ebx]
push str.UNLOCK02
push ecx
call edi
add esp, 8
test eax, eax
jne 0x50b233
mov edx, dword [esi + 8]
mov ecx, dword [0x641030]
push edx
call fcn.00595f30
mov ebx, eax
test ebx, ebx
je 0x50b152
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov al, byte [ebp + 0x98]
mov dword [esp + 0xcc], 0x14
test al, al
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0xac]
push ecx
je 0x50af31
push 0x62ce50
jmp 0x50af36
push 0x62ce34
lea edx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx]
add esp, 0xc
inc ecx
push ecx
push edx
mov ecx, ebx
call dword [eax + 0x94]
mov eax, dword [ebp + 0x74]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x24]
mov edx, dword [ecx - 8]
push eax
push ebx
push edx
push ecx
lea ecx, [ebx + 0x98]
call fcn.004b0230
mov eax, dword [0x641030]
test eax, eax
je 0x50afdf
mov cl, byte [eax + 0x40]
test cl, cl
je 0x50afdf
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0x74]
push str.____PID_UNLOCK_SUCCESS
push str._RX_
push 0
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x50b038
push str.____PID_UNLOCK_SUCCESS
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0xdc], 0x15
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63bc58]
mov byte [esp + 0xd8], 0x14
call fcn.004548d0
mov eax, dword [0x63b910]
test eax, eax
je 0x50b13e
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x50b13e
mov ecx, dword [eax + 0x4c]
mov ebx, dword [ecx + edi*4]
test ebx, ebx
je 0x50b132
mov cl, byte [ebx + 0x88]
test cl, cl
je 0x50b132
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x50b12d
mov eax, dword [ebx + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x50b12d
mov ecx, dword [ebp + 0x74]
add ecx, 0xac
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xcc], 0x16
mov eax, dword [ecx - 8]
test eax, eax
je 0x50b11c
mov al, byte [ebx + 0x80]
test al, al
je 0x50b11c
mov eax, dword [ebx + 0x84]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x50b11c
push str.____PID_UNLOCK_SUCCESS
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp + 0x74]
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0xdc], 0x17
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebx
mov byte [esp + 0xd8], 0x16
call fcn.00402460
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 0x14
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x50b052
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor ebx, ebx
mov ecx, ebp
push ebx
push 0xe
mov byte [ebp + 0x98], 0
call fcn.0050c150
lea ecx, [ebp + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0044c9d0
mov cl, byte [eax + 0x21a]
test cl, cl
jne 0x50b214
mov dword [esp + 0x14], esi
mov eax, dword [esi + 8]
mov dword [esp + 0xcc], 0x18
push eax
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
cmp eax, ebx
jle 0x50b1d6
mov edx, dword [esi + 0x28]
mov edi, dword [edx + ebx*4]
test edi, edi
je 0x50b1ce
mov eax, dword [edi]
push eax
call sub.MFC42.DLL_operatordelete
push edi
call sub.MFC42.DLL_operatordelete
add esp, 8
mov eax, dword [esi + 0x2c]
inc ebx
cmp ebx, eax
jl 0x50b1b3
lea ebx, [esi + 0x24]
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.005343d0
mov eax, dword [ebx + 4]
mov dword [esp + 0xcc], 0xffffffff
test eax, eax
mov dword [ebx], 0x5d628c
je 0x50b205
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx], 0x5cc040
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x9c], 0
add ebp, 0x54
mov ecx, ebp
call dword [eax + 0x1c]
mov eax, 1
jmp 0x50bd87
mov ecx, dword [ebx]
push str.WHOLK
push ecx
call edi
add esp, 8
test eax, eax
jne 0x50b37a
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esi + 4]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esp + 0xd4], 0x19
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x641030]
call fcn.00516b80
mov edi, eax
test edi, edi
je 0x50b30d
mov eax, dword [edi + 0x20]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x50b31b
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x1c]
mov ebx, dword [ecx + eax*4]
mov cl, byte [ebx + 0x98]
test cl, cl
je 0x50b2ff
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebx + 0x74]
lea edx, [ebx + 0xa0]
push edx
lea edx, [esp + 0x20]
mov ecx, dword [eax + 0xac]
mov byte [esp + 0xd0], 0x1a
push ecx
push str._PID:__s__s_____LOCK_BY:__s_r
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
call fcn.0059ba4c
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x50b298
jmp 0x50b31b
push 0x62cde4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x50b334
push 0x62cdd8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esi + 8]
mov ecx, dword [0x641030]
push edx
call fcn.00595f30
test eax, eax
je 0x50b35b
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax]
inc ecx
push ecx
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, eax
call dword [edx + 0x94]
push 0
push 0xa
mov ecx, ebp
call fcn.0050c150
mov dword [esp + 0xcc], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x50bd80
mov edx, dword [ebx]
push 3
push 0x61a644
push edx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x50b7f2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0xe4], eax
call fcn.004ec660
mov edx, dword [ebp + 0x38]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add edx, 0x20
push 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xe
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x2b], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov byte [esp + 0x37], 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.0050c150
mov edx, dword [esp + 0xd4]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov eax, dword [edx + 4]
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x641030]
call fcn.00516b80
mov esi, eax
test esi, esi
je 0x50b4a5
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x50b4a5
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov edi, dword [ecx + edx*4]
add eax, 4
push eax
mov ecx, dword [edi + 0x74]
add ecx, 0x24
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x50b44a
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0xd4]
add edi, 0xa0
mov ecx, dword [eax + 8]
push ecx
push edi
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x50b476
mov byte [ebp + 0xa0], al
mov byte [esp + 0x2f], 1
jmp 0x50b47e
mov al, byte [esp + 0x2f]
test al, al
je 0x50b486
mov al, byte [esp + 0x23]
test al, al
jne 0x50b49e
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x50b41f
mov al, byte [esp + 0x23]
test al, al
je 0x50b4a5
mov eax, str.SWITCH_TO__s_SUCCESS
jmp 0x50b4aa
mov eax, str.FAIL_SWITCH_TO__s__NOT_FOUND_THE_PID
mov edx, dword [ebx]
add edx, 4
push edx
push eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov esi, dword [esp + 0xe0]
add esp, 0xc
mov ecx, dword [esi + 8]
push ecx
mov ecx, dword [0x641030]
call fcn.00595e30
test al, al
je 0x50b52e
mov edx, dword [esi + 8]
mov ecx, dword [0x641030]
push edx
call fcn.00595f30
mov esi, eax
test esi, esi
je 0x50b52e
mov ecx, dword [esp + 0xd4]
mov eax, dword [esi]
mov edx, dword [ecx + 0x1c]
lea ecx, [esp + 0x44]
inc edx
push edx
push ecx
mov ecx, esi
call dword [eax + 0x94]
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
push 0x63b90c
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
lea edx, [esp + 0x4c]
push ecx
push edx
lea ecx, [esi + 0x98]
call fcn.004b0230
mov eax, dword [ebx]
lea ecx, [esp + 0x44]
push eax
push str._____s
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x641030]
add esp, 0xc
test eax, eax
je 0x50b5af
mov cl, byte [eax + 0x40]
test cl, cl
je 0x50b5af
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x74]
lea edx, [esp + 0x44]
push edx
push str._RX_
push 0
push ecx
add eax, 0xac
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
push str.command
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x44]
push ecx
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
mov cl, byte [eax + 1]
test cl, cl
je 0x50b60e
lea ecx, [esp + 0x44]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov dword [esp + 0xdc], 0x1b
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63bc58]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004548d0
mov eax, dword [0x63b910]
test eax, eax
je 0x50b71b
mov ecx, dword [eax + 0x50]
xor esi, esi
test ecx, ecx
jle 0x50b71b
mov ebx, 0x1c
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + esi*4]
test edi, edi
je 0x50b70f
mov cl, byte [edi + 0x88]
test cl, cl
je 0x50b70f
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x50b70a
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x50b70a
mov ecx, dword [ebp + 0x74]
add ecx, 0xac
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xcc], ebx
mov eax, dword [ecx - 8]
test eax, eax
je 0x50b6f6
mov al, byte [edi + 0x80]
test al, al
je 0x50b6f6
mov eax, dword [edi + 0x84]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x50b6f6
lea edx, [esp + 0x44]
lea eax, [esp + 0x18]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [ebp + 0x74]
push ecx
add edx, 0xac
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0xdc], 0x1d
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0xd8], bl
call fcn.00402460
lea ecx, [esp + 0x18]
mov dword [esp + 0xcc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc esi
cmp esi, ecx
jl 0x50b62d
lea eax, [ebp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0044c9d0
mov cl, byte [eax + 0x21a]
test cl, cl
jne 0x50b7d3
mov esi, dword [esp + 0xd4]
mov dword [esp + 0x14], esi
mov eax, dword [esi + 8]
mov dword [esp + 0xcc], 0x1e
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 0x50b795
mov ecx, dword [esi + 0x28]
mov ebx, dword [ecx + edi*4]
test ebx, ebx
je 0x50b78d
mov eax, dword [ebx]
push eax
call sub.MFC42.DLL_operatordelete
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 8
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jl 0x50b772
lea edi, [esi + 0x24]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.005343d0
mov eax, dword [edi + 4]
mov dword [esp + 0xcc], 0xffffffff
test eax, eax
mov dword [edi], 0x5d628c
je 0x50b7c4
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
mov dword [edi], 0x5cc040
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x9c], 0
mov edx, dword [ebp + 0x54]
add ebp, 0x54
mov ecx, ebp
call dword [edx + 0x1c]
mov eax, 1
jmp 0x50bd87
mov al, byte [ebx + 8]
test al, al
je 0x50b9a4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0xe4], eax
call fcn.004ec660
mov edx, dword [ebp + 0x38]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add edx, 0x20
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.0050c8a0
mov esi, dword [ebx + 4]
cmp esi, 0x12
mov dword [esp + 0x18], esi
jle 0x50b89e
mov eax, dword [ebx]
mov dl, 0x4e
mov cl, byte [eax + 0xe]
cmp cl, 0x49
jne 0x50b86d
cmp byte [eax + 0xf], dl
jne 0x50b85d
cmp byte [eax + 0x10], 0x56
je 0x50b88f
cmp cl, 0x49
jne 0x50b86d
cmp byte [eax + 0xf], dl
jne 0x50b86d
cmp byte [eax + 0x10], 0x3a
je 0x50b88f
cmp cl, 0x69
mov dl, 0x6e
jne 0x50b87f
cmp byte [eax + 0xf], dl
jne 0x50b87f
cmp byte [eax + 0x10], 0x3a
je 0x50b88f
cmp cl, 0x74
jne 0x50b89e
cmp byte [eax + 0xf], 0x69
jne 0x50b89e
cmp byte [eax + 0x10], dl
jne 0x50b89e
mov edx, dword [ebp]
push esi
push eax
mov ecx, ebp
call dword [edx + 0x1c]
jmp 0x50bd85
cmp esi, 0xa0
jle 0x50b8d2
mov eax, dword [ebx]
cmp byte [eax + 0x8c], 0x47
jne 0x50b8d2
cmp byte [eax + 0x8d], 0x45
jne 0x50b8d2
cmp byte [eax + 0x8e], 0x54
jne 0x50b8d2
mov edx, dword [ebp]
push esi
push eax
mov ecx, ebp
call dword [edx + 0x1c]
jmp 0x50bd85
cmp esi, 0x17
jle 0x50b930
mov eax, dword [ebx]
mov ecx, 2
mov edi, str.OPENPNR:
xor edx, edx
lea esi, [eax + 0xc]
repe cmpsd dword [esi], dword es:[edi]
jne 0x50b8ff
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp]
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x1c]
jmp 0x50bd85
mov esi, dword [esp + 0x18]
cmp esi, 0x17
jle 0x50b930
mov eax, dword [ebx]
mov ecx, 0xb
mov edi, str._Statement_
xor edx, edx
lea esi, [eax + 0xc]
repe cmpsb byte [esi], byte es:[edi]
jne 0x50b930
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp]
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x1c]
jmp 0x50bd85
mov edx, dword [ebp + 0x74]
mov esi, 1
mov al, byte [edx + 0xd8]
test al, al
je 0x50b962
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [0x641030]
call fcn.00595f30
test eax, eax
je 0x50b962
mov esi, dword [eax + 0x121c]
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x50b977
mov cl, byte [eax + 0x95]
test cl, cl
je 0x50b977
xor cl, cl
jmp 0x50b979
mov cl, 1
mov dl, byte [eax + 0x96]
mov eax, dword [ebx + 4]
push edx
push esi
push ecx
mov ecx, dword [ebx]
push eax
push ecx
mov ecx, ebp
call sym.ETermProxy.exe_public:_void___thiscall_CClientObject::RestoreID_unsigned_char___int__bool__int__bool_
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, dword [ebp]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x1c]
jmp 0x50bd85
mov ecx, ebp
call fcn.0050c8a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0xe4], eax
call fcn.004ec660
mov edx, dword [ebp + 0x38]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add edx, 0x20
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xcc], 0x1f
mov eax, dword [edx - 8]
test eax, eax
je 0x50bca7
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::MakeUpper
push str.ETDZ
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
setge cl
test eax, eax
mov byte [ebp + 0x121], cl
jne 0x50bb6d
test cl, cl
je 0x50bb6d
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x50bb6d
mov cl, byte [eax + 0x90]
test cl, cl
je 0x50bb6d
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
mov eax, dword [eax - 8]
add eax, 0xfffffffc
push eax
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Right
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
push edx
mov byte [esp + 0xd0], 0x20
call edi
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString_1
push esi
lea eax, [esp + 0x14]
push 0x62cda0
push eax
mov byte [esp + 0xd8], 0x21
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp + 0x74]
add esp, 0xc
mov ecx, dword [eax + 0x60]
mov esi, dword [ecx - 8]
cmp esi, 3
jl 0x50bb4b
mov edx, dword [esp + 0x10]
mov eax, ecx
push eax
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x50bb4b
mov ecx, dword [ebp + 0x74]
dec esi
lea eax, [esp + 0x18]
push esi
push eax
add ecx, 0x60
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xd0], 0x22
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 0x21
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov esi, eax
add esp, 4
test esi, esi
jle 0x50bb4b
call fcn.0044c9d0
mov cl, byte [eax + 0x21a]
test cl, cl
jne 0x50bb2f
mov eax, dword [ebx]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0x20
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebx], eax
push esi
push str.ETDZ__d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0xcc], 0x20
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0xcc], 0x1f
call sub.MFC42.DLL_CString::CString
push str.SI:NW
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jge 0x50bb8f
push str.SI_NW
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jne 0x50bca7
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0xcc], 0x23
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
push 0x63b90c
push str.SI:NW
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x63b90c
push str.SI_NW
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x619e98
push 0x616c88
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x619e98
push 0x60c220
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CStringArray::CStringArray
push 1
push 1
push 2
lea eax, [esp + 0x3c]
push 0x2f
push eax
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0xe8], 0x24
call sub.MFC42.DLL_CString::CString_2
call fcn.004ec420
mov eax, dword [esp + 0x50]
add esp, 0x18
cmp eax, 2
jne 0x50bc85
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x28]
push eax
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x28]
cmp dword [eax - 8], 6
jne 0x50bc7c
mov ecx, dword [ebx]
push eax
push str.SI:NW__s
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0xcc], 0x23
call fcn.0059ba94
lea ecx, [esp + 0x10]
mov byte [esp + 0xcc], 0x1f
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x74]
mov cl, byte [eax + 0x96]
test cl, cl
je 0x50bd0f
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebx]
lea eax, [esp + 0x28]
push 1
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xd4], 0x25
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.004d1120
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x38]
add esp, 0x10
push 1
push 1
push ecx
push edx
push eax
mov ecx, ebp
call fcn.004fb850
lea ecx, [esp + 0x28]
mov byte [esp + 0xcc], 0x1f
call sub.MFC42.DLL_CString::CString
jmp 0x50bd71
mov cl, byte [eax + 0xd8]
mov esi, 1
test cl, cl
je 0x50bd3e
mov ecx, dword [esp + 0xd4]
mov edx, dword [ecx + 8]
mov ecx, dword [0x641030]
push edx
call fcn.00595f30
test eax, eax
je 0x50bd3e
mov esi, dword [eax + 0x121c]
mov eax, dword [0x640cec]
mov ecx, 0x1e9
inc eax
mov dword [0x640cec], eax
cdq
idiv ecx
test edx, edx
jne 0x50bd5c
mov ecx, ebp
call sym.ETermProxy.exe_public:_void___thiscall_CRWConfig::destructor_void_
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx]
push esi
push 0
push edx
push eax
push ecx
mov ecx, ebp
call fcn.004fb850
mov dword [esp + 0xcc], 0xffffffff
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc0
ret 4