Function at 0x525f30
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e046
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0xc
push 0x5b9e88
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00408f30
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
xor bl, bl
call fcn.0053f340
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x526072
cmp word [ebp - 0x218], 0
je 0x526072
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x526072
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x526072
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x526072
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00440b97
mov bl, 1
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x526094
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.0040a2e0
mov byte [ebp - 4], 0
test bl, bl
je 0x5260b8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00413f10
mov dword [esi], eax
mov eax, dword [esi]
test eax, eax
je 0x526152
push str.RdrNGLInitialize
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x5260db
xor eax, eax
jmp 0x5260eb
push str.RdrNGLRegisterNotifier
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov eax, dword [esi]
mov dword [esi + 8], ecx
test eax, eax
jne 0x5260f6
xor ecx, ecx
jmp 0x526106
push str.RdrNGLSetAcroAppMessageParams
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov eax, dword [esi]
mov dword [esi + 0xc], ecx
test eax, eax
jne 0x526111
xor ecx, ecx
jmp 0x526121
push str.RdrNGLLaunchWorkFlow
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov eax, dword [esi]
mov dword [esi + 0x10], ecx
test eax, eax
jne 0x52612c
xor ecx, ecx
jmp 0x52613c
push str.RdrNGLGetDataResult
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov eax, dword [esi]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x52614f
push str.RdrNGLRelease
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 4], 3
cmp ecx, 8
jb 0x526177
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.0040a2e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret