Function at 0x12eb2da0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x1306477b
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.12f560a0
mov eax, dword [ebp]
mov dword [esp + 0x120], 0
test eax, eax
je 0x12eb2e10
lea ecx, [esp + 8]
mov dword [esp + 0x120], 0xffffffff
call fcn.12f56100
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, 0x13137d4c
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 0x12eb2e8c
lea ecx, [esp + 8]
mov dword [esp + 0x120], 0xffffffff
call fcn.12f56100
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 0x13137d38
push eax
call esi
mov edx, dword [ebp + 0x24]
push 0x13137d20
push edx
mov dword [ebp + 0x80], eax
call esi
mov dword [ebp + 0x84], eax
mov eax, dword [ebp + 0x24]
push 0x13137d10
push eax
call esi
mov ecx, dword [ebp + 0x24]
push 0x13137cf4
push ecx
mov dword [ebp + 0x88], eax
call esi
mov edx, dword [ebp + 0x24]
push 0x13137cd8
push edx
mov dword [ebp + 0x8c], eax
call esi
mov dword [ebp + 0x90], eax
mov eax, dword [ebp + 0x24]
push 0x13137cc4
push eax
call esi
mov ecx, dword [ebp + 0x24]
push 0x13137cac
push ecx
mov dword [ebp + 0x94], eax
call esi
mov edx, dword [ebp + 0x24]
push 0x13137c9c
push edx
mov dword [ebp + 0x98], eax
call esi
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0x24]
push 0x13137c8c
push eax
call esi
mov ecx, dword [ebp + 0x24]
push 0x13137c70
push ecx
mov dword [ebp + 0xa0], eax
call esi
mov edx, dword [ebp + 0x24]
push 0x13137c5c
push edx
mov dword [ebp + 0xa4], eax
call esi
mov dword [ebp + 0xa8], eax
mov eax, dword [ebp + 0x80]
test eax, eax
jne 0x12eb2f9a
mov eax, dword [ebp + 0x84]
test eax, eax
jne 0x12eb2f9a
mov eax, dword [ebp + 0x88]
test eax, eax
jne 0x12eb2f9a
mov eax, dword [ebp + 0x8c]
test eax, eax
jne 0x12eb2f9a
mov eax, dword [ebp + 0x94]
test eax, eax
jne 0x12eb2f9a
mov eax, dword [ebp + 0x98]
test eax, eax
jne 0x12eb2f9a
mov eax, dword [ebp + 0x9c]
test eax, eax
jne 0x12eb2f9a
mov eax, dword [ebp + 0xa0]
test eax, eax
je 0x12eb2fa1
mov dword [ebp], 1
mov esi, dword [ebp]
test esi, esi
jne 0x12eb2fe2
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.12f56100
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.12f56100
mov ecx, dword [esp + 0x118]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x11c
ret