Function at 0x10002bb7
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x34
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebx + 0x238]
test byte [0x1000a04c], 8
jne 0x100028d0
cmp esi, 0x80000
je 0x1000291d
cmp esi, 0x200000
je 0x100029d0
cmp esi, 0x20000
je 0x10002930
mov eax, dword [edi + 0x12c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetEvent]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], str._p___p___lx___p___lu_n
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], str.progress_callback_http
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x1000a04c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
cmp esi, 0x80000
jne 0x1000289a
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x23c], eax
jmp 0x100028b2
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
mov esi, dword [sym.imp.winhttp.dll_WinHttpQueryHeaders]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000013
mov dword [esp], eax
call esi
sub esp, 0x18
test eax, eax
jne 0x10002a10
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000005
mov dword [esp], eax
call esi
sub esp, 0x18
test eax, eax
je 0x100028b2
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], eax
jmp 0x100028b2
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovg eax, ecx
mov dword [edi + 0x124], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], edi
call sym._transitionJobState
jmp 0x100028b2
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x19e
ja 0x10002ab0
cmp ecx, 0x18f
ja 0x10002a90
cmp ecx, 0xc8
jne case.0x10002a9f.402
mov dword [edi + 0x124], 0
lea eax, [edi + 0x58]
mov dword [ebp - 0x1c], eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x128]
mov dword [edi + 0x120], 0
sub esp, 4
test eax, eax
je 0x10002a78
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov dword [edi + 0x128], 0
sub esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
jmp 0x10002976
lea eax, [ecx - 0x190]
cmp eax, 0xe
ja case.0x10002a9f.402
jmp dword [eax*4 + 0x1000c58c]
cmp ecx, 0x1f8
je 0x10002c10
jbe 0x10002ae0
cmp ecx, 0x1f9
jne case.0x10002a9f.402
mov dword [edi + 0x124], 0x801901f9
jmp 0x10002b10
cmp ecx, 0x1f5
je 0x10002bf8
cmp ecx, 0x1f7
jne case.0x10002a9f.402
mov dword [edi + 0x124], 0x801901f7
jmp 0x10002b10
mov dword [edi + 0x124], 0x8019019e
nop
lea eax, [edi + 0x58]
mov dword [ebp - 0x1c], eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x128]
mov dword [edi + 0x120], 5
sub esp, 4
test eax, eax
je 0x10002b41
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
sub esp, 4
mov dword [edi + 0x128], ebx
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], edi
call sym._transitionJobState
jmp 0x10002976
mov dword [edi + 0x124], 0x80190197
jmp 0x10002b10
mov dword [edi + 0x124], 0x80190194
jmp 0x10002b10
mov dword [edi + 0x124], 0x80190191
jmp 0x10002b10
mov dword [edi + 0x124], 0x80190190
jmp 0x10002b10
test byte [0x1000a04c], 1
je 0x10002a33
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.unhandled_response_code__lu_n
mov dword [esp + 8], str.hresult_from_http_response
mov dword [esp + 4], 0x1000a04c
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_3
jmp 0x10002a33
mov dword [edi + 0x124], 0x801901f5
jmp 0x10002b10
mov dword [edi + 0x124], 0x801901f8
jmp 0x10002b10