Function at 0x4ddb20
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x54c6f9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
cmp dword [ebp + 0x40], 1
je 0x4ddc19
cmp dword [0x5c7004], 0
je 0x4de02a
push 0x55ae9c
lea ecx, [esp + 0x20]
call dword [0x55a504]
mov dword [esp + 0x30], 0
push str.PLGE
lea ecx, [esp + 0x40]
call dword [0x55a504]
mov byte [esp + 0x30], 1
lea eax, [esp + 0x24]
lea ecx, [ebp + 0x50]
push eax
mov ebx, str.WARNING:_Plugin_loaded_or_running__cant_init__
call fcn.004393e0
add esp, 4
mov byte [esp + 0x30], 2
push eax
lea ecx, [esp + 0x24]
push ecx
mov edi, 0x561420
call fcn.0040f2b0
add esp, 8
mov byte [esp + 0x30], 3
mov esi, dword [0x5c7004]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x40]
push ecx
mov ecx, 5
mov ebx, eax
call fcn.00433ab0
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
jmp 0x4de024
lea ebx, [ebp + 0x3c]
push 0x5c
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
inc eax
push eax
push 0
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
mov esi, 4
mov dword [esp + 0x30], esi
mov eax, dword [0x5c7000]
add eax, 0x30
push eax
lea ecx, [esp + 0x3c]
call dword [0x55a520]
mov byte [esp + 0x30], 5
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
mov eax, dword [esp + 0x38]
push 0
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
cmp eax, 0xffffffff
mov eax, dword [0x5c7000]
jle 0x4ddca4
add eax, 0x30
push eax
lea ecx, [esp + 0x28]
push ecx
mov edi, str.Libraries32_
call fcn.0040f2b0
add esp, 8
mov byte [esp + 0x30], 6
jmp 0x4ddcbf
add eax, 0x10
push eax
lea edx, [esp + 0x28]
push edx
mov edi, str.ComponentsLibraries_
call fcn.0040f2b0
add esp, 8
mov byte [esp + 0x30], 7
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov byte [esp + 0x30], 5
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp + 0x38], eax
mov eax, dword [ebx]
mov edi, dword [eax - 0xc]
test edi, edi
jle 0x4ddd33
lea esp, [esp]
push edi
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
cmp ax, 0x5c
je 0x4ddd06
dec edi
test edi, edi
jg 0x4ddcf0
jmp 0x4ddd33
inc edi
push edi
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
mov byte [esp + 0x30], 8
push eax
lea ecx, [ebp + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov byte [esp + 0x30], 5
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp + 0x38]
test eax, eax
jne 0x4ddd45
mov dword [ebp + 0x40], esi
mov dword [ebp + 0x38], eax
jmp 0x4de009
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.queryPlugInfo
push eax
call edi
mov edx, dword [ebp + 0x38]
push str.pluginLoad
push edx
mov dword [ebp], eax
call edi
mov dword [ebp + 4], eax
mov eax, dword [ebp + 0x38]
push str.pluginUnload
push eax
call edi
mov ecx, dword [ebp]
mov dword [ebp + 8], eax
test ecx, ecx
jne 0x4dddb7
cmp dword [ebp + 4], ecx
jne 0x4dddac
test eax, eax
jne 0x4dddac
mov ecx, dword [ebp + 0x38]
push str._queryPlugInfo_8
push ecx
call edi
mov edx, dword [ebp + 0x38]
push str._pluginLoad_8
push edx
mov dword [ebp], eax
call edi
mov dword [ebp + 4], eax
mov eax, dword [ebp + 0x38]
push str._pluginUnload_4
push eax
call edi
mov dword [ebp + 8], eax
mov ecx, dword [ebp]
test ecx, ecx
je 0x4ddf1e
cmp dword [ebp + 4], 0
je 0x4ddf1e
cmp dword [ebp + 8], 0
je 0x4ddf1e
push 0xb0e71
push 9
call ecx
mov edi, eax
cmp dword [edi], 0x50
je 0x4ddebe
mov eax, dword [esp + 0x3c]
mov esi, ebp
call fcn.004de860
lea ecx, [esp + 0x3c]
mov dword [ebp + 0x40], 4
call dword [0x55a6c4]
mov byte [esp + 0x30], 0xd
push str.wtwPluginManager
lea ecx, [esp + 0x20]
call dword [0x55a504]
mov byte [esp + 0x30], 0xe
mov ecx, dword [ebx]
mov eax, dword [0x5c6f7c]
push ecx
push str.Wtyczka___s__jest_za_stara__jej_struktura_wtwPluginInfo_ma_nieprawid
push 0x3ee
lea edx, [esp + 0x28]
push edx
call fcn.00504820
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
mov byte [esp + 0x30], 0xd
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp dword [0x5c7004], 0
je 0x4ddffa
push str.Image_Warning32
lea ecx, [esp + 0x24]
call dword [0x55a504]
mov byte [esp + 0x30], 0xf
push 0x55ae9c
lea ecx, [esp + 0x20]
call dword [0x55a504]
mov byte [esp + 0x30], 0x10
mov esi, dword [0x5c7004]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, 0xfffffffe
lea ebx, [esp + 0x44]
call fcn.00433ab0
mov byte [esp + 0x30], 0xf
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x30], 0xd
lea ecx, [esp + 0x20]
jmp 0x4ddff4
mov eax, dword [edi + 0x38]
test eax, eax
jne 0x4ddeca
mov eax, str.Error
push eax
mov eax, dword [edi + 4]
push eax
push str.Plugin:__s__GUID:__s
push 6
mov ecx, str.PLMN
call fcn.004151b0
add esp, 0x10
mov esi, edi
mov ecx, ebp
call fcn.004dd9c0
mov dword [ebp + 0x40], 2
mov byte [esp + 0x30], 4
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
jmp 0x4de02c
mov eax, dword [esp + 0x3c]
mov esi, ebp
call fcn.004de860
lea ecx, [esp + 0x3c]
mov dword [ebp + 0x40], 4
call dword [0x55a6c4]
mov byte [esp + 0x30], 9
push str.wtwPluginManager
lea ecx, [esp + 0x24]
call dword [0x55a504]
mov byte [esp + 0x30], 0xa
mov ecx, dword [ebx]
mov eax, dword [0x5c6f7c]
push ecx
push str.UWAGA:_Wykryto__i
push 0x3ed
lea edx, [esp + 0x2c]
push edx
call fcn.00504820
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
mov byte [esp + 0x30], 9
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp dword [0x5c7004], 0
je 0x4ddffa
push str.Image_Warning32
lea ecx, [esp + 0x20]
call dword [0x55a504]
mov byte [esp + 0x30], 0xb
push 0x55ae9c
lea ecx, [esp + 0x24]
call dword [0x55a504]
mov byte [esp + 0x30], 0xc
mov esi, dword [0x5c7004]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, 0xfffffffe
lea ebx, [esp + 0x44]
call fcn.00433ab0
mov byte [esp + 0x30], 0xb
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x30], 9
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x30], 5
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x30], 4
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8