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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, esp
mov dword [esi + 0x70], ebp
lea eax, [esi + 0x78]
mov ebx, ecx
mov dword [esi + 4], edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x504790
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
call 0x4910ba
pop ecx
mov eax, dword [edx + 0x40]
mov dword [esi + 0x40], ecx
cmp eax, 1
je 0x491125
cmp eax, 2
jne 0x4912a1
lea eax, [edx + 0xa0]
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x3c], eax
movzx eax, byte [edx + 0x48]
test eax, eax
je 0x491174
cmp eax, 2
jne 0x49119e
cmp byte [edx + 0x49], 0
jne 0x4911b7
mov edx, dword [esi + 0x3c]
lea edi, [esi + 0x10]
mov ecx, edi
push 0x2000
push dword [ebp + 8]
call fcn.004921fc
pop eax
pop ecx
cmp dword [edi], 0
je 0x491212
mov edx, dword [esi + 4]
xor edi, edi
inc edi
jmp 0x491e17
mov eax, dword [edx + 0x58]
mov ecx, dword [edx + 0x5c]
add eax, 0xfffffffe
adc ecx, 0xffffffff
xor edx, edx
push 3
pop edi
cmp edi, eax
sbb edx, ecx
jb 0x491156
test eax, eax
jne 0x491156
mov eax, dword [esi + 4]
mov edx, 0x589c06
lea ecx, [eax + 0xa0]
push 0x19
call fcn.00421488
pop eax
mov edx, dword [esi + 4]
mov ecx, ebx
and dword [edx + 0x44], 0
mov dword [edx + 0x40], 2
push dword [ebp + 8]
call fcn.0049107c
pop eax
jmp 0x491f62
mov eax, dword [edx + 0x50]
mov ecx, dword [edx + 0x54]
or ecx, eax
je 0x4911b7
mov edx, dword [esi + 0x3c]
lea edi, [esi + 0x10]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.004921fc
pop eax
pop ecx
cmp dword [edi], 0
je 0x4911d4
xor edi, edi
inc edi
jmp 0x49126d
movzx eax, byte [edx + 0x49]
and dword [esi + 0x50], 0
mov dword [esi], ecx
mov dword [esi + 0xc], ecx
mov eax, dword [eax*4 + 0x492114]
add eax, dword [esi + 0x40]
jmp eax
mov ebx, 0x589a4c
mov ecx, 0x5b8dd0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
jmp 0x491e29
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x491233
mov ecx, dword [esi + 4]
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x2c], ebx
mov eax, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
cmp eax, edi
mov edx, ecx
sbb edx, 0
mov edx, edi
mov edi, dword [esi + 0x18]
mov dword [esi + 0x34], edx
mov dword [esi], edi
mov dword [esi + 0x30], edi
mov edi, dword [esi + 0x20]
mov dword [esi + 0xc], edi
mov dword [esi + 0x38], edi
jae 0x49123e
mov dword [esi + 8], edx
xor eax, eax
xor ecx, ecx
jmp 0x491291
mov ebx, dword [esi + 0x14]
mov edx, dword [esi + 4]
test ebx, ebx
je 0x491277
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
test eax, eax
mov dword [esi + 0xc], edi
mov dword [esi + 8], eax
sete byte [edx + 0x49]
jmp 0x491282
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov dword [esi + 8], eax
jmp 0x49126b
test edx, edx
jne 0x491289
and dword [esi + 0x80], 0
lea ecx, [esi + 0x10]
call fcn.00492284
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
or dword [esi + 0x80], 0xffffffff
lea ecx, [esi + 0x2c]
mov dword [esi + 8], eax
call fcn.00404d44
mov ecx, edi
xor edi, edi
mov edx, dword [esi + 4]
xor ebx, ebx
jmp 0x491e17
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
xor ebx, ebx
mov dword [esi + 8], eax
xor edi, edi
jmp 0x491e17
sub eax, edx
mov dword [esi + 8], edx
sbb ecx, 0
mov edx, dword [esi + 4]
mov dword [edx + 0x54], ecx
mov ecx, dword [esi]
mov dword [edx + 0x50], eax
jmp 0x491e29
add edx, 0x40
lea eax, [esi + 0x2c]
lea ecx, [esi + 0x10]
mov dword [eax], edx
xor edx, edx
mov dword [ecx], 0x589c68
mov dword [eax + 4], 0x492164
inc edx
mov dword [ecx + 4], edx
and dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, 0x589c70
call fcn.00535f60
mov edx, dword [esi + 0x3c]
xor eax, eax
lea ecx, [esi + 0x10]
inc eax
mov dword [esi + 0x80], eax
push eax
push dword [ebp + 8]
call fcn.004921fc
mov edx, dword [esi + 4]
add esp, 8
mov ecx, dword [esi]
cmp dword [esi + 0x10], 0
mov bl, 5
jne 0x49149f
mov ecx, dword [esi + 0x14]
mov ebx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
test ecx, ecx
je 0x491492
mov edx, dword [esi + 0x20]
test eax, eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], edx
jne 0x491370
mov dword [esi + 0x80], 0xd
lea ecx, [esi + 0x10]
push 0x25
pop edx
push 0x25
push str.unexpected_EOF_during_chunk_size_lineInvalid_chunk_end_LFInvalid_chunk_body_CRInvalid_chunk_body_LF__Invalid_chunk_size_LFInvalid_chunk_size_linear_white_spaceinvalid_chunk_extension_contains_newlineInvalid_trailer_end_LFInvalid_chunk_size_line:_Invalid_Sizeinvalid_chunk_size:_overflowC:Usersdanya.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.27_srcprotoh1encode.rsB_r_n0_r_n_r_n0_r_n_r_n_r_nconnection_errorC:Usersdanya.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.27_srcprotoh2client.rs
call fcn.004ca0c6
pop eax
pop ecx
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov dword [esi + 0x80], 1
mov edx, ecx
mov dword [esi], ecx
lea ecx, [esi + 0x2c]
mov dword [esi + 8], eax
shr edx, 0x10
mov dword [esi + 0xc], edx
call fcn.00404d44
mov ebx, dword [esi]
mov edx, dword [esi + 4]
jmp 0x4914a1
mov al, byte [ebx]
lea ecx, [esi + 0x2c]
mov byte [esi], al
call fcn.00404d44
mov bl, byte [esi]
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jae 0x4913b4
mov edi, dword [esi + 4]
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x50]
test eax, 0xf0000000
je 0x4913f4
lea ecx, [esi + 0x10]
push 0x15
pop edx
push 0x1c
push 0x589d92
call fcn.004ca0c6
pop eax
pop ecx
mov edx, dword [esi + 4]
jmp 0x49151c
mov eax, ebx
add al, 0x9f
cmp al, 6
jae 0x4913d1
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x54]
test eax, 0xf0000000
jne 0x491412
mov ecx, dword [edx + 0x50]
add bl, 0xa9
jmp 0x4913f0
mov edx, dword [esi + 4]
mov eax, ebx
add al, 0xbf
cmp al, 6
jae 0x49142f
mov eax, dword [edx + 0x54]
test eax, 0xf0000000
jne 0x491475
mov ecx, dword [edx + 0x50]
add bl, 0xc9
mov edi, edx
mov edx, ebx
shld eax, ecx, 4
shl ecx, 4
movzx edx, dl
add edx, ecx
adc eax, 0
mov dword [edi + 0x50], edx
xor ecx, ecx
mov edx, edi
mov dword [edi + 0x54], eax
jmp 0x491cef
lea ecx, [esi + 0x10]
push 0x15
pop edx
push 0x1c
push 0x589d92
call fcn.004ca0c6
mov edx, dword [esi + 4]
add esp, 8
jmp 0x49151c
movzx eax, bl
mov cl, 1
cmp eax, 9
je 0x491cef
cmp eax, 0xd
je 0x4916e6
cmp eax, 0x20
je 0x491cef
cmp eax, 0x3b
je 0x491603
lea ecx, [esi + 0x10]
push 0x14
pop edx
push 0x25
push 0x589d6d
call fcn.004ca0c6
mov edx, dword [esi + 4]
add esp, 8
jmp 0x49151c
lea ecx, [esi + 0x10]
push 0x15
pop edx
push 0x1c
push 0x589d92
call fcn.004ca0c6
mov edx, dword [esi + 4]
add esp, 8
jmp 0x49151c
mov ecx, ebx
mov dword [esi + 8], eax
shr ecx, 0x10
mov dword [esi + 0xc], ecx
mov cl, bh
mov bh, cl
mov cl, bh
cmp bl, 5
je 0x4914cc
cmp bl, 4
jne 0x4914d3
cmp cl, 0xb
mov byte [edx + 0x49], cl
jne 0x491cf2
mov ebx, 0x589a4c
mov ecx, 0x5b8dd0
mov dword [esi + 8], 0
jmp 0x4914ea
xor edi, edi
xor ebx, ebx
inc edi
jmp 0x4914ec
movzx eax, cl
mov ecx, dword [esi + 0xc]
movzx edi, bl
xor ebx, ebx
shl eax, 8
shl ecx, 0x10
or edi, ecx
mov ecx, edi
or ecx, eax
xor edi, edi
cmp dword [esi + 0x50], 0
mov dword [esi + 0xc], 0
je 0x491e17
or dword [esi + 0x80], 0xffffffff
mov dword [esi], edi
mov edi, ecx
lea ecx, [esi + 0x50]
call fcn.00404d44
mov ecx, edi
mov edi, dword [esi]
mov edx, dword [esi + 4]
jmp 0x491e17
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov ecx, ebx
mov dword [esi + 8], eax
shr ecx, 0x10
mov dword [esi + 0xc], ecx
jmp 0x4914a1
mov cl, 2
jmp 0x491cef
mov cl, 3
jmp 0x491cef
mov byte [edx + 0x49], cl
mov ebx, dword [esi + 0x50]
test ebx, ebx
jne 0x491e06
or dword [esi + 0x80], 0xffffffff
lea edi, [esi + 0x50]
mov dword [esi], ecx
mov ecx, edi
call fcn.0044dd22
mov edx, dword [esi + 4]
and dword [edi], 0
movzx eax, byte [edx + 0x49]
mov eax, dword [eax*4 + 0x492114]
add eax, dword [esi + 0x40]
jmp eax
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x54]
xor edi, edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0xc], eax
test edi, edi
je 0x491e29
mov eax, dword [esi + 0x4c]
mov dword [eax], 2
jmp 0x491f62
lea edi, [edx + 0x48]
test ebx, ebx
mov dword [esi], ecx
je 0x491e58
mov eax, dword [esi + 8]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x1c], eax
movzx eax, byte [edi]
test eax, eax
je 0x491e6d
cmp eax, 1
jne 0x491e9d
cmp byte [edx + 0x49], 0xb
jne 0x491e75
jmp 0x491ea3
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0
push 4
pop edi
xor ecx, ecx
inc ecx
jmp 0x491efc
mov eax, dword [edx + 0x50]
or eax, dword [edx + 0x54]
je 0x491ea3
cmp dword [esi + 8], 0
je 0x491ec3
movsd xmm0, qword [esi + 0x10]
mov eax, dword [esi + 0x4c]
movsd xmm1, qword [esi + 0x18]
movsd qword [eax + 0xc], xmm1
movsd qword [eax + 4], xmm0
mov dword [eax], 1
jmp 0x491f62
cmp byte [edx + 0x49], 0
je 0x491e75
xor eax, eax
cmp dword [esi + 8], 0
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0
setne al
mov dword [esi + 0x44], eax
push 3
pop eax
mov dword [esi + 0x48], eax
jne 0x491eec
jmp 0x491eda
mov dword [esi + 0x3c], edi
mov dword [esi + 0x44], 0
push 4
pop eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x40], 0
or dword [esi + 0x80], 0xffffffff
lea ecx, [esi + 0x10]
call fcn.00404d44
mov edx, dword [esi + 4]
mov edi, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x80], 0xe
mov dword [esi + 0x10], ecx
mov ecx, dword [esi]
mov dword [esi + 0x14], ebx
mov ebx, dword [esi + 8]
movsd xmm0, qword [esi + 0x60]
mov eax, dword [esi + 0x3c]
movsd xmm1, qword [esi + 0x68]
mov dword [esi + 0x80], 0xe
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x1c], ebx
mov ebx, dword [esi + 0xc]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov dword [edx + 0x40], edi
mov dword [edx + 0x44], ecx
mov ecx, edx
mov edx, dword [ebp + 8]
mov dword [esi + 0x20], ebx
call fcn.004905a0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x4c]
movsd xmm0, qword [esi + 0x10]
movsd xmm1, qword [esi + 0x18]
mov dword [ecx + 0x10], eax
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov eax, dword [esi + 0x78]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret