Function at 0x52a690
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 0x52a6bf
pop edi
pop esi
mov eax, 0xfffffdf5
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x5c]
call fcn.0052e990
push dword [esi + 0x58]
call fcn.0052e990
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 0x52a6ec
test edi, edi
je 0x52aaea
mov ecx, dword [esi + 0x78]
xor edi, edi
mov dword [ebp + 8], edi
cmp ecx, 0xc
ja case.default.0x52a6f9
jmp dword [ecx*4 + 0x52ac74]
mov al, byte [ebx]
and al, 0xe0
cmp al, 0x20
jne 0x52ab13
mov dl, byte [ebx]
mov al, dl
and al, 0xe0
cmp al, 0x20
jne 0x52a735
cmp ecx, 2
je 0x52ab13
mov dword [esi + 0x74], 1
mov dword [esi + 0x78], 3
mov dword [esi + 0x60], edi
mov dword [esi + 0x70], edi
jmp 0x52a6dd
test dl, dl
jns 0x52a74f
mov dword [esi + 0x74], 1
mov dword [esi + 0x78], 4
mov dword [esi + 0x60], edi
mov dword [esi + 0x70], edi
jmp 0x52a6dd
cmp dl, 0x40
je 0x52a767
test dl, dl
je 0x52a767
cmp dl, 0x10
je 0x52a767
mov eax, 4
lea ecx, [eax - 1]
jmp 0x52a771
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 0x52a796
inc ebx
mov dword [esi + 0x60], edi
mov dword [esi + 0x70], edi
jmp 0x52a6dd
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.00528d80
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x52ab13
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmovae ecx, dword [ebp - 0x10]
cmp eax, ecx
ja 0x52ab13
mov dword [esi + 0x60], eax
test edi, edi
js 0x52ab18
add ebx, edi
cmp dword [ebp + 0x14], 0
je 0x52ac57
push 0
push esi
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x18], eax
call fcn.005295f0
mov edi, dword [ebp + 8]
mov dword [esi + 0x78], 1
jmp 0x52a6da
cmp dword [esi + 0x74], 1
jne 0x52a833
mov ecx, 7
jmp 0x52a842
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.00528d80
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x52ab13
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
ja 0x52ab13
mov dword [esi + 0x60], eax
test edi, edi
js 0x52ab18
add ebx, edi
cmp dword [ebp + 0x14], 0
je 0x52ac57
test eax, eax
je 0x52ab13
cmp dword [esi + 0x74], 1
je 0x52ab25
mov edi, dword [ebp + 8]
dec eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x78], 9
jmp 0x52a6dd
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.00528d80
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x52ab13
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10000
ja 0x52ab13
mov dword [esi + 0x60], eax
test edi, edi
js 0x52ab18
add ebx, edi
cmp dword [ebp + 0x14], 0
je 0x52ac57
cmp byte [esi + 0x7c], 0
lea edi, [esi + 0x50]
je 0x52a945
lea eax, [esi + 0x24]
push eax
call fcn.0052eba0
mov eax, dword [esi + 0x60]
add esp, 4
add eax, eax
mov ecx, 7
jmp 0x52a94a
mov ecx, 8
push dword [ebp - 8]
inc eax
mov dword [esi + 0x78], ecx
push eax
push edi
call fcn.0052ea00
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x52ab18
mov eax, dword [esi + 0x50]
push dword [eax + 0xc]
push dword [eax + 8]
lea eax, [esi + 0x28]
push eax
call fcn.0052b910
mov edi, dword [ebp + 8]
add esp, 0xc
jmp 0x52a6dd
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.0052ead0
mov edi, eax
add esp, 0x14
test edi, edi
js 0x52ab18
lea eax, [esi + 0x24]
push eax
call fcn.0052ebb0
add esp, 4
test eax, eax
jne 0x52ab13
sub dword [esi + 0x60], edi
add ebx, edi
cmp dword [esi + 0x60], eax
jne 0x52ac57
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 0x52a6dd
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 0x52ab18
add ebx, edi
test eax, eax
jmp 0x52a9d0
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.00528d80
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x52ab13
mov eax, dword [ebp - 0x20]
cmp eax, 0x10000
ja 0x52ab13
mov dword [esi + 0x60], eax
test edi, edi
js 0x52ab18
add ebx, edi
cmp dword [ebp + 0x14], 0
je 0x52ac57
cmp byte [esi + 0x7c], 0
lea edi, [esi + 0x54]
je 0x52aaaf
lea eax, [esi + 0x24]
push eax
call fcn.0052eba0
mov eax, dword [esi + 0x60]
add esp, 4
add eax, eax
mov ecx, 0xb
jmp 0x52aab4
mov ecx, 0xc
push dword [ebp - 8]
inc eax
mov dword [esi + 0x78], ecx
push eax
push edi
call fcn.0052ea00
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x52ab18
mov eax, dword [esi + 0x54]
push dword [eax + 0xc]
push dword [eax + 8]
lea eax, [esi + 0x3c]
push eax
call fcn.0052b910
add esp, 0xc
mov edi, 1
jmp 0x52a6dd
cmp dword [ebp + 0x1c], 0
je 0x52abc2
mov eax, dword [esi + 0x78]
cmp eax, 2
je 0x52ab01
cmp eax, 1
jne 0x52ab13
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 0x52ab4c
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.0056ac72
add esp, 0xc
cmp edi, 0x3d
jb 0x52ab82
add edi, 0xffffffc3
cmp edi, dword [esi + 0xc]
jb 0x52ab70
push 0x25d
push str.U:_valve_steam3_main_nghttp2_nghttp2_1.43.0lib_nghttp2_hd.c
push str.idx___ringbuf__len
call fcn.0056ac72
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 0x52abaf
mov ecx, edi
mov byte [ebp - 0x24], 0
shl ecx, 4
add ecx, edi
lea eax, [ecx*4 + 0x735838]
mov dword [ebp - 0x30], eax
lea eax, [ecx*4 + 0x73584c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx*4 + 0x735874]
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.005297f0
mov edi, eax
add esp, 0x10
test edi, edi
js 0x52ab18
add ebx, edi
cmp dword [esi + 0x60], 0
jne 0x52ac57
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 0x52ac12
call fcn.00529770
jmp 0x52ac17
call fcn.005296e0
mov edi, eax
add esp, 8
test edi, edi
jne 0x52ab18
jmp 0x52abb5
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 0x52ab18
add ebx, edi
test eax, eax
je 0x52abef
cmp dword [ebp + 0x1c], 0
je 0x52abc2
mov edi, 0xfffffdf5
mov byte [esi + 0x20], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret