Function at 0x52a840
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 0x52a86f
pop edi
pop esi
mov eax, 0xfffffdf5
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x5c]
call fcn.0052eb30
push dword [esi + 0x58]
call fcn.0052eb30
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 0x52a89c
test edi, edi
je 0x52ac9a
mov ecx, dword [esi + 0x78]
xor edi, edi
mov dword [ebp + 8], edi
cmp ecx, 0xc
ja case.default.0x52a8a9
jmp dword [ecx*4 + 0x52ae24]
mov al, byte [ebx]
and al, 0xe0
cmp al, 0x20
jne 0x52acc3
mov dl, byte [ebx]
mov al, dl
and al, 0xe0
cmp al, 0x20
jne 0x52a8e5
cmp ecx, 2
je 0x52acc3
mov dword [esi + 0x74], 1
mov dword [esi + 0x78], 3
mov dword [esi + 0x60], edi
mov dword [esi + 0x70], edi
jmp 0x52a88d
test dl, dl
jns 0x52a8ff
mov dword [esi + 0x74], 1
mov dword [esi + 0x78], 4
mov dword [esi + 0x60], edi
mov dword [esi + 0x70], edi
jmp 0x52a88d
cmp dl, 0x40
je 0x52a917
test dl, dl
je 0x52a917
cmp dl, 0x10
je 0x52a917
mov eax, 4
lea ecx, [eax - 1]
jmp 0x52a921
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 0x52a946
inc ebx
mov dword [esi + 0x60], edi
mov dword [esi + 0x70], edi
jmp 0x52a88d
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.00528f30
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x52acc3
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmovae ecx, dword [ebp - 0x10]
cmp eax, ecx
ja 0x52acc3
mov dword [esi + 0x60], eax
test edi, edi
js 0x52acc8
add ebx, edi
cmp dword [ebp + 0x14], 0
je 0x52ae07
push 0
push esi
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x18], eax
call fcn.005297a0
mov edi, dword [ebp + 8]
mov dword [esi + 0x78], 1
jmp 0x52a88a
cmp dword [esi + 0x74], 1
jne 0x52a9e3
mov ecx, 7
jmp 0x52a9f2
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.00528f30
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x52acc3
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
ja 0x52acc3
mov dword [esi + 0x60], eax
test edi, edi
js 0x52acc8
add ebx, edi
cmp dword [ebp + 0x14], 0
je 0x52ae07
test eax, eax
je 0x52acc3
cmp dword [esi + 0x74], 1
je 0x52acd5
mov edi, dword [ebp + 8]
dec eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x78], 9
jmp 0x52a88d
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.00528f30
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x52acc3
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10000
ja 0x52acc3
mov dword [esi + 0x60], eax
test edi, edi
js 0x52acc8
add ebx, edi
cmp dword [ebp + 0x14], 0
je 0x52ae07
cmp byte [esi + 0x7c], 0
lea edi, [esi + 0x50]
je 0x52aaf5
lea eax, [esi + 0x24]
push eax
call fcn.0052ed40
mov eax, dword [esi + 0x60]
add esp, 4
add eax, eax
mov ecx, 7
jmp 0x52aafa
mov ecx, 8
push dword [ebp - 8]
inc eax
mov dword [esi + 0x78], ecx
push eax
push edi
call fcn.0052eba0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x52acc8
mov eax, dword [esi + 0x50]
push dword [eax + 0xc]
push dword [eax + 8]
lea eax, [esi + 0x28]
push eax
call fcn.0052bac0
mov edi, dword [ebp + 8]
add esp, 0xc
jmp 0x52a88d
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.0052ec70
mov edi, eax
add esp, 0x14
test edi, edi
js 0x52acc8
lea eax, [esi + 0x24]
push eax
call fcn.0052ed50
add esp, 4
test eax, eax
jne 0x52acc3
sub dword [esi + 0x60], edi
add ebx, edi
cmp dword [esi + 0x60], eax
jne 0x52ae07
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 0x52a88d
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.00510af0
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 0x52acc8
add ebx, edi
test eax, eax
jmp 0x52ab80
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.00528f30
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x52acc3
mov eax, dword [ebp - 0x20]
cmp eax, 0x10000
ja 0x52acc3
mov dword [esi + 0x60], eax
test edi, edi
js 0x52acc8
add ebx, edi
cmp dword [ebp + 0x14], 0
je 0x52ae07
cmp byte [esi + 0x7c], 0
lea edi, [esi + 0x54]
je 0x52ac5f
lea eax, [esi + 0x24]
push eax
call fcn.0052ed40
mov eax, dword [esi + 0x60]
add esp, 4
add eax, eax
mov ecx, 0xb
jmp 0x52ac64
mov ecx, 0xc
push dword [ebp - 8]
inc eax
mov dword [esi + 0x78], ecx
push eax
push edi
call fcn.0052eba0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x52acc8
mov eax, dword [esi + 0x54]
push dword [eax + 0xc]
push dword [eax + 8]
lea eax, [esi + 0x3c]
push eax
call fcn.0052bac0
add esp, 0xc
mov edi, 1
jmp 0x52a88d
cmp dword [ebp + 0x1c], 0
je 0x52ad72
mov eax, dword [esi + 0x78]
cmp eax, 2
je 0x52acb1
cmp eax, 1
jne 0x52acc3
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 0x52acfc
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.0056ac42
add esp, 0xc
cmp edi, 0x3d
jb 0x52ad32
add edi, 0xffffffc3
cmp edi, dword [esi + 0xc]
jb 0x52ad20
push 0x25d
push str.U:_valve_steam3_main_nghttp2_nghttp2_1.43.0lib_nghttp2_hd.c
push str.idx___ringbuf__len
call fcn.0056ac42
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 0x52ad5f
mov ecx, edi
mov byte [ebp - 0x24], 0
shl ecx, 4
add ecx, edi
lea eax, [ecx*4 + 0x736450]
mov dword [ebp - 0x30], eax
lea eax, [ecx*4 + 0x736464]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx*4 + 0x73648c]
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.005299a0
mov edi, eax
add esp, 0x10
test edi, edi
js 0x52acc8
add ebx, edi
cmp dword [esi + 0x60], 0
jne 0x52ae07
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 0x52adc2
call fcn.00529920
jmp 0x52adc7
call fcn.00529890
mov edi, eax
add esp, 8
test edi, edi
jne 0x52acc8
jmp 0x52ad65
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.00510af0
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 0x52acc8
add ebx, edi
test eax, eax
je 0x52ad9f
cmp dword [ebp + 0x1c], 0
je 0x52ad72
mov edi, 0xfffffdf5
mov byte [esi + 0x20], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret