Function at 0x58f660
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x598970
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x18], 0
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], 0
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], 0
mov dword [ebp - 0x10], 2
sub esp, 0xc
mov al, byte [ebp - 0x24]
lea ecx, [ebp - 0x3c]
mov byte [esp + 4], al
mov dword [esp + 8], str.ReaderUC.dll
mov dword [esp], 0xc
call fcn.00405590
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], 3
push ecx
push eax
call fcn.0058f9b0
mov ecx, dword [ebp - 0x28]
mov ebx, eax
cmp ecx, 8
jb 0x58f768
mov eax, dword [ebp - 0x3c]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x58f75e
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x58f8be
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
test bl, bl
je 0x58f793
cmp dword [ebp - 0x40], 7
lea eax, [ebp - 0x54]
jbe 0x58f778
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x10], 2
push eax
call fcn.005d8640
mov esi, dword [ebp - 0x20]
mov dword [esi], eax
test eax, eax
jne 0x58f7a0
jmp 0x58f874
mov esi, dword [ebp - 0x20]
mov eax, dword [esi]
test eax, eax
je 0x58f874
mov dword [ebp - 0x10], 2
push str.RdrNGLInitialize
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov eax, dword [esi]
test eax, eax
je 0x58f84c
push str.RdrNGLRegisterNotifier
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi]
mov dword [esi + 8], eax
test ecx, ecx
je 0x58f853
push str.RdrNGLSetAcroAppMessageParams
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x58f85a
push str.RdrNGLLaunchWorkFlow
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
test ecx, ecx
je 0x58f861
push str.RdrNGLGetDataResult
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi]
mov dword [esi + 0x14], eax
test ecx, ecx
je 0x58f868
push str.RdrNGLSetDeviceToken
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi]
mov dword [esi + 0x18], eax
test ecx, ecx
je 0x58f86f
push str.RdrNGLRelease
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0x20]
jmp 0x58f871
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
xor eax, eax
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, 8
jb 0x58f8ab
mov eax, dword [ebp - 0x54]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x58f8a1
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x58f8ca
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
call fcn.006207e0
mov dword [ebp - 0x10], 1
call fcn.006207e0
nop word cs:[eax + eax]
push ebp
sub esp, 0xc
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
mov ecx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x58f93e
mov eax, dword [ebp - 0x3c]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x58f934
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x58f957
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], 0
add esp, 0xc
pop ebp
ret
call fcn.006207e0
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
mov ecx, dword [ebp - 0x40]
cmp ecx, 8
jb 0x58f99e
mov eax, dword [ebp - 0x54]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x58f994
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x58f9a3
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0xc
pop ebp
ret
call fcn.006207e0
int3