Function at 0x12eb2db0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x1306484b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebp
mov ebp, ecx
push esi
push 1
lea eax, [ebp + 4]
lea ecx, [esp + 0xc]
push eax
call fcn.12f56170
mov eax, dword [ebp]
mov dword [esp + 0x120], 0
test eax, eax
je 0x12eb2e20
lea ecx, [esp + 8]
mov dword [esp + 0x120], 0xffffffff
call fcn.12f561d0
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
add esp, 0x11c
ret
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x13137d9c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp + 0x24], eax
pop edi
jne 0x12eb2e9c
lea ecx, [esp + 8]
mov dword [esp + 0x120], 0xffffffff
call fcn.12f561d0
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
add esp, 0x11c
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PLRClientInitialize
push eax
call esi
mov edx, dword [ebp + 0x24]
push str.PLRClientUninitialize
push edx
mov dword [ebp + 0x80], eax
call esi
mov dword [ebp + 0x84], eax
mov eax, dword [ebp + 0x24]
push str.PLRClientAddLog
push eax
call esi
mov ecx, dword [ebp + 0x24]
push str.PLRClientSendLogToServer
push ecx
mov dword [ebp + 0x88], eax
call esi
mov edx, dword [ebp + 0x24]
push str.PLRClientSetLogFileDirPath
push edx
mov dword [ebp + 0x8c], eax
call esi
mov dword [ebp + 0x90], eax
mov eax, dword [ebp + 0x24]
push str.PLRServerInitialize
push eax
call esi
mov ecx, dword [ebp + 0x24]
push str.PLRServerUninitialize
push ecx
mov dword [ebp + 0x94], eax
call esi
mov edx, dword [ebp + 0x24]
push str.PLRServerStart
push edx
mov dword [ebp + 0x98], eax
call esi
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0x24]
push str.PLRServerStop
push eax
call esi
mov ecx, dword [ebp + 0x24]
push str.PLRServerSetLogFileDirPath
push ecx
mov dword [ebp + 0xa0], eax
call esi
mov edx, dword [ebp + 0x24]
push str.PLRServerSetLogMode
push edx
mov dword [ebp + 0xa4], eax
call esi
mov dword [ebp + 0xa8], eax
mov eax, dword [ebp + 0x80]
test eax, eax
jne 0x12eb2faa
mov eax, dword [ebp + 0x84]
test eax, eax
jne 0x12eb2faa
mov eax, dword [ebp + 0x88]
test eax, eax
jne 0x12eb2faa
mov eax, dword [ebp + 0x8c]
test eax, eax
jne 0x12eb2faa
mov eax, dword [ebp + 0x94]
test eax, eax
jne 0x12eb2faa
mov eax, dword [ebp + 0x98]
test eax, eax
jne 0x12eb2faa
mov eax, dword [ebp + 0x9c]
test eax, eax
jne 0x12eb2faa
mov eax, dword [ebp + 0xa0]
test eax, eax
je 0x12eb2fb1
mov dword [ebp], 1
mov esi, dword [ebp]
test esi, esi
jne 0x12eb2ff2
mov eax, dword [ebp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp + 0x24], esi
lea ecx, [esp + 8]
mov dword [esp + 0x120], 0xffffffff
call fcn.12f561d0
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
add esp, 0x11c
ret
lea ecx, [esp + 8]
mov dword [esp + 0x120], 0xffffffff
call fcn.12f561d0
mov ecx, dword [esp + 0x118]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x11c
ret