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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x170
mov esi, esp
mov dword [esi + 0x158], ebp
lea eax, [esi + 0x160]
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x503280
mov edi, dword fs:[0]
mov dword [eax], edi
mov dword fs:[0], eax
call 0x4973d7
pop eax
cmp byte [ecx + 0x9a], 2
mov dword [esi + 0x18], eax
je 0x4973eb
mov byte [ecx + 0x9a], 1
cmp byte [ecx + 0x9b], 1
mov dword [esi + 0x14], edx
mov dword [esi + 0x24], ecx
jne 0x4974df
mov ecx, edx
lea edx, [esi + 0x108]
and dword [esi + 0x168], 0
mov byte [esi + 7], 1
and dword [edx + 0xc], 0
and dword [edx + 8], 0
and dword [edx], 0
mov dword [edx + 4], 0x14
call fcn.0043a961
mov ecx, dword [esi + 0x24]
test eax, eax
je 0x497449
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov byte [esi + 7], 1
call fcn.00454c9b
mov ecx, dword [esi + 0x24]
test al, al
jne 0x4974d5
mov eax, dword [esi + 0x14]
movzx eax, byte [eax + 0x84]
cmp eax, 2
je 0x497466
cmp eax, 1
jne 0x4974d5
mov byte [ecx + 0x9a], 2
jmp 0x4974d5
cmp byte [ecx + 0x9a], 2
je 0x4974d5
and dword [esi + 0x74], 0
and dword [esi + 0x70], 0
and dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0x14
mov byte [esi + 0x2e], 1
mov dword [esi + 0x168], 0xb
lea ecx, [esi + 0x108]
mov edx, str.keep_aliveHTTP_1.1_100_Continue_r_n_r_ninternal_error:_entered_unreachable_code:_poll_read_body_invalid_state:
push 0xa
call fcn.00498734
pop eax
mov edx, dword [esi + 0x14]
lea edi, [esi + 0x108]
mov byte [esi + 0x2e], 0
lea eax, [esi + 0x68]
lea ecx, [esi + 0x30]
push edi
push eax
call fcn.00451cf2
pop eax
pop ecx
and dword [esi + 0x168], 0
lea ecx, [esi + 0x30]
mov byte [esi + 7], 1
call fcn.00484f46
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x14]
mov byte [edx + 0x84], 1
movzx edi, byte [edx + 0x6c]
mov al, byte [ecx + 0x97]
mov dword [esi + 0x110], 2
and dword [esi + 0x120], 0
cmp edi, 9
mov byte [esi + 0x2d], al
mov dword [esi + 8], edi
jae 0x497729
mov eax, dword [ebp + 8]
mov dword [esi + 0x50], eax
mov al, byte [esi + 0x32]
mov byte [esi + 0x6a], al
movzx eax, word [esi + 0x30]
mov word [esi + 0x68], ax
mov al, byte [ecx + 0x78]
cmp al, 0xb
je 0x49754a
cmp al, 0xa
jb 0x49754a
mov eax, dword [ecx + 0x80]
test eax, eax
je 0x49754a
mov ecx, dword [esi + 0x24]
xor edx, edx
inc edx
mov ecx, dword [ecx + 0x7c]
push eax
call fcn.0040735a
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x14]
add esp, 4
mov eax, dword [esi + 8]
mov dword [esi + 0x168], 4
mov byte [ecx + 0x78], al
movzx eax, word [esi + 0x68]
mov word [ecx + 0x79], ax
mov al, byte [esi + 0x6a]
mov byte [ecx + 0x7b], al
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x7c], ebx
mov dword [ecx + 0x80], edi
mov dword [ecx + 0x84], eax
mov al, byte [esi + 0xc]
mov byte [ecx + 0x88], al
mov eax, dword [ebp + 8]
xor eax, 2
or eax, dword [ebp + 0xc]
push 7
pop eax
mov dword [esi + 0xc], eax
jne 0x4975cf
lea eax, [esi + 0x68]
lea ecx, [esi + 0x30]
and dword [eax + 0xc], 0
and dword [eax + 8], 0
and dword [eax], 0
mov dword [eax + 4], 0x45
push eax
call fcn.004524a9
pop eax
lea ecx, [esi + 0x30]
call fcn.00455589
and dword [esi + 0x6c], 0
mov dword [esi + 0x68], 1
xor edx, edx
xor edi, edi
jmp 0x497a7d
mov al, byte [edx + 0x84]
lea ecx, [esi + 0xf8]
mov byte [esi + 8], al
call fcn.00454f1f
mov eax, dword [esi + 0x104]
cmp byte [esi + 8], 2
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x100]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0xf8]
mov dword [esi + 8], eax
mov eax, dword [esi + 0xfc]
mov dword [esi + 0x1c], eax
jne 0x4976dd
lea eax, [esi + 0x30]
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0x94]
and dword [eax + 0xc], 0
and dword [eax + 8], 0
and dword [eax], 0
mov dword [eax + 4], 0x45
push eax
call fcn.00451914
pop eax
cmp byte [esi + 0xae], 2
jne 0x497754
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0x94]
lea ecx, [esi + 0x30]
mov dword [esi + 0x50], edx
mov dword [esi + 0x28], eax
push eax
push 1
call fcn.00451395
pop eax
pop ecx
lea ecx, [esi + 0x30]
call fcn.004558f3
test al, al
jne 0x497a37
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x28]
push 0x563cb0
push dword [esi + 0x28]
call fcn.0043a5a1
pop ecx
pop edx
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x50]
mov dword [esi + 0x20], ecx
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x28]
push 0x5638fc
push dword [esi + 0x28]
call fcn.0043a5a1
pop ecx
pop edx
cmp dword [esi + 0x20], 0
je 0x49784d
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x34]
push 0x56390c
push dword [esi + 0x8c]
call fcn.0044df2a
pop ecx
pop edx
add eax, 0x10
jmp 0x497850
lea eax, [esi + 0x68]
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0x30]
and dword [eax + 0xc], 0
and dword [eax + 8], 0
and dword [eax], 0
mov dword [eax + 4], 0x45
push eax
call fcn.004524a9
pop eax
lea ecx, [esi + 0x30]
call fcn.00455589
mov eax, dword [esi + 0x1c]
or dword [esi + 8], eax
je 0x4977a7
mov edx, dword [esi + 0x28]
mov edi, dword [esi + 0x20]
and dword [esi + 0x6c], 0
mov dword [esi + 0x68], 1
jmp 0x497a7d
jne 0x4977cb
mov al, byte [edx + 0x7c]
mov ebx, dword [edx + 0x70]
mov edi, dword [edx + 0x74]
mov byte [esi + 0xc], al
mov al, byte [edx + 0x6f]
mov byte [esi + 0x32], al
movzx eax, word [edx + 0x6d]
mov word [esi + 0x30], ax
mov eax, dword [edx + 0x78]
mov dword [esi + 0x1c], eax
jmp 0x497509
movsd xmm0, qword [esi + 0xa4]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0xac]
movq xmm1, qword [esi + 0x9c]
movsd qword [esi + 0x78], xmm0
movq xmm0, qword [esi + 0x94]
or dword [esi + 8], ecx
mov dword [esi + 0x80], eax
movq qword [esi + 0x70], xmm1
movq qword [esi + 0x68], xmm0
je 0x4977ef
lea ecx, [esi + 0x6c]
call fcn.004509ea
mov edx, dword [esi + 0x28]
mov edi, dword [esi + 0x20]
xor ecx, ecx
xor eax, eax
inc eax
jmp 0x497a77
mov eax, dword [esi + 0x50]
or eax, dword [ebp + 0xc]
jne 0x4975bb
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0x68]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00455af5
pop eax
pop ecx
jmp 0x497a91
mov ecx, dword [edx + 0x70]
mov edx, dword [edx + 0x74]
mov dword [esi + 0x168], 4
call fcn.0043c396
mov edi, edx
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x24]
mov ebx, eax
jmp 0x497509
mov eax, dword [ebp + 8]
xor eax, 1
or eax, dword [ebp + 0xc]
jne 0x49782d
mov eax, dword [esi + 0x14]
movzx eax, byte [eax + 0x6c]
cmp eax, 7
ja 0x4983b8
mov ecx, 0xa2
bt ecx, eax
jae 0x4983b8
lea ecx, [esi + 0x6c]
call fcn.004509ea
xor ecx, ecx
xor eax, eax
xor edx, edx
xor edi, edi
jmp 0x4977a1
lea ecx, [esi + 0x6c]
call fcn.004509ea
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0x68]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00455af5
pop eax
pop ecx
jmp 0x497a91
add eax, 0xc
mov edx, dword [eax + 8]
lea edi, [esi + 0x30]
mov dword [esi + 0x50], eax
mov ecx, edi
add edx, 9
call fcn.00463aa5
cmp dword [edi], 0
mov ecx, dword [edi + 4]
jne 0x498477
mov edx, dword [esi + 0x38]
mov ebx, ecx
shr ebx, 0xa
push 0x20
pop edi
mov eax, edi
je 0x497884
bsr eax, ebx
xor eax, 0x1f
sub edi, eax
lea eax, [esi + 0xd8]
mov dword [eax], edx
cmp edi, 7
push 7
pop edx
cmovae edi, edx
and dword [eax + 4], 0
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x50]
lea edx, [edi*4 + 1]
mov dword [eax + 0xc], edx
mov edi, dword [ecx + 8]
mov edx, dword [ecx + 4]
mov byte [esi + 0x13], 1
mov dword [esi + 0x168], 8
mov ecx, eax
push edi
call fcn.004224a0
pop eax
mov byte [esi + 0x13], 1
lea ecx, [esi + 0xd8]
mov edx, 0x57c97d
push 2
call fcn.004224a0
pop eax
mov byte [esi + 0x13], 1
lea ecx, [esi + 0xd8]
mov edx, str.chunkedoriginal_header_value_plus_ascii_is_validC:Users_atkn1.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.27_srcheaders.rs
push 7
call fcn.004224a0
pop eax
movq xmm0, qword [esi + 0xd8]
movq xmm1, qword [esi + 0xe0]
lea edx, [esi + 0x30]
lea ecx, [esi + 0xc4]
mov byte [esi + 0x13], 0
movq qword [edx + 8], xmm1
movq qword [edx], xmm0
call fcn.0043cfb5
movq xmm0, qword [esi + 0xc4]
movq xmm1, qword [esi + 0xcc]
movq qword [esi + 0x68], xmm0
movq qword [esi + 0x70], xmm1
mov eax, dword [esi + 0x68]
and dword [esi + 0x68], 0
test eax, eax
je 0x498481
mov dword [esi + 0x30], eax
movq xmm0, qword [esi + 0x6c]
mov eax, dword [esi + 0x74]
movq qword [esi + 0x34], xmm0
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
mov edi, ecx
test ecx, ecx
je 0x4979a0
mov cl, byte [eax]
inc eax
cmp cl, 0x20
setae dl
cmp cl, 0x7f
setne dh
cmp cl, 9
lea ecx, [edi - 1]
je 0x497963
and dl, dh
jne 0x497963
mov al, 2
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], edi
mov dword [esi + 0x168], 9
mov dword [esi + 0x20], eax
call fcn.0046b584
jmp 0x4979ce
movq xmm0, qword [esi + 0x30]
movq xmm1, qword [esi + 0x38]
mov dword [esi + 0x28], edi
mov dword [esi + 0x168], 8
mov dword [esi + 0x20], 0
movq qword [esi + 0x150], xmm1
movq qword [esi + 0x148], xmm0
lea ecx, [esi + 0x68]
mov byte [esi + 0x13], 0
mov dword [esi + 0x168], 8
call fcn.0043b21f
cmp dword [esi + 0x28], 0
jne 0x498497
movsd xmm0, qword [esi + 0x148]
movsd xmm1, qword [esi + 0x150]
mov dword [esi + 0x168], 0xa
movsd qword [esi + 0x38], xmm1
movsd qword [esi + 0x30], xmm0
push dword [esi + 0x50]
call fcn.00439130
pop eax
movq xmm0, qword [esi + 0x30]
movq xmm1, qword [esi + 0x38]
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x20]
movq qword [ecx + 8], xmm1
movq qword [ecx], xmm0
mov byte [ecx + 0x10], al
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
or dword [esi + 8], eax
je 0x497a73
lea eax, [esi + 0x68]
mov dword [esi + 0x168], 4
lea ecx, [esi + 0x30]
and dword [eax + 0xc], 0
and dword [eax + 8], 0
and dword [eax], 0
mov dword [eax + 4], 0x18
push eax
call fcn.004524a9
pop eax
lea ecx, [esi + 0x30]
call fcn.00455589
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x70], edx
mov dword [esi + 0x74], edi
mov byte [esi + 0x78], 0
mov dword [esi + 0x168], 4
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x24]
mov edi, dword [edx + 0x34]
lea ecx, [eax + 0xa0]
mov dword [esi + 8], ecx
add edi, dword [edx + 0x28]
imul edx, edi, 0x1e
add edx, 0x1e
call fcn.00462f62
mov eax, dword [esi + 0x14]
mov ebx, dword [esi + 0x18]
movzx ecx, byte [eax + 0x6c]
mov eax, 0x5643c0
add ebx, dword [ecx*4 + 0x498708]
push 5
pop ecx
push 4
pop edx
push 3
pop edi
jmp ebx
mov eax, dword [esi + 0xac]
movq xmm0, qword [esi + 0xa4]
movsd xmm2, qword [esi + 0x94]
movq xmm1, qword [esi + 0x9c]
lea ecx, [esi + 0xc4]
mov byte [esi + 0x2f], 1
mov dword [esi + 0x168], 7
mov dword [esi + 0x48], eax
movq qword [esi + 0x40], xmm0
movq qword [esi + 0x38], xmm1
movsd qword [esi + 0x30], xmm2
call fcn.00455bbe
lea ecx, [esi + 0x30]
lea edx, [esi + 0xc4]
mov byte [esi + 0x2f], 0
call fcn.00450ee1
jmp 0x497a73
mov edx, dword [esi + 0x38]
call fcn.00526660
jmp 0x4984b9
mov ecx, 0x5643a0
mov dword [esi + 0x168], 9
call fcn.00526c90
jmp 0x4984b9
mov byte [esi + 0x13], 0
push 0x29
pop edx
mov ecx, 0x564c63
push 0x564cec
push 0x563b6c
lea eax, [esi + 0x30]
push eax
call fcn.00526c20
add esp, 0xc
ud2