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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b34f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, ecx
cmp dword [edi + 0x78], esi
je 0x4c733e
xor ebp, ebp
cmp esi, ebp
jne 0x4c72da
mov al, byte [edi + 0x119a]
mov bl, 1
cmp al, bl
jne 0x4c72da
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi + 0x78]
push ebp
push eax
lea ecx, [esp + 0x18]
push str._ENTER__d______d
push ecx
mov dword [esp + 0x3c], ebp
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0x10
cmp eax, ebp
je 0x4c7183
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4c7183
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x10]
lea eax, [edi + 0x1a90]
push edx
push eax
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x61f490
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63ac10]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c8d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4c71d0
mov ecx, dword [esp + 0x10]
lea edx, [edi + 0x1a90]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x38], bl
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x61f490
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x635468]
mov byte [esp + 0x38], 0
call fcn.00401150
mov eax, dword [0x635470]
cmp eax, ebp
je 0x4c72c9
cmp dword [eax + 0x50], ebp
jle 0x4c72c9
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x4c72b9
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4c72b9
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4c72b4
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4c72b4
push 0x61f490
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x2c], 2
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c72a6
mov al, byte [esi + 0x80]
test al, al
jne 0x4c72a6
mov eax, dword [esi + 0x84]
push 0x61f490
push eax
call ebx
add esp, 8
test eax, eax
jne 0x4c72a6
mov edx, dword [esp + 0x10]
lea eax, [edi + 0x1a90]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x38], 3
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x61f490
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x38], 2
call fcn.004024d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4c71ec
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov dword [edi + 0x78], esi
call fcn.004cc000
mov ebx, dword [edi + 0x78]
xor ecx, ecx
cmp ebx, 6
push 0
sete cl
inc ecx
push 0
push 0
push ecx
mov ecx, dword [0x6357f8]
push 0
push 2
push 0
push eax
call sub.MFC42.DLL_CListCtrl::SetItem
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
push esi
lea ecx, [esp + 0x1c]
push 0x606d44
push ecx
mov dword [esp + 0x38], 4
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4