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

Disassembly:
push 0xffffffffffffffff
push 0x4fe49d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x6c], 1
call sub.MFC42.DLL_CString::CString_4
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 2
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jg 0x456d8e
lea ecx, [ebp + 0x20]
push 0x5c
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov byte [esp + 0x74], 3
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call esi
mov edi, eax
cmp edi, ebx
jne 0x456ee1
mov eax, dword [ebp + 0x24]
lea ebx, [ebp + 0x24]
push 0x5b2c3c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x456edf
push 0x5c
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jl 0x456e12
mov ecx, dword [esp + 0x74]
push 0x5c
mov edi, dword [ecx - 8]
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::ReverseFind
sub edi, eax
lea edx, [esp + 0x18]
dec edi
lea ecx, [esp + 0x74]
push edi
push edx
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x14]
push eax
call fcn.0042cc90
add esp, 4
push str.Plugin_
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x74], 6
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x74], 8
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x74], 9
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0x74], 2
call fcn.00410470
add esp, 0xc
lea ecx, [esp + 0x74]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push ecx
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x74]
push ecx
call esi
mov edi, eax
xor ebx, ebx
push edi
mov ecx, ebp
call fcn.00456ca0
test eax, eax
je 0x457347
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0xb
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x4c], 0x5396f8
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
push 0x5b2c3c
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0xd
mov dword [esp + 0x40], ebx
call sub.MFC42.DLL_CString::operator_2
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x74]
lea ecx, [esp + 0x38]
push edx
mov byte [esp + 0x6c], 0xe
mov dword [esp + 0x40], edi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetPluginDescription
push eax
call esi
cmp eax, ebx
je 0x456f7a
call eax
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x3c]
push str.GetCommandCount
push ecx
call esi
xor edi, edi
cmp eax, edi
je 0x456f94
call eax
mov ebx, eax
cmp ebx, edi
jne 0x456fb6
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x456fa9
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
jmp 0x4570e9
mov edi, dword [esp + 0x50]
test edi, edi
jne 0x456ff4
lea edi, [ebx + ebx*4]
shl edi, 2
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [esp + 0x54], 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 [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
jmp 0x4570e7
mov ecx, dword [esp + 0x58]
cmp ebx, ecx
jg 0x45702d
mov ecx, dword [esp + 0x54]
cmp ebx, ecx
jle 0x457024
mov eax, ebx
sub eax, ecx
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*4]
lea ecx, [eax + eax*4]
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esp + 0x54], ebx
jmp 0x4570e7
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x45705a
mov eax, dword [esp + 0x54]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x45704e
mov eax, 4
jmp 0x45705a
cmp eax, 0x400
jle 0x45705a
mov eax, 0x400
add eax, ecx
cmp ebx, eax
jge 0x457066
mov dword [esp + 0x14], eax
jmp 0x45706c
mov dword [esp + 0x14], ebx
mov eax, ebx
lea eax, [eax + eax*4]
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov edx, eax
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
mov edi, edx
lea ecx, [eax + eax*4]
mov dword [esp + 0x1c], edx
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x58]
sub eax, ecx
lea ecx, [ecx + ecx*4]
lea edi, [edx + ecx*4]
lea ecx, [eax + eax*4]
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x54]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 8
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edx
xor edi, edi
mov eax, dword [esp + 0x3c]
push str.GetFormatVersion
push eax
call esi
cmp eax, edi
je 0x457111
call eax
cmp eax, 2
mov dword [esp + 0x44], eax
jb 0x457111
cmp eax, 3
mov dword [esp + 0x48], 1
jbe 0x457115
mov dword [esp + 0x48], edi
mov ecx, dword [esp + 0x3c]
push str.GetCommand
push ecx
call esi
mov esi, eax
xor edi, edi
cmp esi, edi
mov dword [esp + 0x20], esi
je 0x457199
cmp ebx, edi
mov dword [esp + 0x18], edi
jle 0x457199
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x44]
push edi
cmp eax, 3
jne 0x457149
call esi
mov eax, dword [eax]
jmp 0x45714e
call esi
add esp, 4
test eax, eax
je 0x457185
mov edx, dword [esp + 0x50]
mov ecx, 5
mov esi, eax
mov eax, dword [esp + 0x14]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
lea edi, [edx + eax]
mov ecx, 5
lea esi, [esp + 0x24]
mov dword [esp + 0x34], 0
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
inc edi
add ecx, 0x14
cmp edi, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
jl 0x457139
mov eax, dword [ebp + 0x64]
mov esi, dword [ebp + 0x5c]
test eax, eax
jne 0x4571d3
mov ecx, dword [ebp + 0x6c]
push 0x30
lea edx, [ebp + 0x68]
push ecx
push edx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [ebp + 0x6c]
lea edx, [ecx + ecx*2]
shl edx, 4
dec ecx
test ecx, ecx
lea eax, [edx + eax - 0x2c]
jl 0x4571d3
inc ecx
mov edx, dword [ebp + 0x64]
mov dword [eax], edx
mov dword [ebp + 0x64], eax
sub eax, 0x30
dec ecx
jne 0x4571c5
mov edi, dword [ebp + 0x64]
push 1
mov eax, dword [edi]
mov dword [ebp + 0x64], eax
mov dword [edi + 4], esi
mov dword [edi], 0
mov esi, dword [ebp + 0x60]
inc esi
mov dword [ebp + 0x60], esi
lea esi, [edi + 8]
push esi
call fcn.0045ac50
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x40]
push eax
lea ecx, [esi + 8]
mov dword [esi + 4], edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x4c]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x48]
push eax
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], edx
call fcn.00459d70
mov eax, dword [ebp + 0x5c]
xor ebx, ebx
cmp eax, ebx
je 0x45723e
mov dword [eax], edi
jmp 0x457241
mov dword [ebp + 0x58], edi
mov dword [ebp + 0x5c], edi
mov ebp, dword [esp + 0x70]
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_3
lea edi, [ebp + 8]
mov byte [esp + 0x68], 0xf
mov ecx, edi
call sub.MFC42.DLL_CString::CString_3
lea esi, [ebp + 0x14]
mov dword [esi], 0x5396f8
mov dword [esi + 4], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0x11
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x40]
push eax
mov ecx, edi
mov dword [ebp + 4], edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
mov dword [ebp + 0xc], ecx
push 0xffffffffffffffff
push eax
mov ecx, esi
mov dword [ebp + 0x10], edx
call fcn.00459c10
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 4]
cmp ecx, ebx
je 0x4572e6
mov dword [esp + 0x18], ecx
mov ecx, 5
mov esi, edx
mov edi, eax
add eax, 0x14
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
add edx, 0x14
dec ecx
mov dword [esp + 0x18], ecx
jne 0x4572c6
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], 1
cmp edx, ebx
mov byte [esp + 0x68], 0x12
mov dword [esp + 0x4c], 0x5396f8
je 0x457308
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x4c], 0x507704
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 0
call sub.MFC42.DLL_CString::CString
mov eax, ebp
jmp 0x45738a
push ecx
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esp + 0x74]
mov ecx, ebp
push esi
call fcn.004573a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x68], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 0
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 8