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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2bfb
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.004728e6
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.004728e6
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.004728e6
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.004728e6
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.004728e6
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.004728e6
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.004728e6
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0040d540
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.004728e6
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.004728e6
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.004728e6
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.004363b0
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 0x4b362c
sub esp, 8
mov byte [ebp - 4], 0x11
mov edx, 0x200000
mov dword [edi + 0x18], 0
lea ecx, [ebp - 0x14]
push 0
call fcn.00438110
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
add esp, 0x10
mov dword [edi + 0x18], eax
mov edx, 0x80
push 0x4b362c
sub esp, 8
push 0
call fcn.00438110
mov eax, dword [ebp - 0x14]
push 0x80
push 0
push eax
mov dword [edi + 0x1c], eax
call fcn.00474ed0
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.004728e6
mov esi, eax
mov dword [ebp - 0x1c], esi
push 0
mov dword [esi], vtable.Blizzard::Streaming::ManifestRandomNumberGenerator.0
call fcn.004863b7
push eax
call fcn.00486440
mov edi, dword [ebp - 0x10]
push 0x20
mov dword [edi + 0x114], esi
call fcn.004728e6
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.004728e6
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.00436390
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edi + 0x11c]
test eax, eax
je 0x421d37
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.0042ff30
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 0x421da6
lock xadd dword [esi + 4], eax
jne 0x421da3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [esi + 8], eax
jne 0x421da3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x421dcc
lock xadd dword [esi + 4], eax
jne 0x421dcc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x421dcc
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