Function at 0x10ffcf0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1142e95
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x115f604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi], edi
mov dword [esi + 8], edi
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov dword [ebp - 4], edi
lea ebx, [esi + 0xc]
call edx
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [esi + 0x10], eax
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 2
call edx
add eax, 0x10
mov dword [esi + 0x44], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 3
call edx
add eax, 0x10
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x30]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], ecx
mov edx, dword [0x1161d94]
mov eax, dword [edx + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 4
call eax
add eax, 0x10
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x70], edi
lea ecx, [esi + 0x18]
push ecx
mov byte [ebp - 4], 7
call fcn.011293bc
mov edx, dword [ebp + 0xc]
add esp, 4
push edx
mov ecx, ebx
call fcn.0109c210
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esi + 0x48]
call fcn.0109c210
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [esi + 0x10]
call fcn.0109c210
mov edx, dword [ebp + 0x18]
push edx
lea ecx, [esi + 0x44]
call fcn.0109c210
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [esi + 0x24], ecx
mov edx, dword [eax + 4]
mov ecx, dword [ebp + 0x20]
mov dword [esi + 0x28], edx
mov edx, dword [ecx]
mov dword [esi + 0x2c], edx
mov edx, dword [ecx + 4]
mov dword [esi + 0x30], edx
mov ebx, dword [ecx]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 4]
sub ebx, edx
sbb ecx, eax
push edi
mov dword [ebp - 0x14], ecx
call fcn.011293bc
add esp, 4
mov dword [esi + 0x34], eax
add eax, ebx
mov dword [esi + 0x38], edx
adc edx, dword [ebp - 0x14]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x24]
push eax
mov ecx, esi
mov dword [esi + 0x40], edx
call fcn.01099090
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x34]
mov dword [esi + 0x14], ecx
push edx
lea ecx, [esi + 0x54]
call fcn.0109c210
mov eax, dword [ebp + 8]
cmp eax, edi
mov dword [esi + 0x70], eax
je 0x10ffe9b
push edi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptContextAddRef]
test eax, eax
jne 0x10ffe9b
call fcn.01071a70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30