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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b32e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x10], ebx
push edi
mov dword [ebx + 4], 0
mov dword [ebp - 4], 0
lea esi, [ebx + 0xc]
mov dword [ebx], vtable.Blizzard::Streaming::ManifestInfo.0
mov dword [ebx + 8], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043f000
mov dword [esi], eax
mov byte [ebp - 4], 1
lea esi, [ebx + 0x14]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043efe0
mov dword [esi], eax
mov byte [ebp - 4], 2
lea esi, [ebx + 0x1c]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043efc0
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [ebx + 0x24]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043efc0
mov dword [esi], eax
mov byte [ebp - 4], 4
lea esi, [ebx + 0x2c]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043efa0
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [ebx + 0x34]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043ef80
mov dword [esi], eax
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0xf
mov byte [ebx + 0x48], 0
mov byte [ebp - 4], 8
push 0x48
mov byte [ebx + 0x60], 0
call fcn.0046fd13
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [edi + 4], 0
mov byte [ebp - 4], 0xa
lea esi, [edi + 8]
mov dword [edi], vtable.Blizzard::URL::ServerList.0
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043f1c0
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi], eax
lea eax, [edi + 0x1c]
push eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call ebx
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movsd qword [edi + 0x38], xmm0
movsd xmm0, qword [0x4d15f8]
movsd qword [edi + 0x40], xmm0
mov dword [eax + 0x64], edi
mov dword [eax + 0x78], 0
mov dword [eax + 0x7c], 0xf
mov byte [eax + 0x68], 0
lea edi, [eax + 0x80]
push edi
mov dword [ebp - 0x18], edi
call ebx
mov byte [ebp - 4], 0xc
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043f0e0
mov dword [esi], eax
mov byte [ebp - 4], 0xd
lea esi, [edi + 0x20]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043f020
mov dword [esi], eax
mov byte [edi + 0x28], 0
mov byte [ebp - 4], 0xe
mov edi, dword [ebp - 0x10]
add edi, 0xac
mov dword [ebp - 0x18], edi
lea esi, [edi + 8]
mov dword [ebp - 0x14], esi
mov dword [edi], vtable.Blizzard::Storage::StorageTracker.0
mov byte [edi + 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043e8e0
mov dword [esi], eax
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 0xf
call fcn.00432ba0
lea eax, [edi + 0x14]
push eax
call ebx
mov dword [edi + 0x2c], 0
add edi, 0x30
push edi
mov dword [ebp - 0x1c], edi
call ebx
push 0x4c7819
sub esp, 8
mov byte [ebp - 4], 0x12
mov edx, 0x200000
mov dword [edi + 0x18], 0
lea ecx, [ebp - 0x14]
push 0
call fcn.004345c0
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov dword [edi + 0x18], eax
push 0x4c7819
sub esp, 8
push 0
mov edx, 0x80
lea ecx, [ebp - 0x14]
call fcn.004345c0
mov eax, dword [ebp - 0x14]
push 0x80
push 0
push eax
mov dword [edi + 0x1c], eax
call fcn.00487c20
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], 0x13
call fcn.0046fd13
mov esi, eax
mov dword [ebp - 0x1c], esi
push 0
mov dword [esi], vtable.Blizzard::Streaming::ManifestRandomNumberGenerator.0
call fcn.0049775d
push eax
call fcn.0049736c
mov ebx, dword [ebp - 0x10]
push 0x20
mov dword [ebx + 0x114], esi
call fcn.0046fd13
mov dword [ebp - 0x1c], eax
lea esi, [ebx + 0x118]
add esp, 0x2c
lea ecx, [eax + 4]
mov dword [eax], vtable.Blizzard::URL::StringBuffer_T_class_std::basic_string_char__struct_std::char_traits_char___class_Blizzard::Memory::AllocSTL_char___.0
mov dword [ecx + 0x10], 0
push dword [ebp - 0x1c]
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [eax + 0x1c], ecx
mov ecx, esi
push eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004430f0
mov dword [ebx + 0x120], 0
mov dword [ebx + 0x124], 0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebx + 0x64]
lea ecx, [ecx + 4]
call fcn.00432b80
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4203aa
lock inc dword [eax + 4]
mov eax, dword [esi]
mov edx, 0xea60
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x20]
call fcn.0042d570
add esp, 8
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebx + 0x120], ecx
mov esi, dword [ebx + 0x124]
mov dword [ebx + 0x124], edx
or edi, 0xffffffff
mov byte [ebp - 4], 0x16
test esi, esi
je 0x420412
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x420412
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x420412
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x17
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x42043b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x42043b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x42043b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret