Function at 0x10052890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x260
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
add eax, 0xfffffffa
cmp eax, 2
ja 0x10052955
cmp eax, 1
je 0x10052955
test eax, eax
jne 0x10052b6a
mov eax, dword [ebx + 8]
mov dword [ebx], 8
cmp eax, 1
ja 0x10052b70
lea ecx, [ebx + 8]
mov dword [esp + 0x1c], ecx
lea ecx, [ebx + 0xc]
lea edx, [esp + 0x14c]
mov dword [edx - 4], eax
push 0x10c
push ecx
push edx
call fcn.100e9d70
add esp, 0xc
lea eax, [esp + 0x24c]
lea edi, [esp + 0x200]
movzx ecx, byte [edi + 0x50]
lea esi, [esp + 0xdc]
push ecx
push edi
push eax
push esi
call fcn.10030988
add esp, 0x10
cmp byte [esi], 3
jne 0x1005295e
call fcn.10068b90
push 0x1d
push str.HTTP_2_connection_in_progress
push eax
call fcn.10068a81
add esp, 0xc
mov esi, eax
lea ecx, [esp + 0x148]
call fcn.1004510f
mov byte [esp + 0xe], 2
mov edi, 5
jmp 0x10052a66
push dword [ebp + 0x10]
push ebx
jmp 0x10052b57
movups xmm0, xmmword [esp + 0xdc]
movups xmm1, xmmword [esp + 0xe8]
movups xmmword [esp + 0x6c], xmm1
movaps xmmword [esp + 0x60], xmm0
mov edx, edi
lea edi, [esp + 0xf8]
lea eax, [esp + 0x148]
mov ecx, 0x14
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movups xmm0, xmmword [eax + 0xf4]
movups xmmword [esp + 0xcc], xmm0
movups xmm0, xmmword [eax + 0xe8]
movaps xmmword [esp + 0xc0], xmm0
movups xmm0, xmmword [eax + 0xd8]
movaps xmmword [esp + 0xb0], xmm0
mov cl, byte [eax + 0x109]
mov byte [esp + 0xf], cl
mov ecx, dword [eax + 0x104]
mov dword [esp + 0x18], ecx
mov edi, dword [eax + 0x50]
mov ecx, dword [eax + 0x88]
mov dword [esp + 0x50], ecx
mov esi, dword [eax + 0x54]
movups xmm0, xmmword [eax + 0x58]
movaps xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [eax + 0x68]
movaps xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [eax + 0x78]
movaps xmmword [esp + 0x40], xmm0
mov cl, byte [eax + 0x8c]
mov byte [esp + 0xe], cl
movups xmm0, xmmword [eax + 0xa8]
movups xmmword [esp + 0x9b], xmm0
movups xmm0, xmmword [eax + 0x9d]
movaps xmmword [esp + 0x90], xmm0
movups xmm0, xmmword [eax + 0x8d]
movaps xmmword [esp + 0x80], xmm0
mov ecx, dword [eax + 0xd0]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0xd4]
mov dword [esp + 0x10], eax
mov ecx, edx
call fcn.10017f90
lea eax, [esp + 0x214]
mov ecx, dword [eax - 0xc]
push dword [eax - 4]
push dword [eax - 8]
push eax
call dword [ecx + 0xc]
add esp, 0xc
mov ecx, ebx
call fcn.10044f24
mov edx, edi
mov dword [ebx], edi
mov dword [ebx + 4], esi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x30], eax
movaps xmm0, xmmword [esp + 0x40]
movups xmmword [ecx + 0x20], xmm0
movaps xmm0, xmmword [esp + 0x20]
movaps xmm1, xmmword [esp + 0x30]
movups xmmword [ecx + 0x10], xmm1
movups xmmword [ecx], xmm0
mov al, byte [esp + 0xe]
mov byte [ebx + 0x3c], al
movaps xmm0, xmmword [esp + 0x80]
movaps xmm1, xmmword [esp + 0x90]
movups xmmword [ebx + 0x3d], xmm0
movups xmmword [ebx + 0x4d], xmm1
movups xmm0, xmmword [esp + 0x9b]
movups xmmword [ebx + 0x58], xmm0
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x68], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x6c], eax
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [ebx + 0x70], xmm0
movups xmm0, xmmword [esp + 0x6c]
movups xmmword [ebx + 0x7c], xmm0
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x8c], eax
mov al, byte [esp + 0xf]
mov byte [ebx + 0x90], al
mov dword [ebx + 0x98], 0
movaps xmm0, xmmword [esp + 0xb0]
movaps xmm1, xmmword [esp + 0xc0]
movups xmmword [ebx + 0x9c], xmm0
movups xmmword [ebx + 0xac], xmm1
movups xmm0, xmmword [esp + 0xcc]
movups xmmword [ebx + 0xb8], xmm0
lea edi, [ebx + 0xc8]
lea esi, [esp + 0xf8]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
add edx, 0xfffffffa
cmp edx, 2
ja 0x10052b50
cmp edx, 1
jne 0x10052b7f
push dword [ebp + 0x10]
push ebx
mov esi, dword [ebp + 8]
push esi
call fcn.100537ff
add esp, 0xc
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebx], 8
mov ecx, 0x1010be40
mov edx, 0x1010be48
call fcn.100468d8
push 0x1010be20
push 0x28
push 0x1010a4f6
call fcn.10101280
mov eax, dword [esp + 0x10]
push 0x1010be58
push dword [esp + 8]
push dword [esp + 0x10]
push dword [esp + 0x18]
call dword [eax + 0x2c]
add esp, 0x10
ret