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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [ebp + 0x14]
add dword [ebp + 0x18], ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], ebx
cmp byte [esi + 0x20], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], eax
je 0x527fdf
pop edi
pop esi
mov eax, 0xfffffdf5
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x5c]
call fcn.0052c2a0
push dword [esi + 0x58]
call fcn.0052c2a0
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [edx], edi
add esp, 8
mov edx, dword [ebp + 0x18]
cmp ebx, edx
jne 0x52800c
test edi, edi
je 0x52840a
mov ecx, dword [esi + 0x78]
xor edi, edi
mov dword [ebp + 8], edi
cmp ecx, 0xc
ja case.default.0x528019
jmp dword [ecx*4 + 0x528594]
mov al, byte [ebx]
and al, 0xe0
cmp al, 0x20
jne 0x528433
mov dl, byte [ebx]
mov al, dl
and al, 0xe0
cmp al, 0x20
jne 0x528055
cmp ecx, 2
je 0x528433
mov dword [esi + 0x74], 1
mov dword [esi + 0x78], 3
mov dword [esi + 0x60], edi
mov dword [esi + 0x70], edi
jmp 0x527ffd
test dl, dl
jns 0x52806f
mov dword [esi + 0x74], 1
mov dword [esi + 0x78], 4
mov dword [esi + 0x60], edi
mov dword [esi + 0x70], edi
jmp 0x527ffd
cmp dl, 0x40
je 0x528087
test dl, dl
je 0x528087
cmp dl, 0x10
je 0x528087
mov eax, 4
lea ecx, [eax - 1]
jmp 0x528091
mov eax, 5
mov ecx, 2
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], eax
movzx eax, byte [ebx]
shr al, 6
and al, 1
mov byte [esi + 0x7d], al
movzx eax, byte [ebx]
and al, 0xf0
cmp al, 0x10
sete al
cmp dword [esi + 0x74], 2
mov byte [esi + 0x7e], al
jne 0x5280b6
inc ebx
mov dword [esi + 0x60], edi
mov dword [esi + 0x70], edi
jmp 0x527ffd
mov eax, dword [esi + 0x6c]
lea ecx, [ebp + 0x14]
push 5
push edx
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x68]
push ebx
push dword [esi + 0x70]
mov dword [ebp - 0x10], eax
lea eax, [esi + 0x70]
push dword [esi + 0x60]
mov dword [ebp + 0x14], edi
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.005266a0
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x528433
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmovae ecx, dword [ebp - 0x10]
cmp eax, ecx
ja 0x528433
mov dword [esi + 0x60], eax
test edi, edi
js 0x528438
add ebx, edi
cmp dword [ebp + 0x14], 0
je 0x528577
push 0
push esi
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x18], eax
call fcn.00526f10
mov edi, dword [ebp + 8]
mov dword [esi + 0x78], 1
jmp 0x527ffa
cmp dword [esi + 0x74], 1
jne 0x528153
mov ecx, 7
jmp 0x528162
xor ecx, ecx
cmp byte [esi + 0x7d], cl
setne cl
lea ecx, [ecx*2 + 4]
mov eax, dword [esi + 0xc]
push ecx
push edx
add eax, 0x3d
mov dword [ebp + 0x14], edi
push ebx
push dword [esi + 0x70]
mov dword [ebp - 0x10], eax
lea ecx, [ebp + 0x14]
push dword [esi + 0x60]
lea eax, [esi + 0x70]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005266a0
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x528433
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
ja 0x528433
mov dword [esi + 0x60], eax
test edi, edi
js 0x528438
add ebx, edi
cmp dword [ebp + 0x14], 0
je 0x528577
test eax, eax
je 0x528433
cmp dword [esi + 0x74], 1
je 0x528445
mov edi, dword [ebp + 8]
dec eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x78], 9
jmp 0x527ffd
mov al, byte [ebx]
shr al, 7
mov byte [esi + 0x7c], al
mov dword [esi + 0x78], 6
mov dword [esi + 0x60], edi
mov dword [esi + 0x70], edi
push 7
push edx
push ebx
push dword [esi + 0x70]
lea eax, [esi + 0x70]
mov dword [ebp + 0x14], edi
push dword [esi + 0x60]
lea ecx, [ebp + 0x14]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.005266a0
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x528433
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10000
ja 0x528433
mov dword [esi + 0x60], eax
test edi, edi
js 0x528438
add ebx, edi
cmp dword [ebp + 0x14], 0
je 0x528577
cmp byte [esi + 0x7c], 0
lea edi, [esi + 0x50]
je 0x528265
lea eax, [esi + 0x24]
push eax
call fcn.0052c4b0
mov eax, dword [esi + 0x60]
add esp, 4
add eax, eax
mov ecx, 7
jmp 0x52826a
mov ecx, 8
push dword [ebp - 8]
inc eax
mov dword [esi + 0x78], ecx
push eax
push edi
call fcn.0052c310
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x528438
mov eax, dword [esi + 0x50]
push dword [eax + 0xc]
push dword [eax + 8]
lea eax, [esi + 0x28]
push eax
call fcn.00529230
mov edi, dword [ebp + 8]
add esp, 0xc
jmp 0x527ffd
mov ecx, dword [esi + 0x60]
lea edi, [esi + 0x24]
sub edx, ebx
cmp edx, ecx
sbb eax, eax
inc eax
cmp edx, ecx
push eax
lea eax, [ecx + ebx]
cmovb eax, dword [ebp + 0x18]
sub eax, ebx
push eax
push ebx
lea eax, [esi + 0x28]
push eax
push edi
call fcn.0052c3e0
mov edi, eax
add esp, 0x14
test edi, edi
js 0x528438
lea eax, [esi + 0x24]
push eax
call fcn.0052c4c0
add esp, 4
test eax, eax
jne 0x528433
sub dword [esi + 0x60], edi
add ebx, edi
cmp dword [esi + 0x60], eax
jne 0x528577
mov eax, dword [esi + 0x34]
mov edi, dword [ebp + 8]
mov byte [eax], 0
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x50]
sub ecx, dword [esi + 0x30]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x78], 9
jmp 0x527ffd
mov edi, edx
sub edi, ebx
cmp edi, dword [esi + 0x60]
cmovae edi, dword [esi + 0x60]
push edi
push ebx
push dword [esi + 0x34]
call fcn.00510940
mov dword [esi + 0x34], eax
add esp, 0xc
mov eax, dword [esi + 0x60]
sub eax, edi
mov dword [esi + 0x60], eax
test edi, edi
js 0x528438
add ebx, edi
test eax, eax
jmp 0x5282f0
mov al, byte [ebx]
shr al, 7
mov byte [esi + 0x7c], al
mov dword [esi + 0x78], 0xa
mov dword [esi + 0x60], edi
mov dword [esi + 0x70], edi
push 7
push edx
push ebx
push dword [esi + 0x70]
lea eax, [esi + 0x70]
mov dword [ebp + 0x14], edi
push dword [esi + 0x60]
lea ecx, [ebp + 0x14]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.005266a0
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x528433
mov eax, dword [ebp - 0x20]
cmp eax, 0x10000
ja 0x528433
mov dword [esi + 0x60], eax
test edi, edi
js 0x528438
add ebx, edi
cmp dword [ebp + 0x14], 0
je 0x528577
cmp byte [esi + 0x7c], 0
lea edi, [esi + 0x54]
je 0x5283cf
lea eax, [esi + 0x24]
push eax
call fcn.0052c4b0
mov eax, dword [esi + 0x60]
add esp, 4
add eax, eax
mov ecx, 0xb
jmp 0x5283d4
mov ecx, 0xc
push dword [ebp - 8]
inc eax
mov dword [esi + 0x78], ecx
push eax
push edi
call fcn.0052c310
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x528438
mov eax, dword [esi + 0x54]
push dword [eax + 0xc]
push dword [eax + 8]
lea eax, [esi + 0x3c]
push eax
call fcn.00529230
add esp, 0xc
mov edi, 1
jmp 0x527ffd
cmp dword [ebp + 0x1c], 0
je 0x5284e2
mov eax, dword [esi + 0x78]
cmp eax, 2
je 0x528421
cmp eax, 1
jne 0x528433
mov eax, dword [ebp + 0x10]
pop edi
pop esi
or dword [eax], 1
sub ebx, dword [ebp - 4]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0xfffffdf5
mov eax, edi
mov byte [esi + 0x20], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edi, [eax - 1]
mov dword [esi + 0x64], edi
mov eax, dword [esi + 0xc]
add eax, 0x3d
cmp edi, eax
jb 0x52846c
push 0x510
push str.U:_valve_steam3_main_nghttp2_nghttp2_1.43.0lib_nghttp2_hd.c
push str.INDEX_RANGE_VALID_context__idx_
call fcn.00568342
add esp, 0xc
cmp edi, 0x3d
jb 0x5284a2
add edi, 0xffffffc3
cmp edi, dword [esi + 0xc]
jb 0x528490
push 0x25d
push str.U:_valve_steam3_main_nghttp2_nghttp2_1.43.0lib_nghttp2_hd.c
push str.idx___ringbuf__len
call fcn.00568342
add esp, 0xc
mov ecx, dword [esi + 8]
mov eax, dword [esi]
add ecx, edi
and ecx, dword [esi + 4]
mov eax, dword [eax + ecx*4]
movups xmm0, xmmword [eax]
jmp 0x5284cf
mov ecx, edi
mov byte [ebp - 0x24], 0
shl ecx, 4
add ecx, edi
lea eax, [ecx*4 + 0x733558]
mov dword [ebp - 0x30], eax
lea eax, [ecx*4 + 0x73356c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx*4 + 0x733594]
mov dword [ebp - 0x28], eax
movups xmm0, xmmword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
movups xmmword [eax], xmm0
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x78], 2
or dword [eax], 2
sub ebx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push edx
push ebx
lea eax, [esi + 0x3c]
push eax
push esi
call fcn.00527110
mov edi, eax
add esp, 0x10
test edi, edi
js 0x528438
add ebx, edi
cmp dword [esi + 0x60], 0
jne 0x528577
mov eax, dword [esi + 0x48]
push dword [ebp + 0xc]
push esi
mov byte [eax], 0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x54]
sub ecx, dword [esi + 0x44]
mov dword [eax + 0xc], ecx
cmp dword [esi + 0x74], 2
jne 0x528532
call fcn.00527090
jmp 0x528537
call fcn.00527000
mov edi, eax
add esp, 8
test edi, edi
jne 0x528438
jmp 0x5284d5
mov edi, edx
sub edi, ebx
cmp edi, dword [esi + 0x60]
cmovae edi, dword [esi + 0x60]
push edi
push ebx
push dword [esi + 0x48]
call fcn.00510940
mov dword [esi + 0x48], eax
add esp, 0xc
mov eax, dword [esi + 0x60]
sub eax, edi
mov dword [esi + 0x60], eax
test edi, edi
js 0x528438
add ebx, edi
test eax, eax
je 0x52850f
cmp dword [ebp + 0x1c], 0
je 0x5284e2
mov edi, 0xfffffdf5
mov byte [esi + 0x20], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret