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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102dcc2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0xc]
mov dword [edi], vtable.Blizzard::Streaming::ManifestInfo.0
mov dword [edi + 8], 0
mov dword [ebp - 0x14], esi
push 0x84
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.102d8574
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 1
lea esi, [edi + 0x14]
mov dword [ebp - 0x14], esi
push 0x60
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.102d8574
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 2
lea esi, [edi + 0x1c]
mov dword [ebp - 0x14], esi
push 0x5c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.102d8574
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x24]
mov dword [ebp - 0x14], esi
push 0x5c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.102d8574
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 4
lea esi, [edi + 0x2c]
mov dword [ebp - 0x14], esi
push 0x4c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.102d8574
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0x34]
mov dword [ebp - 0x14], esi
push 0xe8
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.102d8574
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
xorps xmm0, xmm0
movups xmmword [edi + 0x48], xmm0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0xf
mov byte [edi + 0x48], 0
mov byte [ebp - 4], 8
push 0x48
mov byte [edi + 0x60], 0
call fcn.102d8574
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.1002ba20
mov dword [edi + 0x64], eax
xorps xmm0, xmm0
movups xmmword [edi + 0x68], xmm0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0xf
mov byte [edi + 0x68], 0
sub edi, 0xffffff80
push edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x18]
mov dword [ebp - 0x18], esi
push 0x50
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.102d8574
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0xc
lea esi, [edi + 0x20]
mov dword [ebp - 0x18], esi
push 0x38
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.102d8574
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [edi + 0x28], 0
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x10]
add edi, 0xac
mov dword [ebp - 0x18], edi
lea esi, [edi + 8]
mov dword [ebp - 0x14], esi
push 0x18
mov dword [edi], vtable.Blizzard::Storage::StorageTracker.0
mov byte [edi + 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.102d8574
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 0xe
call fcn.100536c0
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x14]
push eax
call esi
mov dword [edi + 0x2c], 0
add edi, 0x30
push edi
mov dword [ebp - 0x1c], edi
call esi
push 0x102fe041
sub esp, 8
mov byte [ebp - 4], 0x11
mov edx, 0x200000
mov dword [edi + 0x18], 0
lea ecx, [ebp - 0x14]
push 0
call fcn.100553a0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
add esp, 0x10
mov dword [edi + 0x18], eax
mov edx, 0x80
push 0x102fe041
sub esp, 8
push 0
call fcn.100553a0
mov eax, dword [ebp - 0x14]
push 0x80
push 0
push eax
mov dword [edi + 0x1c], eax
call sub.VCRUNTIME140.dll_memset
mov dword [edi + 0x20], 0x80
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
push 4
mov byte [ebp - 4], 0x12
call fcn.102d8574
mov esi, eax
mov dword [ebp - 0x1c], esi
push 0
mov dword [esi], vtable.Blizzard::Streaming::ManifestRandomNumberGenerator.0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov edi, dword [ebp - 0x10]
push 0x20
mov dword [edi + 0x114], esi
call fcn.102d8574
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], esi
lea ecx, [esi + 4]
mov dword [ebp - 0x1c], esi
mov dword [esi], vtable.Blizzard::URL::StringBuffer_T_class_std::basic_string_char__struct_std::char_traits_char___class_Blizzard::Memory::AllocSTL_char___.0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [esi + 0x1c], ecx
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
push 0x10
mov byte [ebp - 4], 0x13
call fcn.102d8574
add esp, 0x30
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_class_Blizzard::URL::StringBuffer_T_class_std::basic_string_char__struct_std::char_traits_char___class_Blizzard::Memory::AllocSTL_char____.0
mov dword [eax + 0xc], esi
mov dword [edi + 0x118], esi
mov dword [edi + 0x11c], eax
movq qword [edi + 0x120], xmm0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov byte [ebp - 4], 0x15
mov ecx, dword [edi + 0x64]
add ecx, 4
call fcn.100536a0
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edi + 0x11c]
test eax, eax
je 0x1003f359
lock inc dword [eax + 4]
mov eax, dword [edi + 0x118]
mov edx, 0xea60
mov dword [ecx], eax
mov eax, dword [edi + 0x11c]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x20]
call fcn.1004d680
add esp, 8
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
or eax, 0xffffffff
mov esi, dword [edi + 0x124]
mov dword [edi + 0x120], ecx
mov dword [edi + 0x124], edx
test esi, esi
je 0x1003f3c8
lock xadd dword [esi + 4], eax
jne 0x1003f3c5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [esi + 8], eax
jne 0x1003f3c5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x1003f3ee
lock xadd dword [esi + 4], eax
jne 0x1003f3ee
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x1003f3ee
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret