Function at 0x10050240
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1007e898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x10098a04]
push ebx
push esi
push edi
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
push 7
push str.plugin
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.1000cde0
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.10005e50
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
mov bl, 1
push eax
mov byte [esp + 0x34], bl
call fcn.1001f630
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call fcn.1000cde0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100502e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050309
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 9
push str.action3
lea ecx, [esp + 0x14]
call fcn.1000cde0
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov bl, 3
push 0x10081bf2
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.10005e50
lea ecx, [esp + 0x10]
push ecx
push 0x217
lea edx, [esp + 0x1c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x38], 4
call fcn.10049c20
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050384
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
push 0x10081bf2
push eax
call fcn.10068d19
add esp, 8
test eax, eax
je 0x100503f5
push 9
push str.agentid
lea ecx, [esp + 0x14]
call fcn.1000cde0
push 0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.1001f630
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.1000cde0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100503f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0xc]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push esi
call fcn.10002a40
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [esp + 0x24], esp
push str.plugin.gif
mov byte [esp + 0x34], 6
call fcn.10005e50
mov byte [esp + 0x30], bl
call fcn.1004efe0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050452
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x28], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10050471
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret