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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x460
mov ebx, edx
mov esi, ecx
mov ecx, edx
call fcn.00470bb6
cmp eax, 1
jne 0x470802
mov ecx, esi
jmp 0x470b6d
mov dword [esp + 0x1c], esi
mov ecx, dword [ebx]
add ecx, 0xfffffffa
xor eax, eax
inc eax
cmp ecx, 3
cmovb eax, ecx
test eax, eax
jne 0x470b7e
mov esi, dword [ebx + 8]
lea eax, [ebx + 0xc]
lea edi, [esp + 0x350]
push 0x10c
push eax
push edi
call fcn.004f7e80
add esp, 0xc
mov dword [ebx], 8
cmp esi, 1
ja 0x470b90
lea eax, [esp + 0x244]
mov dword [eax - 4], esi
push 0x10c
push edi
push eax
call fcn.004f7e80
add esp, 0xc
lea edx, [esp + 0x344]
lea edi, [esp + 0x2f8]
movzx eax, byte [edi + 0x50]
lea esi, [esp + 0x1a0]
mov ecx, esi
push eax
push edi
call fcn.0048d176
pop eax
pop ecx
cmp byte [esi], 3
jne 0x4708bc
call fcn.004405b2
mov esi, eax
mov ecx, eax
mov edx, str.HTTP_2_connection_in_progressenvelope_not_dropped
push 0x1d
call fcn.0044046a
pop ecx
lea ecx, [esp + 0x240]
call fcn.00470be6
push 5
pop eax
mov dword [esp + 0xc], eax
mov byte [esp + 0xa], 2
jmp 0x4709b2
mov edx, edi
lea edi, [esp + 0x1a0]
movups xmm0, xmmword [edi]
movups xmm1, xmmword [edi + 0xc]
movups xmmword [esp + 0xcc], xmm1
movaps xmmword [esp + 0xc0], xmm0
push 0x14
pop ecx
lea eax, [esp + 0x240]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movups xmm0, xmmword [eax + 0xf4]
movups xmmword [esp + 0x18c], xmm0
movups xmm0, xmmword [eax + 0xe8]
movaps xmmword [esp + 0x180], xmm0
movups xmm0, xmmword [eax + 0xd8]
movaps xmmword [esp + 0x170], xmm0
mov cl, byte [eax + 0x109]
mov byte [esp + 0xb], cl
mov ecx, dword [eax + 0x104]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x50]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x88]
mov dword [esp + 0x90], ecx
mov esi, dword [eax + 0x54]
movups xmm0, xmmword [eax + 0x58]
movaps xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [eax + 0x68]
movaps xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [eax + 0x78]
movaps xmmword [esp + 0x80], xmm0
mov cl, byte [eax + 0x8c]
mov byte [esp + 0xa], cl
movups xmm0, xmmword [eax + 0xa8]
movups xmmword [esp + 0x12b], xmm0
movups xmm0, xmmword [eax + 0x9d]
movaps xmmword [esp + 0x120], xmm0
movups xmm0, xmmword [eax + 0x8d]
movaps xmmword [esp + 0x110], 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.00470c2a
mov eax, dword [esp + 0x90]
mov dword [esp + 0x50], eax
movaps xmm0, xmmword [esp + 0x80]
movaps xmmword [esp + 0x40], xmm0
movaps xmm0, xmmword [esp + 0x60]
movaps xmm1, xmmword [esp + 0x70]
movaps xmmword [esp + 0x30], xmm1
movaps xmmword [esp + 0x20], xmm0
movaps xmm0, xmmword [esp + 0x110]
movaps xmm1, xmmword [esp + 0x120]
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xf0], xmm1
movups xmm0, xmmword [esp + 0x12b]
movups xmmword [esp + 0xfb], xmm0
movaps xmm0, xmmword [esp + 0xc0]
movaps xmmword [esp + 0xa0], xmm0
movups xmm0, xmmword [esp + 0xcc]
movups xmmword [esp + 0xac], xmm0
movups xmm0, xmmword [esp + 0x18c]
movups xmmword [esp + 0x15c], xmm0
movaps xmm0, xmmword [esp + 0x170]
movaps xmm1, xmmword [esp + 0x180]
movaps xmmword [esp + 0x150], xmm1
movaps xmmword [esp + 0x140], xmm0
push 0x50
pop edi
lea ecx, [esp + 0x1f0]
push edi
lea eax, [esp + 0x1a4]
push eax
push ecx
call fcn.004f7e80
add esp, 0xc
mov ecx, ebx
call fcn.00470c42
mov eax, dword [esp + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], esi
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x38], eax
movaps xmm0, xmmword [esp + 0x20]
movaps xmm1, xmmword [esp + 0x30]
movups xmmword [ebx + 8], xmm0
movups xmmword [ebx + 0x18], xmm1
movaps xmm0, xmmword [esp + 0x40]
movups xmmword [ebx + 0x28], xmm0
mov al, byte [esp + 0xa]
mov byte [ebx + 0x3c], al
movaps xmm0, xmmword [esp + 0xe0]
movaps xmm1, xmmword [esp + 0xf0]
movups xmmword [ebx + 0x3d], xmm0
movups xmmword [ebx + 0x4d], xmm1
movups xmm0, xmmword [esp + 0xfb]
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 + 0xa0]
movups xmmword [ebx + 0x70], xmm0
movups xmm0, xmmword [esp + 0xac]
movups xmmword [ebx + 0x7c], xmm0
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x8c], eax
mov al, byte [esp + 0xb]
mov byte [ebx + 0x90], al
and dword [ebx + 0x98], 0
movups xmm0, xmmword [esp + 0x15c]
movups xmmword [ebx + 0xb8], xmm0
movaps xmm0, xmmword [esp + 0x140]
movaps xmm1, xmmword [esp + 0x150]
movups xmmword [ebx + 0xac], xmm1
movups xmmword [ebx + 0x9c], xmm0
lea eax, [ebx + 0xc8]
push edi
lea ecx, [esp + 0x1f4]
push ecx
push eax
call fcn.004f7e80
add esp, 0xc
mov ecx, ebx
call fcn.00470bb6
cmp eax, 1
jne 0x470ba1
mov ecx, dword [esp + 0x1c]
push dword [ebp + 8]
call fcn.00470bcd
pop eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp eax, 1
jne 0x470b8a
mov ecx, ebx
call fcn.0049a75b
mov dword [ebx], 8
mov ecx, 0x53ecf0
mov edx, 0x53ecf8
call fcn.00470c79
ud2
push 0x28
pop edx
mov ecx, str.internal_error:_entered_unreachable_codeP
push 0x53ecd0
call fcn.00506cd0
pop eax
ud2