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

Disassembly:
push 0xffffffffffffffff
push 0x5b82e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x7c]
xor esi, esi
cmp eax, esi
push edi
mov byte [esp + 0x13], 1
je 0x4c96e1
mov ebp, dword [esp + 0x6c]
cmp dword [ebp], 0x7d0
jge 0x4c96e1
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x6c]
mov byte [eax], 0
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebx + 0xd0]
mov dword [ebp], esi
mov edx, dword [ebx + 0x7c]
mov dword [esp + 0x60], esi
mov dword [esp + 0x18], ecx
cmp dword [edx + 0x20], esi
je 0x4c8bcb
mov esi, dword [esp + 0x68]
mov ax, word [ebx + 0x74]
push 0xa
mov word [esi], ax
mov eax, dword [ebp]
add eax, 2
mov dword [ebp], eax
mov ecx, dword [ebx + 0x7c]
add ecx, 0x15c
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [ebp]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add edx, esi
push 0xa
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 + 0x7c]
mov esi, dword [esp + 0x6c]
mov edx, dword [ecx + 0x15c]
mov ecx, dword [ebp]
mov eax, dword [edx - 8]
add ecx, eax
mov eax, ecx
mov dword [ebp], ecx
mov byte [eax + esi], 0
mov eax, dword [ebp]
inc eax
mov dword [ebp], eax
mov ecx, dword [ebx + 0x7c]
add ecx, 0x3c
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [ebp]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add edx, esi
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 + 0x7c]
mov edi, dword [ebp]
mov edx, dword [ecx + 0x3c]
mov eax, dword [edx - 8]
add edi, eax
mov eax, dword [esp + 0x68]
mov ecx, edi
mov dword [ebp], edi
mov edi, dword [esp + 0x18]
mov byte [ecx + eax], 0
mov esi, dword [ebp]
inc esi
mov dword [ebp], esi
mov edx, dword [ebx + 0xc8]
cmp edi, edx
sete cl
mov byte [esi + eax], cl
mov ecx, dword [ebp]
inc ecx
mov dword [ebp], ecx
mov dl, byte [ebx + 0x80]
mov esi, ecx
mov byte [esi + eax], dl
mov esi, dword [ebp]
inc esi
mov dword [ebp], esi
mov cl, byte [ebx + 0x84]
mov byte [esi + eax], cl
mov edx, dword [ebp]
inc edx
mov dword [ebp], edx
mov eax, dword [edi + 4]
test eax, eax
je 0x4c879e
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push ecx
push ebp
push edx
push eax
mov ecx, ebx
call fcn.004c9700
and al, 1
mov byte [esp + 0x13], al
mov edi, dword [esp + 0x18]
xor esi, esi
mov eax, dword [edi + 0x10]
test eax, eax
jle 0x4c87db
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x6c]
mov eax, dword [eax + esi*4]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push ebp
push ecx
push eax
mov ecx, ebx
call fcn.004c9700
mov dl, byte [esp + 0x13]
and dl, al
mov eax, dword [edi + 0x10]
inc esi
mov byte [esp + 0x13], dl
cmp esi, eax
jl 0x4c87ab
mov al, byte [esp + 0x13]
test al, al
je 0x4c89f9
mov eax, dword [ebx + 0x38]
lea ecx, [esp + 0x38]
mov edx, dword [eax + 0x70]
mov ebp, dword [eax + 0x74]
mov edi, dword [eax + 0x6c]
mov esi, dword [eax + 0x68]
mov eax, dword [eax + 0x78]
sub edx, ebp
sub edx, edi
add edx, esi
push edx
push eax
push str._TX:__d__d_
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x641030]
add esp, 0x10
test eax, eax
je 0x4c8886
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4c8886
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xa
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x38]
push eax
mov eax, dword [ebx + 0x7c]
push edx
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x641030]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4c88db
push 0xa
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebx + 0x7c]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
mov byte [esp + 0x70], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63b908]
mov byte [esp + 0x6c], 0
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4c89df
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4c89df
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4c89d3
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4c89d3
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4c89ce
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4c89ce
mov ecx, dword [ebx + 0x7c]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x68]
mov byte [esp + 0x60], 2
mov eax, dword [edx - 8]
test eax, eax
je 0x4c89c0
mov al, byte [esi + 0x80]
test al, al
jne 0x4c89c0
mov eax, dword [ebx + 0x7c]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4c89c0
push 0xa
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebx + 0x7c]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x70], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x6c], 2
call fcn.00402460
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4c88fb
lea ecx, [esp + 0x6c]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
jmp 0x4c96e3
mov eax, dword [ebx + 0x80]
mov edx, dword [ebx]
inc eax
mov ecx, ebx
push eax
push 0x62562c
call dword [edx + 0x94]
mov eax, dword [0x641030]
test eax, eax
je 0x4c8a7b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4c8a7b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebx + 0x7c]
push 0x625610
push str._TX_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c9d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4c8ac9
push 0x625610
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebx + 0x7c]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
mov byte [esp + 0x70], 4
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63b908]
mov byte [esp + 0x6c], 0
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4c96d0
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4c96d0
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4c8bba
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4c8bba
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4c8bb5
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4c8bb5
mov ecx, dword [ebx + 0x7c]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x68]
mov byte [esp + 0x60], 5
mov eax, dword [edx - 8]
test eax, eax
je 0x4c8ba7
mov al, byte [esi + 0x80]
test al, al
jne 0x4c8ba7
mov eax, dword [ebx + 0x7c]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4c8ba7
push 0x625610
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebx + 0x7c]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x70], 6
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x6c], 5
call fcn.00402460
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4c8ae9
jmp 0x4c96d0
push 0x38
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, esi
je 0x4c8c19
mov ebp, eax
mov dword [eax + 0x24], 0x5d628c
mov dword [eax + 0x28], esi
mov dword [eax + 0x34], esi
mov dword [eax + 0x30], esi
mov dword [eax + 0x2c], esi
mov word [eax], si
mov dword [eax + 0x20], esi
mov dword [eax + 0x1c], esi
mov byte [eax + 0x1a], 0
mov byte [eax + 0x19], 0
mov byte [eax + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov byte [eax + 0x14], 0
mov word [eax + 0x16], 0x3e8
mov dword [esp + 0x14], ebp
jmp 0x4c8c1f
mov dword [esp + 0x14], esi
mov ebp, esi
mov eax, dword [ebx + 0x7c]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004ec3c0
add esp, 4
lea ecx, [esp + 0x20]
mov dword [ebp + 8], eax
push ecx
mov ecx, ebx
call fcn.004d1540
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
mov byte [esp + 0x68], 7
call sub.MFC42.DLL_CString::CString_2
call fcn.004ec3c0
add esp, 4
mov dword [ebp + 4], eax
lea eax, [esp + 0x68]
mov ecx, ebx
push ebp
push eax
call fcn.004d1420
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0xc]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x70], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebx + 0x7c]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov dl, byte [ecx + 0xa4]
mov byte [ebp + 0x14], dl
mov eax, dword [ebx + 0x7c]
mov cx, word [eax + 0xac]
mov word [ebp + 0x16], cx
mov ebp, dword [ebp + 4]
mov eax, dword [ebx + 0x1218]
push ebp
push eax
call esi
add esp, 8
test eax, eax
jne 0x4c8cf5
mov edx, dword [esp + 0x70]
mov eax, dword [ebx + 0x1214]
push edx
push eax
call esi
add esp, 8
test eax, eax
jne 0x4c8cf5
xor cl, cl
jmp 0x4c8cf7
mov cl, 1
mov al, byte [ebx + 0x1199]
test al, al
je 0x4c8d05
xor eax, eax
jmp 0x4c8d0c
xor eax, eax
test cl, cl
setne al
mov esi, dword [esp + 0x14]
mov byte [esi + 0x18], al
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0xc8]
sete cl
mov byte [esi + 0x19], cl
mov edx, dword [ebx + 0x80]
mov dword [esi + 0x1c], edx
mov ecx, dword [ebx + 0x84]
mov dword [esi + 0x20], ecx
mov ebp, dword [eax + 4]
xor edi, edi
cmp ebp, edi
je 0x4c94f1
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x60], 8
je 0x4c8de2
mov al, byte [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 4]
mov dl, byte [ebp + 9]
mov edi, dword [ebp]
mov byte [esp + 0x68], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x70], dl
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 1]
mov dword [esp + 0x28], edx
push ecx
mov dword [esp + 0x28], esi
mov dword [eax + 4], esi
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x20]
mov ecx, esi
mov esi, edi
mov edi, eax
mov dword [edx], eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 4
and ecx, 3
mov eax, edx
mov edx, dword [esp + 0x24]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
mov byte [edx + ecx], 0
mov cl, byte [esp + 0x68]
mov edx, dword [esp + 0x28]
mov byte [eax + 8], cl
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], edx
mov dl, byte [esp + 0x70]
mov dword [eax + 0x10], ecx
mov byte [eax + 9], dl
mov dword [esp + 0x68], eax
jmp 0x4c8de6
mov dword [esp + 0x68], edi
mov eax, dword [esi + 0x2c]
lea edi, [esi + 0x24]
mov dword [esp + 0x70], eax
inc eax
push 0xffffffffffffffff
push eax
mov ecx, edi
mov byte [esp + 0x68], 7
call fcn.005343d0
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov dword [eax + edx*4], ecx
mov eax, dword [ebp]
push eax
call fcn.004ec2d0
mov dword [esp + 0x6c], eax
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x68]
not ecx
dec ecx
cmp ecx, 0x200
jbe 0x4c8e3c
mov byte [edi + 0x200], al
mov ecx, dword [0x641030]
push edi
mov edx, dword [ecx + 0x298]
push edx
call fcn.004edfc0
mov al, byte [ebx + 0x11e4]
add esp, 8
test al, al
je 0x4c8e6a
push 0x62560c
lea ecx, [esp + 0x70]
call fcn.0059b7ac
push edi
lea ecx, [esp + 0x70]
call fcn.0059b7ac
push 0xd
lea ecx, [esp + 0x70]
call fcn.0059b7b2
push edi
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x1c], 0
mov eax, dword [eax + 0x10]
test eax, eax
jle 0x4c8fef
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push 0x14
mov edx, dword [ecx + 0xc]
mov ebp, dword [edx + eax*4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x60], 0xc
je 0x4c8f49
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 4]
mov cl, byte [ebp + 9]
mov dl, byte [ebp + 8]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov byte [esp + 0x70], cl
mov ecx, dword [ebp + 0xc]
mov byte [esp + 0x68], dl
mov edx, dword [ebp]
lea eax, [esi + 1]
mov dword [esp + 0x30], ecx
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov dword [edi + 4], esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov esi, dword [esp + 0x30]
mov edx, ecx
mov dword [edi], eax
mov edi, eax
mov eax, dword [esp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
mov byte [edx + ecx], 0
mov cl, byte [esp + 0x68]
mov edx, dword [esp + 0x30]
mov byte [eax + 8], cl
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], edx
mov dl, byte [esp + 0x70]
mov dword [eax + 0x10], ecx
mov byte [eax + 9], dl
mov dword [esp + 0x68], eax
jmp 0x4c8f51
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
mov byte [esp + 0x64], 7
mov edi, dword [eax + 0x2c]
lea esi, [eax + 0x24]
lea ecx, [edi + 1]
push ecx
mov ecx, esi
call fcn.005343d0
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x68]
mov dword [edx + edi*4], eax
mov ecx, dword [ebp]
push ecx
call fcn.004ec2d0
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x200
jbe 0x4c8f9f
mov byte [esi + 0x200], al
mov edx, dword [0x641030]
push esi
mov eax, dword [edx + 0x298]
push eax
call fcn.004edfc0
add esp, 8
lea ecx, [esp + 0x6c]
push esi
call fcn.0059b7ac
push 0xd
lea ecx, [esp + 0x70]
call fcn.0059b7b2
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add esp, 4
inc eax
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x1c], eax
cmp eax, edx
jl 0x4c8e9f
mov esi, dword [esp + 0x14]
mov edx, dword [ebx + 0x7c]
mov al, byte [edx + 0x1c7]
test al, al
je 0x4c9114
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x6c]
lea eax, [esi + 0xc]
push eax
mov eax, dword [esi + 4]
push eax
push ecx
lea edx, [esp + 0x74]
push str.cmd:__s_group:__s___Office:__s
push edx
mov byte [esp + 0x74], 0xd
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0x14
test eax, eax
je 0x4c909e
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4c909e
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x6c]
call fcn.0041a850
push eax
push 0x6145d8
push ecx
mov ecx, esp
mov dword [esp + 0x80], esp
push str..trace.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x641030]
push str.runtime
push 0x60c77c
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]
lea ecx, [esp + 0x68]
call fcn.0041a850
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x68], 0xe
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x6145d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x6c], 0xf
mov ecx, esp
mov dword [esp + 0x3c], esp
push str..trace.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x70], 0x10
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x60c778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x70], 0xd
call fcn.00459390
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + 0x70]
mov edx, dword [eax + 0x74]
mov edi, dword [eax + 0x6c]
mov esi, dword [eax + 0x68]
sub ecx, edx
mov edx, dword [eax + 0x78]
sub ecx, edi
lea eax, [esp + 0x38]
add ecx, esi
push ecx
push edx
push str._TX:__d__d_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [ebp]
add esp, 0x10
cmp byte [eax], 1
jne 0x4c915c
cmp dword [ebp + 4], 0xc
jle 0x4c915c
add eax, 0xc
lea ecx, [esp + 0x6c]
push eax
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x6c]
mov ebp, dword [ecx - 8]
lea edx, [ebp + 1]
push edx
call sub.MFC42.DLL_operatornew
mov esi, dword [esp + 0x70]
mov ecx, ebp
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
mov dword [esp + 0x70], eax
rep movsb byte es:[edi], byte [esi]
mov byte [eax + ebp - 1], 0
call sym.ETermProxy.exe_public:_void___thiscall_CRWConfig::destructor_void_
mov eax, dword [0x641030]
add esp, 8
test eax, eax
je 0x4c9201
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4c9201
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x68]
mov edx, dword [ebx + 0x7c]
lea eax, [esp + 0x38]
push edi
push eax
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
jmp 0x4c9205
mov edi, dword [esp + 0x68]
call fcn.0044c9d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4c924f
push edi
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebx + 0x7c]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
mov byte [esp + 0x70], 0x11
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63b908]
mov byte [esp + 0x6c], 7
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4c9346
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4c9346
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x4c933a
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4c933a
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4c9335
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4c9335
mov ecx, dword [ebx + 0x7c]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x68]
mov byte [esp + 0x60], 0x12
mov eax, dword [edx - 8]
test eax, eax
je 0x4c9327
mov al, byte [esi + 0x80]
test al, al
jne 0x4c9327
mov eax, dword [ebx + 0x7c]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4c9327
push edi
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebx + 0x7c]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x70], 0x13
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x6c], 0x12
call fcn.00402460
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4c9269
push edi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
mov ecx, ebx
call fcn.004d0980
test al, al
jne 0x4c94bc
mov edx, dword [0x641030]
add edx, 0x210
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x641030]
xor edi, edi
mov edx, dword [eax + 0x318]
lea ebx, [eax + 0x310]
mov esi, edx
mov eax, dword [ebx + 4]
mov dword [esp + 0x34], esi
lea ebp, [esi + 1]
cmp ebp, edi
jne 0x4c93b4
cmp eax, edi
je 0x4c93a9
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
jmp 0x4c949f
cmp eax, edi
jne 0x4c93ec
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x4c949f
mov ecx, dword [ebx + 0xc]
cmp ebp, ecx
jg 0x4c940a
cmp ebp, edx
jle 0x4c9402
mov ecx, ebp
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 8], ebp
jmp 0x4c949f
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x4c9434
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4c9428
mov eax, 4
jmp 0x4c9434
cmp eax, 0x400
jle 0x4c9434
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x68], eax
jl 0x4c9442
mov dword [esp + 0x68], ebp
mov eax, dword [esp + 0x68]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x74], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 8]
mov ecx, ebp
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
add esp, 8
mov dword [ebx + 4], eax
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ecx
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x14]
mov dword [edx + esi*4], eax
mov ecx, dword [0x641030]
add ecx, 0x208
mov edx, dword [ecx]
call dword [edx + 0x1c]
jmp 0x4c94cb
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x48]
mov eax, dword [ebx]
push ecx
push edx
mov ecx, ebx
call dword [eax + 0x54]
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6c]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
jmp 0x4c96e3
cmp dword [ebx + 0x7c], edi
je 0x4c96c2
mov ecx, dword [ebx + 0x80]
mov eax, dword [ebx]
inc ecx
push ecx
push 0x6255dc
mov ecx, ebx
call dword [eax + 0x94]
mov eax, dword [0x641030]
cmp eax, edi
je 0x4c957b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4c957b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebx + 0x7c]
push 0x6255cc
push str._TX_
push edi
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x641030]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c9d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4c95c9
push 0x6255cc
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebx + 0x7c]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
mov byte [esp + 0x70], 9
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63b908]
mov byte [esp + 0x6c], 7
call fcn.00401140
mov eax, dword [0x63b910]
cmp eax, edi
je 0x4c96c2
cmp dword [eax + 0x50], edi
jle 0x4c96c2
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4c96b6
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4c96b6
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4c96b1
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4c96b1
mov ecx, dword [ebx + 0x7c]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x68]
mov byte [esp + 0x60], 0xa
mov eax, dword [edx - 8]
test eax, eax
je 0x4c96a3
mov al, byte [esi + 0x80]
test al, al
jne 0x4c96a3
mov eax, dword [ebx + 0x7c]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4c96a3
push 0x6255cc
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebx + 0x7c]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x70], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x6c], 0xa
call fcn.00402460
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4c95e5
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6c]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 0xc