Function at 0x4c69d0
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5aeff6
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 + 0x78]
xor esi, esi
cmp eax, esi
push edi
mov byte [esp + 0x13], 1
je 0x4c7a95
mov ebp, dword [esp + 0x6c]
cmp dword [ebp], 0x7d0
jge 0x4c7a95
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x6c]
mov byte [eax], 0
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebx + 0xcc]
mov dword [ebp], esi
mov edx, dword [ebx + 0x78]
mov dword [esp + 0x60], esi
mov dword [esp + 0x18], ecx
cmp dword [edx + 0x20], esi
je 0x4c6f85
mov esi, dword [esp + 0x68]
mov ax, word [ebx + 0x70]
push 0xa
mov word [esi], ax
mov eax, dword [ebp]
add eax, 2
mov dword [ebp], eax
mov ecx, dword [ebx + 0x78]
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 + 0x78]
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 + 0x78]
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 + 0x78]
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 + 0xc4]
cmp edi, edx
sete cl
mov byte [esi + eax], cl
mov ecx, dword [ebp]
inc ecx
mov dword [ebp], ecx
mov dl, byte [ebx + 0x7c]
mov esi, ecx
mov byte [esi + eax], dl
mov esi, dword [ebp]
inc esi
mov dword [ebp], esi
mov cl, byte [ebx + 0x80]
mov byte [esi + eax], cl
mov edx, dword [ebp]
inc edx
mov dword [ebp], edx
mov eax, dword [edi + 4]
test eax, eax
je 0x4c6b5b
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.004c7ab0
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 0x4c6b98
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.004c7ab0
mov dl, byte [esp + 0x13]
and dl, al
mov eax, dword [edi + 0x10]
inc esi
mov byte [esp + 0x13], dl
cmp esi, eax
jl 0x4c6b68
mov al, byte [esp + 0x13]
test al, al
je 0x4c6db6
mov eax, dword [ebx + 0x34]
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 [0x635400]
add esp, 0x10
test eax, eax
je 0x4c6c43
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4c6c43
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 + 0x78]
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 [0x635400]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb7d0
mov eax, dword [0x635400]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c560
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4c6c98
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 + 0x78]
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 [0x62fc58]
mov byte [esp + 0x6c], 0
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4c6d9c
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4c6d9c
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4c6d90
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4c6d90
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4c6d8b
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4c6d8b
mov ecx, dword [ebx + 0x78]
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 0x4c6d7d
mov al, byte [esi + 0x80]
test al, al
jne 0x4c6d7d
mov eax, dword [ebx + 0x78]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4c6d7d
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 + 0x78]
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.004024b0
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4c6cb8
lea ecx, [esp + 0x6c]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
jmp 0x4c7a97
mov eax, dword [ebx + 0x7c]
mov edx, dword [ebx]
inc eax
mov ecx, ebx
push eax
push 0x61a5a4
call dword [edx + 0x90]
mov eax, dword [0x635400]
test eax, eax
je 0x4c6e35
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4c6e35
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebx + 0x78]
push 0x61a588
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 [0x635400]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb7d0
mov edx, dword [0x635400]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4c6e83
push 0x61a588
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebx + 0x78]
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 [0x62fc58]
mov byte [esp + 0x6c], 0
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4c7a84
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x4c7a84
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4c6f74
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4c6f74
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4c6f6f
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4c6f6f
mov ecx, dword [ebx + 0x78]
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 0x4c6f61
mov al, byte [esi + 0x80]
test al, al
jne 0x4c6f61
mov eax, dword [ebx + 0x78]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4c6f61
push 0x61a588
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebx + 0x78]
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.004024b0
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4c6ea3
jmp 0x4c7a84
push 0x38
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, esi
je 0x4c6fd3
mov ebp, eax
mov dword [eax + 0x24], 0x5cc13c
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 0x4c6fd9
mov dword [esp + 0x14], esi
mov ebp, esi
mov eax, dword [ebx + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004ea7d0
add esp, 4
lea ecx, [esp + 0x20]
mov dword [ebp + 8], eax
push ecx
mov ecx, ebx
call fcn.004cf8d0
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.004ea7d0
add esp, 4
mov dword [ebp + 4], eax
lea eax, [esp + 0x68]
mov ecx, ebx
push ebp
push eax
call fcn.004cf7b0
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 + 0x78]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov dl, byte [ecx + 0xa4]
mov byte [ebp + 0x14], dl
mov eax, dword [ebx + 0x78]
mov cx, word [eax + 0xac]
mov word [ebp + 0x16], cx
mov ebp, dword [ebp + 4]
mov eax, dword [ebx + 0x1214]
push ebp
push eax
call esi
add esp, 8
test eax, eax
jne 0x4c70af
mov edx, dword [esp + 0x70]
mov eax, dword [ebx + 0x1210]
push edx
push eax
call esi
add esp, 8
test eax, eax
jne 0x4c70af
xor cl, cl
jmp 0x4c70b1
mov cl, 1
mov al, byte [ebx + 0x1195]
test al, al
je 0x4c70bf
xor eax, eax
jmp 0x4c70c6
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 + 0xc4]
sete cl
mov byte [esi + 0x19], cl
mov edx, dword [ebx + 0x7c]
mov dword [esi + 0x1c], edx
mov ecx, dword [ebx + 0x80]
mov dword [esi + 0x20], ecx
mov ebp, dword [eax + 4]
xor edi, edi
cmp ebp, edi
je 0x4c78a8
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x60], 8
je 0x4c7199
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 0x4c719d
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.00533060
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.004ea6e0
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, 0xc8
jbe 0x4c71f3
mov byte [edi + 0xc8], al
mov ecx, dword [0x635400]
push edi
mov edx, dword [ecx + 0x298]
push edx
call fcn.004ec4f0
mov al, byte [ebx + 0x11e0]
add esp, 8
test al, al
je 0x4c7221
push 0x61a584
lea ecx, [esp + 0x70]
call fcn.005928ca
push edi
lea ecx, [esp + 0x70]
call fcn.005928ca
push 0xd
lea ecx, [esp + 0x70]
call fcn.005928d0
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 0x4c73a6
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 0x4c7300
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 0x4c7308
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.00533060
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x68]
mov dword [edx + edi*4], eax
mov ecx, dword [ebp]
push ecx
call fcn.004ea6e0
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, 0xc8
jbe 0x4c7356
mov byte [esi + 0xc8], al
mov edx, dword [0x635400]
push esi
mov eax, dword [edx + 0x298]
push eax
call fcn.004ec4f0
add esp, 8
lea ecx, [esp + 0x6c]
push esi
call fcn.005928ca
push 0xd
lea ecx, [esp + 0x70]
call fcn.005928d0
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 0x4c7256
mov esi, dword [esp + 0x14]
mov edx, dword [ebx + 0x78]
mov al, byte [edx + 0x1c7]
test al, al
je 0x4c74cb
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 [0x635400]
add esp, 0x14
test eax, eax
je 0x4c7455
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4c7455
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x6c]
call fcn.0041a8d0
push eax
push 0x6095c0
push ecx
mov ecx, esp
mov dword [esp + 0x80], esp
push str..trace.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x635400]
push str.runtime
push 0x601760
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb7d0
mov edx, dword [0x635400]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
lea ecx, [esp + 0x68]
call fcn.0041a8d0
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 0x6095c0
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 0x60175c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x62ffdc]
mov byte [esp + 0x70], 0xd
call fcn.00458cb0
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebx + 0x34]
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 0x4c7513
cmp dword [ebp + 4], 0xc
jle 0x4c7513
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 fcn.004eb9d0
mov eax, dword [0x635400]
add esp, 8
test eax, eax
je 0x4c75b8
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4c75b8
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x68]
mov edx, dword [ebx + 0x78]
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 [0x635400]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb7d0
mov edx, dword [0x635400]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
jmp 0x4c75bc
mov edi, dword [esp + 0x68]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4c7606
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 + 0x78]
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 [0x62fc58]
mov byte [esp + 0x6c], 7
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4c76fd
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4c76fd
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x4c76f1
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4c76f1
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4c76ec
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4c76ec
mov ecx, dword [ebx + 0x78]
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 0x4c76de
mov al, byte [esi + 0x80]
test al, al
jne 0x4c76de
mov eax, dword [ebx + 0x78]
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 0x4c76de
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 + 0x78]
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.004024b0
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4c7620
push edi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
mov ecx, ebx
call fcn.004ced10
test al, al
jne 0x4c7873
mov edx, dword [0x635400]
add edx, 0x210
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x635400]
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 0x4c776b
cmp eax, edi
je 0x4c7760
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 0x4c7856
cmp eax, edi
jne 0x4c77a3
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 0x4c7856
mov ecx, dword [ebx + 0xc]
cmp ebp, ecx
jg 0x4c77c1
cmp ebp, edx
jle 0x4c77b9
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 0x4c7856
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x4c77eb
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4c77df
mov eax, 4
jmp 0x4c77eb
cmp eax, 0x400
jle 0x4c77eb
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x68], eax
jl 0x4c77f9
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 [0x635400]
add ecx, 0x208
mov edx, dword [ecx]
call dword [edx + 0x1c]
jmp 0x4c7882
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
mov eax, dword [ebx]
push ecx
push edx
mov ecx, ebx
call dword [eax + 0x50]
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 0x4c7a97
cmp dword [ebx + 0x78], edi
je 0x4c7a76
mov ecx, dword [ebx + 0x7c]
mov eax, dword [ebx]
inc ecx
push ecx
push 0x61a554
mov ecx, ebx
call dword [eax + 0x90]
mov eax, dword [0x635400]
cmp eax, edi
je 0x4c792f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4c792f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebx + 0x78]
push 0x61a544
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 [0x635400]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb7d0
mov edx, dword [0x635400]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4c797d
push 0x61a544
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebx + 0x78]
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 [0x62fc58]
mov byte [esp + 0x6c], 7
call fcn.00401140
mov eax, dword [0x62fc60]
cmp eax, edi
je 0x4c7a76
cmp dword [eax + 0x50], edi
jle 0x4c7a76
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4c7a6a
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4c7a6a
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4c7a65
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4c7a65
mov ecx, dword [ebx + 0x78]
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 0x4c7a57
mov al, byte [esi + 0x80]
test al, al
jne 0x4c7a57
mov eax, dword [ebx + 0x78]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4c7a57
push 0x61a544
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push str._TX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebx + 0x78]
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.004024b0
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x4c7999
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