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

Disassembly:
jmp 0x405b80
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5250f8
push eax
mov dword fs:[0], esp
sub esp, 0x54
xor eax, eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
or ecx, 0xffffffff
lea ebx, [esi + 0xc]
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x405bc5
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
mov eax, dword [esi + 0x130]
test eax, eax
je 0x405c04
mov eax, dword [esi + 0x128]
xor edi, edi
test eax, eax
jle 0x405c04
cmp edi, eax
jge 0x405bee
test edi, edi
jl 0x405bee
mov eax, dword [esi + 0x124]
mov eax, dword [eax + edi*4]
jmp 0x405bf0
xor eax, eax
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x128]
add esp, 4
inc edi
cmp edi, eax
jl 0x405bdf
mov eax, dword [esi + 0x124]
push eax
call sub.MFC42.DLL_operatordelete
push 0x80
call sub.MFC42.DLL_operatornew
add esp, 8
mov ebp, 0x1f
mov edi, 0x40
mov dword [esi + 0x124], eax
push ebx
mov dword [esi + 0x128], 0
mov dword [esi + 0x12c], ebp
mov dword [esi + 0x134], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x118], eax
jne 0x405c6a
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
mov ebx, 1
push 0x80
mov dword [esi + 0x11c], ebx
mov dword [esp + 0x30], vtable.Table_struct_AdobeFilterPlugin::ResInfo_.0
call sub.MFC42.DLL_operatornew
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
push 0x80
mov dword [esp + 0x74], eax
mov dword [esp + 0x50], vtable.Table_struct_AdobeFilterPlugin::ResInfo_.0
call sub.MFC42.DLL_operatornew
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edi
push 0x80
mov byte [esp + 0x78], bl
mov dword [esp + 0x1c], vtable.Table_struct_AdobeFilterPlugin::ResInfo_.0
call sub.MFC42.DLL_operatornew
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], edi
mov edx, dword [esi + 0x118]
mov edi, dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 2
push ecx
push 0x4015f0
push str.PiPL
push edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x30], ebx
call edi
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x405d65
mov ecx, dword [esi + 0x118]
lea eax, [esp + 0x48]
push eax
push 0x4015f0
push str.PiMI
push ecx
call edi
mov eax, dword [esi + 0x118]
lea edx, [esp + 0x10]
push edx
push 0x4015f0
push str._8BFM
push eax
call edi
mov eax, dword [esp + 0x34]
xor ecx, ecx
jmp 0x405d67
mov ecx, ebx
mov edx, dword [esp + 0x50]
test eax, eax
jne 0x405e6f
test edx, edx
jne 0x405e6f
mov eax, dword [esp + 0x20]
mov edi, vtable.Table_struct_AdobeFilterPlugin::ResInfo_.0
test eax, eax
mov dword [esp + 0x10], edi
je 0x405dbb
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jle 0x405dbb
cmp esi, eax
jge 0x405da7
test esi, esi
jl 0x405da7
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + esi*4]
jmp 0x405da9
xor eax, eax
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x1c]
add esp, 4
inc esi
cmp esi, eax
jl 0x405d9a
mov edx, dword [esp + 0x14]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x5c]
add esp, 4
test eax, eax
mov dword [esp + 0x48], edi
je 0x405e03
mov eax, dword [esp + 0x50]
xor esi, esi
test eax, eax
jle 0x405e03
cmp esi, eax
jge 0x405def
test esi, esi
jl 0x405def
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + esi*4]
jmp 0x405df1
xor eax, eax
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x54]
add esp, 4
inc esi
cmp esi, eax
jl 0x405de2
mov ecx, dword [esp + 0x4c]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x40]
add esp, 4
test eax, eax
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x2c], edi
je 0x405e4a
mov eax, dword [esp + 0x34]
xor esi, esi
test eax, eax
jle 0x405e4a
push esi
lea ecx, [esp + 0x30]
call fcn.00401faa
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x38]
add esp, 4
inc esi
cmp esi, eax
jl 0x405e2e
mov edx, dword [esp + 0x30]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 0xfffffffd
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
test ecx, ecx
jne 0x405e75
mov eax, edx
test ecx, ecx
mov dword [esi + 8], eax
je 0x405e8a
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.00401050
jmp 0x405e9b
lea ecx, [esp + 0x10]
lea edx, [esp + 0x48]
push ecx
push edx
mov ecx, esi
call fcn.00402af9
mov eax, dword [esp + 0x20]
mov byte [esp + 0x6c], bl
test eax, eax
mov dword [esp + 0x10], vtable.Table_struct_AdobeFilterPlugin::ResInfo_.0
je 0x405ed5
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jle 0x405ed5
push esi
lea ecx, [esp + 0x14]
call fcn.00401faa
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x1c]
add esp, 4
inc esi
cmp esi, eax
jl 0x405eb9
mov eax, dword [esp + 0x14]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0
call fcn.004019a6
lea ecx, [esp + 0x2c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004019a6
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret