Function at 0x405550
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0x537688
push 0x90
call fcn.004fce7f
mov edi, eax
add esp, 8
mov dword [ebp - 4], edi
test edi, edi
je 0x4058db
push str.bdec.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x4058cd
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Init
push eax
call esi
xor ebx, ebx
mov dword [edi + 4], eax
push str.InitEx
push dword [edi]
test eax, eax
sete bl
call esi
test eax, eax
mov dword [edi + 8], eax
push str.RegisterCallbackA
push dword [edi]
lea esi, [ebx + 1]
cmovne esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call ebx
mov ecx, dword [ebp - 4]
test eax, eax
mov dword [edi + 0xc], eax
lea edi, [esi + 1]
push str.SetOptionA
cmovne edi, esi
push dword [ecx]
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
push str.SetOptionVarLenA
test eax, eax
push dword [ecx]
mov dword [ecx + 0x10], eax
cmovne esi, edi
call ebx
mov ecx, dword [ebp - 4]
lea edi, [esi + 1]
push str.OverWriteReservedKeyInt64A
test eax, eax
push dword [ecx]
mov dword [ecx + 0x14], eax
cmovne edi, esi
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
push str.OverWriteReservedKeyInt64W
test eax, eax
push dword [ecx]
mov dword [ecx + 0x18], eax
cmovne esi, edi
call ebx
mov ecx, dword [ebp - 4]
lea edi, [esi + 1]
push str.OverWriteReservedKeyStringA
test eax, eax
push dword [ecx]
mov dword [ecx + 0x1c], eax
cmovne edi, esi
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
push str.OverWriteReservedKeyStringW
test eax, eax
push dword [ecx]
mov dword [ecx + 0x20], eax
cmovne esi, edi
call ebx
mov ecx, dword [ebp - 4]
lea edi, [esi + 1]
push str.CreateEcEventW
test eax, eax
push dword [ecx]
mov dword [ecx + 0x24], eax
cmovne edi, esi
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
test eax, eax
mov dword [ecx + 0x28], eax
push str.CreateEcEventA
push dword [ecx]
cmovne esi, edi
call ebx
mov ecx, dword [ebp - 4]
lea edi, [esi + 1]
push str.AddKeyValueEventW
test eax, eax
push dword [ecx]
mov dword [ecx + 0x2c], eax
cmovne edi, esi
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
push str.AddKeyValueEventA
test eax, eax
push dword [ecx]
mov dword [ecx + 0x30], eax
cmovne esi, edi
call ebx
mov ecx, dword [ebp - 4]
lea edi, [esi + 1]
push str.AddKeyValueEventInt64W
test eax, eax
push dword [ecx]
mov dword [ecx + 0x34], eax
cmovne edi, esi
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
push str.AddKeyValueEventInt64A
test eax, eax
push dword [ecx]
mov dword [ecx + 0x38], eax
cmovne esi, edi
call ebx
mov ecx, dword [ebp - 4]
lea edi, [esi + 1]
push str.AddKeyValueEventDoubleW
test eax, eax
push dword [ecx]
mov dword [ecx + 0x3c], eax
cmovne edi, esi
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
push str.AddKeyValueEventDoubleA
test eax, eax
push dword [ecx]
mov dword [ecx + 0x40], eax
cmovne esi, edi
call ebx
mov ecx, dword [ebp - 4]
lea edi, [esi + 1]
push str.AddKeyValueEventArray
test eax, eax
push dword [ecx]
mov dword [ecx + 0x44], eax
cmovne edi, esi
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
push str.CreateChildEvent
test eax, eax
push dword [ecx]
mov dword [ecx + 0x48], eax
cmovne esi, edi
call ebx
mov ecx, dword [ebp - 4]
lea edi, [esi + 1]
push str.CreateArrayOfEvents
test eax, eax
push dword [ecx]
mov dword [ecx + 0x4c], eax
cmovne edi, esi
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
test eax, eax
cmovne esi, edi
mov dword [ecx + 0x54], eax
push str.AppendEventToArray
push dword [ecx]
call ebx
mov ecx, dword [ebp - 4]
lea edi, [esi + 1]
push str.AppendIntegerToArray
test eax, eax
push dword [ecx]
mov dword [ecx + 0x58], eax
cmovne edi, esi
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
push str.AppendValueToParentW
test eax, eax
push dword [ecx]
mov dword [ecx + 0x5c], eax
cmovne esi, edi
call ebx
mov ecx, dword [ebp - 4]
lea edi, [esi + 1]
push str.ReloadCommonFields
test eax, eax
push dword [ecx]
mov dword [ecx + 0x68], eax
cmovne edi, esi
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
push str.ApplySettingsOnTheFly
test eax, eax
push dword [ecx]
mov dword [ecx + 0x6c], eax
cmovne esi, edi
call ebx
mov ecx, dword [ebp - 4]
lea edi, [esi + 1]
push str.AppendValueToParentA
test eax, eax
push dword [ecx]
mov dword [ecx + 0x70], eax
cmovne edi, esi
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
push str.GetEventTextA
test eax, eax
push dword [ecx]
mov dword [ecx + 0x74], eax
cmovne esi, edi
call ebx
mov ecx, dword [ebp - 4]
lea edi, [esi + 1]
push str.FreeEventTextA
test eax, eax
push dword [ecx]
mov dword [ecx + 0x78], eax
cmovne edi, esi
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
push str.SubmitEvent
test eax, eax
push dword [ecx]
mov dword [ecx + 0x7c], eax
cmovne esi, edi
call ebx
mov ecx, dword [ebp - 4]
lea edi, [esi + 1]
push str.DestroyEvent
test eax, eax
push dword [ecx]
mov dword [ecx + 0x80], eax
cmovne edi, esi
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
test eax, eax
push str.UnregisterCallbackA
cmovne esi, edi
mov dword [ecx + 0x84], eax
push dword [ecx]
call ebx
mov ecx, dword [ebp - 4]
lea edi, [esi + 1]
push str.Uninit
test eax, eax
push dword [ecx]
mov dword [ecx + 0x88], eax
cmovne edi, esi
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
push str.CreateArrayOfStrings
test eax, eax
push dword [ecx]
mov dword [ecx + 0x8c], eax
cmovne esi, edi
call ebx
mov ecx, dword [ebp - 4]
lea edi, [esi + 1]
push str.AppendStringToArrayA
test eax, eax
push dword [ecx]
mov dword [ecx + 0x50], eax
cmovne edi, esi
call ebx
mov ecx, dword [ebp - 4]
lea esi, [edi + 1]
test eax, eax
push str.AppendStringToArrayW
cmovne esi, edi
mov edi, ecx
mov dword [ecx + 0x60], eax
push dword [edi]
call ebx
test eax, eax
mov dword [edi + 0x64], eax
lea ecx, [esi + 1]
cmovne ecx, esi
pop esi
pop ebx
test ecx, ecx
je 0x4058e2
push dword [edi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x90
push edi
call fcn.004fc7e0
add esp, 8
xor eax, eax
pop edi
mov esp, ebp
pop ebp
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret